API Reference
Complete
Single-turn LLM call routed to the best provider for your intent, with automatic failover. Returns assistant text + token usage.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
text/event-stream
application/json
application/json
application/json
"string"{
"error": "Invalid request body",
"code": "VALIDATION_ERROR"
}{
"error": "Unauthorized",
"code": "UNAUTHORIZED"
}{
"error": "All providers failed",
"code": "COMPLETE_FAILED"
}Voices
Read-only catalog of TTS voices grouped by provider. ElevenLabs voices are account-scoped and fetched live from ElevenLabs rather than returned here.
List agents
Returns every agent belonging to the authenticated organization. Agents are scoped per-org — IDs from another org will never appear here.