Beta APIs

[beta] List tachograph live data

Returns the latest live tachograph data for drivers, including working state and driving rest times, sourced from real-time telemetry.

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

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>

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.

get/fleet/tachograph-live-data/latest

Request

  • Base URL
    https://api.samsara.com
  • Auth
    HTTP bearer

Query parameters

driverIdsstring

A filter on the data based on this comma-separated list of Driver ID values.

vehicleIdsstring

A filter on the data based on this comma-separated list of Vehicle ID values.

startTimestring

A start time in RFC 3339 format. Millisecond precision and timezones are supported. Defaults to 1 hour before now if not provided.

afterstring

If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.

limitinteger

The limit for how many objects will be in the response. Default and max for this value is 200 objects.

Response

OK response.

Example response

{
  "data": [
    {
      "cumulatedDrivingTimePreviousAndCurrentWeekMinute": 12345,
      "cumulativeBreakTimeMinute": 12345,
      "currentDailyDrivingTimeMinute": 12345,
      "currentDurationOfSelectedActivityMinute": 12345,
      "currentWeeklyDrivingTimeMinute": 12345,
      "driverId": "12345",
      "durationOfNextBreakRestMinute": 12345,
      "durationOfNextDrivingPeriodMinute": 12345,
      "endOfLastDailyRestPeriod": "2019-06-13T19:08:25Z",
      "endOfLastWeeklyRestPeriod": "2019-06-13T19:08:25Z",
      "happenedAtTime": "2019-06-13T19:08:25Z",
      "maximumDailyDrivingTimeMinute": 12345,
      "minimumDailyRestMinute": 12345,
      "minimumWeeklyRestMinute": 12345,
      "numberOfTimes9hDailyDrivingTimesExceeded": 12345,
      "numberOfUsedReducedDailyRestPeriods": 12345,
      "openCompensationInSecondWeekBeforeLastMinute": 12345,
      "openCompensationInTheLastWeekMinute": 12345,
      "openCompensationInWeekBeforeLastMinute": 12345,
      "remaining2WeeksDrivingTimeMinute": 12345,
      "remainingCurrentDrivingTimeMinute": 12345,
      "remainingDrivingTimeOfCurrentWeekMinute": 12345,
      "remainingDrivingTimeOnCurrentShiftMinute": 12345,
      "remainingTimeOfCurrentBreakRestMinute": 12345,
      "remainingTimeUntilNextBreakOrRestMinute": 12345,
      "tachographCardNumber": "12345",
      "timeLeftUntilNewDailyRestPeriodMinute": 12345,
      "timeLeftUntilNewWeeklyRestPeriodMinute": 12345,
      "timeLeftUntilNextDrivingPeriodMinute": 12345,
      "vehicleId": "12345",
      "workingState": "12345"
    }
  ],
  "pagination": {
    "endCursor": "MjkY",
    "hasNextPage": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.