{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-api-gateway/json-schema/aws-api-gateway-get-usage-request-schema.json",
  "title": "GetUsageRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-api-gateway-operations-api-openapi.yml#/components/schemas/GetUsageRequest",
  "type": "object",
  "properties": {
    "usagePlanId": {
      "type": "string",
      "description": "The Id of the usage plan associated with the usage data."
    },
    "keyId": {
      "type": "string",
      "description": "The Id of the API key associated with the resultant usage data."
    },
    "startDate": {
      "type": "string",
      "description": "The starting date (e.g., 2016-01-01) of the usage data."
    },
    "endDate": {
      "type": "string",
      "description": "The ending date (e.g., 2016-12-31) of the usage data."
    },
    "position": {
      "type": "string",
      "description": "The current pagination position in the paged result set."
    },
    "limit": {
      "type": "integer",
      "description": "The maximum number of returned results per page. The default value is 25 and the maximum value is 500."
    }
  },
  "required": [
    "usagePlanId",
    "startDate",
    "endDate"
  ]
}