Behavior, errors and versioning
Personas and MCP servers
Section titled “Personas and MCP servers”agentId selects a persona: its system prompt, voice, avatar and runtime configuration. Personas may declare their own MCP servers. On a name collision, the persona’s entry wins and yours is ignored, so give your servers distinct names.
Idempotency
Section titled “Idempotency”If a dispatch for the agent already exists in the room, the call returns it with 200 and reusedExistingDispatch: true instead of creating a duplicate. Pass replaceExisting: true to tear down the old dispatch first, for example to rotate a session credential.
Worker cold start
Section titled “Worker cold start”The response’s workerStatus may be starting. The agent joins as soon as the account’s worker is up, typically well under a minute, and later dispatches are immediate. This also happens after a platform update replaces your account’s worker with a fresh one. It’s transparent to your integration and resolves on its own.
Reachability
Section titled “Reachability”Your MCP server must be reachable over HTTPS from Parivox’s infrastructure, and should respond within your configured timeoutSeconds (a few seconds by default). Slow tools stall the conversation.
Errors
Section titled “Errors”Errors are always { "error": "<message>" }.
| Status | Meaning |
|---|---|
400 |
Invalid input |
401 |
Bad or missing developer key |
403 |
The key lacks the scope or the room |
404 |
Room, file or access link not found |
422 |
Account not configured for external dispatch (custom LiveKit configuration required) |
429 |
Rate limited: back off for about a minute |
5xx |
Transient; retry with backoff |
Versioning
Section titled “Versioning”v1 request and response shapes are stable. Fields may be added to responses, so ignore fields you don’t recognize. Incompatible changes ship as a new version namespace, with a deprecation window announced to your account email.