{
"opencollection": "1.0.0",
"info": {
"name": "Samsara Trailer Assignments API",
"version": "2024-11-18"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "Trailer Assignments",
"type": "folder"
},
"items": [
{
"info": {
"name": "List Trailer Assignments for All Trailers",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.samsara.com/v1/fleet/trailers/assignments",
"params": [
{
"name": "startMs",
"value": "",
"type": "query",
"description": "Timestamp in Unix epoch miliseconds representing the start of the period to fetch. Omitting both startMs and endMs only returns current assignments."
},
{
"name": "endMs",
"value": "",
"type": "query",
"description": "Timestamp in Unix epoch miliseconds representing the end of the period to fetch. Omitting endMs sets endMs as the current time"
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "Pagination parameter indicating the number of results to return in this request. Used in conjunction with either 'startingAfter' or 'endingBefore'."
},
{
"name": "startingAfter",
"value": "",
"type": "query",
"description": "Pagination parameter indicating the cursor position to continue returning results after. Used in conjunction with the 'limit' parameter. Mutually exclusive with 'endingBefore' parameter."
},
{
"name": "endingBefore",
"value": "",
"type": "query",
"description": "Pagination parameter indicating the cursor position to return results before. Used in conjunction with the 'limit' parameter. Mutually exclusive with 'startingAfter' parameter."
}
]
},
"docs": "\n\n\nThis endpoint is still on our legacy API.\n\n\n\nFetch trailer assignment data for all trailers in your organization. \n\n Rate limit: 100 requests/sec (learn more about rate limits here). \n\n **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our