GET /api/v1/cloud/agents/{agent_id}
Returns the full details of the specified Agent.
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <PAT> |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_id | string | Yes | Agent unique identifier with the agent_ prefix |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
version | integer | No | Return a specific Agent version snapshot. Omit to return the current Agent |
Example request
Example response
HTTP 200 OKResponse fields
Whenversion is omitted, the response is the current Agent object. When version is provided, the response is an Agent version snapshot.
| Field | Type | Description |
|---|---|---|
type | string | Always "agent" |
id | string | Agent unique identifier |
name | string | Agent name |
description | string | Agent description |
model | string | object | Model identifier. See Agent model |
system | string | System prompt |
tools | array of Agent tool | Tool configuration list |
mcp_servers | array of MCP server | MCP server configuration |
skills | array of Skill binding | Skill bindings |
metadata | Metadata object | Custom metadata |
multiagent | Multiagent | null | Agents configuration, null when not set |
version | integer | Current version |
archived_at | string|null | Archive time (ISO 8601), null when not archived |
created_at | string | Creation time (ISO 8601) |
updated_at | string | Last update time (ISO 8601) |
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 400 | invalid_request_error | version is not a positive integer |
| 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 |
Error response example
Related
Agent setup
Create a reusable, versioned agent configuration.