Skip to main content
POST
Create a new AI agent with the specified configuration.

Request body

AgentConfigRequest
string
required
Name of the model to use
integer
Maximum tokens to generate
number
Sampling temperature
number
Top-p sampling parameter
integer
Top-k sampling parameter
string,null
System prompt for the agent
boolean
Whether to use chat template
boolean
Enable long-term planning
object,null
Planning configuration overrides

Response

AgentCreatedResponse
string
required
Unique identifier for the created agent
string (date-time)
Creation timestamp
AgentConfigRequest
required
Agent configuration
string
Status message

Status codes

Last modified on August 31, 2026