Writes values to multiple data outputs on an asset simultaneously. Only the provided data outputs will be updated.
Rate limit: 100 requests/min (learn more about rate limits here).
To use this endpoint, select Write Equipment Statistics under the Equipment category when creating or editing an API token. Learn More.
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.
curl --request PATCH \
--url https://api.samsara.com/industrial/assets/{id}/data-outputs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"values": ""
}'{
"data": [
{
"id": "8a9371af-82d1-4158-bf91-4ecc8d3a114c",
"statusCode": 200,
"errorMessage": "Failed to write to Device: GFRV-43N-VGX"
}
]
}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.
Asset ID
A map of data output IDs to values. All data outputs must belong to the same asset. Only the specified IDs will be written to.
""
OK response.
List of responses for each data output from the original request.
Show child attributes
curl --request PATCH \
--url https://api.samsara.com/industrial/assets/{id}/data-outputs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"values": ""
}'{
"data": [
{
"id": "8a9371af-82d1-4158-bf91-4ecc8d3a114c",
"statusCode": 200,
"errorMessage": "Failed to write to Device: GFRV-43N-VGX"
}
]
}