Actions60
- Alarm Actions
- Asset Actions
- Customer Actions
- Dashboard Actions
- Device Actions
- Entity Group Actions
- Relation Actions
- Telemetry Actions
Telemetry → Attributes
AI-generatedSummary
Fetches attributes from a ThingsBoard entity by key.
Inputs
- entityId (required) — The ID of the entity (e.g., '784f394c-42b6-435a-983c-b7beff2784f9').
- entityType — The type of the entity (e.g., 'DEVICE'). Defaults to 'DEVICE'.
- keys (required) — Comma-separated list of attribute keys to fetch (e.g., 'temperature,status').
Output shape
A list of attribute key-value pairs for the specified entity.
Returns all keys if 'keys' is empty. Supports CLIENT_SCOPE for devices.
Examples
Example 1: Fetch current temperature and status from a device.
Entity Type: DEVICE, Keys: temperature,status
Example 2: Retrieve all attributes for a customer.
Entity Type: CUSTOMER, Keys: (empty)