list_time_entries
List and filter OpenProject time entries by project, work package, user, or date range; supports paging and optional total-hours summation.
Instructions
List time entries with optional project, work package, user, and date filters.
total is only the count of allowed time entries returned on THIS page, not a full count of all matches; the search stops as soon as it has enough, so an exact total would need an extra full walk. Page until next_offset is null.
include_total_hours=true sums hours (as an ISO 8601 duration) across
every matching entry, independent of limit/offset; this runs its own
full walk of the filtered collection (bounded; see
total_hours_truncated), since OpenProject has no server-side sum for
time entries (unlike list_work_packages's include_sums). Leave false
unless the total is actually needed: it costs extra requests on top of
the page this call already returns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | ||
| limit | No | Page size, capped at OPENPROJECT_MAX_PAGE_SIZE. | |
| offset | No | 1-based page number; pass the previous result's next_offset. | |
| select | No | Fields to return; a requested unset field comes back as null. Allowed: activity, comment, comment_length, comment_truncated, created_at, end_time, entity_id, entity_name, entity_type, hours, id, ongoing, project, spent_on, start_time, updated_at, user, user_id. | |
| project | No | Project identifier, id, or name; a unique part of a name or identifier also matches. | |
| spent_on_to | No | ||
| spent_on_from | No | ||
| work_package_id | No | Work package id (e.g. 952) or display id (e.g. "PROJ-51"), not the bare number 51. | |
| include_total_hours | No |