Skip to main content
GET
Read the organisation's CI usage history

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

window
enum<string>
default:24h

The span to read: 48 buckets of 30 minutes, 56 of 3 hours, or 60 of 12 hours.

Available options:
24h,
7d,
30d

Response

The organisation's CI usage over the window.

The organisation's CI usage over one window (ankra-q573dh.57).

window
enum<string>
required
Available options:
24h,
7d,
30d
bucket_seconds
integer
required
from
string<date-time>
required
to
string<date-time>
required

End of the newest bucket, which is still going.

run_retention_days
integer
required

How long the organisation keeps pipeline runs; a window reaching further back is empty there, not idle.

is_capped
boolean
required

The window held more steps than one read folds; the newest were kept, so the oldest buckets undercount.

clusters
PipelineCapacityHistoryCluster · object[]
required

Every current member of the organisation's CI pool, primary first, then any other of its clusters a step ran on in the window.