Files
openrouter-python-sdk-retry…/docs/operations/updateguardrailrequestbody.md
T
OpenRouter SDK Bot 5ab44f08f0 feat: regenerate SDK with updated OpenAPI spec
Speakeasy regeneration with latest schema changes including
type renames and new server tool models.
2026-03-27 15:18:14 -04:00

6.1 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"
]
ignored_providers List[str] List of provider IDs to exclude from routing [
"azure"
]
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