Skip to main content
GET
Get Draft Config

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string
required

Response

Request fulfilled, document follows

agent_id
string
required
config_hash
string
required

Opaque content hash of this configuration as stored. On a draft it is the config_hash the next publish gives the version, so it equals the live version's config_hash when nothing is unpublished. Pass it to Publish Agent as expected_config_hash.

prompt
AgentPromptConfig · object
required
voice
PublicAgentVoiceConfig · object
required

The voice section as the public API reads it: without the console-only sentence buffering switch, live-3 playout and live-3 self-ASR model.

asr
PublicAgentAsrConfig · object
required

The asr section as the public API reads it: without the console-only noise cancellation and speaker label switches.

conversation
AgentConversationConfig · object
required
tools
PublicAgentToolsConfig · object
required
webhooks
PublicAgentWebhooksConfig · object
required
knowledge_base
PublicAgentKnowledgeBaseConfig · object
required
analysis
AgentAnalysisConfig · object
required
guardrails
AgentGuardrailsConfig · object
required
context
AgentContextConfig · object
required

Facts the platform tells the agent on its own, one switch per fact. The same mechanism as a guardrail with the opposite sign: a guardrail is a prompt addition that constrains, a context switch is one that informs.

llm
AgentLLMConfigRedacted · object
required
updated_at
string<date-time>
required
variables
AgentVariablesConfig · object

Defaults for {{name}} placeholders and what a placeholder without a value does.