Get a Depot CI workflow
depot_get_ci_workflowRetrieve a CI workflow's status, timing, rerun history, and job attempt tree using its workflow ID.
Instructions
Show one Depot CI workflow: its status and timing, its parent run, its execution history (every rerun or retry, oldest first), and its job -> attempt tree with the ids needed to drill in.
Use this when you have a workflowId (from depot_list_ci_workflows, depot_get_ci_run, or a diagnosis) and want to see how the workflow has been rerun and which of its jobs and attempts failed. It is the workflow-level counterpart of depot_get_ci_run.
It does not explain failures or return logs. For root cause, call depot_diagnose_ci_failure with the same id and targetType "workflow"; for one job across its attempts, depot_get_ci_job; for a whole run with several workflows, depot_get_ci_run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | The workflow id, as returned by depot_list_ci_workflows or depot_get_ci_run. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | ||
| jobs | Yes | ||
| jobCount | Yes | ||
| workflow | Yes | The workflow as it stands now. startedAt, finishedAt and durationSeconds are those of the latest execution when Depot lists executions; the top-level timing Depot returns spans from the first start to the last finish and is not the time anything ran. | |
| executions | Yes | Rerun and retry lineage in the order Depot reports it, oldest first. | |
| executionCount | Yes | ||
| failedJobCount | Yes | ||
| latestExecution | No | The execution with the highest number: the one whose timing the summary reports. |