Update a guardrail
Update an existing guardrail.
Authentication
AuthorizationBearer
API key as bearer token in Authorization header
Path parameters
id
The unique identifier of the guardrail to update
Request
This endpoint expects an object.
name
New name for the guardrail
description
New description for the guardrail
limit_usd
New spending limit in USD
reset_interval
Interval at which the limit resets (daily, weekly, monthly)
Allowed values:
allowed_providers
New list of allowed provider IDs
allowed_models
Array of model identifiers (slug or canonical_slug accepted)
enforce_zdr
Whether to enforce zero data retention
Response
Guardrail updated successfully
data
The updated guardrail