{
  "ok": true,
  "version": "gluco-ai-letter-worker-response-v0.2",
  "status": "usage",
  "source": "cloudflare-durable-object",
  "report": {
    "today": {
      "dayKey": "2026-08-16",
      "aiGenerationCount": 0,
      "cacheHitCount": 0,
      "rateLimitedCount": 0,
      "turnstileVerifiedCount": 0,
      "turnstileFailedCount": 0,
      "modeGenerationCounts": {
        "letter": 0,
        "deep": 0
      },
      "modeCacheHitCounts": {
        "letter": 0,
        "deep": 0
      },
      "modeRateLimitedCounts": {
        "letter": 0,
        "deep": 0
      },
      "slotGenerationCounts": {
        "morning": 0,
        "afternoon": 0,
        "night": 0,
        "unknown": 0
      },
      "slotCacheHitCounts": {
        "morning": 0,
        "afternoon": 0,
        "night": 0,
        "unknown": 0
      },
      "slotRateLimitedCounts": {
        "morning": 0,
        "afternoon": 0,
        "night": 0,
        "unknown": 0
      },
      "modeSlotGenerationCounts": {
        "letter": {
          "morning": 0,
          "afternoon": 0,
          "night": 0,
          "unknown": 0
        },
        "deep": {
          "morning": 0,
          "afternoon": 0,
          "night": 0,
          "unknown": 0
        }
      },
      "modeSlotCacheHitCounts": {
        "letter": {
          "morning": 0,
          "afternoon": 0,
          "night": 0,
          "unknown": 0
        },
        "deep": {
          "morning": 0,
          "afternoon": 0,
          "night": 0,
          "unknown": 0
        }
      },
      "modeSlotRateLimitedCounts": {
        "letter": {
          "morning": 0,
          "afternoon": 0,
          "night": 0,
          "unknown": 0
        },
        "deep": {
          "morning": 0,
          "afternoon": 0,
          "night": 0,
          "unknown": 0
        }
      },
      "slotGenerationLimit": 10
    },
    "month": {
      "monthKey": "2026-08",
      "aiGenerationCount": 15,
      "cacheHitCount": 0,
      "budgetBlockedCount": 0,
      "aiDisabledCount": 0,
      "turnstileVerifiedCount": 35,
      "turnstileFailedCount": 1,
      "modeGenerationCounts": {
        "letter": 9,
        "deep": 6
      },
      "modeCacheHitCounts": {
        "letter": 0,
        "deep": 0
      },
      "inputTokens": 294511,
      "outputTokens": 20231,
      "estimatedCostJpy": 13.4701,
      "monthlyBudgetJpy": 100,
      "budgetUsageRate": 13.47
    },
    "guard": {
      "turnstileRequired": true,
      "turnstileVerified": null,
      "turnstileStatus": "not_applicable_for_usage_report",
      "turnstileVerifiedCount": 0,
      "turnstileFailedCount": 0,
      "rateLimited": false,
      "totalRateLimited": false,
      "slotRateLimited": false,
      "budgetBlocked": false,
      "budgetWarning": false,
      "aiEnabled": true,
      "dailyGenerationLimit": 30,
      "dailyGenerationRemaining": 30,
      "slotGenerationLimit": 10,
      "slotGenerationRemainingBySlot": {
        "morning": 10,
        "afternoon": 10,
        "night": 10,
        "unknown": 10
      },
      "modeSlotGenerationRemainingBySlot": {
        "letter": {
          "morning": 10,
          "afternoon": 10,
          "night": 10,
          "unknown": 10
        },
        "deep": {
          "morning": 10,
          "afternoon": 10,
          "night": 10,
          "unknown": 10
        }
      },
      "dailyModeGenerationCounts": {
        "letter": 0,
        "deep": 0
      },
      "dailySlotGenerationCounts": {
        "morning": 0,
        "afternoon": 0,
        "night": 0,
        "unknown": 0
      },
      "dailyModeSlotGenerationCounts": {
        "letter": {
          "morning": 0,
          "afternoon": 0,
          "night": 0,
          "unknown": 0
        },
        "deep": {
          "morning": 0,
          "afternoon": 0,
          "night": 0,
          "unknown": 0
        }
      },
      "monthlyBudgetJpy": 100,
      "warningBudgetJpy": 50,
      "stopBudgetJpy": 80,
      "monthlyEstimatedCostJpy": 13.4701
    },
    "cache": {
      "enabled": false,
      "bindingAvailable": false,
      "storage": "disabled",
      "freshSeconds": 3600,
      "retentionSeconds": 86400,
      "note": "Shared cache is intentionally disabled during personal-user early access. Every mode uses browser-local cache only."
    },
    "storage": {
      "kind": "durable-object-sqlite",
      "note": "Persisted in a singleton Cloudflare Durable Object. No glucose values or letter text are stored in this usage counter.",
      "startedAt": "2026-08-02T05:19:03.555Z",
      "updatedAt": "2026-08-14T16:36:28.484Z"
    }
  }
}