Get pipeline details
get_pipelineRetrieve a Woodpecker CI pipeline summary, web URL, and workflow steps by number or latest on a branch. Find failed step IDs to fetch logs next.
Instructions
Gets one pipeline by its per-repo number, or the newest one when number is "latest" (on the default branch, or on branch if given; branch is ignored for a concrete number). Returns the pipeline summary (including its concrete number), web URL, and each workflow with its steps (id, name, state, exit_code, type, error). Successful and skipped steps are only counted (passed, skipped) unless all_steps is true. failed_step_ids lists steps in state failure, error or killed; fetch their output with get_step_logs using the step id and this pipeline's concrete number. Returns no logs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository as "owner/name" (e.g. "acme/webapp") or a numeric Woodpecker repo id. | |
| branch | No | With number="latest": pick the latest pipeline of this branch instead of the default branch. | |
| number | Yes | Per-repo pipeline number, or "latest" for the newest pipeline on the default branch. | |
| instance | Yes | Woodpecker instance name. Configured instances: default. | |
| all_steps | No | List successful and skipped steps too (default: only count them). |