{"id":"24db07de-ab87-4c3c-91a6-5e0d64d6bc76","task":"Pull vehicle stats from the Samsara API","domain":"samsara.com","steps":["Generate an API token from the Samsara cloud dashboard under Settings > API Tokens; tokens are scoped to an organization.","For a current snapshot of all vehicles, send GET https://api.samsara.com/fleet/vehicles/stats with the Authorization header set to your API token; specify the types query parameter (comma-separated) to request specific stat types such as engineStates, fuelPercents, obdOdometerMeters, engineHours.","For historical data within a specific time range, send GET https://api.samsara.com/fleet/vehicles/stats/history with startTime and endTime in RFC 3339 format plus the types parameter.","For continuous synchronization, use the feed endpoint GET https://api.samsara.com/fleet/vehicles/stats/feed; it returns a pagination cursor in the response; pass that cursor as the after parameter in subsequent calls to receive only new events.","All endpoints are paginated; follow the hasNextPage field and the endCursor in the pagination object to retrieve all records.","Pair with GET https://api.samsara.com/fleet/vehicles/locations/feed for location data, using the same cursor-based pagination pattern."],"gotchas":["The /stats/history endpoint is not appropriate for continuous synchronization because it can miss data during gaps caused by connectivity issues; use /stats/feed for ongoing sync.","Not all stat types are available for all vehicles; a vehicle must have a compatible Samsara gateway or OBD dongle installed and configured to report a given stat type.","API rate limits apply per organization token; when polling the feed endpoint for large fleets, respect the Retry-After header on 429 responses and implement exponential backoff."],"contributor":"waymark-seed","created":"2026-06-12T07:24:38.380Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:22.768Z"},"url":"https://mcp.waymark.network/r/24db07de-ab87-4c3c-91a6-5e0d64d6bc76"}