FilterOptions
FilterOptions =
object
Filters accepted by client.thing.query and related list operations.
Properties
Section titled “Properties”shape?
Section titled “shape?”
optionalshape?:string
Filter to records of this shape name (for example Player).
declaredShape?
Section titled “declaredShape?”
optionaldeclaredShape?:string
Filter to records that directly declare this Shape.
shapeless?
Section titled “shapeless?”
optionalshapeless?:boolean
Only records no Shape certifies (never a Shape itself), to find
unstructured data. Exclusive with shape and declaredShape; not
available with match, scoped tokens, or sinceGraphSeq.
includeValidatedShapes?
Section titled “includeValidatedShapes?”
optionalincludeValidatedShapes?:boolean
Include the full certified Shape closure on each returned item.
optionalkind?:(typeof READ_KIND_FILTERS)[number]
Filter to records of this kind. Results project only shape or thing;
assertion and collection remain input aliases during their retirement
windows. Assertions carry aboutWref + affirmedWrefs; collections carry
collections.
about?
Section titled “about?”
optionalabout?:string
Filter assertions whose about target wref matches the supplied value.
affirmedAbout?
Section titled “affirmedAbout?”
optionalaffirmedAbout?:string
Filter to active assertions whose current version affirms exactly this
pinned target version (Shape/name@vN). Pinned-only. Works with match
globs, scoped tokens, search, and count: candidates come from the
search index, membership is decided in PostgreSQL before pagination.
match?
Section titled “match?”
optionalmatch?:string
Glob pattern matched against record names (for example Player/*).
includeRetracted?
Section titled “includeRetracted?”
optionalincludeRetracted?:boolean
Include retracted versions in the result set.
limit?
Section titled “limit?”
optionallimit?:number
Maximum records returned per page.
cursor?
Section titled “cursor?”
optionalcursor?:string
Pagination cursor returned by the prior call.
componentRef?
Section titled “componentRef?”
optionalcomponentRef?:string
Filter to records attributed to this installed component’s Org/Name ref.
excludeComponents?
Section titled “excludeComponents?”
optionalexcludeComponents?:boolean
Exclude records attributed to any component.
excludeInfraShapes?
Section titled “excludeInfraShapes?”
optionalexcludeInfraShapes?:boolean
Exclude internal infrastructure shapes from the result set.
resolveCollections?
Section titled “resolveCollections?”
optionalresolveCollections?:boolean
Expand collection targets to their members in the result.
optionalrole?:"from"|"to"|"ends"
Keep collection-resolved assertions where the target occupies this role.
where?
Section titled “where?”
optionalwhere?:WherePredicate[]
Field-value WHERE predicates (ANDed). Each predicate must target a pinned/ready field for typed-index routing; unavailable or unindexable fields return a machine-readable field-index error. Up to 8 predicates per call.
sinceGraphSeq?
Section titled “sinceGraphSeq?”
optionalsinceGraphSeq?:number
Strict lower graph sequence for an incremental scan; -1 seeds a complete snapshot.