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

Parent tag on all entities

Posted by Tyler Freckmann 8 months ago

All tag fields will now include the ID of the parent tag. This means that whenever an object is part of a given tag, it will include the parent tag ID as well.

added

Tags filtering in /v1/fleet/assets/locations and /v1/fleet/locations

Posted by Tyler Freckmann 8 months ago

The GET /v1/fleet/assets/locations and the legacy GET /v1/fleet/locations endpoints now support filtering by tags.

added

Image URL in machine vision APIs

Posted by Tyler Freckmann 8 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 8 months ago

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

added

Reverse geocoding in Vehicle Locations

Posted by Tyler Freckmann 9 months 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 9 months 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 10 months ago

The Addresses API now supports external IDs.

API Version: 2019-12-12

Posted by Tyler Freckmann 10 months 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 10 months 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 10 months 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.