Skip to main content
POST
Validate stored draft policy

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

Path Parameters

id
string<uuid>
required

Policy ID

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