Retrieve the full details of a specified Agent.
HTTP 200 OK
Example error response:
Request Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <PAT> |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_id | string | Yes | Agent unique identifier, formatted as the "agent_" prefix plus a UUID |
Example request
Example response
HTTP 200 OK
Response Fields
Field | Type | Description |
| string | Fixed value |
| string | Agent unique identifier |
| string | Agent name |
| string | Agent description |
| string | Model identifier |
| string | System prompt |
| string | Alias for |
| array | Tool configuration list |
| array | MCP server configuration |
| string | Default runtime environment |
| integer | Current version |
| boolean | Whether the Agent is archived |
| string|null | Archive time (ISO 8601); |
| string | Creation time (ISO 8601) |
| string | Last update time (ISO 8601) |
Error Codes
| HTTP | type | Trigger |
|---|---|---|
| 401 | authentication_error | PAT invalid or expired |
| 403 | permission_error | Not authorized to access this Agent |
| 404 | not_found_error | Agent with the given ID does not exist |