Get Statistics
statistics_getRetrieve time tracking statistics, summaries, and reports for a specified date range. Filter by project, team, user, or billing status to get aggregated totals and breakdowns.
Instructions
Use this when the user wants to see time tracking statistics, summaries, or reports for a date range. Returns aggregated totals, project breakdowns, and daily/weekly hour charts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startDate | Yes | Start date for the statistics period (YYYY-MM-DD) | |
| endDate | Yes | End date for the statistics period (YYYY-MM-DD) | |
| projectId | No | Filter statistics for a specific project | |
| projectIds | No | Filter statistics for multiple projects | |
| teamId | No | Filter statistics for a specific team | |
| teamIds | No | Filter statistics for multiple teams | |
| tagIds | No | Filter statistics by tag IDs | |
| userIds | No | Filter statistics by user IDs | |
| filter | No | Filter by billing/payment status |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| totalHours | Yes | Total hours tracked | |
| billableHours | Yes | Billable hours | |
| nonBillableHours | No | Non-billable hours | |
| totalTasks | No | Total number of tasks | |
| totalBreakHours | No | Total break hours | |
| startDate | Yes | Period start date | |
| endDate | Yes | Period end date |