Skip to main content

Update a guardrail

PATCH 

/v1/projects/:project_id/guardrails/:guardrail_id

Updates an existing guardrail. A document write that actually changes the policy increments version and archives the new document as a GuardrailVersion; metadata-only edits (name / description / context), and re-writing the document the guardrail already holds, leave the version untouched.

Request​

Responses​

Guardrail updated