Skip to main content
POST
Replay

Authorizations

Authorization
string
header
required

A token from the identity provider your deployment federates with. It identifies a person; their roles in the workspace decide what they may do.

Body

application/json

A hypothetical policy, and the window of real history to test it against.

proposal
Proposal · object
grant_id
string | null
since
string<date-time> | null
until
string<date-time> | null
limit
integer
default:5000
Required range: 1 <= x <= 50000

Response

Successful Response

What a proposed change would have done across recorded history.

proposal
Proposal · object
required
window
ReplayWindow · object
required
policy_version
string
required
replayed
integer
required
unchanged
integer
required
changed
integer
required
skipped_unsealed
integer
required
skipped_other_policy_version
integer
required
inferred_budget_arm
integer
required
would_newly_refuse
integer
required
would_newly_allow
integer
required
transitions
Transitions · object
required
sample_newly_refused
ReplayChangeOut · object[]
required
sample_newly_allowed
ReplayChangeOut · object[]
required
reading
string
required