List entities of one type, optionally filtered with HQL
GET /Platform/entities/{entity_type}
List entities of one type, optionally filtered with HQL.
Response shape note: list wraps results as
{"items": [...], "total": n}; the single-entity get returns the
entity object at the TOP level (no items wrapper).
select returns PROJECTIONS: when filter carries a select
stage (status = "active" | select id, name) each item's
yaml_content holds ONLY the selected columns and the response
carries projected: true. Unselected fields are omitted — never
filled with class defaults — and commit_id / access /
computed are absent (use get for the full entity).
Path parameters
entity_type: str. Entity class name.
Query parameters
branch: optional str. Hilus branch (defaultmain).filter: optional str. HQL filter clause, e.g.status = "active".limit: optional int. Max entities to return (default 100).offset: optional int. Skip the first N entities (for pagination).values: optional bool. If true, each item also carries its fields as JSON invalues(the selected columns on aselectfilter).
Returns
EntityListResponse
entity_type: optional str or null. Entity class name.items: optional List[EntityResponse]. Matching entities, as YAML.total: optional int. Number of items returned.projected: optional bool. True when the filter had a select: each item holds only the selected fields.
Example request
curl -X GET "https://api.hilus.ai/Platform/entities/{entity_type}" \
-H "Authorization: Bearer $HILUS_API_KEY"