How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Samsara Statistics API

The Statistics API from Samsara — 3 operation(s) for statistics.

Samsara Statistics API is one of 90 APIs that Samsara publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Statistics. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a GitHub repository.

This API exposes 3 operations across 3 paths, and defines 85 schemas. It is described by OpenAPI 3.0.1, at version 2024-11-18.

Requests are made against 2 base URLs: https://api.samsara.com/, https://api.eu.samsara.com/.

3 operations 3 paths 85 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
2024-11-18
Base URL
https://api.samsara.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Samsara Statistics API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (AccessTokenHeader). By default, every request must be authenticated.

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Statistics 3
GET
/beta/fleet/trailers/stats
[beta] Get Trailer Stats
getTrailerStatsSnapshot 6 params → 200401404405429500501502
GET
/beta/fleet/trailers/stats/feed
[beta] Get Trailer Stats Feed
getTrailerStatsFeed 6 params → 200401404405429500501502
GET
/beta/fleet/trailers/stats/history
[beta] Get Trailer Stats History
getTrailerStatsHistory 8 params → 200401404405429500501502

Schemas 85

The contract defines 85 schemas that model the data the API accepts and returns. The most detailed are TrailerStatsObjectResponseBody (25 properties), TrailerStatsSnapshotObjectResponseBody (25 properties), TrailerStatDecorationResponseBody (23 properties), TrailerStatGpsWithDecorationsTypeResponseBody (7 properties). Each schema is shown below with its type and property counts.

TrailerStatReeferDoorStateZone1WithDecorationsTypeResponseBody
object
Door stats that have been emitted by the reefer.
3 properties 2 required
TrailerStatReeferRunModeTypeResponseBody
object
The run mode of the reefer.
2 properties 2 required
TrailerStatReeferSetPointTemperatureMilliCZone2WithDecorationsTypeResponseBody
object
Set point temperature of zone 2 of the reefer.
3 properties 2 required
TrailerStatsGetTrailerStatsHistoryNotFoundErrorResponseBody
object
Resource not found
2 properties 2 required
TrailerStatsGetTrailerStatsSnapshotBadRequestErrorResponseBody
object
Bad Request parameters
2 properties 2 required
TrailerStatsGetTrailerStatsHistoryNotImplementedErrorResponseBody
object
Requested endpoint is not yet implemented
2 properties 2 required
TrailerStatsSnapshotObjectResponseBody
object
A trailer and its stats
25 properties 2 required
TrailerStatReeferAmbientAirTemperatureWithDecorationsTypeResponseBody
object
Reefer ambient air temperature reading.
3 properties 2 required
TrailerStatReeferObdEngineSecondsWithDecorationsTypeResponseBody
object
Reefer onboard engine seconds reading.
3 properties 2 required
TrailerStatReeferStateZone2TypeResponseBody
object
Reefer state event.
3 properties 2 required
TrailerStatReeferDoorStateZone3WithDecorationsTypeResponseBody
object
Door stats that have been emitted by the reefer.
3 properties 2 required
TrailerStatReeferAmbientAirTemperatureMilliCTypeResponseBody
object
Reefer ambient air temperature reading.
2 properties 2 required
TrailerStatDecorationResponseBody
object
Decorated values for the primary trailer stat datapoints.
23 properties
TrailerStatReeferFuelPercentTypeResponseBody
object
The fuel percentage of the reefer.
2 properties 2 required
TrailerStatsGetTrailerStatsSnapshotNotImplementedErrorResponseBody
object
Requested endpoint is not yet implemented
2 properties 2 required
TrailerStatsGetTrailerStatsSnapshotResponseBody
object
2 properties 2 required
TrailerStatReeferDoorStateZone2WithDecorationsTypeResponseBody
object
Door stats that have been emitted by the reefer.
3 properties 2 required
TrailerStatsGetTrailerStatsFeedBadRequestErrorResponseBody
object
Bad Request parameters
2 properties 2 required
TrailerStatsGetTrailerStatsFeedMethodNotAllowedErrorResponseBody
object
Method not allowed
2 properties 2 required
TrailerStatsGetTrailerStatsFeedBadGatewayErrorResponseBody
object
Bad Gateway
2 properties 2 required
TrailerStatReeferSupplyAirTemperatureMilliCZone3TypeResponseBody
object
Supply or discharge air temperature of zone 2 of the reefer. This is the temperature of the air as it leaves the cooling unit.
2 properties 2 required
GoaPaginationResponseResponseBody
object
Pagination parameters.
2 properties 2 required
TrailerStatReeferSupplyAirTemperatureMilliCZone1WithDecorationsTypeResponseBody
object
Supply or discharge air temperature of zone 2 of the reefer. This is the temperature of the air as it leaves the cooling unit.
3 properties 2 required
TrailerStatGpsOdometerMetersTypeResponseBody
object
Trailer GPS odometer event.
2 properties 2 required
TrailerStatReeferReturnAirTemperatureMilliCZone3WithDecorationsTypeResponseBody
object
Return air temperature of zone 3 of the reefer. This is the temperature of the air as it enters the cooling unit.
3 properties 2 required
TrailerStatReeferSetPointTemperatureMilliCZone3WithDecorationsTypeResponseBody
object
Set point temperature of zone 3 of the reefer.
3 properties 2 required
TrailerStatReeferSupplyAirTemperatureMilliCZone3WithDecorationsTypeResponseBody
object
Supply or discharge air temperature of zone 2 of the reefer. This is the temperature of the air as it leaves the cooling unit.
3 properties 2 required
TrailerStatsGetTrailerStatsHistoryBadGatewayErrorResponseBody
object
Bad Gateway
2 properties 2 required
TrailerStatReeferStateWithDecorationsTypeResponseBody
object
Reefer state event.
4 properties 2 required
TrailerStatReeferReturnAirTemperatureMilliCZone2WithDecorationsTypeResponseBody
object
Return air temperature of zone 2 of the reefer. This is the temperature of the air as it enters the cooling unit.
3 properties 2 required
TrailerStatReeferStateZone3WithDecorationsTypeResponseBody
object
Reefer state event.
4 properties 2 required
TrailerStatsObjectResponseBody
object
A trailer and its stats
25 properties 2 required
TrailerStatReeferSetPointTemperatureMilliCZone1TypeResponseBody
object
Set point temperature of zone 1 of the reefer.
2 properties 2 required
TrailerStatsGetTrailerStatsHistoryServiceUnavailableErrorResponseBody
object
Service unavailable
2 properties 2 required
TrailerStatsGetTrailerStatsSnapshotTooManyRequestsErrorResponseBody
object
Too many requests
2 properties 2 required
TrailerStatReeferDoorStateZone2TypeResponseBody
object
The door state of the reefer.
2 properties 2 required
TrailerStatReeferDoorStateZone3TypeResponseBody
object
The door state of the reefer.
2 properties 2 required
TrailerStatReeferSetPointTemperatureMilliCZone1WithDecorationsTypeResponseBody
object
Set point temperature of zone 1 of the reefer.
3 properties 2 required
TrailerStatReeferAlarmTypeResponseBody
object
Alarms that have been emitted by the reefer.
2 properties 2 required
TrailerStatsGetTrailerStatsSnapshotInternalServerErrorResponseBody
object
An internal server error occurred
2 properties 2 required
TrailerStatsGetTrailerStatsFeedServiceUnavailableErrorResponseBody
object
Service unavailable
2 properties 2 required
TrailerStatReeferRunModeWithDecorationsTypeResponseBody
object
The run mode of the reefer.
3 properties 2 required
TrailerStatsGetTrailerStatsHistoryGatewayTimeoutErrorResponseBody
object
Gateway timeout
2 properties 2 required
TrailerStatsGetTrailerStatsHistoryInternalServerErrorResponseBody
object
An internal server error occurred
2 properties 2 required
TrailerStatReeferSupplyAirTemperatureMilliCZone1TypeResponseBody
object
Supply or discharge air temperature of zone 2 of the reefer. This is the temperature of the air as it leaves the cooling unit.
2 properties 2 required
TrailerStatsGetTrailerStatsHistoryUnauthorizedErrorResponseBody
object
Unauthorized
2 properties 2 required
TrailerStatReeferReturnAirTemperatureMilliCZone2TypeResponseBody
object
Return air temperature of zone 2 of the reefer. This is the temperature of the air as it enters the cooling unit.
2 properties 2 required
TrailerStatsGetTrailerStatsHistoryTooManyRequestsErrorResponseBody
object
Too many requests
2 properties 2 required
TrailerStatReeferAlarmResponseBody
object
4 properties 4 required
TrailerStatReeferReturnAirTemperatureMilliCZone1TypeResponseBody
object
Return air temperature of zone 1 of the reefer. This is the temperature of the air as it enters the cooling unit.
2 properties 2 required
TrailerStatsGetTrailerStatsFeedResponseBody
object
2 properties 2 required
TrailerStatsGetTrailerStatsHistoryResponseBody
object
2 properties 2 required
TrailerStatGpsWithDecorationsTypeResponseBody
object
GPS location data for the trailer.
7 properties 3 required
TrailerStatReeferSetPointTemperatureMilliCZone3TypeResponseBody
object
Set point temperature of zone 3 of the reefer.
2 properties 2 required
TrailerStatsGetTrailerStatsFeedGatewayTimeoutErrorResponseBody
object
Gateway timeout
2 properties 2 required
TrailerStatsGetTrailerStatsHistoryMethodNotAllowedErrorResponseBody
object
Method not allowed
2 properties 2 required
TrailerStatsGetTrailerStatsSnapshotBadGatewayErrorResponseBody
object
Bad Gateway
2 properties 2 required
TrailerStatReeferStateZone3TypeResponseBody
object
Reefer state event.
3 properties 2 required
TrailerStatReeferSupplyAirTemperatureMilliCZone2TypeResponseBody
object
Supply or discharge air temperature of zone 2 of the reefer. This is the temperature of the air as it leaves the cooling unit.
2 properties 2 required
TrailerStatsGetTrailerStatsSnapshotNotFoundErrorResponseBody
object
Resource not found
2 properties 2 required
TrailerStatReeferStateZone1WithDecorationsTypeResponseBody
object
Reefer state event.
4 properties 2 required
TrailerStatReeferObdEngineSecondsTypeResponseBody
object
Reefer onboard engine seconds reading.
2 properties 2 required
TrailerStatReeferAlarmWithDecorationsTypeResponseBody
object
Alarms that have been emitted by the reefer.
3 properties 2 required
TrailerStatsGetTrailerStatsFeedUnauthorizedErrorResponseBody
object
Unauthorized
2 properties 2 required
TrailerStatsGetTrailerStatsFeedNotImplementedErrorResponseBody
object
Requested endpoint is not yet implemented
2 properties 2 required
TrailerStatGpsTypeResponseBody
object
GPS location data for the trailer.
6 properties 3 required
TrailerStatGpsOdometerMetersWithDecorationsTypeResponseBody
object
Trailer GPS odometer event.
3 properties 2 required
TrailerStatReeferReturnAirTemperatureMilliCZone1WithDecorationsTypeResponseBody
object
Return air temperature of zone 1 of the reefer. This is the temperature of the air as it enters the cooling unit.
3 properties 2 required
TrailerStatsGetTrailerStatsFeedTooManyRequestsErrorResponseBody
object
Too many requests
2 properties 2 required
TrailerStatReeferSetPointTemperatureMilliCZone2TypeResponseBody
object
Set point temperature of zone 2 of the reefer.
2 properties 2 required
ReverseGeoObjectResponseBody
object
Reverse geocoded information
1 property
TrailerStatsGetTrailerStatsFeedInternalServerErrorResponseBody
object
An internal server error occurred
2 properties 2 required
TrailerStatReeferStateZone2WithDecorationsTypeResponseBody
object
Reefer state event.
4 properties 2 required
TrailerStatReeferSupplyAirTemperatureMilliCZone2WithDecorationsTypeResponseBody
object
Supply or discharge air temperature of zone 2 of the reefer. This is the temperature of the air as it leaves the cooling unit.
3 properties 2 required
TrailerStatsGetTrailerStatsSnapshotUnauthorizedErrorResponseBody
object
Unauthorized
2 properties 2 required
TrailerStatReeferDoorStateZone1TypeResponseBody
object
The door state of the reefer.
2 properties 2 required
TrailerStatsGetTrailerStatsSnapshotMethodNotAllowedErrorResponseBody
object
Method not allowed
2 properties 2 required
TrailerStatReeferReturnAirTemperatureMilliCZone3TypeResponseBody
object
Return air temperature of zone 3 of the reefer. This is the temperature of the air as it enters the cooling unit.
2 properties 2 required
TrailerStatsGetTrailerStatsFeedNotFoundErrorResponseBody
object
Resource not found
2 properties 2 required
TrailerStatsGetTrailerStatsSnapshotServiceUnavailableErrorResponseBody
object
Service unavailable
2 properties 2 required
TrailerStatReeferStateTypeResponseBody
object
Reefer state event.
3 properties 2 required
TrailerStatsGetTrailerStatsSnapshotGatewayTimeoutErrorResponseBody
object
Gateway timeout
2 properties 2 required
TrailerStatReeferFuelPercentWithDecorationsTypeResponseBody
object
The fuel percentage of the reefer.
3 properties 2 required
TrailerStatsGetTrailerStatsHistoryBadRequestErrorResponseBody
object
Bad Request parameters
2 properties 2 required
TrailerStatReeferStateZone1TypeResponseBody
object
Reefer state event.
3 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

samsara-statistics-api-openapi.yml Raw ↑

Other APIs Samsara publishes across the network.

Samsara Activity API
Samsara Addresses API
Samsara Aemp API
Samsara Applications API
Samsara Assets API
Samsara Assignments API
Samsara Attributes API
Samsara Audit API
Samsara Beta A P Is API
Samsara Camera API
Samsara Cameras API
Samsara Cargo API
Where this information came from

This is an independent, third-party profile of Samsara Statistics API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.