Samsara Hos API is one of 90 APIs that Samsara publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include HOS. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a GitHub repository.
This API exposes
6 operations
across 6 paths,
and defines 61 schemas.
It is described by OpenAPI 3.2.0, at version 2024-11-18.
Requests are made against 2 base URLs: https://api.samsara.com/, https://api.eu.samsara.com/.
The identity and technical contract details declared by the specification.
HosDailyLogsGetHosDailyLogsBadRequestErrorResponseBody
object
Bad Request parameters
2 properties
2 required
standardErrorResponse
object
Error response
2 properties
HosLogsList
array
List of HOS log entries.
HosBreak
object
Remaining durations for the HOS rest break requirement.
1 property
HosLogEntry
object
A single HOS log entry.
7 properties
1 required
DriverRulesetObjectResponseBody
object
5 properties
HosViolationsGetHosViolationsBadGatewayErrorResponseBody
object
Bad Gateway
2 properties
2 required
HosViolationsGetHosViolationsNotFoundErrorResponseBody
object
Resource not found
2 properties
2 required
HosDailyLogsGetHosDailyLogsInternalServerErrorResponseBody
object
An internal server error occurred
2 properties
2 required
HosClocks
object
Remaining durations and start times (where applicable) for various HOS rules. See [this page](https://www.samsara.com/fleet/eld-compliance/hours-of-service) fo…
4 properties
LogMetaDataObjectResponseBody
object
The metadata of the log.
13 properties
HosClocksForDriver
object
HOS clock values for a specific driver, including remaining times and violations.
5 properties
HosDailyLogsGetHosDailyLogsNotImplementedErrorResponseBody
object
Requested endpoint is not yet implemented
2 properties
2 required
PendingDutyStatusDurationsObjectResponseBody
object
What the duty status durations on the drivers log would be if all pending carrier edits are accepted by the driver.
8 properties
paginationResponse
object
Pagination parameters.
2 properties
2 required
HosDailyLogsObjectResponseBody
object
7 properties
3 required
DistanceTraveledObjectResponseBody
object
The distance traveled information of the log.
3 properties
HosViolationsGetHosViolationsBadRequestErrorResponseBody
object
Bad Request parameters
2 properties
2 required
HosViolationsGetHosViolationsMethodNotAllowedErrorResponseBody
object
Method not allowed
2 properties
2 required
GoaPaginationResponseResponseBody
object
Pagination parameters.
2 properties
2 required
HosClocksResponse
object
Drivers HOS clocks and pagination info.
2 properties
2 required
VehicleResponseResponseBody
object
A vehicle object
6 properties
HosViolationsGetHosViolationsUnauthorizedErrorResponseBody
object
Unauthorized
2 properties
2 required
driverTinyResponse
object
A minified driver object.
2 properties
HosShift
object
Remaining durations and start time for the HOS on duty shift limits.
1 property
HosViolationDayObjectResponseBody
object
2 properties
2 required
HosViolationsGetHosViolationsResponseBody
object
2 properties
2 required
CurrentDutyStatus
object
The current HOS status type and time the driver started being in this status.
1 property
V1HosAuthenticationLogsResponse_authenticationLogs
object
6 properties
DriverWithTimezoneEldSettingsObjectResponseBody
object
The driver the log applies to.
5 properties
2 required
HosLogsForDriver
object
List of HOS logs for a driver.
2 properties
HosClocksForDrivers
array
List of HOS clocks for the specified drivers.
HosViolationsGetHosViolationsServiceUnavailableErrorResponseBody
object
Service unavailable
2 properties
2 required
HosDailyLogsGetHosDailyLogsNotFoundErrorResponseBody
object
Resource not found
2 properties
2 required
HosDrive
object
Remaining durations for the HOS driving shift limits.
1 property
HosDailyLogsGetHosDailyLogsServiceUnavailableErrorResponseBody
object
Service unavailable
2 properties
2 required
inline_object_1
object
5 properties
1 required
HosViolationsGetHosViolationsTooManyRequestsErrorResponseBody
object
Too many requests
2 properties
2 required
HosViolationsObjectResponseBody
object
1 property
1 required
HosViolationsGetHosViolationsNotImplementedErrorResponseBody
object
Requested endpoint is not yet implemented
2 properties
2 required
V1ErrorResponse
string
Error message describing why the request failed.
HosLogLocation
object
Location associated with the duty status change
2 properties
2 required
HosDailyLogsGetHosDailyLogsTooManyRequestsErrorResponseBody
object
Too many requests
2 properties
2 required
HosViolationsGetHosViolationsInternalServerErrorResponseBody
object
An internal server error occurred
2 properties
2 required
time
string
UTC timestamp in RFC 3339 format. Example: 2020-01-27T07:06:25Z.
HosDailyLogsGetHosDailyLogsBadGatewayErrorResponseBody
object
Bad Gateway
2 properties
2 required
vehicleTinyResponse
object
A minified vehicle object.
3 properties
DutyStatusDurationObjectResponseBody
object
The currently applied duty status durations on the driver's log.
8 properties
HosCycle
object
Remaining durations and start time for the HOS driving cycle.
3 properties
HosViolations
object
Durations the driver has been in violation of HOS rules. See [this page](https://www.samsara.com/fleet/eld-compliance/hours-of-service) for more information on…
2 properties
HosLogsForDrivers
array
List of HOS logs for the specified drivers.
HosDailyLogsGetHosDailyLogsResponseBody
object
2 properties
2 required
GoaDriverTinyResponseResponseBody
object
A minified driver object. This object is only returned if the route is assigned to the driver.
3 properties
1 required
HosViolationObjectResponseBody
object
6 properties
6 required
V1HosAuthenticationLogsResponse
object
1 property
HosViolationsGetHosViolationsGatewayTimeoutErrorResponseBody
object
Gateway timeout
2 properties
2 required
HosLogsResponse
object
HOS logs and pagination info.
2 properties
2 required
HosDailyLogsGetHosDailyLogsUnauthorizedErrorResponseBody
object
Unauthorized
2 properties
2 required
HosDailyLogsGetHosDailyLogsMethodNotAllowedErrorResponseBody
object
Method not allowed
2 properties
2 required
HosDailyLogsGetHosDailyLogsGatewayTimeoutErrorResponseBody
object
Gateway timeout
2 properties
2 required
EldSettingsObjectResponseBody
object
The driver's ELD settings.
1 property
The full machine-readable OpenAPI contract behind this narrative.
Other APIs Samsara publishes across the network.