isActive when creating or updating an agent. Responses expose the resulting is_active value, and active agents that satisfy runtime prerequisites appear in GET /api/v1/models.
List agents
404 and are not projected as inactive resources.
| Parameter | Type | Notes |
|---|---|---|
limit | number | 1-100, defaults to 50. |
after | UUID | Pagination cursor. |
Create an agent
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | yes | Required, max 100 characters. |
description | string or null | no | Max 500 characters. |
icon | string or null | no | Max 10 characters. |
commandContent | string | no | Agent instructions. A default template is used if omitted. |
isActive | boolean | no | Active/inactive switch. Defaults to false when creating. |
Get an agent
Update an agent
404 and cannot be updated or reactivated.
Archive an agent
is_active to false.
Agent deployments
source.commit_sha and sandbox-image provenance through sandbox_image. Provider-owned preparation identifiers are not part of the public contract.
Deployment runtime configuration
Runtime policy is captured when the deployment is created. It is immutable with that deployment and is not stored as mutable agent state. The create request includes:runtime_config. When sandboxRegion is omitted, the workspace default is resolved and stored during deployment creation.
There is no agent-level runtime endpoint. To change region, egress, workspace-upgrade, or telemetry policy, create a new deployment and activate it after it becomes ready.
Activate a deployment version
The deployment worker automatically activates a newly completed source deployment. Use the explicit activation endpoint when you need to make any other ready deployment active:List runs
agent_id to list runs across the API key’s workspace. Combine agent_id
with agent_version_number to filter by one immutable deployment version.
Without agent_id, the version filter matches every agent in the workspace that
shares that version number. The optional status, after, and limit
parameters use the same account-scoped collection.
Get run status
Cancel a run
completedfailedcancelled
Delete a terminal run
409 conflict with guidance to cancel first.