Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

653 B
Raw Blame
// GET /api/v1/hood-portfolios/health: is the chain answering, and how fresh is the universe.
//
// Free and keyless. Used by the /markets/robinhood/portfolios surfaces to decide whether to show a
// live board or an honest degraded state, so it must answer even when the chain
// does not.

import { defineEndpoint } from '../../_lib/gateway.js';
import { portfoliosHealth } from '../../_lib/hood-portfolios.js';

export default defineEndpoint({
	name: 'v1.hood-portfolios.health',
	method: 'GET',
	auth: 'public',
	handler: async ({ res }) => {
		res.setHeader('Cache-Control', 'public, max-age=15, s-maxage=15');
		return portfoliosHealth();
	},
});