Skip to main content

Create a new guardrails version

POST 

/guardrails

Create a new guardrails version.

The new version becomes active immediately — the previous version is deactivated atomically. The in-memory GuardrailsStore is reloaded synchronously before this response is returned.

Requires X-Elevated-Key header matching MEMINTEL_ELEVATED_KEY.

HTTP 400 — validation error (unknown strategy, invalid severity level, etc.). HTTP 403 — elevated key missing or incorrect.

Request

Responses

Successful Response