Skip to main content

Overview

Containers endpoints

Available Operations

list_container_files

Lists the files under a sandbox session prefix, in lexicographic path order. A restarted session is a separate container with its own session id. Paginate with limit and after (pass the previous page’s last_id); has_more: true always means the next page is fetchable that way.

Example Usage

Parameters

Response

components.ContainerFileListResponse

Errors

get_container_file

Returns the metadata of a single file under a sandbox session prefix.

Example Usage

Parameters

Response

components.ContainerFile

Errors

download_container_file_content

Streams the raw bytes of a file under a sandbox session prefix.

Example Usage

Parameters

Response

httpx.Response

Errors