Documentation Index
Fetch the complete documentation index at: https://docs.baseten.co/llms.txt
Use this file to discover all available pages before exploring further.
activate
Options
Name of the environment (e.g. production).
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
ID of the model.Mutually exclusive with other flags in group
model-ref.Name of the model. Use —team to disambiguate when the same name exists in multiple teams.Mutually exclusive with other flags in group
model-ref.Output formatOne of:
text, json, jsonl, noneBaseten remote URL, overrides BASETEN_REMOTE_URL (default https://app.baseten.co)
Team name or ID. Only valid with —model-name.
Enable verbose logging
Examples
Activate the deployment associated with an environmentFilter output with --jq
Print just the success flag
Output
Text mode (--output text): On success, prints “Activated environment name” to stderr; no stdout output.
JSON mode (--output json): payload type managementapi.ActivateResponse.
deactivate
Options
Name of the environment (e.g. production).
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
ID of the model.Mutually exclusive with other flags in group
model-ref.Name of the model. Use —team to disambiguate when the same name exists in multiple teams.Mutually exclusive with other flags in group
model-ref.Output formatOne of:
text, json, jsonl, noneBaseten remote URL, overrides BASETEN_REMOTE_URL (default https://app.baseten.co)
Team name or ID. Only valid with —model-name.
Skip the interactive confirmation prompt. Required when stdin is not a terminal.
Enable verbose logging
Examples
Deactivate an environment without the confirmation promptFilter output with --jq
Print just the success flag
Output
Text mode (--output text): On success, prints “Deactivated environment name” to stderr; no stdout output.
JSON mode (--output json): payload type managementapi.DeactivateResponse.
fetch
Options
Name of the environment (e.g. production).
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
ID of the model.Mutually exclusive with other flags in group
model-ref.Name of the model. Use —team to disambiguate when the same name exists in multiple teams.Mutually exclusive with other flags in group
model-ref.Output formatOne of:
text, json, jsonl, noneBaseten remote URL, overrides BASETEN_REMOTE_URL (default https://app.baseten.co)
Team name or ID. Only valid with —model-name.
Enable verbose logging
Examples
Fetch the production environment of a modelFilter output with --jq
Print the current deployment ID
Output
Text mode (--output text): Field-per-line summary: Name, Model, Current Deployment, Status, Candidate Deployment (optional), Created.
JSON mode (--output json): payload type managementapi.Environment.
list
Options
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
ID of the model.Mutually exclusive with other flags in group
model-ref.Name of the model. Use —team to disambiguate when the same name exists in multiple teams.Mutually exclusive with other flags in group
model-ref.Output formatOne of:
text, json, jsonl, noneBaseten remote URL, overrides BASETEN_REMOTE_URL (default https://app.baseten.co)
Team name or ID. Only valid with —model-name.
Enable verbose logging
Examples
List all environments of a modelFilter output with --jq
Print just the environment names
Output
Text mode (--output text): Table with columns: NAME, CURRENT DEPLOYMENT, STATUS. When no environments exist, prints “No environments found.” to stderr.
JSON mode (--output json): payload type managementapi.Environments.