Interface: ListSortsQuery
@kortexya/reasoninglayer / ListSortsQuery
Interface: ListSortsQuery
Section titled “Interface: ListSortsQuery”Defined in: src/types/sorts.ts:1904
The window and the filters over GET /api/v1/sorts/tenant/{id}.
Remarks
Section titled “Remarks”A production tenant can own 1 M+ sorts (~500 MB uncompressed), which a
single response reliably fails to deliver — so limit + offset are how
a client streams the listing, and SortListResponse.total is how it
knows when to stop.
Properties
Section titled “Properties”includeSystem?
Section titled “includeSystem?”
optionalincludeSystem?:boolean
Defined in: src/types/sorts.ts:1917
Include system-defined sorts (Thing, Person, …).
Remarks
Section titled “Remarks”Omitted defaults to false for an ordinary caller and true for a
reserved-write-exempt one (policy_compiler / platform_admin). An
explicit false is honoured for every caller.
limit?
Section titled “limit?”
optionallimit?:number
Defined in: src/types/sorts.ts:1906
Max sorts to return. Omitted means no cap.
llmExtracted?
Section titled “llmExtracted?”
optionalllmExtracted?:boolean
Defined in: src/types/sorts.ts:1919
Only sorts an LLM extracted.
namePrefix?
Section titled “namePrefix?”
optionalnamePrefix?:string[]
Defined in: src/types/sorts.ts:1928
Only sorts whose name starts with one of these prefixes.
Remarks
Section titled “Remarks”Comma-joined onto the wire, so several prefixes cost one request.
needsReview?
Section titled “needsReview?”
optionalneedsReview?:boolean
Defined in: src/types/sorts.ts:1921
Only sorts flagged for human review.
offset?
Section titled “offset?”
optionaloffset?:number
Defined in: src/types/sorts.ts:1908
Zero-based index of the first sort returned.