Samsara Developer Portal

Integrate your data with the Samsara API, customize the Samsara experience, and join a community of developers building with Samsara.

Get Started
added

Image URL in machine vision APIs

Posted by Tyler Freckmann 11 months ago

The machine vision APIs will now include a URL to the image.

added

Threshold values in machine vision APIs

Posted by Tyler Freckmann 11 months ago

The machine vision APIs now provide two new fields regarding threshold:

added

Reverse geocoding in Vehicle Locations

Posted by Tyler Freckmann about a year ago

The Vehicle Locations endpoints now include a reverse geocoded street address with each location.

added

Pagination in /v1/fleet/assets/locations

Posted by Tyler Freckmann about a year ago

The GET /v1/fleet/assets/locations endpoint now supports optional pagination for increased performance and reliability. You may provide an optional “limit” parameter to request only a certain number of location records per response. Including a “limit” parameter will provide a “pagination” object in the response to allow you to paginate through data using a cursor. If a “limit” parameter is not provided, the response will not be paginated (original behavior).

added

External IDs in Addresses API

Posted by Tyler Freckmann about a year ago

The Addresses API now supports external IDs.

API Version: 2019-12-12

Posted by Tyler Freckmann about a year ago

We’ve released a new version of the API on 2019-12-12. This should only impact a small set of customers who are currently using our beta endpoint for unassigned driving segments. The updated endpoint now reports composite unassigned driving segments if applicable when querying for an unassigned driving segment by id. The endpoint can now return a new status called 'MULTIPLE', which indicates that the unassigned driving segment has multiple composite segments; composite segments will be returned nested under a new field called 'segments'. Unassigned driving segments will now also return a string representing duty status.

added

Raw GPS distance in Vehicle Stat APIs

Posted by Tyler Freckmann about a year ago

Raw GPS distance is now available in the Vehicle Stats endpoints. This statistic provides the distance the vehicle has traveled based on GPS calculations.

API Version: 2019-12-07

Posted by Tyler Freckmann about a year ago

We’ve released a new version of the API on 2019-12-07. This new version adds pagination to the GET /v1/fleet/locations endpoint. This pagination is meant to provide an easy way to increase performance and reliability for existing integrations using the GET /v1/fleet/locations endpoint. However, the new Vehicle Location endpoints are still recommended for new integrations.

added

Vehicle Stat APIs

Posted by Tyler Freckmann about a year ago

New vehicle stat API endpoints are available that include data about engine states, fuel percents, odometer values, and engine hours. These endpoints provide three ways of getting vehicle stat data:

API Version: 2019-11-19

Posted by Tyler Freckmann about a year ago

We've released a new version of the API on 2019-11-19: Trips will now return latitude and longistude if reverse geocoding fails, whereas previously the start and end locations would be empty. This affecte the GET /v1/fleet/trips endpoint.