Skip to content

RecordsQuery

optional cursor?: string


optional expand?: string[]

Reference field ids to follow; without it every reference is followed.

ExpansionOptions.expand


optional facets?: string[]

At most 5 facetable field ids, and/or model.


optional filters?: Record<string, FieldFilter>


optional generations?: number

0 to 5 hops of references to follow; default 0.

ExpansionOptions.generations


optional limit?: number

1 to 100; default 25.


optional model?: string

Lists this model’s records and those of every model that inherits from it. Required for filters, field sorts and facets.


optional search?: string


optional sort?: string

name (default), updated or a sortable field id; a leading - is descending.