GET
/
api
/
agents
/
{id}

Request

curl -X GET https://api.boty.chat/api/agents/agent_123 \
  -H "Authorization: Bearer YOUR_API_KEY"

Path Parameters

id
string
required
The agent ID

Response

{
  "success": true,
  "data": {
    "_id": "agent_123",
    "name": "Support Bot",
    "description": "Customer support agent",
    "systemPrompt": "You are a helpful support agent...",
    "model": "gpt-4",
    "temperature": 0.7,
    "status": "active",
    "workspace": "workspace_123",
    "knowledgeSources": ["source_1", "source_2"],
    "createdAt": "2024-01-15T10:00:00Z",
    "updatedAt": "2024-01-20T15:30:00Z"
  }
}