# Request 1: Update basic knowledge settingscurl -X PUT "https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge" \ -H "Authorization: Bearer talq_your_environment_token_here" \ -H "Content-Type: application/json" \ -d '{ "description": "Updated agent description with more details", "initial_message": "Hello! Welcome to our support line. How may I assist you today?", "interrupt_sensitivity": "high", "ask_if_human_present_on_idle": true, "llm_temperature": 0.8, "initial_message_delay": 2 }'
// Request 1: Update basic knowledge settingsconst response = await fetch('https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge', { method: 'PUT', headers: { 'Authorization': 'Bearer talq_your_environment_token_here', 'Content-Type': 'application/json' }, body: JSON.stringify({ description: "Updated agent description with more details", initial_message: "Hello! Welcome to our support line. How may I assist you today?", interrupt_sensitivity: "high", ask_if_human_present_on_idle: true, llm_temperature: 0.8, initial_message_delay: 2 })});const result = await response.json();console.log(result);
{ "success": true, "message": "Agent knowledge updated successfully", "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "SupportBot", "label": "Customer Support Agent", "description": "Updated agent description with more details", "language": "en-US", "voice": {.}, "initial_message": "Hello! Welcome to our support line. How may I assist you today?", "interrupt_sensitivity": "high", "conversation_speed": 1.0, "initial_message_delay": 2, "ask_if_human_present_on_idle": true, "direction": "inbound", "who_speaks_first": "agent", "current_status": "draft", "is_sandbox": false, "is_ready_to_publish": false, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:35:00Z", "trainings": [.], "actions": [.], "phone_numbers": [.] }}
Agents
Update Agent Knowledge
Update an agent’s knowledge, behavior, and conversation settings
PUT
/
api
/
v1
/
agents
/
{agent_id}
/
knowledge
# Request 1: Update basic knowledge settingscurl -X PUT "https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge" \ -H "Authorization: Bearer talq_your_environment_token_here" \ -H "Content-Type: application/json" \ -d '{ "description": "Updated agent description with more details", "initial_message": "Hello! Welcome to our support line. How may I assist you today?", "interrupt_sensitivity": "high", "ask_if_human_present_on_idle": true, "llm_temperature": 0.8, "initial_message_delay": 2 }'
// Request 1: Update basic knowledge settingsconst response = await fetch('https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge', { method: 'PUT', headers: { 'Authorization': 'Bearer talq_your_environment_token_here', 'Content-Type': 'application/json' }, body: JSON.stringify({ description: "Updated agent description with more details", initial_message: "Hello! Welcome to our support line. How may I assist you today?", interrupt_sensitivity: "high", ask_if_human_present_on_idle: true, llm_temperature: 0.8, initial_message_delay: 2 })});const result = await response.json();console.log(result);
{ "success": true, "message": "Agent knowledge updated successfully", "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "SupportBot", "label": "Customer Support Agent", "description": "Updated agent description with more details", "language": "en-US", "voice": {.}, "initial_message": "Hello! Welcome to our support line. How may I assist you today?", "interrupt_sensitivity": "high", "conversation_speed": 1.0, "initial_message_delay": 2, "ask_if_human_present_on_idle": true, "direction": "inbound", "who_speaks_first": "agent", "current_status": "draft", "is_sandbox": false, "is_ready_to_publish": false, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:35:00Z", "trainings": [.], "actions": [.], "phone_numbers": [.] }}
Update Agent Knowledge
Update an agent’s knowledge base, conversation behavior, and interaction settings. Modifies the agent’s description, initial message, interrupt sensitivity, and other behavioral parameters.
Endpoint
PUT /api/v1/agents/{agent_id}/knowledge
Path parameters
string
required
The unique identifier of the voice agent to update.
Request headers
string
required
Bearer token for authentication. Format: Bearer talq_your_environment_token_here
string
required
Must be set to application/json
Request body
string
required
Agent description (min 5 characters)
string
Initial message (min 5 characters, max 255 characters)
string
required
Interrupt sensitivity level. Options: low, medium, high
boolean
required
Whether to ask if human is present when idle
number
required
LLM temperature (min: 0, max: 2)
integer
required
Initial message delay (min: 0, max: 60)
Example requests
# Request 1: Update basic knowledge settingscurl -X PUT "https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge" \ -H "Authorization: Bearer talq_your_environment_token_here" \ -H "Content-Type: application/json" \ -d '{ "description": "Updated agent description with more details", "initial_message": "Hello! Welcome to our support line. How may I assist you today?", "interrupt_sensitivity": "high", "ask_if_human_present_on_idle": true, "llm_temperature": 0.8, "initial_message_delay": 2 }'
// Request 1: Update basic knowledge settingsconst response = await fetch('https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge', { method: 'PUT', headers: { 'Authorization': 'Bearer talq_your_environment_token_here', 'Content-Type': 'application/json' }, body: JSON.stringify({ description: "Updated agent description with more details", initial_message: "Hello! Welcome to our support line. How may I assist you today?", interrupt_sensitivity: "high", ask_if_human_present_on_idle: true, llm_temperature: 0.8, initial_message_delay: 2 })});const result = await response.json();console.log(result);
# Request 2: Update for sales-focused agentcurl -X PUT "https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge" \ -H "Authorization: Bearer talq_your_environment_token_here" \ -H "Content-Type: application/json" \ -d '{ "description": "Sales agent focused on product demonstrations and lead qualification", "initial_message": "Hi! I am calling to introduce our new product line. Do you have 5 minutes to learn about how it can benefit your business?", "interrupt_sensitivity": "medium", "ask_if_human_present_on_idle": false, "llm_temperature": 0.9, "initial_message_delay": 1 }'
// Request 2: Update for sales-focused agentconst response = await fetch('https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge', { method: 'PUT', headers: { 'Authorization': 'Bearer talq_your_environment_token_here', 'Content-Type': 'application/json' }, body: JSON.stringify({ description: "Sales agent focused on product demonstrations and lead qualification", initial_message: "Hi! I am calling to introduce our new product line. Do you have 5 minutes to learn about how it can benefit your business?", interrupt_sensitivity: "medium", ask_if_human_present_on_idle: false, llm_temperature: 0.9, initial_message_delay: 1 })});const result = await response.json();console.log(result);
Response
Success Response (200 OK)
{ "success": true, "message": "Agent knowledge updated successfully", "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "SupportBot", "label": "Customer Support Agent", "description": "Updated agent description with more details", "language": "en-US", "voice": {.}, "initial_message": "Hello! Welcome to our support line. How may I assist you today?", "interrupt_sensitivity": "high", "conversation_speed": 1.0, "initial_message_delay": 2, "ask_if_human_present_on_idle": true, "direction": "inbound", "who_speaks_first": "agent", "current_status": "draft", "is_sandbox": false, "is_ready_to_publish": false, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:35:00Z", "trainings": [.], "actions": [.], "phone_numbers": [.] }}
Response fields
boolean
required
Indicates if the operation was successful.
string
required
Success message confirming the agent knowledge was updated.
object
required
The updated agent object with all current settings.
Show Agent Object
string
required
Unique identifier for the agent.
string
required
The name of the agent.
string
required
The display label for the agent.
string
required
Updated description of the agent’s purpose and functionality.
string
Updated initial message the agent will say.
string
required
Updated interrupt sensitivity level.
boolean
required
Updated setting for asking if human is present when idle.
number
required
Updated LLM temperature setting.
integer
required
Updated initial message delay in seconds.
string
required
Current status of the agent (will be set to “draft” after update).
string
required
ISO 8601 timestamp when the agent was last updated.
Error responses
Validation Error (422)
{ "success": false, "message": "The given data was invalid.", "errors": { "description": [ "The description field is required." ], "interrupt_sensitivity": [ "The selected interrupt sensitivity is invalid." ], "llm_temperature": [ "The llm temperature must be between 0 and 2." ], "initial_message_delay": [ "The initial message delay must be between 0 and 60." ] }}
{ "success": false, "message": "You are not authorized to perform this action."}
Error codes
Code
Description
HTTP Status
AGENT_NOT_FOUND
Specified agent does not exist
404
INVALID_TOKEN
Authentication token is invalid or missing
401
UNAUTHORIZED
User does not have permission to update this agent
403
VALIDATION_ERROR
Request data validation failed
422
Important notes
Agent status will be set to draft. After updating the agent’s knowledge, the agent will be automatically set to “draft” status and will need to be published again to become active.
LLM Temperature affects creativity. Higher values (closer to 2) make responses more creative and varied, while lower values (closer to 0) make responses more focused and consistent.
Related endpoints
Get Agent: GET /api/v1/agents/{agent_id}
Update Agent Voice: PUT /api/v1/agents/{agent_id}/voice
Update Agent Calling Settings: PUT /api/v1/agents/{agent_id}/calling
Publish Agent: POST /api/v1/agents/{agent_id}/publish
List Agents: GET /api/v1/agents
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Talkover","colors":{"primary":"#155DFC","light":"#669BFF","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/talqove/5migkN6-Hty9RJZw/images/logo.svg?fit=max\u0026auto=format\u0026n=5migkN6-Hty9RJZw\u0026q=85\u0026s=b3e6bead068f900e1a50ec54b1d813f2","dark":"https://mintcdn.com/talqove/5migkN6-Hty9RJZw/images/logo.svg?fit=max\u0026auto=format\u0026n=5migkN6-Hty9RJZw\u0026q=85\u0026s=b3e6bead068f900e1a50ec54b1d813f2"},"favicon":"https://mintcdn.com/talqove/p9Bi9k7_5Bq3Cl1A/favicon.svg?fit=max\u0026auto=format\u0026n=p9Bi9k7_5Bq3Cl1A\u0026q=85\u0026s=6d0ae94d10ee524a776d8ad8aa0b442f","api":{},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.talkover.ai"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/talkover"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"languages":[{"language":"en","default":true,"href":"en/introduction"},{"language":"pt-BR","href":"pt-br/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"talqove","hasAudioNarration":false,"actualSubdomain":"talqove","customDomains":["docs.talkover.ai"],"gitSource":{"type":"github","owner":"talqover","repo":"talqover-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6b061a2f41e45b3f29cc2173","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"en","tag":"API Reference","count":133},{"language":"pt-BR","tag":"Referência da API","count":133},{"language":"en","tag":"Calendars","count":37},{"language":"pt-BR","tag":"Calendários","count":37},{"language":"en","tag":"Setup Agents","count":20},{"language":"pt-BR","tag":"Configurar Agentes","count":20},{"language":"en","tag":"Campaign Integrations","count":16},{"language":"pt-BR","tag":"Integrações de Campanha","count":16},{"language":"en","tag":"Agents","count":13},{"language":"pt-BR","tag":"Agentes","count":13},{"language":"en","tag":"Calls \u0026 Campaigns","count":12},{"language":"pt-BR","tag":"Chamadas e Campanhas","count":12},{"language":"en","tag":"Custom SIP Trunks","count":10},{"language":"pt-BR","tag":"SIP Trunks Personalizados","count":10},{"language":"en","tag":"Campaign Webhooks","count":9},{"language":"en","tag":"Agent Webhooks","count":9},{"language":"en","tag":"For debt collection","count":9},{"language":"pt-BR","tag":"Webhooks de Campanha","count":9},{"language":"pt-BR","tag":"Webhooks de Agente","count":9},{"language":"pt-BR","tag":"Para cobrança","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"en/api-reference/endpoints/update-agent-knowledge","slug":"/en/api-reference/endpoints/update-agent-knowledge","pageMetadata":{"title":"Update Agent Knowledge","description":"Update an agent's knowledge, behavior, and conversation settings","api":"PUT /api/v1/agents/{agent_id}/knowledge","href":"/en/api-reference/endpoints/update-agent-knowledge"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update an agent’s knowledge, behavior, and conversation settings\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`update-agent-knowledge`,children:`Update Agent Knowledge`}),`\n`,_jsx(_components.p,{children:`Update an agent’s knowledge base, conversation behavior, and interaction settings. Modifies the agent’s description, initial message, interrupt sensitivity, and other behavioral parameters.`}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`PUT /api/v1/agents/{agent_id}/knowledge`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`agent`,type:`string`,required:true,id:`param-agent`,children:_jsx(_components.p,{children:`The unique identifier of the voice agent to update.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request-headers`,children:`Request headers`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Bearer token for authentication. Format: `,_jsx(_components.code,{children:`Bearer talq_your_environment_token_here`})]})}),`\n`,_jsx(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:_jsxs(_components.p,{children:[`Must be set to `,_jsx(_components.code,{children:`application/json`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description`,children:_jsx(_components.p,{children:`Agent description (min 5 characters)`})}),`\n`,_jsx(ParamField,{body:`initial_message`,type:`string`,required:false,id:`param-initial-message`,children:_jsx(_components.p,{children:`Initial message (min 5 characters, max 255 characters)`})}),`\n`,_jsx(ParamField,{body:`interrupt_sensitivity`,type:`string`,required:true,id:`param-interrupt-sensitivity`,children:_jsxs(_components.p,{children:[`Interrupt sensitivity level. Options: `,_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`high`})]})}),`\n`,_jsx(ParamField,{body:`ask_if_human_present_on_idle`,type:`boolean`,required:true,id:`param-ask-if-human-present-on-idle`,children:_jsx(_components.p,{children:`Whether to ask if human is present when idle`})}),`\n`,_jsx(ParamField,{body:`llm_temperature`,type:`number`,required:true,id:`param-llm-temperature`,children:_jsx(_components.p,{children:`LLM temperature (min: 0, max: 2)`})}),`\n`,_jsx(ParamField,{body:`initial_message_delay`,type:`integer`,required:true,id:`param-initial-message-delay`,children:_jsx(_components.p,{children:`Initial message delay (min: 0, max: 60)`})}),`\n`,_jsx(Heading,{level:`2`,id:`example-requests`,children:`Example requests`}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(Heading,{level:`3`,id:`success-response-200-ok`,children:`Success Response (200 OK)`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response fields`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,required:true,id:`param-success`,children:_jsx(_components.p,{children:`Indicates if the operation was successful.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,required:true,id:`param-message`,children:_jsx(_components.p,{children:`Success message confirming the agent knowledge was updated.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,required:true,id:`param-data`,children:[_jsx(_components.p,{children:`The updated agent object with all current settings.`}),_jsxs(Expandable,{title:`Agent Object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the agent.`})}),_jsx(ResponseField,{name:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`The name of the agent.`})}),_jsx(ResponseField,{name:`label`,type:`string`,required:true,id:`param-label`,children:_jsx(_components.p,{children:`The display label for the agent.`})}),_jsx(ResponseField,{name:`description`,type:`string`,required:true,id:`param-description-1`,children:_jsx(_components.p,{children:`Updated description of the agent’s purpose and functionality.`})}),_jsx(ResponseField,{name:`initial_message`,type:`string`,id:`param-initial-message-1`,children:_jsx(_components.p,{children:`Updated initial message the agent will say.`})}),_jsx(ResponseField,{name:`interrupt_sensitivity`,type:`string`,required:true,id:`param-interrupt-sensitivity-1`,children:_jsx(_components.p,{children:`Updated interrupt sensitivity level.`})}),_jsx(ResponseField,{name:`ask_if_human_present_on_idle`,type:`boolean`,required:true,id:`param-ask-if-human-present-on-idle-1`,children:_jsx(_components.p,{children:`Updated setting for asking if human is present when idle.`})}),_jsx(ResponseField,{name:`llm_temperature`,type:`number`,required:true,id:`param-llm-temperature-1`,children:_jsx(_components.p,{children:`Updated LLM temperature setting.`})}),_jsx(ResponseField,{name:`initial_message_delay`,type:`integer`,required:true,id:`param-initial-message-delay-1`,children:_jsx(_components.p,{children:`Updated initial message delay in seconds.`})}),_jsx(ResponseField,{name:`current_status`,type:`string`,required:true,id:`param-current-status`,children:_jsx(_components.p,{children:`Current status of the agent (will be set to “draft” after update).`})}),_jsx(ResponseField,{name:`updated_at`,type:`string`,required:true,id:`param-updated-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the agent was last updated.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error responses`}),`\n`,_jsx(Heading,{level:`3`,id:`validation-error-422`,children:`Validation Error (422)`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`404-not-found`,children:`404 Not Found`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`401-unauthorized`,children:`401 Unauthorized`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`403-forbidden`,children:`403 Forbidden`}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`error-codes`,children:`Error codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`HTTP Status`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`AGENT_NOT_FOUND`})}),_jsx(_components.td,{children:`Specified agent does not exist`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_TOKEN`})}),_jsx(_components.td,{children:`Authentication token is invalid or missing`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`401`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`UNAUTHORIZED`})}),_jsx(_components.td,{children:`User does not have permission to update this agent`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_ERROR`})}),_jsx(_components.td,{children:`Request data validation failed`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`important-notes`,children:`Important notes`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Agent status will be set to draft.`}),` After updating the agent’s knowledge, the agent will be automatically set to “draft” status and will need to be published again to become active.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`LLM Temperature affects creativity.`}),` Higher values (closer to 2) make responses more creative and varied, while lower values (closer to 0) make responses more focused and consistent.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`related-endpoints`,children:`Related endpoints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Get Agent`}),`: `,_jsx(_components.code,{children:`GET /api/v1/agents/{agent_id}`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Update Agent Voice`}),`: `,_jsx(_components.code,{children:`PUT /api/v1/agents/{agent_id}/voice`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Update Agent Calling Settings`}),`: `,_jsx(_components.code,{children:`PUT /api/v1/agents/{agent_id}/calling`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Publish Agent`}),`: `,_jsx(_components.code,{children:`POST /api/v1/agents/{agent_id}/publish`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`List Agents`}),`: `,_jsx(_components.code,{children:`GET /api/v1/agents`})]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Agent Knowledge","description":"Update an agent's knowledge, behavior, and conversation settings","api":"PUT /api/v1/agents/{agent_id}/knowledge","href":"/en/api-reference/endpoints/update-agent-knowledge"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`update-agent-knowledge`,children:`Update Agent Knowledge`}),`\n`,_jsx(_components.p,{children:`Update an agent’s knowledge base, conversation behavior, and interaction settings. Modifies the agent’s description, initial message, interrupt sensitivity, and other behavioral parameters.`}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`PUT /api/v1/agents/{agent_id}/knowledge`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`agent`,type:`string`,required:true,id:`param-agent`,children:_jsx(_components.p,{children:`The unique identifier of the voice agent to update.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request-headers`,children:`Request headers`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Bearer token for authentication. Format: `,_jsx(_components.code,{children:`Bearer talq_your_environment_token_here`})]})}),`\n`,_jsx(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:_jsxs(_components.p,{children:[`Must be set to `,_jsx(_components.code,{children:`application/json`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description`,children:_jsx(_components.p,{children:`Agent description (min 5 characters)`})}),`\n`,_jsx(ParamField,{body:`initial_message`,type:`string`,required:false,id:`param-initial-message`,children:_jsx(_components.p,{children:`Initial message (min 5 characters, max 255 characters)`})}),`\n`,_jsx(ParamField,{body:`interrupt_sensitivity`,type:`string`,required:true,id:`param-interrupt-sensitivity`,children:_jsxs(_components.p,{children:[`Interrupt sensitivity level. Options: `,_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`high`})]})}),`\n`,_jsx(ParamField,{body:`ask_if_human_present_on_idle`,type:`boolean`,required:true,id:`param-ask-if-human-present-on-idle`,children:_jsx(_components.p,{children:`Whether to ask if human is present when idle`})}),`\n`,_jsx(ParamField,{body:`llm_temperature`,type:`number`,required:true,id:`param-llm-temperature`,children:_jsx(_components.p,{children:`LLM temperature (min: 0, max: 2)`})}),`\n`,_jsx(ParamField,{body:`initial_message_delay`,type:`integer`,required:true,id:`param-initial-message-delay`,children:_jsx(_components.p,{children:`Initial message delay (min: 0, max: 60)`})}),`\n`,_jsx(Heading,{level:`2`,id:`example-requests`,children:`Example requests`}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Request 1: Update basic knowledge settings`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer talq_your_environment_token_here\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Updated agent description with more details\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"initial_message\": \"Hello! Welcome to our support line. How may I assist you today?\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"interrupt_sensitivity\": \"high\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ask_if_human_present_on_idle\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"llm_temperature\": 0.8,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"initial_message_delay\": 2`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Request 1: Update basic knowledge settings`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'PUT'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer talq_your_environment_token_here'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` description:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Updated agent description with more details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` initial_message:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Hello! Welcome to our support line. How may I assist you today?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` interrupt_sensitivity:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ask_if_human_present_on_idle:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` llm_temperature:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.8`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` initial_message_delay:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 2`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Request 2: Update for sales-focused agent`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer talq_your_environment_token_here\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Sales agent focused on product demonstrations and lead qualification\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"initial_message\": \"Hi! I am calling to introduce our new product line. Do you have 5 minutes to learn about how it can benefit your business?\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"interrupt_sensitivity\": \"medium\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ask_if_human_present_on_idle\": false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"llm_temperature\": 0.9,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"initial_message_delay\": 1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Request 2: Update for sales-focused agent`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'PUT'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer talq_your_environment_token_here'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` description:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Sales agent focused on product demonstrations and lead qualification\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` initial_message:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Hi! I am calling to introduce our new product line. Do you have 5 minutes to learn about how it can benefit your business?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` interrupt_sensitivity:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"medium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ask_if_human_present_on_idle:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` llm_temperature:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.9`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` initial_message_delay:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(Heading,{level:`3`,id:`success-response-200-ok`,children:`Success Response (200 OK)`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`27`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`27`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Agent knowledge updated successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"550e8400-e29b-41d4-a716-446655440000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SupportBot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Customer Support Agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Updated agent description with more details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"language\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"en-US\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"initial_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello! Welcome to our support line. How may I assist you today?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"interrupt_sensitivity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversation_speed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"initial_message_delay\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ask_if_human_present_on_idle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"direction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"inbound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"who_speaks_first\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"current_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_sandbox\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_ready_to_publish\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:30:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:35:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trainings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"phone_numbers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response fields`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,required:true,id:`param-success`,children:_jsx(_components.p,{children:`Indicates if the operation was successful.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,required:true,id:`param-message`,children:_jsx(_components.p,{children:`Success message confirming the agent knowledge was updated.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,required:true,id:`param-data`,children:[_jsx(_components.p,{children:`The updated agent object with all current settings.`}),_jsxs(Expandable,{title:`Agent Object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the agent.`})}),_jsx(ResponseField,{name:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`The name of the agent.`})}),_jsx(ResponseField,{name:`label`,type:`string`,required:true,id:`param-label`,children:_jsx(_components.p,{children:`The display label for the agent.`})}),_jsx(ResponseField,{name:`description`,type:`string`,required:true,id:`param-description-1`,children:_jsx(_components.p,{children:`Updated description of the agent’s purpose and functionality.`})}),_jsx(ResponseField,{name:`initial_message`,type:`string`,id:`param-initial-message-1`,children:_jsx(_components.p,{children:`Updated initial message the agent will say.`})}),_jsx(ResponseField,{name:`interrupt_sensitivity`,type:`string`,required:true,id:`param-interrupt-sensitivity-1`,children:_jsx(_components.p,{children:`Updated interrupt sensitivity level.`})}),_jsx(ResponseField,{name:`ask_if_human_present_on_idle`,type:`boolean`,required:true,id:`param-ask-if-human-present-on-idle-1`,children:_jsx(_components.p,{children:`Updated setting for asking if human is present when idle.`})}),_jsx(ResponseField,{name:`llm_temperature`,type:`number`,required:true,id:`param-llm-temperature-1`,children:_jsx(_components.p,{children:`Updated LLM temperature setting.`})}),_jsx(ResponseField,{name:`initial_message_delay`,type:`integer`,required:true,id:`param-initial-message-delay-1`,children:_jsx(_components.p,{children:`Updated initial message delay in seconds.`})}),_jsx(ResponseField,{name:`current_status`,type:`string`,required:true,id:`param-current-status`,children:_jsx(_components.p,{children:`Current status of the agent (will be set to “draft” after update).`})}),_jsx(ResponseField,{name:`updated_at`,type:`string`,required:true,id:`param-updated-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the agent was last updated.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error responses`}),`\n`,_jsx(Heading,{level:`3`,id:`validation-error-422`,children:`Validation Error (422)`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The given data was invalid.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"errors\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"The description field is required.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"interrupt_sensitivity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"The selected interrupt sensitivity is invalid.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"llm_temperature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"The llm temperature must be between 0 and 2.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"initial_message_delay\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"The initial message delay must be between 0 and 60.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`404-not-found`,children:`404 Not Found`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Agent not found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`401-unauthorized`,children:`401 Unauthorized`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Unauthenticated.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`403-forbidden`,children:`403 Forbidden`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"You are not authorized to perform this action.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`error-codes`,children:`Error codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`HTTP Status`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`AGENT_NOT_FOUND`})}),_jsx(_components.td,{children:`Specified agent does not exist`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_TOKEN`})}),_jsx(_components.td,{children:`Authentication token is invalid or missing`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`401`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`UNAUTHORIZED`})}),_jsx(_components.td,{children:`User does not have permission to update this agent`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_ERROR`})}),_jsx(_components.td,{children:`Request data validation failed`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`important-notes`,children:`Important notes`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Agent status will be set to draft.`}),` After updating the agent’s knowledge, the agent will be automatically set to “draft” status and will need to be published again to become active.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`LLM Temperature affects creativity.`}),` Higher values (closer to 2) make responses more creative and varied, while lower values (closer to 0) make responses more focused and consistent.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`related-endpoints`,children:`Related endpoints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Get Agent`}),`: `,_jsx(_components.code,{children:`GET /api/v1/agents/{agent_id}`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Update Agent Voice`}),`: `,_jsx(_components.code,{children:`PUT /api/v1/agents/{agent_id}/voice`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Update Agent Calling Settings`}),`: `,_jsx(_components.code,{children:`PUT /api/v1/agents/{agent_id}/calling`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Publish Agent`}),`: `,_jsx(_components.code,{children:`POST /api/v1/agents/{agent_id}/publish`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`List Agents`}),`: `,_jsx(_components.code,{children:`GET /api/v1/agents`})]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Agent Knowledge","description":"Update an agent's knowledge, behavior, and conversation settings","api":"PUT /api/v1/agents/{agent_id}/knowledge","href":"/en/api-reference/endpoints/update-agent-knowledge"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Update Agent Knowledge","slug":"update-agent-knowledge","depth":1,"children":[]},{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Path parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Request headers","slug":"request-headers","depth":2,"children":[]},{"title":"Request body","slug":"request-body","depth":2,"children":[]},{"title":"Example requests","slug":"example-requests","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Success Response (200 OK)","slug":"success-response-200-ok","depth":3,"children":[]},{"title":"Response fields","slug":"response-fields","depth":3,"children":[]}]},{"title":"Error responses","slug":"error-responses","depth":2,"children":[{"title":"Validation Error (422)","slug":"validation-error-422","depth":3,"children":[]},{"title":"404 Not Found","slug":"404-not-found","depth":3,"children":[]},{"title":"401 Unauthorized","slug":"401-unauthorized","depth":3,"children":[]},{"title":"403 Forbidden","slug":"403-forbidden","depth":3,"children":[]}]},{"title":"Error codes","slug":"error-codes","depth":2,"children":[]},{"title":"Important notes","slug":"important-notes","depth":2,"children":[]},{"title":"Related endpoints","slug":"related-endpoints","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"># Request 1: Update basic knowledge settings\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PUT\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer talq_your_environment_token_here\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"description\": \"Updated agent description with more details\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"initial_message\": \"Hello! Welcome to our support line. How may I assist you today?\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"interrupt_sensitivity\": \"high\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"ask_if_human_present_on_idle\": true,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"llm_temperature\": 0.8,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"initial_message_delay\": 2\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"19\">\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// Request 1: Update basic knowledge settings\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/knowledge'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'PUT'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Bearer talq_your_environment_token_here'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'application/json'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> description:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Updated agent description with more details\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> initial_message:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Hello! Welcome to our support line. How may I assist you today?\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> interrupt_sensitivity:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"high\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> ask_if_human_present_on_idle:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> llm_temperature:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 0.8\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> initial_message_delay:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 2\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> })\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> result\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"27\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Agent knowledge updated successfully\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"550e8400-e29b-41d4-a716-446655440000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SupportBot\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"label\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Customer Support Agent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Updated agent description with more details\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"language\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"en-US\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"voice\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003cspan style=\"color:#82071E;--shiki-light-font-style:italic;--shiki-dark:#F44747;--shiki-dark-font-style:inherit\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"initial_message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Hello! Welcome to our support line. How may I assist you today?\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"interrupt_sensitivity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"high\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"conversation_speed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1.0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"initial_message_delay\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ask_if_human_present_on_idle\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"direction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"inbound\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"who_speaks_first\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"agent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"current_status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"draft\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"is_sandbox\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"is_ready_to_publish\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-15T10:30:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-15T10:35:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"trainings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#82071E;--shiki-light-font-style:italic;--shiki-dark:#F44747;--shiki-dark-font-style:inherit\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"actions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#82071E;--shiki-light-font-style:italic;--shiki-dark:#F44747;--shiki-dark-font-style:inherit\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"phone_numbers\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#82071E;--shiki-light-font-style:italic;--shiki-dark:#F44747;--shiki-dark-font-style:inherit\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Update Agent Knowledge","path":"/api/v1/agents/{agent_id}/knowledge","method":"put","request":{"security":[],"parameters":{"query":{},"header":{"Authorization":{"schema":[{"type":"string","description":"Bearer token for authentication. Format: `Bearer talq_your_environment_token_here`","required":true}]},"Content-Type":{"schema":[{"type":"string","description":"Must be set to `application/json`","required":true}]}},"cookie":{},"path":{"agent":{"schema":[{"type":"string","description":"The unique identifier of the voice agent to update.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"description":[{"type":"string","description":"Agent description (min 5 characters)","required":true}],"initial_message":[{"type":"string","description":"Initial message (min 5 characters, max 255 characters)"}],"interrupt_sensitivity":[{"type":"string","description":"Interrupt sensitivity level. Options: `low` , `medium` , `high`","required":true}],"ask_if_human_present_on_idle":[{"type":"boolean","description":"Whether to ask if human is present when idle","required":true}],"llm_temperature":[{"type":"number","description":"LLM temperature (min: 0, max: 2)","required":true}],"initial_message_delay":[{"type":"integer","description":"Initial message delay (min: 0, max: 60)","required":true}]}}],"examples":{"example":{"value":{"description":"\u003cstring>","initial_message":"\u003cstring>","interrupt_sensitivity":"\u003cstring>","ask_if_human_present_on_idle":true,"llm_temperature":123,"initial_message_delay":123}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Indicates if the operation was successful.","required":true}],"message":[{"type":"string","description":"Success message confirming the agent knowledge was updated.","required":true}],"data":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique identifier for the agent.","required":true}],"name":[{"type":"string","description":"The name of the agent.","required":true}],"label":[{"type":"string","description":"The display label for the agent.","required":true}],"description":[{"type":"string","description":"Updated description of the agent’s purpose and functionality.","required":true}],"initial_message":[{"type":"string","description":"Updated initial message the agent will say."}],"interrupt_sensitivity":[{"type":"string","description":"Updated interrupt sensitivity level.","required":true}],"ask_if_human_present_on_idle":[{"type":"boolean","description":"Updated setting for asking if human is present when idle.","required":true}],"llm_temperature":[{"type":"number","description":"Updated LLM temperature setting.","required":true}],"initial_message_delay":[{"type":"integer","description":"Updated initial message delay in seconds.","required":true}],"current_status":[{"type":"string","description":"Current status of the agent (will be set to “draft” after update).","required":true}],"updated_at":[{"type":"string","description":"ISO 8601 timestamp when the agent was last updated.","required":true}]},"description":"The updated agent object with all current settings.","required":true}]}}],"examples":{"example":{"value":{"success":true,"message":"\u003cstring>","data":{"id":"\u003cstring>","name":"\u003cstring>","label":"\u003cstring>","description":"\u003cstring>","initial_message":"\u003cstring>","interrupt_sensitivity":"\u003cstring>","ask_if_human_present_on_idle":true,"llm_temperature":123,"initial_message_delay":123,"current_status":"\u003cstring>","updated_at":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"talqove","siteName":"Talkover","title":"Update Agent Knowledge - Talkover","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/endpoints/update-agent-knowledge","matchLevel":0},"pt-BR":{"href":"/pt-br/api-reference/endpoints/update-agent-knowledge","matchLevel":1}}},"lastModified":"2026-04-29T17:15:45.412Z","originalFileLocation":"en/api-reference/endpoints/update-agent-knowledge.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update an agent\u0026#x27;s knowledge, behavior, and conversation settings\">\u003cmeta data-mint-head name=\"application-name\" content=\"Talkover\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Agent Knowledge - Talkover\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an agent\u0026#x27;s knowledge, behavior, and conversation settings\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Talkover\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.talkover.ai/en/api-reference/endpoints/update-agent-knowledge\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://talqove.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Update+Agent+Knowledge\u0026amp;description=Update+an+agent%27s+knowledge%2C+behavior%2C+and+conversation+settings\u0026amp;theme=872a8f276c928ecd28f6fd4b\u0026amp;signature=d785e645891ceac2e5a43c7d0a20ee1b0ef3e5fd7c76fe853209f685ff7341a4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Agent Knowledge - Talkover\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an agent\u0026#x27;s knowledge, behavior, and conversation settings\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://talqove.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Update+Agent+Knowledge\u0026amp;description=Update+an+agent%27s+knowledge%2C+behavior%2C+and+conversation+settings\u0026amp;theme=872a8f276c928ecd28f6fd4b\u0026amp;signature=d785e645891ceac2e5a43c7d0a20ee1b0ef3e5fd7c76fe853209f685ff7341a4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Talkover\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#155DFC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.talkover.ai/en/api-reference/endpoints/update-agent-knowledge\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/endpoints/update-agent-knowledge.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.talkover.ai/en/api-reference/endpoints/update-agent-knowledge\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.talkover.ai/pt-br/api-reference/endpoints/update-agent-knowledge\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.talkover.ai/en/api-reference/endpoints/update-agent-knowledge\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.talkover.ai/#organization\",\"name\":\"Talkover\",\"url\":\"https://docs.talkover.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/talqove/5migkN6-Hty9RJZw/images/logo.svg?fit=max\u0026auto=format\u0026n=5migkN6-Hty9RJZw\u0026q=85\u0026s=b3e6bead068f900e1a50ec54b1d813f2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.talkover.ai#website\",\"name\":\"Talkover\",\"url\":\"https://docs.talkover.ai\",\"publisher\":{\"@id\":\"https://docs.talkover.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/update-agent-knowledge#webpage\",\"url\":\"https://docs.talkover.ai/en/api-reference/endpoints/update-agent-knowledge\",\"name\":\"Update Agent Knowledge\",\"description\":\"Update an agent's knowledge, behavior, and conversation settings\",\"dateModified\":\"2026-04-29T17:15:45.412Z\",\"isPartOf\":{\"@id\":\"https://docs.talkover.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/update-agent-knowledge#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/update-agent-knowledge#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.talkover.ai/en/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setup Agents\",\"item\":\"https://docs.talkover.ai/en/api-reference/endpoints/list-agents\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Agents\",\"item\":\"https://docs.talkover.ai/en/api-reference/endpoints/list-agents\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Update Agent Knowledge\",\"item\":\"https://docs.talkover.ai/en/api-reference/endpoints/update-agent-knowledge\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/update-agent-knowledge#apireference\",\"headline\":\"Update Agent Knowledge\",\"name\":\"Update Agent Knowledge\",\"description\":\"Update an agent's knowledge, behavior, and conversation settings\",\"url\":\"https://docs.talkover.ai/en/api-reference/endpoints/update-agent-knowledge\",\"mainEntityOfPage\":{\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/update-agent-knowledge#webpage\"},\"dateModified\":\"2026-04-29T17:15:45.412Z\",\"publisher\":{\"@id\":\"https://docs.talkover.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.talkover.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Talkover\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Talkover\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/api-reference/endpoints/update-agent-knowledge.md","siteName":"Talkover","nav":{"global":{"anchors":[]},"languages":[{"language":"en","default":true,"groups":[{"group":"Get Started","pages":[{"title":"Talkover API","href":"/en/introduction"},{"title":"Quick start Guide","href":"/en/getting-started/quickstart"},{"title":"Authentication","href":"/en/getting-started/authentication"},{"title":"Make Your First Call","href":"/en/getting-started/first-call"}]},{"group":"Concepts","pages":[{"title":"Voice Agents","href":"/en/concepts/voice-agents"},{"title":"Call Flows","href":"/en/concepts/call-flows"}]},{"group":"API Reference","pages":[{"title":"API Reference","href":"/en/api-reference/introduction"},{"title":"Authentication","href":"/en/api-reference/authentication"},{"group":"Voice Templates \u0026 Phone Numbers","pages":[{"title":"List Voice Templates","api":"GET /api/v1/voice-templates","href":"/en/api-reference/endpoints/list-voice-templates"},{"title":"Generate Voice Template Demo","api":"GET /api/v1/voice-templates/{voice_template_id}/demo","href":"/en/api-reference/endpoints/generate-voice-demo"},{"title":"List Phone Numbers","api":"GET /api/v1/phone-numbers","href":"/en/api-reference/endpoints/list-phone-numbers"},{"title":"List Release Requests","api":"GET /api/v1/phone-numbers/release-requests","href":"/en/api-reference/endpoints/list-release-requests"},{"title":"Request Phone Number Release","api":"POST /api/v1/phone-numbers/{phone_number_id}/request-release","href":"/en/api-reference/endpoints/request-phone-release"},{"title":"Cancel Release Request","api":"DELETE /api/v1/phone-numbers/release-requests/{release_request_id}","href":"/en/api-reference/endpoints/cancel-release-request"}]},{"group":"Setup Agents","pages":[{"group":"Agents","pages":[{"title":"List Agents","api":"GET /api/v1/agents","href":"/en/api-reference/endpoints/list-agents"},{"title":"Create Agent","api":"POST /api/v1/agents","href":"/en/api-reference/endpoints/create-agent"},{"title":"Get Agent","description":"Retrieve details of a specific voice agent by ID","api":"GET /api/v1/agents/{agent_id}","href":"/en/api-reference/endpoints/get-agent"},{"title":"Update Agent Knowledge","api":"PUT /api/v1/agents/{agent_id}/knowledge","href":"/en/api-reference/endpoints/update-agent-knowledge"},{"title":"Update Agent Voice","description":"Update an agent's voice settings and configuration","api":"PUT /api/v1/agents/{agent_id}/voice","href":"/en/api-reference/endpoints/update-agent-voice"},{"title":"Update Agent Calling Settings","api":"PUT /api/v1/agents/{agent_id}/calling","href":"/en/api-reference/endpoints/update-agent-calling"},{"title":"Publish Agent","api":"POST /api/v1/agents/{agent_id}/publish","href":"/en/api-reference/endpoints/publish-agent"},{"title":"Unpublish Agent","api":"POST /api/v1/agents/{agent_id}/unpublish","href":"/en/api-reference/endpoints/unpublish-agent"},{"title":"Delete Agent","api":"DELETE /api/v1/agents/{agent_id}","href":"/en/api-reference/endpoints/delete-agent"},{"title":"Update Advanced Settings","api":"PATCH /api/v1/agents/{agent_id}/advanced-settings","href":"/en/api-reference/endpoints/update-advanced-settings"},{"title":"Check Optimized Costs Eligibility","api":"GET /api/v1/agents/{agent_id}/optimized-costs-eligibility","href":"/en/api-reference/endpoints/check-optimized-costs-eligibility"},{"title":"Get Agent Pricing","api":"GET /api/v1/agents/{agent_id}/pricing","href":"/en/api-reference/endpoints/get-agent-pricing"},{"title":"Get Agent Pricing Summary","api":"GET /api/v1/agents/{agent_id}/pricing/summary","href":"/en/api-reference/endpoints/get-agent-pricing-summary"}]},{"group":"Trainings","pages":[{"title":"List Trainings","api":"GET /api/v1/agents/{agent_id}/trainings","href":"/en/api-reference/endpoints/list-trainings"},{"title":"Create/Update Training","api":"POST /api/v1/agents/{agent_id}/trainings","href":"/en/api-reference/endpoints/create-training"},{"title":"Delete Training","api":"DELETE /api/v1/agents/{agent_id}/trainings/{training_id}","href":"/en/api-reference/endpoints/delete-training"}]},{"group":"Actions","pages":[{"title":"List Actions","api":"GET /api/v1/agents/{agent_id}/actions","href":"/en/api-reference/endpoints/list-actions"},{"title":"Create/Update Action","api":"POST /api/v1/agents/{agent_id}/actions","href":"/en/api-reference/endpoints/create-action"},{"title":"Delete Action","api":"DELETE /api/v1/agents/{agent_id}/actions/{action_id}","href":"/en/api-reference/endpoints/delete-action"},{"title":"List Action Integrations","api":"GET /api/v1/action-integrations","href":"/en/api-reference/endpoints/list-action-integrations"}]}]},{"group":"Conversation Flow","pages":[{"title":"Get Agent Flow","api":"GET /api/v1/agents/{agent_id}/flow","href":"/en/api-reference/endpoints/get-agent-flow"},{"title":"Update Agent Flow","api":"PUT /api/v1/agents/{agent_id}/flow","href":"/en/api-reference/endpoints/update-agent-flow"},{"title":"Validate Agent Flow","api":"POST /api/v1/agents/{agent_id}/flow/validate","href":"/en/api-reference/endpoints/validate-agent-flow"},{"title":"List Agent Flow Versions","api":"GET /api/v1/agents/{agent_id}/flow/versions","href":"/en/api-reference/endpoints/list-agent-flow-versions"}]},{"group":"Make a Call","pages":[{"title":"Make a Call","api":"POST /api/v1/agents/{agent_id}/call","href":"/en/api-reference/endpoints/make-call"},{"title":"Make Campaign Call","api":"POST /api/v1/campaigns/{campaign_id}/call","href":"/en/api-reference/endpoints/make-campaign-call"},{"title":"End Call","api":"POST /api/v1/agents/{agent_id}/end-call","href":"/en/api-reference/endpoints/end-call"},{"title":"Get Active Call by Phone","api":"GET /api/v1/agents/{agent_id}/active-call/{phone}","href":"/en/api-reference/endpoints/get-active-call"}]},{"group":"Calls \u0026 Campaigns","pages":[{"title":"List calls","api":"GET /api/v1/calls","href":"/en/api-reference/endpoints/list-calls"},{"title":"Get Agent Calls","api":"GET /api/v1/agents/{agent_id}/calls","href":"/en/api-reference/endpoints/get-agent-calls"},{"title":"Get call insight","api":"GET /api/v1/calls/{call_id}/insight","href":"/en/api-reference/endpoints/get-call-insight"},{"title":"List Campaigns","api":"GET /api/v1/campaigns","href":"/en/api-reference/endpoints/list-campaigns"},{"title":"Create Campaign","api":"POST /api/v1/campaigns","href":"/en/api-reference/endpoints/create-campaign"},{"title":"Get Campaign","api":"GET /api/v1/campaigns/{campaign_id}","href":"/en/api-reference/endpoints/get-campaign"},{"title":"Update Campaign","api":"PUT /api/v1/campaigns/{campaign_id}","href":"/en/api-reference/endpoints/update-campaign"},{"title":"Update Campaign Status","api":"PATCH /api/v1/campaigns/{campaign_id}/status","href":"/en/api-reference/endpoints/update-campaign-status"},{"title":"Delete Campaign","api":"DELETE /api/v1/campaigns/{campaign_id}","href":"/en/api-reference/endpoints/delete-campaign"},{"title":"Clear campaign","api":"POST /api/v1/campaigns/{campaign_id}/clear","href":"/en/api-reference/endpoints/clear-campaign"},{"title":"Upload contact list","api":"POST /api/v1/campaigns/{campaign_id}/files","href":"/en/api-reference/endpoints/upload-campaign-list"},{"title":"Get list import progress","api":"GET /api/v1/campaigns/{campaign_id}/files/{file_data_id}/progress","href":"/en/api-reference/endpoints/get-campaign-list-progress"}]},{"group":"Campaign Integrations","pages":[{"group":"Campaign Webhooks","pages":[{"title":"List Campaign Webhooks","api":"GET /api/v1/campaigns/{campaign_id}/webhooks","href":"/en/api-reference/endpoints/list-campaign-webhooks"},{"title":"Create Campaign Webhook","api":"POST /api/v1/campaigns/{campaign_id}/webhooks","href":"/en/api-reference/endpoints/create-campaign-webhook"},{"title":"Get Campaign Webhook","api":"GET /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/get-campaign-webhook"},{"title":"Update Campaign Webhook","api":"PUT /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/update-campaign-webhook"},{"title":"Delete Campaign Webhook","api":"DELETE /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/delete-campaign-webhook"},{"title":"Toggle Campaign Webhook","api":"PATCH /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}/toggle","href":"/en/api-reference/endpoints/toggle-campaign-webhook"},{"title":"Test Campaign Webhook","api":"POST /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}/test","href":"/en/api-reference/endpoints/test-campaign-webhook"},{"title":"List Campaign Webhook Logs","api":"GET /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}/logs","href":"/en/api-reference/endpoints/list-campaign-webhook-logs"},{"title":"Retry Campaign Webhook Delivery","api":"POST /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}/logs/{log_id}/retry","href":"/en/api-reference/endpoints/retry-campaign-webhook-log"}]},{"group":"Campaign SFTP","pages":[{"title":"Get Campaign SFTP Config","api":"GET /api/v1/campaigns/{campaign_id}/sftp","href":"/en/api-reference/endpoints/get-campaign-sftp"},{"title":"Create Campaign SFTP Config","api":"POST /api/v1/campaigns/{campaign_id}/sftp","href":"/en/api-reference/endpoints/create-campaign-sftp"},{"title":"Update Campaign SFTP Config","api":"PUT /api/v1/campaigns/{campaign_id}/sftp","href":"/en/api-reference/endpoints/update-campaign-sftp"},{"title":"Test Campaign SFTP Connection","api":"POST /api/v1/campaigns/{campaign_id}/sftp/test-connection","href":"/en/api-reference/endpoints/test-campaign-sftp-connection"},{"title":"Trigger SFTP Import","api":"POST /api/v1/campaigns/{campaign_id}/sftp/trigger-import","href":"/en/api-reference/endpoints/trigger-campaign-sftp-import"},{"title":"Trigger SFTP Export","api":"POST /api/v1/campaigns/{campaign_id}/sftp/trigger-export","href":"/en/api-reference/endpoints/trigger-campaign-sftp-export"},{"title":"List Campaign SFTP Logs","api":"GET /api/v1/campaigns/{campaign_id}/sftp/logs","href":"/en/api-reference/endpoints/list-campaign-sftp-logs"}]}]},{"group":"Callback Agents","pages":[{"title":"List Callback Agents","api":"GET /api/v1/callback-agents","href":"/en/api-reference/endpoints/list-callback-agents"},{"title":"List Callback Source Agents","api":"GET /api/v1/callback-agents/source-agents","href":"/en/api-reference/endpoints/list-callback-source-agents"},{"title":"Get Callback Stats","api":"GET /api/v1/callback-agents/stats","href":"/en/api-reference/endpoints/get-callback-stats"},{"title":"Get Callback Agent","api":"GET /api/v1/callback-agents/{agent_id}","href":"/en/api-reference/endpoints/get-callback-agent"},{"title":"Check Callback Constraints","api":"POST /api/v1/callback-agents/{agent_id}/check-constraints","href":"/en/api-reference/endpoints/check-callback-constraints"},{"title":"Set Agent as Callback","api":"POST /api/v1/agents/{agent_id}/callback","href":"/en/api-reference/endpoints/set-agent-as-callback"},{"title":"Update Callback Sources","api":"PUT /api/v1/agents/{agent_id}/callback","href":"/en/api-reference/endpoints/update-callback-sources"},{"title":"Remove Callback Role","api":"DELETE /api/v1/agents/{agent_id}/callback","href":"/en/api-reference/endpoints/remove-callback-role"}]},{"group":"Calendars","pages":[{"group":"Calendars","pages":[{"title":"List Calendars","api":"GET /api/v1/calendars","href":"/en/api-reference/endpoints/list-calendars"},{"title":"Create Calendar","api":"POST /api/v1/calendars","href":"/en/api-reference/endpoints/create-calendar"},{"title":"Get Calendar","api":"GET /api/v1/calendars/{calendar_id}","href":"/en/api-reference/endpoints/get-calendar"},{"title":"Update Calendar","api":"PUT /api/v1/calendars/{calendar_id}","href":"/en/api-reference/endpoints/update-calendar"},{"title":"Delete Calendar","api":"DELETE /api/v1/calendars/{calendar_id}","href":"/en/api-reference/endpoints/delete-calendar"},{"title":"Get Events (Batch)","api":"GET /api/v1/calendars/events","href":"/en/api-reference/endpoints/get-calendar-events-batch"},{"title":"Trigger Calendars Sync","api":"POST /api/v1/calendars/sync","href":"/en/api-reference/endpoints/trigger-calendars-sync"},{"title":"Get Calendars Sync Status","api":"GET /api/v1/calendars/sync-status","href":"/en/api-reference/endpoints/get-calendars-sync-status"}]},{"group":"Members","pages":[{"title":"List Calendar Members","api":"GET /api/v1/calendars/{calendar_id}/members","href":"/en/api-reference/endpoints/list-calendar-members"},{"title":"Add Calendar Member","api":"POST /api/v1/calendars/{calendar_id}/members","href":"/en/api-reference/endpoints/add-calendar-member"},{"title":"Update Calendar Member","api":"PUT /api/v1/calendars/{calendar_id}/members/{member_id}","href":"/en/api-reference/endpoints/update-calendar-member"},{"title":"Remove Calendar Member","api":"DELETE /api/v1/calendars/{calendar_id}/members/{member_id}","href":"/en/api-reference/endpoints/remove-calendar-member"}]},{"group":"Events","pages":[{"title":"List Calendar Events","api":"GET /api/v1/calendars/{calendar_id}/events","href":"/en/api-reference/endpoints/list-calendar-events"},{"title":"Create Calendar Event","api":"POST /api/v1/calendars/{calendar_id}/events","href":"/en/api-reference/endpoints/create-calendar-event"},{"title":"Get Calendar Event","api":"GET /api/v1/calendars/{calendar_id}/events/{event_id}","href":"/en/api-reference/endpoints/get-calendar-event"},{"title":"Update Calendar Event","api":"PUT /api/v1/calendars/{calendar_id}/events/{event_id}","href":"/en/api-reference/endpoints/update-calendar-event"},{"title":"Delete Calendar Event","api":"DELETE /api/v1/calendars/{calendar_id}/events/{event_id}","href":"/en/api-reference/endpoints/delete-calendar-event"},{"title":"Create Event Meeting Link","api":"POST /api/v1/calendars/{calendar_id}/events/{event_id}/meeting","href":"/en/api-reference/endpoints/create-event-meeting"},{"title":"Add Event Attendee","api":"POST /api/v1/calendars/{calendar_id}/events/{event_id}/attendees","href":"/en/api-reference/endpoints/add-event-attendee"},{"title":"Remove Event Attendee","api":"DELETE /api/v1/calendars/{calendar_id}/events/{event_id}/attendees/{attendee_id}","href":"/en/api-reference/endpoints/remove-event-attendee"}]},{"group":"Availability","pages":[{"title":"List Availability Rules","api":"GET /api/v1/calendars/{calendar_id}/availability-rules","href":"/en/api-reference/endpoints/list-availability-rules"},{"title":"Create Availability Rule","api":"POST /api/v1/calendars/{calendar_id}/availability-rules","href":"/en/api-reference/endpoints/create-availability-rule"},{"title":"Update Availability Rule","api":"PUT /api/v1/calendars/{calendar_id}/availability-rules/{rule_id}","href":"/en/api-reference/endpoints/update-availability-rule"},{"title":"Delete Availability Rule","api":"DELETE /api/v1/calendars/{calendar_id}/availability-rules/{rule_id}","href":"/en/api-reference/endpoints/delete-availability-rule"},{"title":"Query Availability","api":"GET /api/v1/calendars/{calendar_id}/availability","href":"/en/api-reference/endpoints/query-availability"}]},{"group":"Provider Connections","pages":[{"title":"List Provider Connections","api":"GET /api/v1/calendars/{calendar_id}/providers","href":"/en/api-reference/endpoints/list-provider-connections"},{"title":"Create Provider Connection","api":"POST /api/v1/calendars/{calendar_id}/providers","href":"/en/api-reference/endpoints/create-provider-connection"},{"title":"Disconnect Provider","api":"DELETE /api/v1/calendars/{calendar_id}/providers/{provider_id}","href":"/en/api-reference/endpoints/disconnect-provider"},{"title":"Trigger Provider Sync","api":"POST /api/v1/calendars/{calendar_id}/providers/{provider_id}/sync","href":"/en/api-reference/endpoints/trigger-provider-sync"}]}]},{"group":"Custom SIP Trunks","pages":[{"title":"List SIP Trunks","api":"GET /api/v1/sip-trunks","href":"/en/api-reference/endpoints/list-sip-trunks"},{"title":"Create SIP Trunk","api":"POST /api/v1/sip-trunks","href":"/en/api-reference/endpoints/create-sip-trunk"},{"title":"Get SIP Trunk","api":"GET /api/v1/sip-trunks/{trunk_id}","href":"/en/api-reference/endpoints/get-sip-trunk"},{"title":"Update SIP Trunk","api":"PUT /api/v1/sip-trunks/{trunk_id}","href":"/en/api-reference/endpoints/update-sip-trunk"},{"title":"Delete SIP Trunk","api":"DELETE /api/v1/sip-trunks/{trunk_id}","href":"/en/api-reference/endpoints/delete-sip-trunk"},{"title":"Verify SIP Trunk","api":"POST /api/v1/sip-trunks/{trunk_id}/verify","href":"/en/api-reference/endpoints/verify-sip-trunk"},{"title":"Get SIP Trunk Health","api":"GET /api/v1/sip-trunks/{trunk_id}/health","href":"/en/api-reference/endpoints/get-sip-trunk-health"},{"title":"List SIP Trunk DIDs","api":"GET /api/v1/sip-trunks/{trunk_id}/dids","href":"/en/api-reference/endpoints/list-sip-trunk-dids"},{"title":"Create SIP Trunk DID","api":"POST /api/v1/sip-trunks/{trunk_id}/dids","href":"/en/api-reference/endpoints/create-sip-trunk-did"},{"title":"Delete SIP Trunk DID","api":"DELETE /api/v1/sip-trunks/{trunk_id}/dids/{phone_number_id}","href":"/en/api-reference/endpoints/delete-sip-trunk-did"}]},{"group":"Agent Webhooks","pages":[{"title":"List Agent Webhooks","api":"GET /api/v1/agents/{agent_id}/webhooks","href":"/en/api-reference/endpoints/list-agent-webhooks"},{"title":"Create Webhook","api":"POST /api/v1/agents/{agent_id}/webhooks","href":"/en/api-reference/endpoints/create-webhook"},{"title":"Get Webhook Details","api":"GET /api/v1/agents/{agent_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/get-webhook-details"},{"title":"Update Webhook","api":"PUT /api/v1/agents/{agent_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/update-webhook"},{"title":"Delete Webhook","api":"DELETE /api/v1/agents/{agent_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/delete-webhook"},{"title":"Toggle Webhook Status","api":"PATCH /api/v1/agents/{agent_id}/webhooks/{webhook_id}/toggle","href":"/en/api-reference/endpoints/toggle-webhook-status"},{"title":"Test Webhook","api":"POST /api/v1/agents/{agent_id}/webhooks/{webhook_id}/test","href":"/en/api-reference/endpoints/test-webhook"},{"title":"List Webhook Delivery Logs","api":"GET /api/v1/agents/{agent_id}/webhooks/{webhook_id}/logs","href":"/en/api-reference/endpoints/list-webhook-logs"},{"title":"Retry Webhook Delivery","api":"POST /api/v1/agents/{agent_id}/webhooks/{webhook_id}/logs/{log_id}/retry","href":"/en/api-reference/endpoints/retry-webhook-log"}]},{"group":"Billing \u0026 Auto Topup","pages":[{"title":"Get Auto Topup Settings","api":"GET /api/v1/auto-topup/settings","href":"/en/api-reference/endpoints/get-auto-topup-settings"},{"title":"Update Auto Topup Settings","api":"PUT /api/v1/auto-topup/settings","href":"/en/api-reference/endpoints/update-auto-topup-settings"},{"title":"Test Auto Topup","api":"POST /api/v1/auto-topup/test","href":"/en/api-reference/endpoints/test-auto-topup"},{"title":"Disable Auto Topup","api":"POST /api/v1/auto-topup/disable","href":"/en/api-reference/endpoints/disable-auto-topup"},{"title":"Get Auto Topup History","api":"GET /api/v1/auto-topup/history","href":"/en/api-reference/endpoints/get-auto-topup-history"},{"title":"List Payment Methods","api":"GET /api/v1/auto-topup/payment-methods","href":"/en/api-reference/endpoints/list-auto-topup-payment-methods"}]},{"group":"Account API","pages":[{"title":"Get Current User","api":"GET /api/user","href":"/en/api-reference/endpoints/get-current-user"},{"title":"List User API Tokens","api":"GET /api/v1/user/api-tokens","href":"/en/api-reference/endpoints/list-user-api-tokens"},{"title":"Create User API Token","api":"POST /api/v1/user/api-tokens","href":"/en/api-reference/endpoints/create-user-api-token"},{"title":"Delete User API Token","api":"DELETE /api/v1/user/api-tokens/{token_id}","href":"/en/api-reference/endpoints/delete-user-api-token"},{"title":"Purchase Credits","api":"POST /api/v1/credits/purchase","href":"/en/api-reference/endpoints/purchase-credits"},{"title":"Get Credits Balance","api":"GET /api/v1/credits/balance","href":"/en/api-reference/endpoints/get-credits-balance"},{"title":"Health Check","api":"GET /api/v1/health","href":"/en/api-reference/endpoints/health"}]}]},{"group":"For debt collection","pages":[{"title":"Debt collection portfolio","href":"/en/api-reference/portfolio/overview"},{"title":"Send portfolio","api":"POST /api/v1/portfolio/debts","href":"/en/api-reference/portfolio/send-debts"},{"title":"Get contract","api":"GET /api/v1/portfolio/debts/{external_debt_id}","href":"/en/api-reference/portfolio/get-debt"},{"title":"Record payment","api":"POST /api/v1/portfolio/debts/{external_debt_id}/payments","href":"/en/api-reference/portfolio/record-payment"},{"title":"Record return","api":"POST /api/v1/portfolio/debts/{external_debt_id}/return","href":"/en/api-reference/portfolio/record-return"},{"title":"Collection cadences","href":"/en/api-reference/portfolio/cadences"},{"title":"Cadence draft","api":"PUT /api/v1/cadences/{id}/draft","href":"/en/api-reference/portfolio/cadence-draft"},{"title":"Publish and versions","api":"POST /api/v1/cadences/{id}/publish","href":"/en/api-reference/portfolio/cadence-lifecycle"},{"title":"General rules and channels","api":"PUT /api/v1/cadences/settings","href":"/en/api-reference/portfolio/cadence-settings"}]},{"group":"Guides","pages":[{"title":"Voice Agent Setup","href":"/en/guides/voice-agent-setup"},{"title":"Call Flow Design","href":"/en/guides/call-flow-design"},{"title":"Voice Agent Setup","href":"/en/guides/integration-examples"},{"title":"Best Practices","href":"/en/guides/best-practices"}]}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-br/api-reference/endpoints/update-agent-knowledge"}]}]},"basePath":"","title":"Update Agent Knowledge - Talkover","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js"]}