Skip to main content
POST
Use POST /v2/flow/agents/create instead of this deprecated endpoint.
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

Authorization
string
header
required

Your Seekr API key, sent in the Authorization header with no 'Bearer' prefix.

Body

application/json
name
string
required

Name of the agent.

Maximum string length: 256
instructions
string
required

Instructions that tell the agent how to behave.

Maximum string length: 32768
tools
(CreateFileSearch · object | CreateWebSearch · object | CreateRunPython · object)[] | null
deprecated

Deprecated. Use tool_ids instead.

Example:
tool_ids
string[] | null

IDs of the tools the agent can use. Use this field instead of tools.

Maximum string length: 32768
model_id
string | null

ID of the model the agent uses to respond.

Maximum string length: 32768
planner_model_id
string | null

ID of the model the agent uses to plan its work.

Maximum string length: 32768
tool_model_id
string | null

ID of the model the agent uses when it calls tools.

Maximum string length: 32768
output
AgentOutputConfig · object | null

Optional configuration for the agent's final response. Overrides the top-level settings for response generation.

temperature
number | null

Controls the predictability of the agent's reasoning. Accepts a value from 0 to 2. Defaults to 0.6. Lower values produce more consistent results, and higher values introduce more variation.

Required range: 0 <= x <= 2
reasoning_effort
enum<string> | null
default:medium

Controls how much reasoning the agent uses when it works through a request.

Available options:
low,
medium,
high,
speed_optimized,
performance_optimized

Response

Resource created

id
string
required

ID of the agent.

name
string
required

Name of the agent.

instructions
string
required

Instructions that tell the agent how to behave.

status
enum<string>
required
Available options:
Inactive,
Pending,
Active,
Updating,
Failed
reasoning_effort
enum<string>
required

Controls how much reasoning the agent uses when working through a request. Accepts low, medium, or high, where higher levels produce more thorough reasoning. The speed_optimized and performance_optimized values are only supported for backward compatibility. speed_optimized maps to low, and performance_optimized maps to high.

Available options:
low,
medium,
high,
speed_optimized,
performance_optimized
user_id
string
required

ID of the user who owns the agent.

team_id
string | null
required

ID of the team the agent belongs to.

created_at
string<date-time>
required

Time the agent was created, in ISO 8601 format.

updated_at
string<date-time>
required

Time the agent was last updated, in ISO 8601 format.

model_id
string | null

ID of the model the agent uses to respond.

planner_model_id
string | null

ID of the model the agent uses to plan its work.

tool_model_id
string | null

ID of the model the agent uses when it calls tools.

output
AgentOutputConfig · object | null

Optional configuration for the agent's final response. Overrides the top-level settings for response generation.

temperature
number | null

Controls the predictability of the agent's reasoning. Accepts a value from 0 to 2. Defaults to 0.6. Lower values produce more consistent results, and higher values introduce more variation.

Required range: 0 <= x <= 2
planner_temperature
number | null

Controls the predictability of the agent's planning. Lower values produce more consistent plans, and higher values introduce more variation.

Required range: 0 <= x <= 2
tools
(FileSearch · object | WebSearch · object | RunPython · object | AgentAsTool · object | MCPConnectorTool · object)[]

Tools the agent can use.

last_deployed_at
string<date-time> | null

Time the agent was last deployed, in ISO 8601 format.

active_duration
integer
default:0
Required range: x >= 0
Last modified on November 4, 2026