Get Agent Details
What discovery returns
The response describes the visible runtime configuration. It combines served code agents with visible database components; served code IDs take precedence. Authorization can filter the list.
Factories return their declared metadata without being invoked. External framework adapters can return minimal metadata, and registry-only entries used for rehydration are not a separate inventory. Do not treat discovery as a complete serialization of every constructor, prompt or tool configuration.
GET
/agents/{agent_id}Retrieve detailed configuration and capabilities of a specific agent.
Returns comprehensive agent information including:
- Model configuration and provider details
- Complete tool inventory and configurations
- Session management settings
- Knowledge base and memory configurations
- Reasoning capabilities and settings
- System prompts and response formatting options
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
agent_id*Agent Id
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl --request GET 'https://example.com/agents/string'{ "id": "main-agent", "name": "Main Agent", "db_id": "9e064c70-6821-4840-a333-ce6230908a70", "model": { "name": "OpenAIChat", "model": "gpt-4o", "provider": "OpenAI" }, "sessions": { "session_table": "agno_sessions" }, "knowledge": { "knowledge_table": "main_knowledge" }, "system_message": { "markdown": true, "add_datetime_to_context": true }}{ "detail": "string", "error_id": "string", "error_type": "string"}{ "detail": "string", "error_id": "string", "error_type": "string"}{ "detail": "string", "error_id": "string", "error_type": "string"}{ "detail": "string"}{ "detail": "string", "error_id": "string", "error_type": "string"}