Skip to main content
GET
Get trail moment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

flow_name
string
required

Name of a flow in the org

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9\.\-_~]*$
trail_name
string
required

Name of a trail in the flow

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9\.\-_~]*$
moment_expression
string
required

Which moment to get: latest, N (the moment with that moment_number), or @{YYYY-MM-DDTHH:MM:SS} (the newest one recorded at or before that UTC instant)

Example:

"latest"

org
string
required

Response

Successful Response

flow_name
string
required

Name of the flow the trail belongs to, as asked for

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9\.\-_~]*$
trail_name
string
required

Name of the trail

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9\.\-_~]*$
moment_number
integer
required

Address of this moment within the trail's series

created_at
number
required

Unix timestamp at which the moment was recorded

template_id
string
required

Id of the flow template the moment was evaluated against

compliance_status
Compliance Status · object
required

Compliance slots as at the moment, keyed by attestation name so a policy can address one, each entry carrying the fields of its stored attestation. Untyped because a joined body carries whatever fields its attestation type defines.

event
TrailStartedEventResponse · object
required

The trail's newest event of a type that records a moment, at or before the moment's created_at: the one that recorded it, shaped as the trail's event listing shapes it, so its is_latest and type_mismatch describe the trail now rather than at the moment. Null when the trail has no event that early. Not part of a policy's input: remove it before using a fetched moment as a policy's test input.