Files
openrouter-python-sdk-retry…/docs/operations/updateguardrailrequestbody.md
T
OpenRouter Team 5f2c0ee2ea Project import generated by Copybara.
GitOrigin-RevId: 2592bdc8b4b7c695a3d689390aedc9a42914acc8
2026-01-22 01:26:28 +00:00

5.5 KiB
Raw Blame History

UpdateGuardrailRequestBody

Fields

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