v3

latestOpenAPI 3.1.02026-08-0150254154.0 KB
voiceAgent > configurations

Create an Agent Configuration

Creates a new reusable agent configuration. The config field must be a valid JSON string representing the agent block of a Settings message. The returned agent_id can be passed in place of the full agent object in future Settings messages.

post/v1/projects/{project_id}/agents

Path parameters

project_idstring required

The unique identifier of the project

Headers

Authorizationstring required

Use Authorization: Token <API_KEY> Example: Authorization: Token 12345abcdef

Request body

configstring required

A valid JSON string representing the agent block of a Settings message

metadataobject

A map of arbitrary key-value pairs for labeling or organizing the agent configuration

api_versioninteger

API version. Defaults to 1

Response

Agent configuration created successfully

agent_idstring required

The unique identifier of the newly created agent configuration

configCreateAgentConfigurationV1ResponseConfig required

The parsed agent configuration object

metadataobject

Metadata associated with the agent configuration