API Version: 2020-06-15

A new API version was released on 2020-06-15. Changes:

added

Document Name

Documents now contain a custom name field. This is a name that a driver can provide when creating a document through the Driver App.

added

Document PDF Downloads

We’re excited to announce a new Documents feature for downloading PDFs through the API!

added

Multiple Stat Types in /fleet/vehicles/stats

The GET /fleet/vehicles/stats endpoint now accepts up to three stat types. See the Vehicle Stats guide for an example.

removed

ELD Settings and Rulesets

This feature has been temporarily rolled back due to a bug. The feature will be re-released once the bug has been fixed.

added

Tachograph Files API

Tachograph files are now available via:

added

Diagnostic Trouble Codes

Diagnostic Trouble Codes, also known as vehicle fault codes, are available via the Vehicle Stats endpoints. These codes are available for all three vehicle stats endpoints: historical querying, feed-follow, and most recent events. See the Vehicles Stats guide for more details.

added

New PATCH endpoint available for Tags

We've released PATCH /tags/{id} which allows you to update a tag using PATCH semantics.

added

Mechanic Notes in DVIR Defects

DVIR defects now support a mechanic notes field and timestamp on when the notes were updated. This supports use cases where DVIR defects need to be updated with notes while being worked on. Reading and writing mechanic notes is supported through both the Samsara dashboard and the defects APIs.

added

New Duty Status Endpoint

We've released POST /v1/fleet/drivers/{driver_id}/duty_status which allows you to set driver duty status.