Retrieve agent
Changed onRetrieve the complete agent manifest by key, including model assignments, tools, knowledge bases, memory stores, and execution parameters.
Request
- Base URLhttps://my.orq.ai
- URLhttps://my.orq.ai/v2/agents/{agent_key}
- AuthHTTP bearer
Path parameters
The unique key of the agent to retrieve
Response
Agent successfully retrieved. Returns the complete agent manifest with all configuration details, including models, tools, knowledge bases, and execution settings.
Example response
{
"path": "Default Project",
"knowledge_bases": [
{
"knowledge_id": "customer-knowledge-base"
}
],
"model": {
"parameters": {
"fallbacks": [
{
"model": "openai/gpt-5.4-mini"
}
],
"cache": {
"ttl": 3600
},
"load_balancer": {
"type": "weight_based",
"models": [
{
"model": "openai/gpt-4o",
"weight": 0.7
},
{
"model": "anthropic/claude-3-5-sonnet",
"weight": 0.3
}
]
},
"timeout": {
"call_timeout": 30000
}
},
"retry": {
"count": 3,
"on_codes": [
429,
500,
502,
503,
504
]
},
"fallback_models": [
{
"parameters": {
"fallbacks": [
{
"model": "openai/gpt-5.4-mini"
}
],
"cache": {
"ttl": 3600
},
"load_balancer": {
"type": "weight_based",
"models": [
{
"model": "openai/gpt-4o",
"weight": 0.7
},
{
"model": "anthropic/claude-3-5-sonnet",
"weight": 0.3
}
]
},
"timeout": {
"call_timeout": 30000
}
},
"retry": {
"count": 3,
"on_codes": [
429,
500,
502,
503,
504
]
}
}
]
}
}Changes
- breaking
added to the
/////response propertyoneOflist for the response status - breaking
added to the
//response propertyoneOflist for the response status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added
between_toolsdiscriminator mapping keys to the/////response property for the response status - info
added
between_toolsdiscriminator mapping keys to the//response property for the response status
- breaking
- warning
removed the optional property
///////from the response with the status - warning
removed the optional property
///////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - info
removed
between_toolsdiscriminator mapping keys from the/////response property for the response status - info
removed
between_toolsdiscriminator mapping keys from the//response property for the response status - info
removed from the
/////response propertyoneOflist for the response status - info
removed from the
//response propertyoneOflist for the response status
- warning