Policy

Replay historical jobs against a candidate policy

Changed on
post/api/v1/policy/replay

Request

  • Base URL: http://localhost:8081
  • URL: http://localhost:8081/api/v1/policy/replay
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

X-Tenant-IDstring required

Tenant isolation header (required on all protected routes).

Request body

fromstring date-time required
tostring date-time required
candidate_bundle_idstring
candidate_contentstring
use_current_policyboolean
max_jobsinteger

Response

Replay result

replay_idstring uuid required
policy_snapshotstring required
warningsstring[]
errorsstring[]

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status