TypeScript SDKAPI ReferenceModelsUpdateGuardrailRequest - TypeScript SDKCopy pageUpdateGuardrailRequest type definitionThe TypeScript SDK and docs are currently in beta. Report issues on GitHub. Example Usage 1import { UpdateGuardrailRequest } from "@openrouter/sdk/models";23let value: UpdateGuardrailRequest = {}; Fields FieldTypeRequiredDescriptionExamplenamestring➖New name for the guardrailUpdated Guardrail Namedescriptionstring➖New description for the guardrailUpdated descriptionlimitUsdnumber➖New spending limit in USD75resetIntervalmodels.UpdateGuardrailRequestResetInterval➖N/AmonthlyallowedProvidersstring[]➖New list of allowed provider IDs[“openai”,“anthropic”,“deepseek”]ignoredProvidersstring[]➖List of provider IDs to exclude from routing[“azure”]allowedModelsstring[]➖Array of model identifiers (slug or canonical_slug accepted)[“openai/gpt-5.2”]enforceZdrboolean➖Whether to enforce zero data retentiontrue