Request
Copy
curl -X GET https://api.boty.chat/api/agents/agent_123 \
-H "Authorization: Bearer YOUR_API_KEY"
Path Parameters
The agent ID
Response
Copy
{
"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"
}
}