Task

Get task statistics

Retrieves aggregated statistics for tasks matching the provided criteria. Returns totals for duration, salary, expenses, and mileage without returning individual task data.

post/v1/tasks/statistics

Request

  • Base URL
    https://api.timesheet.io
  • URL
    https://api.timesheet.io/v1/tasks/statistics
  • Auth
    • HTTP bearer
    • or API key in header Authorization

Request body

searchstring
sortstring
orderstring
countinteger
pageinteger
limitinteger
startDatestring
endDatestring
organizationIdstring
teamIdstring
projectIdstring
todoIdstring
rateIdstring
documentIdstring
typestring
filterstring
teamIdsstring[]
projectIdsstring[]
tagIdsstring[]
taskIdsstring[]
userIdsstring[]
feelingsinteger[]
excludeTaskIdsstring[]
populatePausesboolean
populateExpensesboolean
populateNotesboolean
populateTagsboolean
offsetinteger

Response

Task statistics

durationinteger
durationBreakinteger
salaryTotalstring decimal
salaryBreakstring decimal
expensesTotalstring decimal
expensesPaidstring decimal
mileagestring decimal

Changes

No operation changes recorded.