Agents
Create agent
Create a new agent with a model, instructions, and optional tools.
POST
Create an agent configuration that defines the model, instructions, reasoning effort, and tools the agent can use.
The
tool_ids parameter accepts IDs for any tool type, including agent-as-tools. When including agent-as-tools, the sub-agents and their tool wrappers must already exist before creating the supervisor agent.
For details on building multi-agent workflows, see Agent as tool.Authorizations
Seekr API Key without 'Bearer' Prefix
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