Skip to main content
PUT
Update Agent

Authorizations

X-API-Key
string
header
required

Path Parameters

agent_id
string
required

Body

application/json

Schema for updating an agent via the v1 API.

name
string | null
display_name
string | null
status
string | null
prompt_template_id
string | null
custom_prompt
string | null
new_prompt_title
string | null
tool_ids
string[] | null
source_ids
string[] | null
pinned_document_ids
string[] | null
number_docs_to_retrieve
integer | null
number_docs_to_display
integer | null
icon
string | null
custom_llm_id
string | null
custom_llm_temperature
number | null
custom_llm_top_p
number | null
reranker_activated
boolean | null
ignore_sources_restrictions
boolean | null
is_background_agent
boolean | null
is_router_agent
boolean | null
default_router_agent_id
string | null
reasoning_iterations
integer | null
order
integer | null
can_be_used_as_tool
boolean | null
tool_description
string | null
share_conversation_context
boolean | null
max_call_depth
integer | null
satisfaction_feedback_activated
boolean | null
satisfaction_feedback_question
string | null
satisfaction_feedback_helper_text
string | null
satisfaction_feedback_no_action
string | null
inject_user_ticket_context
boolean | null
ticket_context_days_limit
integer | null
ui_selectable
boolean | null

Response

200 - application/json

OK

Full agent response schema for detail views.

id
string
required
name
string
required
status
string
required
object
string
default:agent
display_name
string | null
prompt_template_id
string | null
prompt_template_name
string | null
tools
Tools · object[]
sources
Sources · object[]
icon
string | null
custom_icon_id
string | null
is_background_agent
boolean
default:false
can_be_used_as_tool
boolean
default:false
ui_selectable
boolean
default:true
order
integer | null
pinned_documents
Pinned Documents · object[]
number_docs_to_retrieve
integer
default:8
number_docs_to_display
integer
default:8
custom_llm_id
string | null
custom_llm_temperature
number | null
custom_llm_top_p
number | null
reranker_activated
boolean
default:false
ignore_sources_restrictions
boolean
default:false
is_router_agent
boolean
default:false
default_router_agent_id
string | null
reasoning_iterations
integer
default:1
tool_description
string | null
share_conversation_context
boolean
default:false
max_call_depth
integer
default:5
satisfaction_feedback_activated
boolean
default:false
satisfaction_feedback_question
string
default:""
satisfaction_feedback_helper_text
string
default:""
satisfaction_feedback_no_action
string
default:ticket_form
inject_user_ticket_context
boolean
default:false
ticket_context_days_limit
integer
default:7