Samsara · Example Payload

Samsara List Safety Events Example

Asset TrackingConnected OperationsELDFleet ManagementGPS TrackingIoTLogisticsSafetyTelematicsTransportation

Samsara List Safety Events Example is an example object payload from Samsara, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://api.samsara.com/fleet/safety/events",
    "headers": {
      "Authorization": "Bearer <your-api-token>",
      "Accept": "application/json"
    },
    "parameters": {
      "startTime": "2026-04-01T00:00:00Z",
      "endTime": "2026-04-30T23:59:59Z",
      "driverIds": "555123,555124"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "data": [
        {
          "id": "1000000",
          "eventType": "harshBrake",
          "time": "2026-04-15T14:23:11Z",
          "severity": "medium",
          "coachingState": "needs_review",
          "speedMilesPerHour": 58.3,
          "driver": {
            "id": "555123",
            "name": "Jane Smith"
          },
          "vehicle": {
            "id": "281474978683890",
            "name": "Truck 1"
          },
          "location": {
            "latitude": 32.7767,
            "longitude": -96.7970,
            "formattedAddress": "I-635 near Dallas, TX"
          }
        },
        {
          "id": "1000001",
          "eventType": "speeding",
          "time": "2026-04-18T09:45:00Z",
          "severity": "high",
          "coachingState": "needs_review",
          "speedMilesPerHour": 82.5,
          "driver": {
            "id": "555124",
            "name": "John Doe"
          },
          "vehicle": {
            "id": "281474978683891",
            "name": "Van 2"
          },
          "location": {
            "latitude": 29.7604,
            "longitude": -95.3698,
            "formattedAddress": "US-290 near Houston, TX"
          }
        }
      ],
      "pagination": {
        "endCursor": "MTAwMDAwMQ==",
        "hasNextPage": false
      }
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/samsara-list-safety-events-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.