QueryStreamOptions
Options for queryStream. The public surface is deliberately small — the stream’s own
definition carries the source set, order, exclusions, projection, and expansion depth; a caller
supplies only paging, locale/ctx, and values for the filters the stream declares (an
undeclared key is 400 validation_failed).
Extends
Section titled “Extends”Properties
Section titled “Properties”
optionalctx?:ContextBag
The personalization context, server-resolved (the ReadOptions.ctx semantics).
cursor?
Section titled “cursor?”
optionalcursor?:string
Opaque — replay exactly as received; a stream-order change invalidates outstanding cursors (400 invalid_cursor; restart the listing).
filters?
Section titled “filters?”
optionalfilters?:Record<string,string| readonlystring[]>
Values for the stream’s declared filters, keyed by declared key (sent as filter.<key>=). An array repeats the parameter — OR within the key for string/category filters; a fullText filter takes exactly one value.
limit?
Section titled “limit?”
optionallimit?:number
1–100; the server defaults to 20.
locale?
Section titled “locale?”
optionallocale?:string
BCP-47 code — locale resolution plus the paths locale slot, the listComponents semantics.
referencePaths?
Section titled “referencePaths?”
optionalreferencePaths?:boolean
ReadOptions.referencePaths, on each item’s projected content. Item addresses are unconditional on a stream and need no option.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Inherited from
Section titled “Inherited from”
optionalsite?:string