ThingsBoard icon

ThingsBoard

Interact with ThingsBoard REST API

Asset → Get by Name

AI-generated

Summary

Search assets by name

Inputs

  • authentication — Authentication method to use (API Key or Username / Password)
  • assetName (required) — A string value representing the asset name. For example, "My Asset".

Output shape

array

Returns an array of assets matching the provided name; an empty array if no matches; errors are raised as node errors.

Examples

Example 1: Search for an asset named "Temperature Sensor"

Authentication: API Key; Resource: Asset; Operation: Get by Name; Asset Name: Temperature Sensor

Example 2: Find assets called "Sensor-001" using Username/Password auth

Authentication: Username / Password; Resource: Asset; Operation: Get by Name; Asset Name: Sensor-001

Links

Discussion