{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-forecast/json-schema/amazon-forecast-list-monitor-evaluations-response-schema.json",
  "title": "ListMonitorEvaluationsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-forecast-operations-api-openapi.yml#/components/schemas/ListMonitorEvaluationsResponse",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours."
    },
    "PredictorMonitorEvaluations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PredictorMonitorEvaluation"
      },
      "description": "The monitoring results and predictor events collected by the monitor resource during different windows of time. For information about monitoring see Viewing Monitoring Results. For more information about retrieving monitoring results see Viewing Monitoring Results."
    }
  },
  "$defs": {
    "MetricResult": {
      "type": "object",
      "properties": {
        "MetricName": {
          "type": "string",
          "description": "The name of the metric."
        },
        "MetricValue": {
          "type": "number",
          "description": "The value for the metric."
        }
      }
    },
    "MonitorDataSource": {
      "type": "object",
      "properties": {
        "DatasetImportJobArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the dataset import job used to import the data that initiated the monitor evaluation."
        },
        "ForecastArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the forecast the monitor used during the evaluation."
        },
        "PredictorArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the predictor resource you are monitoring."
        }
      }
    },
    "PredictorEvent": {
      "type": "object",
      "properties": {
        "Detail": {
          "type": "string",
          "description": "The type of event. For example, Retrain. A retraining event denotes the timepoint when a predictor was retrained. Any monitor results from before the Datetime are from the previous predictor. Any new metrics are for the newly retrained predictor."
        },
        "Datetime": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp for when the event occurred."
        }
      }
    },
    "PredictorMonitorEvaluation": {
      "type": "object",
      "properties": {
        "ResourceArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the resource to monitor."
        },
        "MonitorArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the monitor resource."
        },
        "EvaluationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp that indicates when the monitor evaluation was started."
        },
        "EvaluationState": {
          "type": "string",
          "description": "The status of the monitor evaluation. The state can be SUCCESS or FAILURE."
        },
        "WindowStartDatetime": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp that indicates the start of the window that is used for monitor evaluation."
        },
        "WindowEndDatetime": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp that indicates the end of the window that is used for monitor evaluation."
        },
        "PredictorEvent": {
          "$ref": "#/$defs/PredictorEvent"
        },
        "MonitorDataSource": {
          "$ref": "#/$defs/MonitorDataSource"
        },
        "MetricResults": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MetricResult"
          },
          "description": "A list of metrics Forecast calculated when monitoring a predictor. You can compare the value for each metric in the list to the metric's value in the Baseline to see how your predictor's performance is changing."
        },
        "NumItemsEvaluated": {
          "type": "integer",
          "description": "The number of items considered during the evaluation."
        },
        "Message": {
          "type": "string",
          "description": "Information about any errors that may have occurred during the monitor evaluation."
        }
      }
    }
  }
}