Agent

ComputersFilesContent

Tenant-owned durable computer resource.

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

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

Request parameters

  • computer_idstring必填

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

  • pathstring必填

    query: Absolute path of the file whose content to download, as returned in the path field of computers.files.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; 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 200

Raw file bytes (at most 16 MiB); Content-Type is inferred from the extension. ETag is present only when a digest is available. Larger files require the sandbox connection issued by connect.

application/octet-stream

NameTypeDescription
$string (binary)

HTTP 206

Single byte range

application/octet-stream

NameTypeDescription
$string (binary)