Actions60
- Alarm Actions
- Asset Actions
- Customer Actions
- Dashboard Actions
- Device Actions
- Entity Group Actions
- Relation Actions
- Telemetry Actions
Relation → Info by From
AI-generatedSummary
Retrieves relation information for entities that are referenced by a specified entity in the 'from' direction.
Inputs
- fromId (required) — The entity ID to query relations for (e.g., '784f394c-42b6-435a-983c-b7beff2784f9').
- fromType (required) — The entity type (e.g., 'DEVICE', 'ASSET', 'CUSTOMER'). Defaults to 'DEVICE' if not specified.
- authentication — Authentication method to use ('apiKey' or 'usernamePassword'). Defaults to 'apiKey'.
Output shape
A list of items, each containing relation information (e.g., 'to' entity details, relation type, or metadata).
Returns data from the ThingsBoard API endpoint '/api/relations/info'. The exact structure depends on the API response.
Examples
Example 1: Get all relations where a Device is the source entity.
Resource: Relation, Operation: Info by From, From ID:
Example 2: Find relations originating from a specific Customer.
Resource: Relation, Operation: Info by From, From ID: