mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
Speakeasy regeneration with latest schema changes including type renames and new server tool models.
6.1 KiB
6.1 KiB
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 |