Skip to main content

Create a guardrail

POST 

/api/v1/guardrails

Creates a new guardrail in the project. The document is validated on write: class must be a literal (A/B/C/D) or a JSON Logic expression, and every variable it (and guard) reference must resolve to the args.* / context.* / soat.* namespaces — an out-of-catalog soat.* key is rejected with 400.

Request

Responses

Guardrail created