{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/call2me-app/json-schema/call2me-app-src-routers-v1-api-keys-usage-stats-schema.json",
  "title": "UsageStats",
  "description": "API usage statistics.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/call2me-app-api-keys-api-openapi.yml#/components/schemas/src__routers__v1__api_keys__UsageStats",
  "properties": {
    "total_requests": {
      "type": "integer",
      "title": "Total Requests"
    },
    "successful_requests": {
      "type": "integer",
      "title": "Successful Requests"
    },
    "failed_requests": {
      "type": "integer",
      "title": "Failed Requests"
    },
    "avg_duration_ms": {
      "type": "number",
      "title": "Avg Duration Ms"
    },
    "period_start": {
      "type": "string",
      "format": "date-time",
      "title": "Period Start"
    },
    "period_end": {
      "type": "string",
      "format": "date-time",
      "title": "Period End"
    }
  },
  "type": "object",
  "required": [
    "total_requests",
    "successful_requests",
    "failed_requests",
    "avg_duration_ms",
    "period_start",
    "period_end"
  ]
}