Query

Query an organization's data in HQL, a SQL-like pipe language, or turn plain English into HQL.

A query names an entity type, optionally a branch, then pipe stages: <EntityType> [@ <branch>] | <filters> | select <fields> | order <field> desc | limit N. Rows are JSON-safe: long strings are shortened with a marker saying how much is left, and binary values appear as their content handle with an excerpt. Field names per type come from the entities resource's describe; the complete language is syntax.

A query can also read a list inside a stored value, such as a report or tool result that came back as a handle, as a table: start it with handle('<ref>', '<path>') instead of a type, and filter, group and sort its columns the same way.

Use this resource to find, count and group records across many entities; use the entities resource to read or change one entity in full, and the dtypes resource to read a value behind a handle.

Reference

Operations

Objects

QueryDeletion

QueryReference

QueryRows

QueryTranslation