Skip to main content

Capacities

GET Get capacity computations​

https://focus.toggl.com/api/organizations/{organization_id}/workspaces/{workspace_id}/capacities/{group}

Returns working minutes plus gross and remaining scheduled estimates for each requested user or resource. 'working_minutes' covers the full requested period; 'elapsed_working_minutes' covers only dates through the requester's local today. Both working-minute fields exclude the part of the shift a public holiday closes (half of it on a half-day closure) and deduct overlapping PTO. 'estimated_minutes' is gross timeline work from non-draft task estimates, projected recurring tasks, and planned calendar events. When 'include_drafts' is true, 'estimated_minutes' also includes task estimates from draft projects. 'estimated_remaining_minutes' nets each assignee's tracked time and places unfinished work from the requester's local today. Placement uses future working days. Weekends and full-day public holidays are excluded; a half-day closure keeps its share. Past and overdue task slices are zero; planned events count only from today. Without 'view_extended_capacity_horizon' the requested period is limited to the requester's current week or month, from the earlier week or month start through the later week or month end. A requested period entirely outside that window returns no computations.

curl  https://focus.toggl.com/api/organizations/{organization_id}/workspaces/{workspace_id}/capacities/{group} \
-H "Content-Type: application/json" \
-u <email>:<password>

Parameters​

Path​

nametyperequireddescription
organization_idintegertrueorganization ID
workspace_idintegertrueworkspace ID
groupstringtruegroup of computations

Query​

nametyperequireddescription
user_id[]integerfalseget capacity computations for the user given their ID; required when team_id is absent
team_id[]integerfalseresolve team members and compute capacity for them; required when user_id is absent
start_datestringtruestart date of computation (inclusive)
end_datestringtrueend date of computation (inclusive)
privatebooleanfalsetask privacy used to compute for capacity
task_source[]stringfalsefilter task sources
unitstringfalseunit of time for computation. default: day
include_draftsbooleanfalseinclude draft-project tasks; requires view_draft_projects permission
include_task_estimatesbooleanfalsebreak each user's estimated minutes down per task

Response​

200​

Computations grouped

NameTypeDescription
itemsArray of object-
items​
NameTypeDescription
computationsArray of objectThe computations that belong to the grouping entity
idintegerThe ID of the entity that groups the computations
task_estimatesArray of objectTaskEstimates breaks the computations' estimated minutes down per task, only populated when include_task_estimates is requested.
typestringThe type of the entity that groups the computations. Valid values: user.
computations​
NameTypeDescription
assigned_tasks_countintegerNumber of tasks assigned to the user on the specified Date
datestringThe date of the computation
elapsed_working_minutesintegerWorking minutes through the requester's local today.
estimated_minutesintegerThe summation of a user's tasks' estimated minutes in the day
estimated_remaining_minutesintegerEstimatedRemainingMinutes is unfinished scheduled work placed from the requester's local today.
time_off_minutesintegerTimeOffMinutes is the PTO overlap deducted from WorkingMinutes.
working_minutesintegerThe user's per day working minutes set in their user preferences
task_estimates​
NameTypeDescription
daily_estimated_minutesnumberDailyEstimatedMinutes is the assignee's per-working-day share, after allocations, the assignee split, and their own working days and full-day public holidays (a half-day closure keeps a full share). Unrounded, because Computation.EstimatedMinutes rounds once after summing every task's share: round each part first and the parts stop adding up to the total. Clients round for display.
task_idinteger-

400​

Invalid request

402​

Feature not available on the current plan

403​

Insufficient permissions

500​

Internal Server Error

© 2026 Toggl. All rights reserved.