Get machine history
🚧 This endpoint is still on our legacy API.
Get historical data for machine objects. This method returns a set of historical data for all machines.
Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
To use this endpoint, select Write Industrial under the Industrial category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
Request
- Base URLhttps://api.samsara.com
- AuthHTTP bearer
Request body
Example request
{
"endMs": 1462881998034,
"startMs": 1462878398034
}Response
List of machine results objects, each containing a time and a datapoint.
Example response
{
"machines": [
{
"id": 1,
"name": "1/3 HP Motor",
"vibrations": [
{
"X": 0.01,
"Y": 1.23,
"Z": 2.55,
"time": 1453449599999
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.