Skip to main content
POST
Create a new agent

Query Parameters

project_id
string<uuid>
required

Body

application/json
name
string
required
model_id
string<uuid>
required
prompt_id
string<uuid>
required
prompt_label
enum<string>
Available options:
production,
latest
schema_id
string<uuid> | null
enable_history
boolean
summarizer_type
enum<string>
Available options:
llm,
sliding_window,
none
llm_summarizer_token_threshold
integer
llm_summarizer_keep_recent_count
integer
llm_summarizer_prompt_id
string<uuid>
llm_summarizer_prompt_label
enum<string>
Available options:
production,
latest
llm_summarizer_model_id
string<uuid>
sliding_window_keep_count
integer
mcp_servers
object[]

Response

Agent created successfully

error
boolean
message
string
data
object
status
integer
errorDetails
object