From a11945c840ddcd48722b1d204869a8136b91321a Mon Sep 17 00:00:00 2001 From: Thushara R Shenoi Date: Thu, 11 Jun 2026 09:57:41 +0530 Subject: [PATCH] Document usage limits policy reset fields in OpenAPI spec. Add periodic_reset_days, next_usage_reset_at, and last_reset_at to UsageLimitsPolicy so list and get responses match the documented schema. Co-authored-by: Cursor --- openapi.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 1ae7517f..d0f9c871 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -36740,6 +36740,22 @@ components: nullable: true enum: [monthly, weekly] description: Reset period + periodic_reset_days: + type: integer + nullable: true + minimum: 1 + maximum: 365 + description: Reset the usage counter every N days (1-365). Mutually exclusive with periodic_reset. + next_usage_reset_at: + type: string + format: date-time + nullable: true + description: ISO 8601 datetime for the next scheduled usage reset. Populated for periodic_reset_days policies. + last_reset_at: + type: string + format: date-time + nullable: true + description: ISO 8601 datetime of the last usage reset. status: type: string enum: [active, archived]