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.
list
Options
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
Output formatOne of:
text, json, jsonl, noneBaseten remote URL, overrides BASETEN_REMOTE_URL (default https://app.baseten.co)
Enable verbose logging
Examples
List all API keys in the orgFilter output with --jq
Print just the prefixes of personal keys
Output
Text mode (--output text): Table with columns: NAME, KEY (prefix + ****), TYPE, TEAM. When no keys exist, prints “No API keys found.” to stderr.
JSON mode (--output json): payload type managementapi.APIKeys.
create
Options
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
Restrict the key to a specific model. May be repeated. Only valid with —type workspace-export-metrics or workspace-invoke.
Optional human-readable name for the key.
Output formatOne of:
text, json, jsonl, noneBaseten remote URL, overrides BASETEN_REMOTE_URL (default https://app.baseten.co)
Team name or ID to create the key in. Defaults to the organization’s default team.
API key category.One of:
personal, workspace-export-metrics, workspace-invoke, workspace-manage-allEnable verbose logging
Examples
Create a personal API keyFilter output with --jq
Print just the raw key value
Output
Text mode (--output text): Prints the raw API key value on stdout (one line). Also prints “Save this key now. It will not be shown again.” to stderr.
JSON mode (--output json): payload type managementapi.APIKey.
delete
org api-key list.
Options
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
Human-readable name of the API key to delete.Mutually exclusive with other flags in group
identifier.Output formatOne of:
text, json, jsonl, nonePrefix of the API key to delete (as shown in list).Mutually exclusive with other flags in group
identifier.Baseten remote URL, overrides BASETEN_REMOTE_URL (default https://app.baseten.co)
Enable verbose logging
Examples
Delete an API key by nameFilter output with --jq
Print just the deleted key’s prefix
Output
Text mode (--output text): Prints “Deleted API key prefix” to stderr on success; no stdout output.
JSON mode (--output json): payload type managementapi.APIKeyTombstone.