---
title: "Get tachograph driver files"
method: GET
path: "/fleet/drivers/tachograph-files/history"
tags: ["Tachograph (EU Only)"]
---

# Get tachograph driver files

`GET /fleet/drivers/tachograph-files/history`

## Request

- Base URL: `https://api.samsara.com`
- URL: `https://api.samsara.com/fleet/drivers/tachograph-files/history`
- Auth: HTTP bearer

Returns all known tachograph files for all specified drivers in the time range. 

 <b>Rate limit:</b> 50 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>). 

 **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

To use this endpoint, select **Read Tachograph (EU)** under the Compliance category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>

## Query parameters

- `after` string
- `startTime` string, required
- `endTime` string, required
- `driverIds` string[]
- `parentTagIds` string[]
- `tagIds` string[]

## Response `200`

List of all driver tachograph files in a specified time range.

- TachographDriverFilesResponse: List of all driver tachograph files in a specified time range.
  - `data` TachographDriverFileListWrapper[]
    - `driver` DriverTinyResponse: A minified driver object.
      - `id` string: ID of the driver.
      - `name` string: Name of the driver.
    - `files` TachographDriverFile[]: List of all tachograph driver files in a specified time range.
      - `cardNumber` string: Tachograph card number associated with the file.
      - `createdAtTime` string: Creation time of files in RFC 3339 format. This is either the download time from the tachograph itself (for files downloaded via Samsara VG) or upload time (for files manually uploaded via Samsara UI).
      - `id` string: ID of the file.
      - `url` string: A temporary URL which can be used to download the file. The link can be used multiple times and expires after an hour.
  - `pagination` PaginationResponse: Pagination parameters.
    - `endCursor` string, string, required: Cursor identifier representing the last element in the response. This value should be used in conjunction with a subsequent request's 'after' query parameter. This may be an empty string if there are no more pages left to view.
    - `hasNextPage` boolean, required: True if there are more pages of results immediately available after this endCursor.

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/samsara/apis/samsara-api.md) - [All operations](https://skmtc.dev/samsara/apis/samsara-api/llms.txt) - [OpenAPI document](https://skmtc.dev/samsara/apis/samsara-api/revisions/a9e35d4999be?raw)
