---
title: "List Devices"
method: GET
path: "/devices"
tags: ["Devices"]
---

# List Devices

`GET /devices`

List all devices in the connected account.

## Query parameters

- `cursor` string, cursor
- `limit` integer
- `modifiedAfter` string, date-time
- `modifiedBefore` string, date-time
- `raw` boolean
- `deleted` boolean
- `expand` 'vehicle'

## 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).
    - `type` 'tracker' | 'camera', required — The type of device
    - `vehicle` union — The ID of the vehicle that the device is associated with
      - string, ulid — Unique identifier for the vehicle in Terminal.
      - object
        - `id` string, ulid, required — Unique identifier for the vehicle in Terminal.
    - `description` string — The description or model of the device
    - `serialNumber` string — The serial number of the device
    - `lastConnectedAt` string, date-time — [ISO 8601](https://www.w3.org/TR/NOTE-datetime) date
    - `createdAt` string, date-time — The date and time the record was created in the provider's system. This timestamp comes directly from the source system and represents when the data was originally created there. Note: not all providers expose this.
    - `updatedAt` string, date-time — The date and time the record was updated in the provider's system. This timestamp comes directly from the source system and represents when the data was last updated there. Note: not all providers expose this.
    - `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.
      - `deletedAt` string, date-time — The date and time the record was deleted from Terminal. Note: this is not the date and time the record was deleted in the provider's system.
      - `visibility` 'visible' | 'hidden_by_exclude_list' | 'hidden_by_include_list' | 'hidden_by_status' | 'deleted' — Visibility status of a resource. Read more about hidden records [here](https://docs.withterminal.com/guides/filtering).
    - `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.net/withterminal/apis/terminal-telematics-api.md) · [All operations](https://skmtc.net/withterminal/apis/terminal-telematics-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/withterminal/terminal-telematics-api/versions/90249c4a1739/schema)
