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 Logs API

The Logs API from Samsara — 4 operation(s) for logs.

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

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

This API exposes 4 operations across 4 paths, and defines 61 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/.

4 operations 4 paths 61 schemas 3 GET1 PATCH

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 Logs API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (AccessTokenHeader). By default, every request must be authenticated.

Paths & Operations 4

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

Logs 4
GET
/fleet/hos/daily-logs
Get All Driver HOS Daily Logs
getHosDailyLogs 8 params → 200401404405429500501502
GET
/fleet/routes/audit-logs/feed
Get Route Updates
getRoutesFeed 2 params → 200401404405429500501502
PATCH
/hos/daily-logs/log-meta-data
[beta] Update the ShippingDocs Field of an Existing Assignment.
updateShippingDocs 2 params body → 200401404405429500501502
GET
/v1/fleet/hos_authentication_logs
Get HOS Signin and Signout
V1getFleetHosAuthenticationLogs 3 params → 200default

Schemas 61

The contract defines 61 schemas that model the data the API accepts and returns. The most detailed are RoutesStopResponseObjectResponseBody (19 properties), LogMetaDataObjectResponseBody (13 properties), baseRouteResponseObjectResponseBody (13 properties), MinimalRouteStopAuditLogsResponseBody (11 properties). Each schema is shown below with its type and property counts.

RoutesGetRoutesFeedServiceUnavailableErrorResponseBody
object
Service unavailable
2 properties 2 required
HosDailyLogsUpdateShippingDocsTooManyRequestsErrorResponseBody
object
Too many requests
2 properties 2 required
V1ErrorResponse
string
Error message describing why the request failed.
HosDailyLogsGetHosDailyLogsBadGatewayErrorResponseBody
object
Bad Gateway
2 properties 2 required
HosDailyLogsGetHosDailyLogsNotImplementedErrorResponseBody
object
Requested endpoint is not yet implemented
2 properties 2 required
baseRouteResponseObjectResponseBody
object
13 properties 1 required
HosDailyLogsGetHosDailyLogsNotFoundErrorResponseBody
object
Resource not found
2 properties 2 required
RoutesGetRoutesFeedInternalServerErrorResponseBody
object
An internal server error occurred
2 properties 2 required
VehicleResponseResponseBody
object
A vehicle object
6 properties
HosDailyLogsGetHosDailyLogsTooManyRequestsErrorResponseBody
object
Too many requests
2 properties 2 required
HosDailyLogsGetHosDailyLogsResponseBody
object
2 properties 2 required
RoutesGetRoutesFeedTooManyRequestsErrorResponseBody
object
Too many requests
2 properties 2 required
DriverWithTimezoneEldSettingsObjectResponseBody
object
The driver the log applies to.
5 properties 2 required
RouteChangesResponseBody
object
A diff of the changes for a route update.
2 properties 2 required
HosDailyLogsUpdateShippingDocsServiceUnavailableErrorResponseBody
object
Service unavailable
2 properties 2 required
GoaPaginationResponseResponseBody
object
Pagination parameters.
2 properties 2 required
RoutesGetRoutesFeedBadGatewayErrorResponseBody
object
Bad Gateway
2 properties 2 required
HosDailyLogsUpdateShippingDocsRequestBody
object
Update the shippingDocs field.
1 property 1 required
HosDailyLogsGetHosDailyLogsInternalServerErrorResponseBody
object
An internal server error occurred
2 properties 2 required
V1HosAuthenticationLogsResponse_authenticationLogs
object
6 properties
RouteSettingsResponseBody
object
An optional dictionary, only necessary to override the defaults for route start and end conditions.
2 properties
DistanceTraveledObjectResponseBody
object
The distance traveled information of the log.
3 properties
RoutesGetRoutesFeedNotImplementedErrorResponseBody
object
Requested endpoint is not yet implemented
2 properties 2 required
MinimalRouteAuditLogsResponseBody
object
A single route. Only the fields that have changed are present in the response. All other fields, including the route id, will not be present in the response. F…
1 property
HosDailyLogsUpdateShippingDocsNotFoundErrorResponseBody
object
Resource not found
2 properties 2 required
HosDailyLogsUpdateShippingDocsInternalServerErrorResponseBody
object
An internal server error occurred
2 properties 2 required
RoutesStopResponseObjectResponseBody
object
19 properties 3 required
GoaAddressTinyResponseResponseBody
object
A minified Address object
3 properties 2 required
RoutesGetRoutesFeedMethodNotAllowedErrorResponseBody
object
Method not allowed
2 properties 2 required
LiveSharingLinkResponseObjectResponseBody
object
Live Sharing Link response object.
3 properties 2 required
RoutesGetRoutesFeedUnauthorizedErrorResponseBody
object
Unauthorized
2 properties 2 required
GoaVehicleTinyResponseResponseBody
object
A minified vehicle object. This object is only returned if the route is assigned to the vehicle.
3 properties
GoaDocumentTinyResponseResponseBody
object
A minified Document object
2 properties 1 required
HosDailyLogsGetHosDailyLogsServiceUnavailableErrorResponseBody
object
Service unavailable
2 properties 2 required
HosDailyLogsGetHosDailyLogsBadRequestErrorResponseBody
object
Bad Request parameters
2 properties 2 required
RoutesGetRoutesFeedGatewayTimeoutErrorResponseBody
object
Gateway timeout
2 properties 2 required
RouteFeedObjectResponseBody
object
Route feed object.
6 properties 5 required
HosDailyLogsGetHosDailyLogsGatewayTimeoutErrorResponseBody
object
Gateway timeout
2 properties 2 required
V1HosAuthenticationLogsResponse
object
1 property
HosDailyLogsUpdateShippingDocsResponseBody
object
1 property 1 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
EldSettingsObjectResponseBody
object
The driver's ELD settings.
1 property
RoutesGetRoutesFeedResponseBody
object
2 properties 2 required
RoutesGetRoutesFeedBadRequestErrorResponseBody
object
Bad Request parameters
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
DutyStatusDurationObjectResponseBody
object
The currently applied duty status durations on the driver's log.
8 properties
HosDailyLogsUpdateShippingDocsGatewayTimeoutErrorResponseBody
object
Gateway timeout
2 properties 2 required
HosDailyLogsUpdateShippingDocsBadRequestErrorResponseBody
object
Bad Request parameters
2 properties 2 required
DriverRulesetObjectResponseBody
object
5 properties
RoutesSingleUseAddressObjectResponseBody
object
This field is used to indicate stops along the route for which an address has not been persisted. This field is mutually exclusive with addressId.
3 properties 2 required
HosDailyLogsUpdateShippingDocsBadGatewayErrorResponseBody
object
Bad Gateway
2 properties 2 required
HosDailyLogsGetHosDailyLogsMethodNotAllowedErrorResponseBody
object
Method not allowed
2 properties 2 required
HosDailyLogsUpdateShippingDocsUnauthorizedErrorResponseBody
object
Unauthorized
2 properties 2 required
PatchShippingDocsResponseBodyResponseBody
object
Response after successfully updating the LogMetaData object.
10 properties
HosDailyLogsUpdateShippingDocsNotImplementedErrorResponseBody
object
Requested endpoint is not yet implemented
2 properties 2 required
LogMetaDataObjectResponseBody
object
The metadata of the log.
13 properties
MinimalRouteStopAuditLogsResponseBody
object
A single route stop for a route.
11 properties 1 required
HosDailyLogsGetHosDailyLogsUnauthorizedErrorResponseBody
object
Unauthorized
2 properties 2 required
HosDailyLogsObjectResponseBody
object
7 properties 3 required
HosDailyLogsUpdateShippingDocsMethodNotAllowedErrorResponseBody
object
Method not allowed
2 properties 2 required
RoutesGetRoutesFeedNotFoundErrorResponseBody
object
Resource not found
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

samsara-logs-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 Logs 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.