Back to API Reference
Agents API
GET
/agentsList all agents
POST
/agentsCreate a new agent
{
"name": "Support Agent",
"description": "Handles customer support",
"model": "gpt-4",
"systemPrompt": "You are a helpful support agent.",
"tools": ["search_kb", "create_ticket"],
"memory": { "type": "conversation", "maxMessages": 50 }
}GET
/agents/:idGet agent by ID
PATCH
/agents/:idUpdate agent
DELETE
/agents/:idDelete agent