Skip to content
中文

Get Computer

Call Create computer first and replace cmp_123 with its returned ID.

GET/agent/v1/computers/{computer_id}● Supported

Request parameters

  • computer_idstringrequired

    path: Computer id (cmp_...), as returned by computers.create or computers.list.

Returns

200

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; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.

Errors follow the Anthropic error format (type / message / request_id) — see error codes

Request

curl
# Call Create computer first and replace cmp_123 with its returned ID.
curl https://api.deepraxis.com/agent/v1/computers/cmp_123 \
  -H "Authorization: Bearer $PRAXIS_API_KEY"
Python
# Call Create computer first and replace cmp_123 with its returned ID.
import requests

opts = dict(
    base_url="https://api.deepraxis.com/agent",
    api_key="$PRAXIS_API_KEY",
)

# /agent 是我们自己的 Managed Agents 形状,直接发 HTTP 请求(Bearer 认证)
resp = requests.get(
    f"{opts['base_url']}/v1/computers/cmp_123",
    headers={"Authorization": f"Bearer {opts['api_key']}"},
)
print(resp.status_code, resp.json())
TypeScript
// Call Create computer first and replace cmp_123 with its returned ID.
const opts = {
  baseURL: "https://api.deepraxis.com/agent",
  apiKey: "$PRAXIS_API_KEY",
};

// /agent 是我们自己的 Managed Agents 形状,直接发 HTTP 请求(Bearer 认证)
const resp = await fetch(`${opts.baseURL}/v1/computers/cmp_123`, {
  headers: { Authorization: `Bearer ${opts.apiKey}` },
});
console.log(resp.status, await resp.json());

Response 200

{
  "type": "computer",
  "id": "cmp_2e6f32526d464a53a479fcc6a6b3e41b",
  "name": "my-computer",
  "environment_id": null,
  "status": "active",
  "created_at": "2026-10-23T21:19:20.718Z",
  "updated_at": "2026-10-23T21:19:24.074Z",
  "archived_at": null,
  "sandbox_id": "sbice7fc7093857d58dbfc3cf11",
  "machine_state": "provisioned",
  "implementation": "virtual",
  "storage_bytes": 921,
  "file_count": 1,
  "stats_complete": true
}

Response

HTTP 200

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.
machine_state string not_started means the machine has not been created; first use provisions it. provisioned means a machine has been created, whether running or paused.
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.
machine string Kind of machine backing this computer: light is the lightweight computer, full is a full sandbox with programs, background processes and media.
implementation string Deprecated: use machine instead (light = virtual, full = sandbox). Kept for compatibility.
storage_bytes integer Bytes stored on the computer.
file_count integer Number of files stored on the computer.
stats_complete boolean False when disk statistics are partial because the 20-second or 50,000-entry limit was reached. Tier-local directories are excluded.