Skip to content

Guides

How to query CI data programmatically

You need CI data in a dashboard or a weekly report.

4 min read

You need CI data in a dashboard or a weekly report.

Why it happens

Clicking through the Actions UI does not scale and cannot show trends.

How to fix it

  1. Use the provider's metrics API for durations, cost and cache statistics
  2. Fall back to the GitHub Actions REST API for run and job metadata
  3. Schedule a workflow that writes the report to a channel with a named owner

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.