List Trailers
Retrieve all trailer records from Samsara with automatic pagination handling.
Operation
Section titled “Operation”listTrailers
Resource
Section titled “Resource”trailer
Parameters
Section titled “Parameters”This operation has no required parameters.
Options
Section titled “Options”| Option | Type | Default | Description |
|---|---|---|---|
| Tag IDs | string | - | Comma-separated list of tag IDs to filter trailers by |
| Include Debug Info | boolean | false | Whether to include metadata about the API request |
Response
Section titled “Response”Success
Section titled “Success”Returns an array of trailer records:
{ "id": "trailer_123", "name": "Trailer A", "serial": "TRL-001", "licensePlate": "TR-1234", "notes": "53ft dry van", "enabledForMobile": true}With debug info enabled:
{ "id": "trailer_123", "name": "Trailer A", "_metadata": { "totalTrailers": 15 }}{ "success": false, "error": "API rate limit exceeded"}Error Handling
Section titled “Error Handling”- Missing API Token: Samsara credential is missing apiToken
- Rate Limiting: API rate limit exceeded
- Permission Denied: API token lacks permission for this operation