Agents
Replace agent
Update an agent’s model, instructions, or tools.
PUT
Replace an agent’s configuration entirely. All fields must be provided—this endpoint does not support partial updates.
The
tool_ids parameter accepts IDs for any tool type, including agent-as-tools. Agent-as-tools must be created before adding them to tool_ids. See Agent as tool for setup instructions.
When an active supervisor agent is updated to include new sub-agents, the supervisor transitions to Updating while the sub-agents are promoted, then returns to Active when ready.Authorizations
Seekr API Key without 'Bearer' Prefix
Path Parameters
Body
application/json
tools
(CreateFileSearch · object | CreateWebSearch · object | CreateRunPython · object)[] | null
deprecated
DEPRECATED: Use tool_ids instead.
- CreateFileSearch
- CreateWebSearch
- CreateRunPython
Example:
{
"name": "file_search",
"tool_env": {
"document_tool_desc": "Search through uploaded documents",
"file_search_index": "my-document-index",
"score_threshold": 0.7,
"top_k": 10
}
}Preferred way to associate tools with an agent.
Required range:
0 <= x <= 2Available options:
low, medium, high, speed_optimized, performance_optimized Response
Successful Response
Available options:
Inactive, Pending, Active, Updating, Failed Available options:
low, medium, high, speed_optimized, performance_optimized Required range:
0 <= x <= 2Required range:
0 <= x <= 2tools
(FileSearch · object | WebSearch · object | RunPython · object | AgentAsTool · object | MCPConnectorTool · object)[]
- FileSearch
- WebSearch
- RunPython
- AgentAsTool
- MCPConnectorTool
Required range:
x >= 0Last modified on June 18, 2026