Skip to main content

Documentation Index

Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Use these recipes as starting points for common integration tasks. Each recipe includes a runnable code sample and notes about the API behavior the script relies on.

Write VG Install Statuses to CSV File

Export Vehicle Gateway installation status data from the /gateways endpoint.

Creating a Route

Create a route with assigned drivers, registered addresses, and single-use stop locations.

Write Live Telematics Data to a CSV File

Follow the vehicle stats feed and write GPS readings with odometer decorations to CSV.

Export Route Status Report

Build a CSV report that mirrors route status and current stop information from the dashboard.

Custom Duty Status Report

Report on selected HOS duty status types and calculate distance driven for each entry.

HOS Exemption Report

Generate a CSV of HOS exemptions claimed over a date range.

OAuth 2.0

Implement OAuth authorization, token refresh, API calls, and token revocation.

Data Replication (Database/CSV)

Replicate vehicle stats and assignment data into SQLite or CSV.

Trip Export Report

Export historical trip data for multiple vehicles into a CSV file.