Example Usage
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
name | string | :heavy_minus_sign: | New name for the guardrail | Updated Guardrail Name |
description | string | :heavy_minus_sign: | New description for the guardrail | Updated description |
limitUsd | number | :heavy_minus_sign: | New spending limit in USD | 75 |
resetInterval | operations.UpdateGuardrailResetIntervalRequest | :heavy_minus_sign: | Interval at which the limit resets (daily, weekly, monthly) | monthly |
allowedProviders | string[] | :heavy_minus_sign: | New list of allowed provider IDs | [ “openai”, “anthropic”, “deepseek” ] |
allowedModels | string[] | :heavy_minus_sign: | Array of model identifiers (slug or canonical_slug accepted) | [ “openai/gpt-5.2” ] |
enforceZdr | boolean | :heavy_minus_sign: | Whether to enforce zero data retention | true |