# Inspect and filter CI workflows from the CLI (https://depot.dev/changelog/2026-04-30-depot-ci-workflow)

> Published 2026-04-30

Two new `depot ci workflow` commands for working with CI workflows from the terminal.

`depot ci workflow list` queries recent workflows for your organization. Results include the workflow name, repo, status, trigger, commit SHA, and job counts.

```bash
# List recent workflows
depot ci workflow list

# Filter by status and repo
depot ci workflow list --status failed --repo my-org/my-repo

# Filter by trigger or SHA prefix
depot ci workflow list --trigger push --sha abc123

# Filter by PR number (requires --repo)
depot ci workflow list --repo my-org/my-repo --pr 42

# Output as JSON
depot ci workflow list --output json
```

The `--status` flag is repeatable, and `-n` controls how many results to return (default 50, max 200).

`depot ci workflow show <workflow-id>` fetches a single workflow with its full run context, jobs, and attempts. It also accepts `--output json` and is aliased as `depot ci workflow get`.

For details, see the [Depot CI CLI reference](/docs/cli/reference/depot-ci).

## For AI Agents

The full site index is at [llms.txt](https://depot.dev/llms.txt). Append `.md` to any documentation, blog, changelog, or customer URL to fetch its markdown source directly.