Containers

Download container file content

Streams the raw bytes of a file in a container.

get/containers/{container_id}/files/{file_id}/content

Path parameters

container_idstring required

The canonical container id, exactly as returned in a bash/shell tool result — a restarted session has its own -r<nonce>-suffixed id. A session-derived id is always sess_ + the sanitized session key, which is not necessarily the raw session id that was sent.

Example:sess_abc123

The canonical container id, exactly as returned in a bash/shell tool result — a restarted session has its own -r<nonce>-suffixed id. A session-derived id is always sess_ + the sanitized session key, which is not necessarily the raw session id that was sent.

file_idstring required

Container file id (cfile_ + base64url of the file path).

Example:cfile_b3V0L3JlcG9ydC5jc3Y

Container file id (cfile_ + base64url of the file path).

Response

The raw file content.

Changes

No recorded changes to this endpoint across all 208 revisions of this API.