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 a previously created response by its ID.
curl https://api.orq.ai/v3/router/responses/resp_01KP6GDNJY5B0TT0R35KS23PYV \
-H "Authorization: Bearer $ORQ_API_KEY"
{
"id": "resp_01KP6GDNJY5B0TT0R35KS23PYV",
"object": "response",
"created_at": 1776187529,
"completed_at": 1776187529,
"status": "completed",
"model": "openai/gpt-4o",
"input": [
{
"type": "message",
"id": "msg_01KP6GDNK0TXBVMD3N5BWZ285J",
"role": "user",
"content": [
{ "type": "input_text", "text": "What time is it?" }
]
}
],
"output": [
{
"type": "orq:current_date",
"id": "msg_01kp6gdppk31xp6qc1z92x132p",
"call_id": "fc_888c598a-b519-421a-9904-e5f0e8c34a53",
"name": "current_date",
"status": "completed",
"result": {
"currentDate": "2026-04-14T17:25:29.175Z"
}
},
{
"type": "message",
"id": "msg_01KP6GDPP6D57H9G7VVFKFW07H",
"role": "assistant",
"status": "completed",
"content": [
{
"type": "output_text",
"text": "It's currently 17:25 UTC (2026‑04‑14).",
"annotations": []
}
]
}
],
"tools": [
{ "type": "orq:current_date" }
],
"usage": {
"input_tokens": 352,
"output_tokens": 126,
"total_tokens": 478,
"input_tokens_details": {
"cached_tokens": 0,
"cache_creation_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 76
}
}
}
Retrieves a previously created response by its ID. The response must have been created withDocumentation Index
Fetch the complete documentation index at: https://docs.orq.ai/llms.txt
Use this file to discover all available pages before exploring further.
store: true (the default).
curl https://api.orq.ai/v3/router/responses/resp_01KP6GDNJY5B0TT0R35KS23PYV \
-H "Authorization: Bearer $ORQ_API_KEY"
{
"id": "resp_01KP6GDNJY5B0TT0R35KS23PYV",
"object": "response",
"created_at": 1776187529,
"completed_at": 1776187529,
"status": "completed",
"model": "openai/gpt-4o",
"input": [
{
"type": "message",
"id": "msg_01KP6GDNK0TXBVMD3N5BWZ285J",
"role": "user",
"content": [
{ "type": "input_text", "text": "What time is it?" }
]
}
],
"output": [
{
"type": "orq:current_date",
"id": "msg_01kp6gdppk31xp6qc1z92x132p",
"call_id": "fc_888c598a-b519-421a-9904-e5f0e8c34a53",
"name": "current_date",
"status": "completed",
"result": {
"currentDate": "2026-04-14T17:25:29.175Z"
}
},
{
"type": "message",
"id": "msg_01KP6GDPP6D57H9G7VVFKFW07H",
"role": "assistant",
"status": "completed",
"content": [
{
"type": "output_text",
"text": "It's currently 17:25 UTC (2026‑04‑14).",
"annotations": []
}
]
}
],
"tools": [
{ "type": "orq:current_date" }
],
"usage": {
"input_tokens": 352,
"output_tokens": 126,
"total_tokens": 478,
"input_tokens_details": {
"cached_tokens": 0,
"cache_creation_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 76
}
}
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the response to retrieve
Response retrieved successfully.
Show child attributes
Show child attributes
Array of input items (messages, function call outputs, etc.)
Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string>).
Show child attributes
Always "response"
Array of output items (messages, function calls, reasoning, etc.)
Show child attributes
auto, default, flex, priority queued, in_progress, completed, failed, incomplete, requires_action Text output configuration including format and verbosity
Tool choice setting: "auto", "none", "required", or a specific function
Array of tool configurations used in this response
disabled, auto Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?
curl https://api.orq.ai/v3/router/responses/resp_01KP6GDNJY5B0TT0R35KS23PYV \
-H "Authorization: Bearer $ORQ_API_KEY"
{
"id": "resp_01KP6GDNJY5B0TT0R35KS23PYV",
"object": "response",
"created_at": 1776187529,
"completed_at": 1776187529,
"status": "completed",
"model": "openai/gpt-4o",
"input": [
{
"type": "message",
"id": "msg_01KP6GDNK0TXBVMD3N5BWZ285J",
"role": "user",
"content": [
{ "type": "input_text", "text": "What time is it?" }
]
}
],
"output": [
{
"type": "orq:current_date",
"id": "msg_01kp6gdppk31xp6qc1z92x132p",
"call_id": "fc_888c598a-b519-421a-9904-e5f0e8c34a53",
"name": "current_date",
"status": "completed",
"result": {
"currentDate": "2026-04-14T17:25:29.175Z"
}
},
{
"type": "message",
"id": "msg_01KP6GDPP6D57H9G7VVFKFW07H",
"role": "assistant",
"status": "completed",
"content": [
{
"type": "output_text",
"text": "It's currently 17:25 UTC (2026‑04‑14).",
"annotations": []
}
]
}
],
"tools": [
{ "type": "orq:current_date" }
],
"usage": {
"input_tokens": 352,
"output_tokens": 126,
"total_tokens": 478,
"input_tokens_details": {
"cached_tokens": 0,
"cache_creation_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 76
}
}
}