Skip to main content

Endpoints

All endpoints require a JWT bearer token in the Authorization header. See Authentication for details.

Authorization: Bearer <token>

Agent Management

MethodEndpointDescription
GET/v1/agents/typesList supported agent types.
GET/v1/agentsList all agents in the current tenant (includes global agents). Supports is_global filter.
POST/v1/agentsCreate a new agent with an initial version. Accepts optional versionLabel (max 128 chars).
POST/v1/agents/lookupLook up an agent by name and optional version label.
PATCH/v1/agents/{agent_id}Update agent metadata (name, description).
DELETE/v1/agents/{agent_id}Delete an agent and corresponding versions and permissions.

Agent Versions

MethodEndpointDescription
GET/v1/agents/{agent_id}/versionsList all versions of an agent.
GET/v1/agents/{agent_id}/versions/{version_id}Get a specific agent version.
POST/v1/agents/{agent_id}/versionsAdd a new version to an existing agent.
POST/v1/agents/versions/batch-getGet multiple agents and versions in one request. Maximum 100 agent IDs per request.

Agent Invocation

MethodEndpointDescription
POST/v1/agents/{agent_id}/versions/{version_id}/invokeInvoke a Tool or RAG agent.
POST/v1/agents/{agent_id}/versions/{version_id}/invoke-streamInvoke a Tool or RAG agent with streaming.
POST/v1/agents/{agent_id}/versions/{version_id}/invoke-taskInvoke a Task agent.
POST/v1/agents/{agent_id}/versions/{version_id}/invoke-task-streamInvoke a Task agent with streaming.
tip

Use latest as the version_id to invoke the most recent version.

Models and Guardrails

MethodEndpointDescription
GET/v1/modelsList supported LLM models. Supports filter[agentType].
GET/v1/guardrailsList supported guardrails.

Service Health

MethodEndpointDescription
GET/healthHealth check.

Query Parameters

Pagination

List endpoints support offset and limit query parameters:

ParameterTypeDefaultDescription
offsetinteger0Items to skip.
limitinteger50Max items to return.

Response includes:

{
"pagination": {
"totalItems": 42,
"offset": 0,
"limit": 50,
"hasMore": false
}
}

Filtering

ParameterEndpointTypeDescription
is_globalGET /v1/agentsbooleanFilter by global or tenant-specific agents.
filter[agentType]GET /v1/modelsstringFilter models by agent type.

OpenAPI Spec

Download the full spec: openapi.yaml