latestOpenAPI 3.1.02026-08-1963241304.5 KB

ae394a06c465

ci_insights

Get a single CI queue stat as a time series

Return one of the CI queue stats bucketed over the requested time range, with a summary value over the full window.

get/ci/{owner}/queue/stats/{stat}

Path parameters

stat'total_jobs' | 'avg_wait_time' | 'min_wait_time' | 'median_wait_time' | 'p95_wait_time' | 'p99_wait_time' | 'max_wait_time' required
ownerstring required

The owner of the repository

The owner of the repository

Query parameters

labelsstring[] nullable

The labels to filter on (all must match)

The labels to filter on (all must match)

startstring date-time nullable

Start of the time range. Defaults to end - 1 day when omitted.

Start of the time range. Defaults to end - 1 day when omitted.

endstring date-time nullable

End of the time range. Defaults to start + 1 day when only start is provided, or now otherwise.

End of the time range. Defaults to start + 1 day when only start is provided, or now otherwise.

Response

Successful Response

stat'total_jobs' | 'avg_wait_time' | 'min_wait_time' | 'median_wait_time' | 'p95_wait_time' | 'p99_wait_time' | 'max_wait_time' required
valueinteger nullable required