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

# Get tachograph vehicle files

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

## Request

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

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

 <b>Rate limit:</b> 150 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
- `vehicleIds` string[]
- `parentTagIds` string[]
- `tagIds` string[]

## Response `200`

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

- TachographVehicleFilesResponse: List of all vehicle tachograph files in a specified time range.
  - `data` TachographVehicleFileListWrapper[]
    - `files` TachographVehicleFile[]: List of all tachograph vehicle files in a specified time range.
      - `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.
      - `vehicleIdentificationNumber` string: VIN associated with the vehicle file.
    - `vehicle` VehicleTinyResponse: A minified vehicle object.
      - `ExternalIds` object: The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object.
      - `id` string: ID of the vehicle.
      - `name` string: Name of the vehicle.
  - `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)
