runs list
Lists runs, newest first, in a table of ID, task, status, version, created time and duration.--limit
The number of runs to list, up to 100. Defaults to 20.
--status
Only show runs with this status, e.g.
FAILED.--task
Only show runs for this task identifier.
--tag
Only show runs with this tag.
--cursor
The pagination cursor printed at the end of the previous page.
runs get
Prints the status, version, tags, timings, duration, cost and error of a single run.runs replay
Triggers a new run with the same payload as an existing one, using the latest version of the task.runs cancel
Cancels a run that has not finished yet. You are asked to confirm first.--yes | -y
Cancel without the confirmation prompt. Required in non-interactive environments such as CI.
Options
--env | -e
The environment to use:
dev, prod, staging or preview. Defaults to prod.--config | -c
The name of the config file found at the project path. Defaults to
trigger.config.ts--project-ref | -p
The project ref. Required if there is no config file.
--branch | -b
When using
--env preview the branch is automatically detected from git. But you can manually
specify it by using this option, e.g. --branch my-branch or -b my-branch.Common options
These options are available on most commands.--profile
The login profile to use. Defaults to “default”.
--api-url | -a
Override the default API URL. If not specified, it uses
https://api.trigger.dev. This can also be set via the TRIGGER_API_URL environment variable.--log-level | -l
The CLI log level to use. Options are
debug, info, log, warn, error, and none. This does not affect the log level of your trigger.dev tasks. Defaults to log.--skip-telemetry
Opt-out of sending telemetry data. This can also be done via the
TRIGGER_TELEMETRY_DISABLED environment variable. Just set it to anything other than an empty string.--help | -h
Shows the help information for the command.
--version | -v
Displays the version number of the CLI.

