Update a guardrail
Update an existing guardrail. Management key required.
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.
allowed_models
Array of model identifiers (slug or canonical_slug accepted)
allowed_providers
New list of allowed provider IDs
description
New description for the guardrail
enforce_zdr
Whether to enforce zero data retention
ignored_providers
List of provider IDs to exclude from routing
limit_usd
New spending limit in USD
name
New name for the guardrail
reset_interval
Interval at which the limit resets (daily, weekly, monthly)
Allowed values:
Response
Guardrail updated successfully
data
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error