Get pipeline details
get_pipelineGet a Woodpecker CI pipeline's full workflow and step status, including exit codes and failed step IDs, to pinpoint where to fetch logs.
Instructions
Gets one pipeline with its workflows and steps (names, states, exit codes). Failed step ids are listed in failed_step_ids — fetch their output with get_step_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. |