GuardrailInterval - TypeScript SDK

GuardrailInterval type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Interval at which the limit resets (daily, weekly, monthly)

Example Usage

1import { GuardrailInterval } from "@openrouter/sdk/models";
2
3let value: GuardrailInterval = "monthly";
4
5// Open enum: unrecognized values are captured as Unrecognized<string>

Values

1"daily" | "weekly" | "monthly" | Unrecognized<string>