ThingsBoard icon

ThingsBoard

Interact with ThingsBoard REST API

Device → Get Many for Current User

AI-generated

Summary

Fetch a paginated list of devices accessible to the current user

Inputs

  • Authentication — Authentication method to use. Options: API Key or Username / Password. Default: API Key.
  • Page Size — Maximum amount of entities in a one page. Default: 10. Must be at least 1.
  • Page Number — Sequence number of page starting from 0. Default: 0.
  • Sort Order — Sort order (ASC or DESC). Default: DESC.
  • Type — Device type as the name of the device profile. Default: empty.
  • Text Search — Case‑insensitive substring filter based on the device name. Default: empty.
  • Sort Property — Property of entity to sort by. Options: createdTime, customerTitle, Label, Name, Type. Default: createdTime.

Output shape

a list of devices

Paginated using page and pageSize; optional filters (type, deviceTextSearch, sortProperty, sortOrder) apply; returns an empty array if no devices match; errors are propagated as node errors.

Examples

Example 1: Basic fetch of devices for the current user using default settings

resource=Device, operation=Get Many for Current User, authentication=apiKey, pageSize=10, page=0, sortOrder=DESC, sortProperty=createdTime

Example 2: Fetch devices of a specific type

resource=Device, operation=Get Many for Current User, type=Sensor, pageSize=5

Example 3: Search devices by name substring

resource=Device, operation=Get Many for Current User, deviceTextSearch=Gateway, page=1, sortOrder=ASC

Links

Discussion