# GET /time-entries

**Resource:** [TIME_ENTRIES](./time-entries.md)  
**MCP tool:** `list_time_entries`  
**Scopes:** `time-entries:read`  
**Write operation:** no

List time worked (timesheet entries), newest first. Each entry says who did the work, when it started and ended, how long it was (duration_seconds and duration_hours; a running timer shows the time so far), the note, whether it is billable, whether it has been invoiced, and the opportunity, work order, task, contact and labour product it is linked to, with their names. Filter by person (user_id, or "me"), opportunity, work order, task, contact, a range of workspace days (date_from, date_to), billable, invoiced and running. Returns one page: for how many hours in total, use get_time_totals with the same filters. Free read.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `user_id` | query | string | no | Only this person's time: a user UUID, or the word "me" for the caller. |
| `opportunity_id` | query | string | no | Only time logged against this opportunity (UUID). |
| `work_order_id` | query | string | no | Only time logged against this work order (UUID). |
| `task_id` | query | string | no | Only time logged against this task (UUID). |
| `contact_id` | query | string | no | Only time logged against this contact (UUID). |
| `date_from` | query | string | no | YYYY-MM-DD. Time that started on or after this day, in the workspace's own time zone. |
| `date_to` | query | string | no | YYYY-MM-DD. Time that started on or before this day (the whole day is included), in the workspace's own time zone. |
| `billable` | query | boolean | no | true: only billable time. false: only non-billable time. |
| `invoiced` | query | boolean | no | true: only time already on an invoice. false: only time not invoiced yet. |
| `running` | query | boolean | no | true: only timers still running. false: only finished entries. |
| `limit` | query | number | no | How many entries to return (1 to 200, default 50). |
| `after` | query | string | no | Cursor for the next page: the next_cursor value from the previous page. |

## Request example

```bash
curl   "https://api.trustpager.com/functions/v1/api/v1/time-entries"   -H "Authorization: Bearer YOUR_API_KEY"
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`