Skip to main content
GET
List facts by a searchable reference

Authorizations

Authorization
string
header
required

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

referenceType
string
required

Reference type to list by, dotted and lower-case; it must be registered as searchable.

Required string length: 1 - 128
Example:

"acme.order_id"

referenceValue
string
required

Reference value to list by: always the clear value, also for a protected type.

Required string length: 1 - 512
Example:

"ORD-2026-000123"

occurredFrom
string<date-time>

Inclusive lower bound on the fact's occurredAt, as an RFC 3339 timestamp.

occurredTo
string<date-time>

Exclusive upper bound on the fact's occurredAt, as an RFC 3339 timestamp; it must be after occurredFrom.

limit
integer<int64>
default:50

Items per page, from 1 to 100. Default 50.

Required range: 1 <= x <= 100
cursor
string

Opaque nextCursor of the previous page; omit it to read the first page.

Maximum string length: 1024
include
enum<string>

Set it to flow to add each item's flow summary (createdAt, updatedAt). Allowed values: flow.

Available options:
flow
Example:

"flow"

Response

One page of matched facts, each with its current flow, empty when nothing matches; nextCursor is omitted on the last page.

items
object[] | null
required

One item per matched fact, ordered by occurredAt, ties in a stable server order.

limit
integer<int64>
required

Page size applied, after the default and the maximum.

nextCursor
string

Opaque cursor of the next page: send it back as cursor. Omitted on the last page.