List facts by a searchable reference
Lists every fact that carries a searchable reference, each with the flow it belongs to now.
Rules
- Only types registered with
searchable: true(seegetReferenceType). referenceValueis always the clear value, also for a protected type. Every other query parameter exceptoccurredFrom,occurredTo,limit,cursorandincludeis a scope key, matched by containment as infindFlowByReference.occurredFrom(inclusive) andoccurredTo(exclusive) are optional RFC 3339 bounds on the fact’soccurredAt;occurredFrommust be beforeoccurredTo.- One item per matched fact, ordered by
occurredAt, ties in a stable order;flowAggregationIdis its current flow, so a later merge shows at read time.include=flowadds each flow’screatedAtandupdatedAt. - Paged: pass
nextCursorascursor; it is omitted on the last page.limitis 1 to 100 (default 50). - Protected values come back protected;
facts:revealreturns encrypted ones in clear form and never refuses the request. See Sensitivity and protected values. Responses carryCache-Control: no-store.
Responses
200one page; an empty page when nothing matches, never404or409.422SF-0024not searchable;SF-0006an empty period, a malformed reference or cursor;SF-0092a schema mismatch.503SF-0094retry later.
Authorizations
JWT issued by the identity provider. A producer calls with a service credential issued for the tenant it sends facts for; a reader calls with a user token or a service credential. The tenant is always taken from the token, never from the request path, query or body.
Query Parameters
Reference type to list by, dotted and lower-case; it must be registered as searchable.
1 - 128"acme.order_id"
Reference value to list by: always the clear value, also for a protected type.
1 - 512"ORD-2026-000123"
Inclusive lower bound on the fact's occurredAt, as an RFC 3339 timestamp.
Exclusive upper bound on the fact's occurredAt, as an RFC 3339 timestamp; it must be after occurredFrom.
Items per page, from 1 to 100. Default 50.
1 <= x <= 100Opaque nextCursor of the previous page; omit it to read the first page.
1024Set it to flow to add each item's flow summary (createdAt, updatedAt). Allowed values: flow.
flow "flow"
Response
One page of matched facts, each with its current flow, empty when nothing matches; nextCursor is omitted on the last page.

