curl --request GET \
--url 'http://localhost:8000/agents/{agent_id}' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"model_name": "string",
"created_at": "2026-08-31T14:22:05Z",
"conversation_count": 0,
"total_tokens_used": 0,
"config": {},
"status": "active"
}
Get Agent Details
Get detailed information about a specific agent.
GET
/
agents
/
{agent_id}
curl --request GET \
--url 'http://localhost:8000/agents/{agent_id}' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"model_name": "string",
"created_at": "2026-08-31T14:22:05Z",
"conversation_count": 0,
"total_tokens_used": 0,
"config": {},
"status": "active"
}
Get detailed information about a specific agent.
Path parameters
string
required
Response
AgentDetailResponse
string
required
Agent identifier
string
required
Model name
string (date-time)
required
Creation timestamp
integer
Number of conversations
integer
Total tokens used
object
Agent configuration
string
Agent status
Status codes
| Code | Meaning |
|---|---|
200 | Agent details |
401 | Authentication required |
404 | Agent not found |
422 | Validation Error |
429 | Rate limit exceeded |
curl --request GET \
--url 'http://localhost:8000/agents/{agent_id}' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"model_name": "string",
"created_at": "2026-08-31T14:22:05Z",
"conversation_count": 0,
"total_tokens_used": 0,
"config": {},
"status": "active"
}
Last modified on August 31, 2026