Skip to main content
GET
/
agents
/
{agent_id}
Get Agent
curl --request GET \
  --url https://api.example.com/agents/{agent_id}

Path Parameters

ParameterTypeDescription
agent_idstringThe agent’s unique identifier

Response

{
  "id": "MainAgent",
  "name": "MainAgent",
  "description": "Primary orchestrator",
  "system_prompt": "You are...",
  "llm_config": {
    "model": "openai/gpt-5.4",
    "temperature": 1.0,
    "max_tokens": 16384
  },
  "enable_planning": true,
  "enable_reflection": true,
  "enable_retrieval": false,
  "max_turns": 10,
  "tools": ["calculator", "web_search"],
  "sub_agents": ["EmailsAgent", "TasksAgent"]
}