Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Containers

Create container
client.containers.create(body, options?): ContainerCreateResponse { id, created_at, name, 6 more }
POST
/containers
Delete a container
client.containers.delete(containerID, options?): void
DELETE
/containers/{container_id}
List containers
client.containers.list(query?, options?): CursorPage<ContainerListResponse { id, created_at, name, 6 more } >
GET
/containers
Retrieve container
client.containers.retrieve(containerID, options?): ContainerRetrieveResponse { id, created_at, name, 6 more }
GET
/containers/{container_id}
Models
ContainerCreateResponse { id, created_at, name, 6 more }
ContainerListResponse { id, created_at, name, 6 more }
ContainerRetrieveResponse { id, created_at, name, 6 more }

ContainersFiles

Create container file
client.containers.files.create(containerID, body, options?): FileCreateResponse { id, bytes, container_id, 4 more }
POST
/containers/{container_id}/files
Delete a container file
client.containers.files.delete(fileID, params, options?): void
DELETE
/containers/{container_id}/files/{file_id}
List container files
client.containers.files.list(containerID, query?, options?): CursorPage<FileListResponse { id, bytes, container_id, 4 more } >
GET
/containers/{container_id}/files
Retrieve container file
client.containers.files.retrieve(fileID, params, options?): FileRetrieveResponse { id, bytes, container_id, 4 more }
GET
/containers/{container_id}/files/{file_id}
Models
FileCreateResponse { id, bytes, container_id, 4 more }
FileListResponse { id, bytes, container_id, 4 more }
FileRetrieveResponse { id, bytes, container_id, 4 more }

ContainersFilesContent

Retrieve container file content
client.containers.files.content.retrieve(fileID, params, options?): Response
GET
/containers/{container_id}/files/{file_id}/content