system_instruction from your configuration when you create or update an agent.
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /api/v1/voice/agents | Create a voice agent |
GET | /api/v1/voice/agents | List agents |
GET | /api/v1/voice/agents/:id | Get a specific agent |
PATCH | /api/v1/voice/agents/:id | Update an agent |
DELETE | /api/v1/voice/agents/:id | Soft-delete an agent |
Authentication
Create an agent
system_instruction from your configuration.
Request parameters
Display name for the agent. Maximum 200 characters.
The core system prompt for the agent — who it is, what it does, and how it should behave during a call. Minimum 1 character, maximum 16,000 characters.
BCP 47 language tag for the agent’s primary language (e.g.
"en-US", "fr-FR"). Defaults to "en-US". Minimum 2 characters, maximum 32 characters.Short description of the agent’s purpose (e.g.
"Qualify inbound sales leads"). Maximum 200 characters.Structured questions the agent should ask during the session. Maximum 64 questions. Each question has the following fields:
Fine-grained behavioral controls for the agent’s conversation style and session management.
Key-to-type-hint map for the fields the agent should extract from the conversation. Keys must start with a letter and use only alphanumeric characters and underscores (max 64 characters). Values are type hints:
"text", "number", "boolean", "date", or "enum:opt1,opt2" (max 200 characters). Maximum 64 keys.JSON Schema object (Gemini-supported subset) for constrained post-session extraction. When set, extraction uses constrained decoding and validates the result against this schema. Serialized size must be at most 48,000 characters.
Gemini model ID to use for the non-live post-session extraction call. Defaults to your orchestrator environment setting. Maximum 128 characters.
Voice configuration for Gemini Live. Both subfields are optional.
String map for your own tracking data. Maximum 32 keys; each value up to 500 characters.
Example request
Response (200)
UUID of the newly created agent.
Name of the agent.
Unix timestamp of when the agent was created.
List agents
Query parameters
Number of results to return. Range: 1–100. Default:
20.Pagination offset. Default:
0.Example request
Response fields (each agent)
UUID of the agent.
Display name.
Primary language code.
Short purpose description.
false when the agent has been soft-deleted.Unix timestamp of creation.
Unix timestamp of the last update.
Get an agent
output_schema_strict and extraction_model when set.
Path parameters
UUID of the voice agent.
Update an agent
system_instruction after every update.
Path parameters
UUID of the voice agent to update.
Set to
false to soft-delete the agent. Prefer DELETE /api/v1/voice/agents/:id for explicit soft-deletion.Pass
null to remove a previously set strict schema.Pass
null to reset to the environment default.Delete an agent
is_active to false. The agent record is retained; existing sessions referencing it are not affected.
Path parameters
UUID of the voice agent to delete.
Response
Always
true when the operation succeeds.