Skip to main content
PUT
Updates only supplied fields. A supplied config replaces the definition rather than merging individual keys and must match the existing check type. Agent and check type cannot be changed. No supplied changes returns the existing policy. See the Guardrails overview for shared schemas and runtime limitations.
string
required
Bearer workspace API key. The key needs write scope.
string
required
Guardrail policy UUID.
object
Complete check-specific configuration. See configuration schemas.
boolean
Omit to preserve the current value.
array
Unique supported channel names. Omit to preserve scope; send an empty array for all channels.

Response

string
Policy UUID.
string
Owning workspace UUID.
string
Agent UUID.
string
Check type from the catalogue.
object
Check-specific definition. See the configuration schemas.
boolean
Whether the policy is enabled.
array
Channel names, or null for all channels.
datetime
Creation timestamp.
datetime
Last update timestamp.