Changelog

Improved

ECU Speed included in GPS stat

The gps.speedMilesPerHour vehicle stat endpoints will now display ECU speed if Samsara has the ability to retrieve it from the vehicle. If Samsara cannot retrieve ECU speed, the field will display GPS-calculated speed. Previously, this field displayed GPS-calculated speed even if ECU speed was available.

Added

Preview API: /gateways

You can now preview our designs for a set of /gateways APIs that allow you to list, activate, and deactivate Samsara gateways programmatically. This would allow you to automate gateway installation and management. Check out the preview design, and use the feedback form to send in feedback and express interest in beta-testing.

API Version: 2021-02-16

We've released a new version of the API. This version updates the behavior of the Retrieve a unit of equipment API endpoint. Previously, this endpoint worked for any gateway within Samsara. This was not intended behavior. Now the endpoint only works for Equipment: assets connected to a Samsara Asset Gateway (AG) via APWR, CAT, or J1939 cables.

Rate Limit Updates

We've updated the API rate limit policy. We will now enforce rate limits on a per-endpoint basis, in addition to the existing global rate limits. For example, the global rate limit is 200 requests per second, but the /fleet/hos/logs endpoint is rate-limited at 30 requests per second. See the Rate Limits page for full details.