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