Custom Attributes Beta API
We've released a beta version of a new set of endpoints that allow you to create and manage custom attributes for drivers and vehicles. See the new Custom Attributes guide for more details.
We've released a beta version of a new set of endpoints that allow you to create and manage custom attributes for drivers and vehicles. See the new Custom Attributes guide for more details.
A new stat type is available for the types query param in the /fleet/equipment/stats endpoints: types=gatewayJ1939EngineSeconds. This an approximation of engine runtime for equipment with J1939/CAT cables. It is based on the cumulative time that the Samsara AG device has received power from the engine. This stat is only available for equipment that does not automatically report engine runtime from on-board diagnostics. In order to activate this stat, you must set a manual engine runtime offset for the piece of equipment in the Samsara Dashboard.
Addresses now support riskZone as an additional option for addressTypes[].
A /me API endpoint is now available that returns information about the organization that the API access token belongs to. This includes the organization's id, name, and carrierSettings if the organization is a fleet.
Documents now support conditional fields that enable follow-up questions for a given multiple-choice answer.
A beta API section has been added to the API reference docs. These APIs are available for you to test and leave feedback! Beta APIs are subject to change before they become generally available. GA releases of beta APIs will be announced via the changelog. Future beta APIs will be released in the beta section of the API reference docs.
ECU speed is now available in the Vehicle Stats endpoints. The types=ecuSpeedMph query parameter will provide ECU speed for all three vehicle stats endpoints. This speed measure comes directly from on-board diagnostics, as opposed to speed calculated using GPS.
New endpoints have been released for Samsara's Industrial products. These endpoints allow you to manage the industrial Assets in your organization, list Data Inputs, and collect both historical data and follow a data feed. See the Industrial API reference docs for more details.
You can now delete recurring routes via the DELETE /v1/fleet/dispatch/routes/{id} endpoint by setting apply_to_future_routes to true in the request body. For example
The new Auxiliary Input Hub accessory allows you to connect up to eight additional auxiliary inputs to the Samsara Vehicle Gateway. Data from these additional inputs are now available in all three Vehicle Stats endpoints as stat types auxInput3-auxInput10. See the Vehicle Stats reference docs for a full list of stat types.