# New Depot CI metrics command and JSON output for status (https://depot.dev/changelog/2026-05-07-depot-ci-metrics-and-status-json)

> Published 2026-05-07

Two additions for inspecting Depot CI runs programmatically.

`depot ci metrics` is a new command that fetches CPU and memory metrics for a CI job. Pass an attempt ID to summarize a single attempt, or use `--job` or `--run` to inspect every attempt of a job or every job in a run. Add `--output json` to a single-attempt request for full per-sample time-series data; `--job` and `--run` return per-attempt summary stats.

```bash
# Summarize an attempt
depot ci metrics <attempt-id>

# Every attempt of a job
depot ci metrics --job <job-id>

# Every job in a run
depot ci metrics --run <run-id>

# Full per-sample data as JSON
depot ci metrics <attempt-id> --output json
```

`depot ci status` now supports `--output json`, returning the run, workflow, job, and attempt hierarchy as JSON. Each attempt includes a ready-to-run `depot ci logs` command and a dashboard URL, plus `depot ci ssh` and log download commands when applicable, so it's easy to script follow-up actions against an in-flight run.

```bash
depot ci status <run-id> --output json
```

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.