List Depot CI runs
depot_list_ci_runsFind recent Depot CI runs by status, repository, commit, trigger, or pull request, then use the returned runId to diagnose failures or inspect a run.
Instructions
List recent Depot CI runs, newest first, optionally filtered by status, repository, commit, trigger, or pull request.
Use this to find the run someone is talking about — "my last failed build", "did main go green", "what ran for PR 412" — and then pass the returned runId to depot_diagnose_ci_failure or depot_get_ci_run.
The fastest path to diagnosing a recent breakage is status=["failed"] with limit=1, then depot_diagnose_ci_failure on the runId that comes back.
Returns identity, status and timing only. It does not return logs or failure detail; use depot_diagnose_ci_failure for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr | No | Pull request number. Depot requires repo to be set alongside this. | |
| sha | No | Filter to runs for one commit SHA. | |
| repo | No | Repository in "owner/name" form. Required when filtering by pr. | |
| limit | No | Maximum runs to return in one call. | |
| status | No | Keep only runs in these states. "finished" means completed successfully; a failed run reports "failed". | |
| trigger | No | Filter by what started the run, for example "push" or "workflow_dispatch". | |
| pageToken | No | nextPageToken from a previous call, to fetch the following page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | Yes | ||
| returned | Yes | ||
| nextPageToken | No |