Get Batch scheduler capacity
GET
/v1/batch-jobs/capacityHow to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
None.
Query parameters
None.
Body schema
This endpoint does not require a request body.
None.
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Runtime admission and scoped queue summaryapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| capacity | object | Yes | — |
| capacity.available | boolean | Yes | — |
| capacity.reason | string | No | — |
| capacity.pool | object | Yes | — |
| capacity.pool.containers | integer | Yes | — |
| capacity.pool.idleContainers | integer | Yes | Allocated runtime containers that can accept work without a cold start. |
| capacity.pool.maxContainers | integer | Yes | — |
| capacity.pool.pendingContainerStarts | integer | Yes | — |
| capacity.pool.activeExecutions | integer | Yes | — |
| capacity.pool.maxActiveExecutions | integer | Yes | — |
| capacity.maintenance | boolean | Yes | — |
| capacity.diskPressure | boolean | Yes | — |
| capacity.poolId | string | Yes | Stable logical capacity pool shared by API hosts and Batch workers. |
| capacity.reportingHosts | integer | Yes | — |
| capacity.reservedExecutionSlots | integer | Yes | — |
| capacity.reservedContainerSlots | integer | Yes | — |
| capacity.observedAt | string | Yes | — |
| queue | object | Yes | — |