Skip to content

Get the capacity and utilization report

GET
/reports/capacity
Code sample: Shell / cURL
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.

startDate
required
string
>= 1 characters
endDate
required
string
>= 1 characters
roleIds
string
teamIds
string
memberIds
string

Per-member capacity rows, the aggregate, and meta.

Media typeapplication/json
object
data
required

Per-member capacity rows, the workspace aggregate, and meta.

object
aggregate
required

Workspace-wide capacity and utilization totals, summed over every member row.

object
capacityMinutes
required
number
expectedMinimumMinutes
required

Sum of every row’s already-rounded expectedMinimumMinutesInRange.

number
holidayMinutes
required
number
memberCount
required
integer
>= -9007199254740991 <= 9007199254740991
membersUnderMinimum
required

Count of rows whose minimumStatus is “under”.

integer
>= -9007199254740991 <= 9007199254740991
netCapacityMinutes
required
number
timeOffMinutes
required
number
trackedMinutes
required
number
utilizationPercent
required

TrackedMinutes / netCapacityMinutes — the same net basis as each row’s own field.

number | null
meta
required

The date window, timezone, and truncation flag the report was measured against.

object
endDate
required
string
startDate
required
string
timezone
required
string
truncated
required

True when the fetch hit the 500,000-entry cap, which makes every total beside it incomplete.

boolean
rows
required
Array<object>

Capacity, time off, and utilization for one workspace member in the filtered period.

object
billableMinutes
required
number
capacityHoursPerWeek
required

The member’s effective weekly capacity (explicit or workspace default).

number
capacityMinutesInRange
required

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.

number | null
expectedMinimumMinutesInRange
required

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.

number
holidayMinutesInRange
required

Workspace holidays falling on the member’s working days in the window.

number
memberId
required
string
memberName
required
string
minimumDailyHours
required

The member’s own daily-minimum override, or the workspace default, capped at their daily capacity.

number
minimumShortfallMinutes
required

Max(0, expectedMinimumMinutesInRange - totalMinutes). Clamped at 0 — never negative, even when the member is well above their minimum.

number
minimumStatus
required

“under” when minimumShortfallMinutes > 0, “met” otherwise, null when expectedMinimumMinutesInRange is 0 (nothing was expected, so there is no verdict).

Any of:
string
Allowed values: met under
netCapacityMinutesInRange
required

CapacityMinutesInRange minus timeOffMinutesInRange and holidayMinutesInRange.

number
nonBillableMinutes
required
number
roleNames
required
Array<string>
teamNames
required
Array<string>
thresholdStatus
required

Threshold band for the net-based utilizationPercent above.

Any of:
string
Allowed values: ok warning critical
timeOffMinutesInRange
required

Approved time off, at the member’s daily rate, within the window.

number
totalMinutes
required
number
utilizationPercent
required

TotalMinutes / netCapacityMinutesInRange, net of time off and holidays — never the gross capacityMinutesInRange. Null when netCapacityMinutesInRange is 0.

number | null

Example

{
"data": {
"rows": [
{
"minimumStatus": "met",
"thresholdStatus": "ok"
}
]
}
}

Validation error. Parse failures include field paths and expectations.

Media typeapplication/json

Validation error with safe field paths and expected values; submitted values are never returned.

object
error
required
object
code
required

Stable machine-readable error code.

string
issues
Array<object>
object
expected
required
string
message
required
string
path
required
Array<string | number>
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Missing the reports.view permission.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.