Skip to main content
GET
Read a flow

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.

Path Parameters

flowAggregationId
string<uuid>
required

Id of the flow: its current id, or one a merge absorbed (the answer then carries the merge object).

Example:

"01a15493-bdf8-7c55-b0e2-6f4a1d9e7c33"

Query Parameters

factsLimit
integer<int64>
default:100

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

Required range: 1 <= x <= 500
factsCursor
string

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

Maximum string length: 1024

Response

The current flow and one page of its facts. merge is present only when the requested id was absorbed by a merge.

createdAt
string<date-time>
required

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

facts
object
required

One page of the flow's facts.

flowAggregationId
string
required

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

updatedAt
string<date-time>
required

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.