{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-xray/json-schema/amazon-xray-get-time-series-service-statistics-request-schema.json",
  "title": "GetTimeSeriesServiceStatisticsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-xray-timeseriesservicestatistics-api-openapi.yml#/components/schemas/GetTimeSeriesServiceStatisticsRequest",
  "type": "object",
  "properties": {
    "StartTime": {
      "type": "string",
      "format": "date-time",
      "description": "The start of the time frame for which to aggregate statistics."
    },
    "EndTime": {
      "type": "string",
      "format": "date-time",
      "description": "The end of the time frame for which to aggregate statistics."
    },
    "GroupName": {
      "type": "string",
      "description": "The case-sensitive name of the group for which to pull statistics from."
    },
    "GroupARN": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the group for which to pull statistics from."
    },
    "EntitySelectorExpression": {
      "type": "string",
      "description": "A filter expression defining entities that will be aggregated for statistics. Supports ID, service, and edge functions. If no selector expression is specified, edge statistics are returned."
    },
    "Period": {
      "type": "integer",
      "description": "Aggregation period in seconds."
    },
    "ForecastStatistics": {
      "type": "boolean",
      "description": "The forecasted high and low fault count values. Forecast enabled requests require the EntitySelectorExpression ID be provided."
    },
    "NextToken": {
      "type": "string",
      "description": "Pagination token."
    }
  },
  "required": [
    "StartTime",
    "EndTime"
  ]
}