packages/cloud-frontend/content/api/index.mdx
import { Callout, Cards } from "@/docs/components";
elizaOS Cloud provides a comprehensive REST API for all platform features.
<div className="status-badge status-stable">Stable</div> <Callout type="info"> Looking for a full, route-by-route explorer? Go to [API Explorer →](/docs/api/overview) </Callout>https://elizacloud.ai/api/v1
All API requests require authentication via API key or session token:
curl -X GET "https://elizacloud.ai/api/v1/dashboard" \
-H "Authorization: Bearer YOUR_API_KEY"
| Method | Header | Use Case |
|---|---|---|
| API Key | Authorization: Bearer eliza_xxx | Server-to-server |
| X-API-Key | X-API-Key: eliza_xxx | Alternative header |
| Session | Cookie-based | Browser applications |
All errors follow a consistent format:
{
"error": {
"code": "INVALID_REQUEST",
"message": "The request body is invalid",
"details": "Field 'model' is required"
}
}
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Invalid or missing authentication |
FORBIDDEN | 403 | Insufficient permissions |
NOT_FOUND | 404 | Resource not found |
RATE_LIMITED | 429 | Too many requests |
INSUFFICIENT_CREDITS | 402 | Not enough credits |
INTERNAL_ERROR | 500 | Server error |
| Endpoint | Rate Limit |
|---|---|
| Chat completions | 60 req/min |
| Embeddings | 100 req/min |
| Image generation | 20 req/min |
| Video generation | 5 req/min |
The full OpenAPI specification is available at:
https://elizacloud.ai/api/openapi.json
You can use this with tools like Swagger UI, Postman, or to generate client SDKs.