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 FieldTypeRequiredDescriptionExampleallowedModelsstring[]➖Array of model identifiers (slug or canonical_slug accepted)[“openai/gpt-5.2”]allowedProvidersstring[]➖New list of allowed provider IDs[“openai”,“anthropic”,“deepseek”]descriptionstring➖New description for the guardrailUpdated descriptionenforceZdrboolean➖Whether to enforce zero data retentiontrueignoredProvidersstring[]➖List of provider IDs to exclude from routing[“azure”]limitUsdnumber➖New spending limit in USD75namestring➖New name for the guardrailUpdated Guardrail NameresetIntervalmodels.GuardrailInterval➖Interval at which the limit resets (daily, weekly, monthly)monthly