Guardrails
Patch Guardrails
Update specific fields of a guardrail using JSON Patch operations. Paths must match the current document shape — compare against the response from Get Guardrails before patching.
PATCH
Documentation Index
Fetch the complete documentation index at: https://docs.tavus.io/llms.txt
Use this file to discover all available pages before exploring further.
For AI agents, use
https://docs.tavus.io/openapi.yaml for the full HTTP API contract.Authorizations
Path Parameters
The unique identifier of the guardrail.
Example:
"g1234567890ab"
Body
application/json
Available options:
add, remove, replace, copy, move, test Example:
"replace"
JSON Pointer (RFC 6901) to a field on the guardrail (e.g. /guardrail_prompt, /tags, /modality).
Example:
"/guardrail_prompt"
The value used by the operation. Not required for remove.
Example:
"Updated prompt with stricter restrictions."

