packages/cloud-frontend/content/api/overview.mdx
import { Callout } from "@/docs/components"; import { ApiRouteExplorer } from "@/components/docs/api-route-explorer";
This page gives you a complete route map of the elizaOS Cloud REST API, generated directly from the codebase (app/api/v1/**/route.ts) so it stays in sync with production.
https://elizacloud.ai/api/v1
For server-to-server usage, send your API key as a Bearer token:
curl -X GET "https://elizacloud.ai/api/v1/models" \
-H "Authorization: Bearer YOUR_API_KEY"
Content-Type: application/json (unless the endpoint explicitly requires multipart uploads).Errors are returned with appropriate HTTP status codes (e.g. 401, 403, 404, 429, 500). If you need a stable programmatic contract, rely on status codes first, then parse error bodies.
For OpenAI-style chat, use the OpenAI-compatible route:
/api/v1/chat/completionsThe platform exposes an OpenAPI spec endpoint at:
https://elizacloud.ai/api/openapi.json
You can generate TypeScript types/clients from that spec using your preferred tooling (e.g. openapi-typescript, orval, or OpenAPI Generator).