Skip to main content
POST
Validate in-flight rule array

Authorizations

X-API-Key
string
header
required

Headers

API-Version
enum<string>
default:v1

API version (defaults to the latest supported version if omitted).

Available options:
v1
Idempotency-Key
string

Unique key (1-255 printable ASCII chars) used to safely retry write operations. Same key + body returns the cached response; same key + different body returns 409.

Required string length: 1 - 255

Body

application/json
description
string

Optional description of the draft policy.

name
string

Optional name of the draft policy being validated.

Example:

"High-value transfer review"

rules
object[]

The in-flight rules to validate.

Response

Success

diagnostics
object[]

Individual validation findings.

issue_count
object

Counts of diagnostics by severity.

valid
boolean

Whether the policy/rules passed validation with no errors.

Example:

true