Actions60
- Alarm Actions
- Asset Actions
- Customer Actions
- Dashboard Actions
- Device Actions
- Entity Group Actions
- Relation Actions
- Telemetry Actions
Telemetry → Attribute Keys
AI-generatedSummary
Retrieve a list of unique attribute key names associated with a specified ThingsBoard entity.
Inputs
- entityId (required) — The unique ID of the target entity.
- entityType — The type of entity to query, such as DEVICE or ASSET. Defaults to DEVICE.
Output shape
An object with an attributeKeys property containing an array of attribute key name strings.
Returns an empty array under attributeKeys if no attribute keys exist for the specified entity.
Examples
Example 1: Get attribute keys for a specific device
Set Entity Type to DEVICE and Entity ID to 784f394c-42b6-435a-983c-b7beff2784f9.