🫙 Containers Official Documentation

â‹™ Create Container

Create and manage containers for use with the Code Interpreter tool.

msg.payload Properties

name string
Name of the container to create.
expires_after object
Container expiration time in seconds relative to the 'anchor' time.
file_ids array
IDs of files to copy to the container.
network_policy object
Network policy settings for the container, such as allowlist mode and allowed domains.

â‹™ List Containers

List Containers

msg.payload Properties

after string
A cursor for use in pagination. after is an object ID that defines your place in the list.
limit integer
A limit on the number of objects to be returned.
order string
Sort order by the created_at timestamp of the objects.

â‹™ Retrieve Container

Retrieve container.

msg.payload Properties

container_id string
The ID of the container to retrieve.

â‹™ Delete Container

Delete container.

msg.payload Properties

container_id string
The ID of the container to delete.