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
conversation
PublicAgentConversationPatch · object | null
tools
PublicAgentToolsPatch · object | null
webhooks
PublicAgentWebhooksPatch · object | null
knowledge_base
PublicAgentKnowledgeBasePatch · object | null
analysis
PublicAgentAnalysisPatch · 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
AgentVoiceConfig · object
required
conversation
AgentConversationConfig · object
required
tools
PublicAgentToolsConfig · object
required
webhooks
PublicAgentWebhooksConfig · object
required
knowledge_base
PublicAgentKnowledgeBaseConfig · object
required
analysis
AgentAnalysisConfig · object
required
updated_at
string<date-time>
required