Documentation Index
Fetch the complete documentation index at: https://docs.qoder.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /v1/agents/{agent_id}
Returns the full details of the specified Agent.
| Header | Required | Description |
|---|
Authorization | Yes | Bearer <PAT> |
Path parameters
| Parameter | Type | Required | Description |
|---|
agent_id | string | Yes | Agent unique identifier (agent_ prefix followed by a UUID) |
Example request
curl -X GET "https://openapi.qoder.sh/api/v1/cloud/agents/agent_019eXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-H "Authorization: Bearer $QODER_PAT"
Example response
HTTP 200 OK
{
"type": "agent",
"id": "agent_019eXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"name": "doc-test-agent",
"description": "",
"model": "ultimate",
"system": "You are a documentation testing assistant.",
"instructions": "You are a documentation testing assistant.",
"tools": [],
"mcp_servers": [],
"default_environment": "",
"version": 1,
"created_at": "2026-05-18T15:26:39.61669Z",
"updated_at": "2026-05-18T15:26:39.61669Z"
}
Response fields
| Field | Type | Description |
|---|
type | string | Always "agent" |
id | string | Agent unique identifier |
name | string | Agent name |
description | string | Agent description |
model | string | Model identifier |
system | string | System prompt |
instructions | string | Instruction content (kept in sync with system) |
tools | array | Tool configuration list |
mcp_servers | array | MCP server configuration |
default_environment | string | Default runtime environment |
version | integer | Current version |
created_at | string | Creation time (ISO 8601) |
updated_at | string | Last update time (ISO 8601) |
Errors
| HTTP | Type | Trigger |
|---|
| 401 | authentication_error | PAT invalid or expired |
| 403 | permission_error | Not authorized for this Agent |
| 404 | not_found_error | Agent with the given ID does not exist |
See Errors for the full error envelope.
Error response example
{
"type": "error",
"error": {
"type": "not_found_error",
"message": "Agent 'agent_nonexistent' was not found."
}
}