ThingsBoard icon

ThingsBoard

Interact with ThingsBoard REST API

Telemetry → Timeseries Keys

AI-generated

Summary

Retrieves the set of unique timeseries key names for a specified ThingsBoard entity.

Inputs

  • entityId (required) — A string value representing the entity ID (e.g., '784f394c-42b6-435a-983c-b7beff2784f9').
  • entityType — A string value representing the entity type. Defaults to 'DEVICE'.

Output shape

a list of unique timeseries key names (strings) for the specified entity, wrapped in a 'timeseriesKeys' array.

Returns only the names of the keys, not the actual data points or timestamps.

Examples

Example 1: List all timeseries keys for a device with ID 'device-123' to explore available telemetry data.

Entity ID: device-123, Entity Type: DEVICE

Example 2: Get timeseries keys for an asset to understand what historical data is available for analysis.

Entity ID: asset-456, Entity Type: ASSET

Links

Discussion