---
title: "List HOS Logs"
method: GET
path: "/hos/logs"
tags: ["Hours of Service"]
---

# List HOS Logs

`GET /hos/logs`

List all hours of service logs. HOS logs are tracked as the distinct changes in duty status.

## Query parameters

- `cursor` string, cursor
- `limit` integer
- `startedAfter` string, date-time — [ISO 8601](https://www.w3.org/TR/NOTE-datetime) date
- `startedBefore` string, date-time — [ISO 8601](https://www.w3.org/TR/NOTE-datetime) date
- `modifiedAfter` string, date-time
- `modifiedBefore` string, date-time
- `driverIds` string
- `expand` 'driver' | 'vehicle' | 'codrivers' | 'driver,vehicle' | 'driver,codrivers' | 'vehicle,driver' | 'vehicle,codrivers' | 'codrivers,driver' | 'codrivers,vehicle' | 'driver,vehicle,codrivers' | 'driver,codrivers,vehicle' | 'vehicle,driver,codrivers' | 'vehicle,codrivers,driver' | 'codrivers,driver,vehicle' | 'codrivers,vehicle,driver'
- `raw` boolean

## Headers

- `X-Application-Id` string
- `Connection-Token` string, required

## Response `200`

OK

- object
  - `results` object[], required
    - `id` string, ulid, required
    - `sourceId` string, required — The ID used to represent the entity in the source system.
    - `provider` string, required — Every provider has a unique code to identify it across Terminal's system. You can find each provider's code under [provider details](/providers).
    - `status` 'off_duty' | 'sleeper_bed' | 'driving' | 'on_duty' | 'yard_move' | 'personal_conveyance' | 'waiting_time', required
    - `driver` union, required — Reference to the driver for this log
      - string, ulid — Unique identifier for the driver in Terminal.
      - object
        - `id` string, ulid, required — Unique identifier for the driver in Terminal.
    - `vehicle` union — The vehicle the driver was driving when the log was recorded.
      - string, ulid — Unique identifier for the vehicle in Terminal.
      - object
        - `id` string, ulid, required — Unique identifier for the vehicle in Terminal.
    - `codrivers` union[] — Additional drivers that were included in the HOS log.
      - union — Entities in Terminal are expandable. Using the `expand` query parameter you can choose to ingest just an ID or the full entity details.
        - string, ulid — Unique identifier for the driver in Terminal.
        - object
          - `id` string, ulid, required — Unique identifier for the driver in Terminal.
    - `startedAt` string, date-time, required — [ISO 8601](https://www.w3.org/TR/NOTE-datetime) date
    - `endedAt` string, date-time — [ISO 8601](https://www.w3.org/TR/NOTE-datetime) date
    - `location` object — Where the log was recorded
      - `longitude` number, required
      - `latitude` number, required
    - `remarks` object[], required
      - `sourceId` string — The ID used to represent the entity in the source system.
      - `submittedAt` string, date-time — [ISO 8601](https://www.w3.org/TR/NOTE-datetime) date
      - `notes` string, required — Additional comments
    - `metadata` object, required — Internal metadata about the record.
      - `addedAt` string, date-time, required — The date and time the record was ingested into Terminal. Note: this is not the date and time the record was created in the provider's system.
      - `modifiedAt` string, date-time, required — The date and time the record was last updated in Terminal. Note: this is not the date and time the record was updated in the provider's system.
    - `raw` object[]
      - `provider` string, required
      - `schema` string, required
      - `extractedAt` string, required
      - `data` object, required
  - `next` string, cursor — Cursor used for pagination.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests
- `500` — Internal Server Error
- `504` — Gateway Timeout Error

---

[API](https://skmtc.dev/withterminal/apis/terminal-telematics-api.md) · [All operations](https://skmtc.dev/withterminal/apis/terminal-telematics-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/withterminal/terminal-telematics-api/revisions/90249c4a1739/schema)
