Agent
ComputersCreate
Tenant-owned durable computer resource.
POST
/agent/v1/computers● SupportedRequest body
namestring必填Name of the entry or object.
environment_idstring可选Environment recipe id; null or omitted when none was selected.
Returns
201
Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.
Errors follow the Anthropic error format (type / message / request_id) — see error codes
Response
HTTP 201
Computer result
application/json
| Name | Type | Description |
|---|---|---|
| type | string | Always `computer`. A computer. |
| id | string | Computer id (cmp_...), the computer_id of computer calls. |
| name | string | Display name of the computer, 1 to 255 characters. |
| sandbox_id | string | null | Public id of the sandbox that backs the computer, usable with the sandbox API; null while none has been created. |
| environment_id | string | null | Environment recipe the computer was created with; null when none. |
| status | string | active computers can be used by new sessions; archived ones keep their files readable but cannot start new sessions. |
| created_at | string | RFC 3339 time at which the computer was created. |
| updated_at | string | RFC 3339 time at which the computer was last modified. |
| archived_at | string | null | RFC 3339 time at which the computer was archived; null while active. |