Skip to main content
GET
Read the organisation's pipeline capacity

Authorizations

Authorization
string
header
required

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

Response

The organisation's pipeline capacity.

The organisation's pipeline capacity: its pipeline cluster's CI slots, the steps occupying them, and the organisation's own queued and pending work. Every member is always present.

cluster_id
string | null
required

The organisation's pipeline cluster; null when none is chosen.

cluster_name
string | null
required

The pipeline cluster's name; null when none is chosen or it has been deleted.

ci_worker_count
integer
required

CI slots the cluster's agent runs; 0 when pipeline steps are off or no cluster is chosen.

is_live_resize_supported
boolean
required

Whether the cluster's agent applies a changed worker count without restarting; false when unknown.

steps_in_flight_on_cluster
integer
required

Pipeline steps occupying a slot on the cluster.

organisation_runs_queued
integer
required

This organisation's runs still queued.

organisation_runs_in_flight
integer
required

This organisation's runs counted against max_parallel_runs.

organisation_steps_pending
integer
required

This organisation's pending steps on live runs.

organisation_steps_waiting_on_slots
integer
required

This organisation's pending steps held back because every slot of the cluster is taken.

max_parallel_runs
integer
required

The organisation's ci_max_parallel_runs.

max_parallel_steps
integer
required

The organisation's ci_max_parallel_steps.