Skip to main content

Create Agent

POST 

/v1/agents

Create a new agent with an initial version. Requires a name, description, agent type, and configuration. The agent type determines which invocation endpoints to use (invoke for RAG/Tool agents, invoke-task for Task agents).

Status Codes:

  • 201: Agent created successfully
  • 400: Validation error (invalid input)
  • 409: Conflict (agent already exists)
  • 500: Internal server error

Request

Responses

Successful Response