PRE-RELEASE: Sandbox commands are not GA yet. Their arguments, flags, and output may change.
name:latest.
list
Options
TEXT
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
INTEGER
default:"1000"
Most images to list. 0 lists all.
TEXT
default:"text"
Output formatOne of:
text, json, jsonl, noneTEXT
Use a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
TEXT
Team name or ID to list images of. Defaults to your only team; required if you belong to more than one. Run ‘baseten org team list’ to see teams.
BOOL
Enable verbose logging
Examples
List imagesFilter output with --jq
Print every built image’s name
Output
Text mode (--output text): Table with columns: NAME, STATUS, TAGS, SIZE, CREATED. Prints “No sandbox images found.” to stderr when the list is empty, and a note to stderr when —limit left some out.
JSON mode (--output json): Go output type cmd.SandboxImageList.
describe
Options
TEXT
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
TEXT
required
Name of the image.
TEXT
default:"text"
Output formatOne of:
text, json, jsonl, noneTEXT
Use a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
TEXT
Team name or ID the image belongs to. Defaults to your only team; required if you belong to more than one. Run ‘baseten org team list’ to see teams.
BOOL
Enable verbose logging
Examples
Describe an imageFilter output with --jq
Print the image’s status
Output
Text mode (--output text): One field per line describing the image. Empty fields are left out.
JSON mode (--output json): Go output type managementapi.SandboxImage.
push
Options
TEXT
Directory to build the image from, with a Dockerfile at its root.Mutually exclusive with other flags in group
image-source.TEXT
Path to a Docker config.json with credentials for pulling —registry-image from a private registry.
TEXT
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
TEXT
required
Name of the image.
TEXT
default:"text"
Output formatOne of:
text, json, jsonl, noneTEXT
Use a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
TEXT
Registry image reference to import, such as registry.example.com/app:v1.Mutually exclusive with other flags in group
image-source.TEXT
Team name or ID the image belongs to. Defaults to your only team; required if you belong to more than one. Run ‘baseten org team list’ to see teams.
BOOL
Wait until the image is built. Exits non-zero if the build fails. Does not stop the build if interrupted.
BOOL
Enable verbose logging
Examples
Build an image from the current directory and wait for itFilter output with --jq
Push from a directory and print the image’s status
Output
Text mode (--output text): One field per line describing the image. Empty fields are left out.
JSON mode (--output json): Go output type managementapi.SandboxImage.
delete
Options
TEXT
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
TEXT
required
Name of the image.
TEXT
default:"text"
Output formatOne of:
text, json, jsonl, noneTEXT
Use a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
TEXT
Team name or ID the image belongs to. Defaults to your only team; required if you belong to more than one. Run ‘baseten org team list’ to see teams.
BOOL
Skip the interactive confirmation prompt. Required when stdin is not a terminal.
BOOL
Enable verbose logging
Examples
Delete an image without the confirmation promptFilter output with --jq
Delete an image and print its status
Output
Text mode (--output text): A confirmation line on stderr.
JSON mode (--output json): Go output type managementapi.SandboxImage.
The image’s record as deletion starts.
logs
Options
TEXT
Latest log time to print, such as 2026-10-05T15:04:05Z.
TEXT
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
TEXT
required
Name of the image.
TEXT
default:"text"
Output formatOne of:
text, json, jsonl, noneTEXT
Use a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
TEXT
Earliest log time to print, such as 2026-10-05T15:04:05Z.
TEXT
Team name or ID the image belongs to. Defaults to your only team; required if you belong to more than one. Run ‘baseten org team list’ to see teams.
BOOL
Enable verbose logging
Examples
Print an image’s build logsFilter output with --jq
Print only the messages
Output
Text mode (--output text): One line per log entry: timestamp and message.
JSON mode (--output json): Go output type managementapi.SandboxImageBuildLog.
list-tags
name:tag.
Options
TEXT
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
TEXT
required
Name of the image.
TEXT
default:"text"
Output formatOne of:
text, json, jsonl, noneTEXT
Use a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
TEXT
Team name or ID the image belongs to. Defaults to your only team; required if you belong to more than one. Run ‘baseten org team list’ to see teams.
BOOL
Enable verbose logging
Examples
List an image’s tagsFilter output with --jq
Print every tag
Output
Text mode (--output text): Table with columns: TAG, SIZE, CREATED. Prints “No tags found.” to stderr when the list is empty.
JSON mode (--output json): Go output type cmd.SandboxImageTagList.
list-library
Options
TEXT
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
TEXT
default:"text"
Output formatOne of:
text, json, jsonl, noneTEXT
Use a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
BOOL
Enable verbose logging
Examples
List the starter imagesFilter output with --jq
Print every starter image
Output
Text mode (--output text): Table with columns: NAME, IMAGE, MEMORY, CATEGORIES. Prints “No starter images found.” to stderr when the list is empty.
JSON mode (--output json): Go output type cmd.SandboxImageLibraryList.