Skip to Content

EntitlementRateLimitSchema

const EntitlementRateLimitSchema: ZodObject<{ limit: ZodNumber; metric: ZodEnum<typeof UsageRuleAllowanceMetric>; rule: ZodUUID; scope: ZodObject<{ kind: ZodEnum<typeof UsageRuleScopeKind>; value: ZodString; }, $strip>; window: ZodEnum<typeof RateLimitFrequency>; }, $strip>;

A rate limit as the product defines it. The live counters stay in the gateway.

Last updated on