List devices
GET/workspaces/:id/devices
Paginated device list (API-Spec sections 4–5). Repeatable filter query params use the form field:op:value.
Soft-deleted devices are excluded by default; use filter=status:eq:deleted (or include deleted in status:in) to list them.
Filters (allowlist):
filter=status:eq:active— single status (active,disabled,deleted).filter=status:in:active,disabled— any of the listed statuses.filter=device_key:eq:my-device-1— exactdevice_keyin this workspace (same character rules as create).filter=device_key:prefix:sensor-— keys starting with the prefix (substring match; at most onedevice_keyfilter per request).filter=tags:eq:<key>=<value>— devices whosetagsJSON object contains the key with the exact string value. Repeat the filter to require multiple tag pairs (AND). Example:filter=tags:eq:.energy_modem_visible=true. Sort:sort=created_at,sort=-updated_at,sort=device_key,sort=-last_seen_at, etc. Allowed fields:created_at,updated_at,device_key,last_seen_at. Default:-created_at. Include:include_custom_attributes=trueembedscustom_attributesper device; when set,page_sizeis capped at 20.
Request
Responses
- 200
- 400
Paginated devices with optional embedded custom attributes.
Unknown filter field, invalid filter operator/value, or invalid sort.