Get the capacity and utilization report
curl --request GET \ --url 'https://example.com/api/v1/reports/capacity?startDate=example&endDate=example' \ --header 'Authorization: Bearer <token>'Returns per-member capacity, time off, holidays, and utilization for the filtered period, alongside the workspace aggregate. Members with no explicit capacityHoursPerWeek inherit the workspace default. Each row also reports whether the member met their minimum daily hours (minimumStatus, expectedMinimumMinutesInRange, minimumShortfallMinutes) — the shortfall is clamped at 0 and never reads negative. Only the date, role, team, and member filters apply. Requires the reports.view permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Per-member capacity rows, the aggregate, and meta.
object
Per-member capacity rows, the workspace aggregate, and meta.
object
Workspace-wide capacity and utilization totals, summed over every member row.
object
Sum of every row’s already-rounded expectedMinimumMinutesInRange.
Count of rows whose minimumStatus is “under”.
TrackedMinutes / netCapacityMinutes — the same net basis as each row’s own field.
The date window, timezone, and truncation flag the report was measured against.
object
True when the fetch hit the 500,000-entry cap, which makes every total beside it incomplete.
Capacity, time off, and utilization for one workspace member in the filtered period.
object
The member’s effective weekly capacity (explicit or workspace default).
Gross capacity for the window (exact weekdays x daily rate), before the time off and holiday discounts below. Not the basis for utilizationPercent — use netCapacityMinutesInRange for that.
MinimumDailyHours x working days in the window, net of holidays and this member’s approved time off — never compare it to capacityMinutesInRange, which is the ceiling, not the floor.
Workspace holidays falling on the member’s working days in the window.
The member’s own daily-minimum override, or the workspace default, capped at their daily capacity.
Max(0, expectedMinimumMinutesInRange - totalMinutes). Clamped at 0 — never negative, even when the member is well above their minimum.
CapacityMinutesInRange minus timeOffMinutesInRange and holidayMinutesInRange.
Approved time off, at the member’s daily rate, within the window.
TotalMinutes / netCapacityMinutesInRange, net of time off and holidays — never the gross capacityMinutesInRange. Null when netCapacityMinutesInRange is 0.
Example
{ "data": { "rows": [ { "minimumStatus": "met", "thresholdStatus": "ok" } ] }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Missing the reports.view permission.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC