Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescriptionExample
nameOptional[str]:heavy_minus_sign:New name for the guardrailUpdated Guardrail Name
descriptionOptionalNullable[str]:heavy_minus_sign:New description for the guardrailUpdated description
limit_usdOptionalNullable[float]:heavy_minus_sign:New spending limit in USD75
reset_intervalOptionalNullable[operations.UpdateGuardrailResetIntervalRequest]:heavy_minus_sign:Interval at which the limit resets (daily, weekly, monthly)monthly
allowed_providersList[str]:heavy_minus_sign:New list of allowed provider IDs[
“openai”,
“anthropic”,
“deepseek”
]
allowed_modelsList[str]:heavy_minus_sign:Array of model identifiers (slug or canonical_slug accepted)[
“openai/gpt-5.2”
]
enforce_zdrOptionalNullable[bool]:heavy_minus_sign:Whether to enforce zero data retentiontrue