POST /api/v1/cloud/agents
Creates a new Agent configuration.
Request Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <PAT> |
Content-Type | Yes | application/json |
Idempotency-Key | No | Idempotency key to prevent duplicate creation |
Request Body
Field | Type | Required | Description |
| string | Yes | Agent name, 1-256 characters |
| string | object | Yes | Model identifier. Pass a string (such as |
| string | No | System prompt, at most 100000 characters |
| string | No | Agent description, at most 2048 characters |
| array of Agent tool | No | Tool configuration list, up to 128 entries |
| array of MCP server | No | MCP server configuration list, up to 20 entries. Authentication is configured through Vaults |
| array of Skill binding | No | Skill binding list, up to 20 entries |
| Metadata object | No | Custom metadata; defaults to |
| Multiagent | No | Agents configuration. When set, an |
Example Request
model as an object:
Example Response
HTTP 200 OK
Response Fields
Field | Type | Description |
| string | Fixed value |
| string | Agent unique identifier with the |
| string | Agent name |
| string | Agent description |
| string | object | Model identifier. See Agent model |
| string | System prompt |
| array of Agent tool | Tool configuration list |
| array of MCP server | MCP server configuration |
| array of Skill binding | Skill binding list |
| Metadata object | Custom metadata |
| Multiagent | null | Agents configuration; |
| integer | Current version, starting at 1 |
| string|null | Archive time (ISO 8601); |
| string | Creation time (ISO 8601) |
| string | Last update time (ISO 8601) |
Error Codes
| HTTP | type | Trigger |
|---|---|---|
| 400 | invalid_request_error | Missing required field name |
| 400 | invalid_request_error | name exceeds 256 characters |
| 400 | invalid_request_error | Missing required field model |
| 400 | invalid_request_error | model.effort is not one of none, low, medium, high, xhigh, max |
| 400 | invalid_request_error | model.context_window is not a positive integer |
| 400 | invalid_request_error | model.speed was supplied; use model.effort instead |
| 400 | invalid_request_error | tools exceeds the maximum of 128 entries |
| 400 | invalid_request_error | Invalid mcp_servers or skills configuration |
| 400 | invalid_request_error | skills exceeds the maximum of 20 entries |
| 400 | invalid_request_error | multiagent.type is not "coordinator" |
| 400 | invalid_request_error | multiagent.agents is empty or exceeds the maximum of 20 entries |
| 400 | invalid_request_error | multiagent is set but tools is missing agent_toolset_20260401 |
| 400 | invalid_request_error | Agent ID referenced in multiagent.agents does not exist |
| 401 | authentication_error | PAT invalid or expired |
| 403 | permission_error | Not authorized for this operation |