Samsara · Schema

Samsara Vehicle

Schema for a Samsara fleet vehicle entity as returned by the Samsara REST API. Represents a motorized vehicle tracked in the Samsara platform including cars, trucks, buses, and construction equipment.

Asset TrackingConnected OperationsELDFleet ManagementGPS TrackingIoTLogisticsSafetyTelematicsTransportation

Properties

Name Type Description
id string Unique Samsara-assigned identifier for the vehicle.
name string Human-readable name of the vehicle.
vin string Vehicle Identification Number (VIN).
externalIds object Customer-defined key-value pairs for external system identifiers.
make string Vehicle manufacturer (e.g., Ford, Kenworth, Freightliner).
model string Vehicle model name.
year integer Model year of the vehicle.
licensePlate string Vehicle license plate number.
notes string Freeform text notes about the vehicle.
tags array Tags assigned to this vehicle for organizational grouping.
eldSettings object ELD (Electronic Logging Device) configuration for this vehicle.
engineHours number Current engine hours reading.
odometerMeters integer Current odometer reading in meters.
staticAssignedDriver object Statically assigned driver for this vehicle (optional).
View JSON Schema on GitHub

JSON Schema

samsara-vehicle-schema.json Raw ↑
{
  "$id": "samsara-vehicle-schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Samsara Vehicle",
  "description": "Schema for a Samsara fleet vehicle entity as returned by the Samsara REST API. Represents a motorized vehicle tracked in the Samsara platform including cars, trucks, buses, and construction equipment.",
  "type": "object",
  "required": ["id", "name"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique Samsara-assigned identifier for the vehicle."
    },
    "name": {
      "type": "string",
      "description": "Human-readable name of the vehicle."
    },
    "vin": {
      "type": "string",
      "description": "Vehicle Identification Number (VIN).",
      "pattern": "^[A-HJ-NPR-Z0-9]{17}$"
    },
    "externalIds": {
      "type": "object",
      "description": "Customer-defined key-value pairs for external system identifiers.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "make": {
      "type": "string",
      "description": "Vehicle manufacturer (e.g., Ford, Kenworth, Freightliner)."
    },
    "model": {
      "type": "string",
      "description": "Vehicle model name."
    },
    "year": {
      "type": "integer",
      "description": "Model year of the vehicle.",
      "minimum": 1900,
      "maximum": 2100
    },
    "licensePlate": {
      "type": "string",
      "description": "Vehicle license plate number."
    },
    "notes": {
      "type": "string",
      "description": "Freeform text notes about the vehicle."
    },
    "tags": {
      "type": "array",
      "description": "Tags assigned to this vehicle for organizational grouping.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Tag ID."
          },
          "name": {
            "type": "string",
            "description": "Tag name."
          },
          "parentTagId": {
            "type": "string",
            "description": "ID of the parent tag in hierarchy."
          }
        }
      }
    },
    "eldSettings": {
      "type": "object",
      "description": "ELD (Electronic Logging Device) configuration for this vehicle.",
      "properties": {
        "eldExempt": {
          "type": "boolean",
          "description": "Whether this vehicle is exempt from ELD requirements."
        },
        "eldExemptReason": {
          "type": "string",
          "description": "Reason for ELD exemption if applicable."
        }
      }
    },
    "engineHours": {
      "type": "number",
      "description": "Current engine hours reading.",
      "minimum": 0
    },
    "odometerMeters": {
      "type": "integer",
      "description": "Current odometer reading in meters.",
      "minimum": 0
    },
    "staticAssignedDriver": {
      "type": "object",
      "description": "Statically assigned driver for this vehicle (optional).",
      "properties": {
        "id": {
          "type": "string",
          "description": "Driver ID."
        },
        "name": {
          "type": "string",
          "description": "Driver name."
        }
      }
    }
  },
  "additionalProperties": true
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/samsara-vehicle"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.