Skip to main content
PATCH
Update 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

Body

application/json
prompt
PublicAgentPromptPatch ยท object | null
voice
PublicAgentVoicePatch ยท object | null
asr
PublicAgentAsrPatch ยท object | null
conversation
PublicAgentConversationPatch ยท object | null
tools
PublicAgentToolsPatch ยท object | null
webhooks
PublicAgentWebhooksPatch ยท object | null
knowledge_base
PublicAgentKnowledgeBasePatch ยท object | null
analysis
PublicAgentAnalysisPatch ยท object | null
guardrails
PublicAgentGuardrailsPatch ยท object | null
llm
PublicAgentLLMPatch ยท object | null

Response

Request fulfilled, document follows

agent_id
string
required
config_hash
string
required

Content hash of the draft; equal to a version's config_hash when the draft has no unpublished changes.

prompt
AgentPromptConfig ยท object
required
voice
AgentVoiceConfigView ยท object
required

Read shape of the voice section. The ASR fields that moved to the asr section stay mirrored here, deprecated, so clients written before the split keep reading them.

asr
AgentAsrConfig ยท object
required
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
llm
AgentLLMConfigRedacted ยท object
required
updated_at
string<date-time>
required