This endpoint is still on our legacy API.
Fetch runs.
Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.
To use this endpoint, select Read Industrial under the Industrial category when creating or editing an API token. Learn More.
curl --request GET \
--url https://api.samsara.com/v1/industrial/vision/runs \
--header 'Authorization: Bearer <token>'{
"visionRuns": [
{
"deviceId": 1234512345123,
"endedAtMs": 0,
"programId": 1,
"reportMetadata": {
"itemsPerMinute": 0.1,
"noReadCount": 181,
"rejectCount": 0,
"successCount": 181
},
"startedAtMs": 1553808606097
}
]
}Documentation Index
Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
DurationMs is a required param. This works with the EndMs parameter. Indicates the duration in which the visionRuns will be fetched
EndMs is an optional param. It will default to the current time.
Return runs.
Show child attributes
curl --request GET \
--url https://api.samsara.com/v1/industrial/vision/runs \
--header 'Authorization: Bearer <token>'{
"visionRuns": [
{
"deviceId": 1234512345123,
"endedAtMs": 0,
"programId": 1,
"reportMetadata": {
"itemsPerMinute": 0.1,
"noReadCount": 181,
"rejectCount": 0,
"successCount": 181
},
"startedAtMs": 1553808606097
}
]
}