list_project_times_by_project
Retrieve time-tracking entries for a specific Holded project. Filter by date range, approval status, and optionally flatten the output with pre-computed hours.
Instructions
List time-tracking entries for a single Holded project (Projects API). Returns a one-element array holding the project and its filtered timeTracking[] entries; set flatten: true to get a flat list of entries with hours pre-computed instead. Supports the same date-range and approved-only filters as list_project_times. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | Keep only entries on or before this date (YYYY-MM-DD, inclusive) | |
| flatten | No | Return a flat array of entries (each with projectId, projectName, and hours = duration/3600) instead of the nested structure. Default: false | |
| projectId | Yes | The Holded project ID | |
| startDate | No | Keep only entries on or after this date (YYYY-MM-DD, inclusive) | |
| approvedOnly | No | Keep only approved entries (approved === 1). Default: false |