List entities with label
labels_list_entities_with_labelList all entities assigned a specific label to find everything tagged with that label, useful before bulk actions. Requires a label ID from the label registry.
Instructions
List entities that currently have a given label assigned.
Reads the entity registry over WebSocket and keeps rows whose labels
list contains label_id.
Use when: finding everything tagged with one label, e.g. before a bulk
action.
Returns: list of entity registry dicts that have the label.
Errors: on a WS failure, returns [{"error": "<message>"}] instead of
raising.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label_id | Yes | Label registry ID to filter by; obtain it from labels_list_labels. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |