{
"opencollection": "1.0.0",
"info": {
"name": "Samsara Attributes API",
"version": "2024-11-18"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "Attributes",
"type": "folder"
},
"items": [
{
"info": {
"name": "List All Attributes by Entity Type",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.samsara.com/attributes",
"params": [
{
"name": "entityType",
"value": "",
"type": "query",
"description": "Denotes the type of entity, driver or asset."
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "The limit for how many objects will be in the response. Default and max for this value is 512 objects."
},
{
"name": "after",
"value": "",
"type": "query",
"description": "If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results."
}
]
},
"docs": "Fetch all attributes in an organization associated with either drivers or assets. \n\n **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.\n\nTo use this endpoint, select **Read Attributes** und"
},
{
"info": {
"name": "Create an Attribute",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.samsara.com/attributes",
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Creates a new attribute in the organization. \n\n **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.\n\nTo use this endpoint, select **Write Attributes** under the Setup & Administration catego"
},
{
"info": {
"name": "Retrieve an Attribute",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.samsara.com/attributes/:id",
"params": [
{
"name": "id",
"value": "",
"type": "path",
"description": "Samsara-provided UUID of the attribute."
},
{
"name": "entityType",
"value": "",
"type": "query",
"description": "Denotes the type of entity, driver or asset."
}
]
},
"docs": "Fetch an attribute by id, including all of its applications. \n\n **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.\n\nTo use this endpoint, select **Read Attributes** under the Setup & Admini"
},
{
"info": {
"name": "Update an Attribute",
"type": "http"
},
"http": {
"method": "PATCH",
"url": "https://api.samsara.com/attributes/:id",
"params": [
{
"name": "id",
"value": "",
"type": "path",
"description": "Samsara-provided UUID of the attribute."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Updates an attribute in the organization. \n\n **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.\n\nTo use this endpoint, select **Write Attributes** under the Setup & Administration category "
},
{
"info": {
"name": "Deleting an Attribute",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.samsara.com/attributes/:id",
"params": [
{
"name": "id",
"value": "",
"type": "path",
"description": "Samsara-provided UUID of the attribute."
},
{
"name": "entityType",
"value": "",
"type": "query",
"description": "Denotes the type of entity, driver or asset."
}
]
},
"docs": "Delete an attribute by id, including all of its applications. \n\n **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.\n\nTo use this endpoint, select **Write Attributes** under the Setup & Admi"
}
]
}
],
"bundled": true
}