WEBINARLive webinar: Terraform in Buddy, Oct 21st.Terraform: plan, approve, apply with state in Buddy. Live on October 21st.Save your seat

bdy pipeline run cancel

View as Markdown
$bdy pipeline run cancel [options] <identifier> <run-id>

Cancel a pipeline run in progress Required scopes: PIPELINE_RUN

ARGUMENTS
identifier
Human-readable ID of the pipeline (required)
run-id
ID of the pipeline run (required)
OPTIONS
--context <name>
Connection and scope context: default, git, link or a saved name. Overrides the globally active context for this invocation.
--examples
Show only examples; with this flag --format accepts text, json or jsonl
--verbose
Show REST API requests, responses, timing and retries on stderr
-w, --workspace <domain>
Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE
-p, --project <name>
Project name. Can be set via variable: BUDDY_PROJECT
-n, --no-wait
Do not wait for run to finish
--no-follow
Do not follow changes, only print final state
--exit-code
Use semantic exit codes: 0 success, 1 unsuccessful, 2 command error, 3 not found, 8 pending
--failed-logs
show the last 100 log lines of each FAILED action
--format <text|jsonl>
Output format: jsonl, text. JSONL CLI errors: {type:"error",error:{code,message,hint}}, exit 1 (2 or 3 with --exit-code). Default: text (choices: "text", "jsonl")
-h, --help
display help for command

Documentation for bdy v1.25.20

Last modified on Oct 14, 2026

Examples

Cancel a run and show logs of actions that failed
bdy pip run cancel pipeline-identifier run-id --failed-logs$
Return the current execution state using semantic exit codes
bdy pip run cancel pipeline-identifier run-id --exit-code --no-wait$
Pipeline run cancel
bdy pip run cancel pipeline-identifier run-id$
Pipeline run cancel with final output in jsonl
bdy pip run cancel pipeline-identifier run-id --no-follow --format jsonl$