---
title: "List all timeentries"
method: GET
path: "/legal/{connection_id}/timeentry"
tags: ["legal", "timeentry"]
---

# List all timeentries

`GET /legal/{connection_id}/timeentry`

## Request

- Base URL: `https://api.unified.to`
- URL: `https://api.unified.to/legal/{connection_id}/timeentry`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string
- `sort` string
- `order` string
- `query` string
- `matter_id` string
- `user_id` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- LegalTimeentry[]
  - `id` string: unique identifier for the time entry
  - `created_at` string, date-time: when the time entry was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: when the time entry was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `matter_id` string: pointer to the Legal Matter this time is recorded against
  - `user_id` string: HR Employee who is the timekeeper (reference to HrisEmployee)
  - `description` string: description of the work performed
  - `worked_at` string, date-time: date the work was performed (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `minutes` number: duration worked, in minutes
  - `billable_minutes` number: billable duration after rounding, in minutes
  - `rate_amount` number: hourly rate, or the flat amount for flat-rate entries
  - `total_amount` number: total amount of the time entry
  - `currency` string: ISO 4217 currency code
  - `is_billable` boolean: whether the time entry is billable
  - `is_billed` boolean: whether the time entry has been billed
  - `invoice_id` string: pointer to the Accounting Invoice this time was billed on (reference to AccountingInvoice)
  - `activity_code` string: UTBMS/LEDES activity code
  - `task_code` string: UTBMS/LEDES task code
  - `metadata` LegalMetadata[]: custom field values
    - `id` string: the custom field identifier
    - `slug` string: the custom field key
    - `value` union: the custom field value
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `namespace` string: the scope or origin of the custom field
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL': the data type of the value
    - `extra_data` union: additional data about the custom field
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
  - `raw` object: raw data from the integration

## Changes

- **2026-10-11** `a29ffd62ac71`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/unified/apis/unified-to-api/changes/legal/:connection_id/timeentry/get.md)

---

[API](https://skmtc.dev/unified/apis/unified-to-api.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api/revisions/88a1fc7820d6?raw)
