ThingsBoard icon

ThingsBoard

Interact with ThingsBoard REST API

Entity Group → Get Many by Entity

AI-generated

Summary

Retrieves entity groups associated with a specific entity ID and group type.

Inputs

  • entityId (required) — A string value representing the entity ID (e.g., "784f394c-42b6-435a-983c-b7beff2784f9").
  • groupType (required) — The type of entity group to retrieve (e.g., DEVICE, ASSET, CUSTOMER).

Output shape

A list of entity group items returned by the ThingsBoard API.

The API response is paginated by default. Use 'Page Number' and 'Page Size' parameters to navigate results.

Examples

Example 1: Get all DEVICE entity groups for a specific device ID

Entity ID: 123e4567-e89b-12d3-a456-426614174000, Group Type: DEVICE

Example 2: Get ASSET entity groups for a specific asset ID

Entity ID: 789e4567-e89b-12d3-a456-426614174000, Group Type: ASSET

Links

Discussion