Skip to main content
POST
/
agents
Error
A valid request URL is required to generate request examples
{
  "message": "<string>",
  "agent": {}
}

Authorizations

Authorization
string
header
required

Enter token in format (Bearer )

Body

application/json
name
string
required
Example:

"Customer Support Agent"

instructions
string
required
Example:

"You are a helpful customer support agent."

model_id
string<uuid>
required
Example:

"550e8400-e29b-41d4-a716-446655440000"

description
string
Example:

"Handles customer inquiries"

configuration
object
Example:
{ "markdown": true, "temperature": 0.7 }

Response

Agent created successfully

message
string
agent
object