Gets the summed up tracked time duration for specified projects and tasks.

GET
The taskName parameter defines the main task of which to fetch the time entries for the duration sum. Supported types are: 'projects' and 'tasks'

Path parameters

taskIdstringRequired
The id of the task.

Response

This endpoint returns an object
durationSumintegerOptional
The total duration of time trackings on this entity.
projectIdstringOptional
The id of the project this duration aggregation is for.
taskIdstringOptional
The id of the task this duration aggregation is for.