Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
name | Optional[str] | :heavy_minus_sign: | New name for the guardrail | Updated Guardrail Name |
description | OptionalNullable[str] | :heavy_minus_sign: | New description for the guardrail | Updated description |
limit_usd | OptionalNullable[float] | :heavy_minus_sign: | New spending limit in USD | 75 |
reset_interval | OptionalNullable[operations.UpdateGuardrailResetIntervalRequest] | :heavy_minus_sign: | Interval at which the limit resets (daily, weekly, monthly) | monthly |
allowed_providers | List[str] | :heavy_minus_sign: | New list of allowed provider IDs | [ “openai”, “anthropic”, “deepseek” ] |
allowed_models | List[str] | :heavy_minus_sign: | Array of model identifiers (slug or canonical_slug accepted) | [ “openai/gpt-5.2” ] |
enforce_zdr | OptionalNullable[bool] | :heavy_minus_sign: | Whether to enforce zero data retention | true |