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.
terminate
Options
ID of the deployment.
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)
ID of the replica.
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
Terminate a replica without the confirmation promptFilter output with --jq
Print just the success flag
Output
Text mode (--output text): On success, prints “Terminated replica id of deployment id” to stderr; no stdout output.
JSON mode (--output json): payload type managementapi.TerminateReplicaResponse.