Orq MCP is live: Use natural language to interrogate traces, spot regressions, and experiment your way to optimal AI configurations. Available in Claude Desktop, Claude Code, Cursor, and more. Start now →
Retrieves detailed information about a specific agent identified by its unique key or identifier. Returns the complete agent manifest including configuration settings, model assignments (primary and fallback), tools, knowledge bases, memory stores, instructions, and execution parameters. Use this endpoint to fetch the current state and configuration of an individual agent.
curl --request GET \
--url https://api.orq.ai/v2/agents/{agent_key} \
--header 'Authorization: Bearer <token>'{
"_id": "<string>",
"key": "<string>",
"project_id": "<string>",
"status": "live",
"path": "Default",
"skills": [
"<string>"
],
"role": "<string>",
"description": "<string>",
"instructions": "<string>",
"model": {
"id": "<string>",
"integration_id": "<string>",
"parameters": {
"name": "<string>",
"frequency_penalty": 123,
"max_tokens": 123,
"max_completion_tokens": 123,
"presence_penalty": 123,
"response_format": {
"type": "text"
},
"reasoning_effort": "none",
"verbosity": "<string>",
"seed": 123,
"stop": "<string>",
"thinking": {
"type": "disabled"
},
"temperature": 1,
"top_p": 0.5,
"top_k": 123,
"tool_choice": "none",
"parallel_tool_calls": true,
"modalities": [
"text"
],
"guardrails": [
{
"id": "orq_pii_detection",
"execute_on": "input"
}
],
"fallbacks": [
{
"model": "openai/gpt-4o-mini"
}
],
"cache": {
"type": "exact_match",
"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": [
"<string>"
]
},
"display_name": "<string>",
"created_by_id": "<string>",
"updated_by_id": "<string>",
"created": "<string>",
"updated": "<string>",
"version": "<string>",
"memory_stores": [],
"team_of_agents": [],
"metrics": {
"total_cost": 0
},
"variables": {},
"knowledge_bases": [
{
"knowledge_id": "customer-knowledge-base"
}
],
"source": "internal",
"engine": "text",
"type": "internal",
"system_prompt": "<string>",
"settings": {
"max_execution_time": 600,
"max_iterations": 100,
"max_cost": 0,
"tool_approval_required": "respect_tool",
"tools": []
},
"a2a": {
"agent_url": "<string>",
"card_url": "<string>",
"headers": {},
"cached_card": "<unknown>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.orq.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique key of the agent to retrieve
Agent successfully retrieved. Returns the complete agent manifest with all configuration details, including models, tools, knowledge bases, and execution settings.
Unique identifier for the agent within the workspace
^[A-Za-z][A-Za-z0-9]*([._-][A-Za-z0-9]+)*$The status of the agent. Live is the latest version of the agent. Draft is a version that is not yet published. Pending is a version that is pending approval. Published is a version that was live and has been replaced by a new version.
live, draft, pending, published Entity storage path in the format: project/folder/subfolder/...
The first element identifies the project, followed by nested folders (auto-created as needed).
With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
"Default"
List of skills that the agent can utilize. This field allows you to specify which skills the agent has access to, enabling more complex and dynamic behavior.
1Show child attributes
Current semantic version of the agent manifest.
Array of memory store identifiers. Accepts both memory store IDs and keys.
The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
Show child attributes
Show child attributes
Extracted variables from agent instructions
Show child attributes
Agent knowledge bases reference
Show child attributes
internal, external, experiment text, jinja, mustache Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
internal, a2a 1Show child attributes
A2A configuration with agent endpoint and authentication. Only present for A2A agents.
Show child attributes
Was this page helpful?
curl --request GET \
--url https://api.orq.ai/v2/agents/{agent_key} \
--header 'Authorization: Bearer <token>'{
"_id": "<string>",
"key": "<string>",
"project_id": "<string>",
"status": "live",
"path": "Default",
"skills": [
"<string>"
],
"role": "<string>",
"description": "<string>",
"instructions": "<string>",
"model": {
"id": "<string>",
"integration_id": "<string>",
"parameters": {
"name": "<string>",
"frequency_penalty": 123,
"max_tokens": 123,
"max_completion_tokens": 123,
"presence_penalty": 123,
"response_format": {
"type": "text"
},
"reasoning_effort": "none",
"verbosity": "<string>",
"seed": 123,
"stop": "<string>",
"thinking": {
"type": "disabled"
},
"temperature": 1,
"top_p": 0.5,
"top_k": 123,
"tool_choice": "none",
"parallel_tool_calls": true,
"modalities": [
"text"
],
"guardrails": [
{
"id": "orq_pii_detection",
"execute_on": "input"
}
],
"fallbacks": [
{
"model": "openai/gpt-4o-mini"
}
],
"cache": {
"type": "exact_match",
"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": [
"<string>"
]
},
"display_name": "<string>",
"created_by_id": "<string>",
"updated_by_id": "<string>",
"created": "<string>",
"updated": "<string>",
"version": "<string>",
"memory_stores": [],
"team_of_agents": [],
"metrics": {
"total_cost": 0
},
"variables": {},
"knowledge_bases": [
{
"knowledge_id": "customer-knowledge-base"
}
],
"source": "internal",
"engine": "text",
"type": "internal",
"system_prompt": "<string>",
"settings": {
"max_execution_time": 600,
"max_iterations": 100,
"max_cost": 0,
"tool_approval_required": "respect_tool",
"tools": []
},
"a2a": {
"agent_url": "<string>",
"card_url": "<string>",
"headers": {},
"cached_card": "<unknown>"
}
}