Skip to main content

Overview

Containers endpoints

Available Operations

ListContainerFiles

Lists the files in a container, in lexicographic path order. The container id is the canonical id returned in bash/shell tool results; a restarted session is a separate container with its own 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, error

Errors

GetContainerFile

Returns the metadata of a single file in a container.

Example Usage

Parameters

Response

*components.ContainerFile, error

Errors

DownloadContainerFileContent

Streams the raw bytes of a file in a container.

Example Usage

Parameters

Response

io.ReadCloser, error

Errors