Skip to content
Docs

List Devices

Returns a paginated list of all devices in the specified workspace.

GET /rest/v1/workspaces/{workspace_uuid}/devices
HeaderValue
AuthorizationBearer <YOUR_API_KEY>
Content-Typeapplication/json
ParameterTypeRequiredDescription
workspace_uuidStringYesUnique identifier of the workspace.
ParameterTypeRequiredDescription
searchStringNoSearch devices by name or identifier.
pageIntegerNoPage number to retrieve. Default: 1.
per_pageIntegerNoNumber of devices to return per page. Default: 20. Maximum: 50.
GET /rest/v1/workspaces/01kxcxpcgvdm1pacpfv1wxqqeh/devices?page=1&per_page=20
Authorization: Bearer <YOUR_API_KEY>

Status: 200 OK

{
"data": [
{
"uuid": "01kxcy4ga5350mb3jwbp9f7hj4",
"name": "Test",
"identifier": "TEST",
"description": "Test device",
"enabled_transformation": false,
"transformation_script": "return JSON.stringify(payload);",
"created_at": "2026-07-13T05:10:27.90936Z",
"updated_at": "2026-07-13T05:10:27.90936Z"
},
{
"uuid": "01kwbqcafvwxqdgqrpr8694e7r",
"name": "PLANT",
"identifier": "PLANT",
"description": "PLANT",
"enabled_transformation": false,
"transformation_script": "return JSON.stringify(payload);",
"created_at": "2026-06-30T07:37:27.803448Z",
"updated_at": "2026-06-30T07:37:27.803448Z"
}
],
"meta": {
"count": 2,
"message": "Devices fetched successfully",
"page": 1,
"per_page": 20,
"success": true
}
}
FieldDescription
uuidUnique identifier of the device.
nameName of the device.
identifierUnique identifier used to reference the device within the workspace.
descriptionDescription of the device.
enabled_transformationIndicates whether payload transformation is enabled for the device.
transformation_scriptTransformation script used to process incoming device payloads before ingestion.
created_atTimestamp when the device was created (UTC).
updated_atTimestamp of the most recent update (UTC).