Pular para o conteúdo principal
GET
Find the flow of a reference

Autorizações

Authorization
string
header
obrigatório

A JWT that Access Manager issues.

Parâmetros de consulta

referenceType
string
obrigatório

Registered reference type to look up, dotted and lower-case.

Required string length: 1 - 128
Exemplo:

"acme.order_id"

referenceValue
string
obrigatório

Reference value to look up: always the clear value, also for a protected type.

Required string length: 1 - 512
Exemplo:

"ORD-2026-000123"

factsLimit
integer<int64>
padrão:100

Facts per page, from 1 to 500. Default 100.

Intervalo obrigatório: 1 <= x <= 500
factsCursor
string

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

Maximum string length: 1024
namespace
string[] | null

Only facts whose namespace is one of these dotted names, comma-separated, up to 20. Empty or omitted matches every namespace.

Maximum array length: 20
Required string length: 1 - 128
Pattern: ^[a-z][a-z0-9_-]*(\.[a-z][a-z0-9_-]*)+$
Exemplo:
type
string[] | null

Only facts whose type is one of these dotted names, comma-separated, up to 20. Empty or omitted matches every type. ANDed with namespace.

Maximum array length: 20
Required string length: 1 - 128
Pattern: ^[a-z][a-z0-9_-]*(\.[a-z][a-z0-9_-]*)+$
Exemplo:

Resposta

The current flow of the reference and one page of its facts; it never carries merge. With namespace and/or type (comma-separated dotted names, up to 20 each, one value per key, never a repeated key), only facts whose namespace is in the first list AND whose type is in the second are returned; an empty or omitted list matches everything; values inside a list are OR. An unregistered value matches nothing and the page is empty. Resend the same filter with factsCursor on every page. createdAt and updatedAt describe the whole flow, not the filtered page.

createdAt
string<date-time>
obrigatório

When the flow was first created. RFC 3339, UTC.

facts
object
obrigatório

One page of the flow's facts.

flowAggregationId
string
obrigatório

Current id of the flow, assigned by the server and opaque. Store it in place of any absorbed id.

updatedAt
string<date-time>
obrigatório

When the flow record itself last changed; adding facts or merges does not change it, so today it equals createdAt. RFC 3339, UTC.

merge
object

Present only when the requested id was absorbed by a merge; replace any stored id with flowAggregationId.