Actions60
- Alarm Actions
- Asset Actions
- Customer Actions
- Dashboard Actions
- Device Actions
- Entity Group Actions
- Relation Actions
- Telemetry Actions
Relation → By From
AI-generatedSummary
Retrieves all relations originating from a specified entity.
Inputs
- fromId (required) — The entity ID to query relations from (e.g., a device ID).
- fromType (required) — The entity type for the fromId (e.g., DEVICE).
Output shape
A list of relation objects.
Returns relations where the current entity is the 'from' endpoint; does not require a relation type.
Examples
Example 1: Find all devices connected to a specific asset.
Resource: Relation, Operation: By From; fromType: ASSET, fromId: [Asset ID]
Example 2: List all entities a specific device is linked to.
Resource: Relation, Operation: By From; fromType: DEVICE, fromId: [Device ID]