ThingsBoard icon

ThingsBoard

Interact with ThingsBoard REST API

Alarm → Get by ID

AI-generated

Summary

Fetch a single alarm by its ID from ThingsBoard.

Inputs

  • authentication (required) — Authentication method (API Key or Username/Password) for ThingsBoard connection.
  • alarmId (required) — The unique identifier of the alarm to retrieve, e.g., "784f394c-42b6-435a-983c-b7beff2784f9".

Output shape

a single alarm object

Returns the JSON representation of the alarm returned by ThingsBoard; errors are raised as node errors.

Examples

Example 1: Retrieve alarm details for a known alarm ID

authentication: API Key; alarmId: 784f394c-42b6-435a-983c-b7beff2784f9

Example 2: Get alarm using ID stored in a preceding node

authentication: Username / Password; alarmId: ${previousNode.outData.alarmId}

Links

Discussion