Skip to main content

Get a build metrics time series for a project

GET 

/workspaces/:workspace_slug/builds/series

The same metrics as builds/totals, grouped by time granularity: one row per bucket, oldest first, each carrying every metric. Pass 'group_by' to add a dimension (workflow, pipeline, stage, step): rows keep the same shape and gain that label, groups are ranked by build count and capped by 'limit'. The window may span at most 7 days hourly, 90 days daily, 1 year weekly and 2 years monthly.

Grouped, the response has one row per bucket per group - for example per day per workflow - and each row names its group in the matching field ('workflow' here).

RequestClick to copy link​

ResponsesClick to copy link​

OK