Get display names and labels for entity ids
POST /Platform/entities/{entity_type}/resolve-names
Get display names and labels for entity ids.
ids accepts a single id or a list. Returns
{"names": {"id": "display name"}, "labels": {"id": {...}}}. A label
has a title (never the id) and, when set, detail, status,
tone and when; the name is the label's title.
Path parameters
entity_type: str. Entity class name.
Body parameters
ids: optional str. A single id or a list of ids to resolve to display names.branch: optional str. Hilus branch (defaultmain).
Returns
ResolveNamesResponse
names: optional Dict[str, str]. Entity id to its display name (the label's title), never the id.labels: optional Dict[str, dict]. Entity id to its label: title, and when set detail, status, tone and when.
Example request
curl -X POST "https://api.hilus.ai/Platform/entities/{entity_type}/resolve-names" \
-H "Authorization: Bearer $HILUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'