{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-describe-auto-mljob-response-schema.json",
  "title": "DescribeAutoMLJobResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-auto-ml-job-api-openapi.yml#/components/schemas/DescribeAutoMLJobResponse",
  "type": "object",
  "properties": {
    "AutoMLJobName": {
      "type": "string",
      "description": "Returns the name of the AutoML job."
    },
    "AutoMLJobArn": {
      "type": "string",
      "description": "Returns the ARN of the AutoML job."
    },
    "InputDataConfig": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AutoMLChannel"
      },
      "description": "Returns the input data configuration for the AutoML job."
    },
    "OutputDataConfig": {
      "$ref": "#/$defs/AutoMLOutputDataConfig"
    },
    "RoleArn": {
      "type": "string",
      "description": "The ARN of the IAM role that has read permission to the input data location and write permission to the output data location in Amazon S3."
    },
    "AutoMLJobObjective": {
      "$ref": "#/$defs/AutoMLJobObjective"
    },
    "ProblemType": {
      "type": "string",
      "enum": [
        "BinaryClassification",
        "MulticlassClassification",
        "Regression"
      ],
      "description": "Returns the job's problem type."
    },
    "AutoMLJobConfig": {
      "$ref": "#/$defs/AutoMLJobConfig"
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "Returns the creation time of the AutoML job."
    },
    "EndTime": {
      "type": "string",
      "format": "date-time",
      "description": "Returns the end time of the AutoML job."
    },
    "LastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "Returns the job's last modified time."
    },
    "FailureReason": {
      "type": "string",
      "description": "Returns the failure reason for an AutoML job, when applicable."
    },
    "PartialFailureReasons": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AutoMLPartialFailureReason"
      },
      "description": "Returns a list of reasons for partial failures within an AutoML job."
    },
    "BestCandidate": {
      "$ref": "#/$defs/AutoMLCandidate"
    },
    "AutoMLJobStatus": {
      "type": "string",
      "enum": [
        "Completed",
        "InProgress",
        "Failed",
        "Stopped",
        "Stopping"
      ],
      "description": "Returns the status of the AutoML job."
    },
    "AutoMLJobSecondaryStatus": {
      "type": "string",
      "enum": [
        "Starting",
        "MaxCandidatesReached",
        "Failed",
        "Stopped",
        "MaxAutoMLJobRuntimeReached",
        "Stopping",
        "CandidateDefinitionsGenerated",
        "Completed",
        "ExplainabilityError",
        "DeployingModel",
        "ModelDeploymentError",
        "GeneratingModelInsightsReport",
        "ModelInsightsError",
        "AnalyzingData",
        "FeatureEngineering",
        "ModelTuning",
        "GeneratingExplainabilityReport",
        "TrainingModels",
        "PreTraining"
      ],
      "description": "Returns the secondary status of the AutoML job."
    },
    "GenerateCandidateDefinitionsOnly": {
      "type": "boolean",
      "description": "Indicates whether the output for an AutoML job generates candidate definitions only."
    },
    "AutoMLJobArtifacts": {
      "$ref": "#/$defs/AutoMLJobArtifacts"
    },
    "ResolvedAttributes": {
      "$ref": "#/$defs/ResolvedAttributes"
    },
    "ModelDeployConfig": {
      "$ref": "#/$defs/ModelDeployConfig"
    },
    "ModelDeployResult": {
      "$ref": "#/$defs/ModelDeployResult"
    }
  },
  "required": [
    "AutoMLJobName",
    "AutoMLJobArn",
    "InputDataConfig",
    "OutputDataConfig",
    "RoleArn",
    "CreationTime",
    "LastModifiedTime",
    "AutoMLJobStatus",
    "AutoMLJobSecondaryStatus"
  ],
  "$defs": {
    "AutoMLAlgorithmConfig": {
      "type": "object",
      "properties": {
        "AutoMLAlgorithms": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "xgboost",
              "linear-learner",
              "mlp",
              "lightgbm",
              "catboost",
              "randomforest",
              "extra-trees",
              "nn-torch",
              "fastai",
              "cnn-qr",
              "deepar",
              "prophet",
              "npts",
              "arima",
              "ets"
            ]
          },
          "description": "The selection of algorithms trained on your dataset to generate the model candidates for an Autopilot job. For the tabular problem type TabularJobConfig: Selected algorithms must belong to the list corresponding to the training mode set in AutoMLJobConfig.Mode (ENSEMBLING or HYPERPARAMETER_TUNING). Choose a minimum of 1 algorithm. In ENSEMBLING mode: \"catboost\" \"extra-trees\" \"fastai\" \"lightgbm\" \"linear-learner\" \"nn-torch\" \"randomforest\" \"xgboost\" In HYPERPARAMETER_TUNING mode: \"linear-learner\" \"mlp\" \"xgboost\" For the time-series forecasting problem type TimeSeriesForecastingJobConfig: Choose y"
        }
      },
      "required": [
        "AutoMLAlgorithms"
      ]
    },
    "AutoMLCandidate": {
      "type": "object",
      "properties": {
        "CandidateName": {
          "type": "string",
          "description": "The name of the candidate."
        },
        "FinalAutoMLJobObjectiveMetric": {
          "$ref": "#/$defs/FinalAutoMLJobObjectiveMetric"
        },
        "ObjectiveStatus": {
          "type": "string",
          "enum": [
            "Succeeded",
            "Pending",
            "Failed"
          ],
          "description": "The objective's status."
        },
        "CandidateSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AutoMLCandidateStep"
          },
          "description": "Information about the candidate's steps."
        },
        "CandidateStatus": {
          "type": "string",
          "enum": [
            "Completed",
            "InProgress",
            "Failed",
            "Stopped",
            "Stopping"
          ],
          "description": "The candidate's status."
        },
        "InferenceContainers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AutoMLContainerDefinition"
          },
          "description": "Information about the recommended inference container definitions."
        },
        "CreationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The creation time."
        },
        "EndTime": {
          "type": "string",
          "format": "date-time",
          "description": "The end time."
        },
        "LastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The last modified time."
        },
        "FailureReason": {
          "type": "string",
          "description": "The failure reason."
        },
        "CandidateProperties": {
          "$ref": "#/$defs/CandidateProperties"
        },
        "InferenceContainerDefinitions": {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/AutoMLContainerDefinition"
            }
          },
          "description": "The mapping of all supported processing unit (CPU, GPU, etc...) to inference container definitions for the candidate. This field is populated for the AutoML jobs V2 (for example, for jobs created by calling CreateAutoMLJobV2) related to image or text classification problem types only."
        }
      },
      "required": [
        "CandidateName",
        "ObjectiveStatus",
        "CandidateSteps",
        "CandidateStatus",
        "CreationTime",
        "LastModifiedTime"
      ]
    },
    "AutoMLCandidateGenerationConfig": {
      "type": "object",
      "properties": {
        "FeatureSpecificationS3Uri": {
          "type": "string",
          "description": "A URL to the Amazon S3 data source containing selected features from the input data source to run an Autopilot job. You can input FeatureAttributeNames (optional) in JSON format as shown below: { \"FeatureAttributeNames\":[\"col1\", \"col2\", ...] }. You can also specify the data type of the feature (optional) in the format shown below: { \"FeatureDataTypes\":{\"col1\":\"numeric\", \"col2\":\"categorical\" ... } } These column keys may not include the target column. In ensembling mode, Autopilot only supports the following data types: numeric, categorical, text, and datetime. In HPO mode, Autopilot can suppor"
        },
        "AlgorithmsConfig": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AutoMLAlgorithmConfig"
          },
          "description": "Stores the configuration information for the selection of algorithms trained on tabular data. The list of available algorithms to choose from depends on the training mode set in TabularJobConfig.Mode . AlgorithmsConfig should not be set if the training mode is set on AUTO. When AlgorithmsConfig is provided, one AutoMLAlgorithms attribute must be set and one only. If the list of algorithms provided as values for AutoMLAlgorithms is empty, CandidateGenerationConfig uses the full set of algorithms for the given training mode. When AlgorithmsConfig is not provided, CandidateGenerationConfig uses t"
        }
      }
    },
    "AutoMLCandidateStep": {
      "type": "object",
      "properties": {
        "CandidateStepType": {
          "type": "string",
          "enum": [
            "AWS::SageMaker::TrainingJob",
            "AWS::SageMaker::TransformJob",
            "AWS::SageMaker::ProcessingJob"
          ],
          "description": "Whether the candidate is at the transform, training, or processing step."
        },
        "CandidateStepArn": {
          "type": "string",
          "description": "The ARN for the candidate's step."
        },
        "CandidateStepName": {
          "type": "string",
          "description": "The name for the candidate's step."
        }
      },
      "required": [
        "CandidateStepType",
        "CandidateStepArn",
        "CandidateStepName"
      ]
    },
    "AutoMLChannel": {
      "type": "object",
      "properties": {
        "DataSource": {
          "$ref": "#/$defs/AutoMLDataSource"
        },
        "CompressionType": {
          "type": "string",
          "enum": [
            "None",
            "Gzip"
          ],
          "description": "You can use Gzip or None. The default value is None."
        },
        "TargetAttributeName": {
          "type": "string",
          "description": "The name of the target variable in supervised learning, usually represented by 'y'."
        },
        "ContentType": {
          "type": "string",
          "description": "The content type of the data from the input source. You can use text/csv;header=present or x-application/vnd.amazon+parquet. The default value is text/csv;header=present."
        },
        "ChannelType": {
          "type": "string",
          "enum": [
            "training",
            "validation"
          ],
          "description": "The channel type (optional) is an enum string. The default value is training. Channels for training and validation must share the same ContentType and TargetAttributeName. For information on specifying training and validation channel types, see How to specify training and validation datasets."
        },
        "SampleWeightAttributeName": {
          "type": "string",
          "description": "If specified, this column name indicates which column of the dataset should be treated as sample weights for use by the objective metric during the training, evaluation, and the selection of the best model. This column is not considered as a predictive feature. For more information on Autopilot metrics, see Metrics and validation. Sample weights should be numeric, non-negative, with larger values indicating which rows are more important than others. Data points that have invalid or no weight value are excluded. Support for sample weights is available in Ensembling mode only."
        }
      },
      "required": [
        "TargetAttributeName"
      ]
    },
    "AutoMLContainerDefinition": {
      "type": "object",
      "properties": {
        "Image": {
          "type": "string",
          "description": "The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see ContainerDefinition."
        },
        "ModelDataUrl": {
          "type": "string",
          "description": "The location of the model artifacts. For more information, see ContainerDefinition."
        },
        "Environment": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The environment variables to set in the container. For more information, see ContainerDefinition."
        }
      },
      "required": [
        "Image",
        "ModelDataUrl"
      ]
    },
    "AutoMLDataSource": {
      "type": "object",
      "properties": {
        "S3DataSource": {
          "$ref": "#/$defs/AutoMLS3DataSource"
        }
      },
      "required": [
        "S3DataSource"
      ]
    },
    "AutoMLDataSplitConfig": {
      "type": "object",
      "properties": {
        "ValidationFraction": {
          "type": "number",
          "description": "The validation fraction (optional) is a float that specifies the portion of the training dataset to be used for validation. The default value is 0.2, and values must be greater than 0 and less than 1. We recommend setting this value to be less than 0.5."
        }
      }
    },
    "AutoMLJobArtifacts": {
      "type": "object",
      "properties": {
        "CandidateDefinitionNotebookLocation": {
          "type": "string",
          "description": "The URL of the notebook location."
        },
        "DataExplorationNotebookLocation": {
          "type": "string",
          "description": "The URL of the notebook location."
        }
      }
    },
    "AutoMLJobCompletionCriteria": {
      "type": "object",
      "properties": {
        "MaxCandidates": {
          "type": "integer",
          "description": "The maximum number of times a training job is allowed to run. For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750."
        },
        "MaxRuntimePerTrainingJobInSeconds": {
          "type": "integer",
          "description": "The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the StoppingCondition used by the CreateHyperParameterTuningJob action. For job V2s (jobs created by calling CreateAutoMLJobV2), this field controls the runtime of the job candidate. For TextGenerationJobConfig problem types, the maximum time defaults to 72 hours (259200 seconds)."
        },
        "MaxAutoMLJobRuntimeInSeconds": {
          "type": "integer",
          "description": "The maximum runtime, in seconds, an AutoML job has to complete. If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed."
        }
      }
    },
    "AutoMLJobConfig": {
      "type": "object",
      "properties": {
        "CompletionCriteria": {
          "$ref": "#/$defs/AutoMLJobCompletionCriteria"
        },
        "SecurityConfig": {
          "$ref": "#/$defs/AutoMLSecurityConfig"
        },
        "CandidateGenerationConfig": {
          "$ref": "#/$defs/AutoMLCandidateGenerationConfig"
        },
        "DataSplitConfig": {
          "$ref": "#/$defs/AutoMLDataSplitConfig"
        },
        "Mode": {
          "type": "string",
          "enum": [
            "AUTO",
            "ENSEMBLING",
            "HYPERPARAMETER_TUNING"
          ],
          "description": "The method that Autopilot uses to train the data. You can either specify the mode manually or let Autopilot choose for you based on the dataset size by selecting AUTO. In AUTO mode, Autopilot chooses ENSEMBLING for datasets smaller than 100 MB, and HYPERPARAMETER_TUNING for larger ones. The ENSEMBLING mode uses a multi-stack ensemble model to predict classification and regression tasks directly from your dataset. This machine learning mode combines several base models to produce an optimal predictive model. It then uses a stacking ensemble method to combine predictions from contributing member"
        }
      }
    },
    "AutoMLJobObjective": {
      "type": "object",
      "properties": {
        "MetricName": {
          "type": "string",
          "enum": [
            "Accuracy",
            "MSE",
            "F1",
            "F1macro",
            "AUC",
            "RMSE",
            "BalancedAccuracy",
            "R2",
            "Recall",
            "RecallMacro",
            "Precision",
            "PrecisionMacro",
            "MAE",
            "MAPE",
            "MASE",
            "WAPE",
            "AverageWeightedQuantileLoss"
          ],
          "description": "The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset. The list of available metrics supported by Autopilot and the default metric applied when you do not specify a metric name explicitly depend on the problem type. For tabular problem types: List of available metrics: Regression: MAE, MSE, R2, RMSE Binary classification: Accuracy, AUC, BalancedAccura"
        }
      },
      "required": [
        "MetricName"
      ]
    },
    "AutoMLOutputDataConfig": {
      "type": "object",
      "properties": {
        "KmsKeyId": {
          "type": "string",
          "description": "The Key Management Service encryption key ID."
        },
        "S3OutputPath": {
          "type": "string",
          "description": "The Amazon S3 output path. Must be 512 characters or less."
        }
      },
      "required": [
        "S3OutputPath"
      ]
    },
    "AutoMLPartialFailureReason": {
      "type": "object",
      "properties": {
        "PartialFailureMessage": {
          "type": "string",
          "description": "The message containing the reason for a partial failure of an AutoML job."
        }
      }
    },
    "AutoMLS3DataSource": {
      "type": "object",
      "properties": {
        "S3DataType": {
          "type": "string",
          "enum": [
            "ManifestFile",
            "S3Prefix",
            "AugmentedManifestFile"
          ],
          "description": "The data type. If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker AI uses all objects that match the specified key name prefix for model training. The S3Prefix should have the following format: s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE If you choose ManifestFile, S3Uri identifies an object that is a manifest file containing a list of object keys that you want SageMaker AI to use for model training. A ManifestFile should have the format shown below: [ {\"prefix\": \"s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/\"}, \"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-"
        },
        "S3Uri": {
          "type": "string",
          "description": "The URL to the Amazon S3 data source. The Uri refers to the Amazon S3 prefix or ManifestFile depending on the data type."
        }
      },
      "required": [
        "S3DataType",
        "S3Uri"
      ]
    },
    "AutoMLSecurityConfig": {
      "type": "object",
      "properties": {
        "VolumeKmsKeyId": {
          "type": "string",
          "description": "The key used to encrypt stored data."
        },
        "EnableInterContainerTrafficEncryption": {
          "type": "boolean",
          "description": "Whether to use traffic encryption between the container layers."
        },
        "VpcConfig": {
          "$ref": "#/$defs/VpcConfig"
        }
      }
    },
    "CandidateArtifactLocations": {
      "type": "object",
      "properties": {
        "Explainability": {
          "type": "string",
          "description": "The Amazon S3 prefix to the explainability artifacts generated for the AutoML candidate."
        },
        "ModelInsights": {
          "type": "string",
          "description": "The Amazon S3 prefix to the model insight artifacts generated for the AutoML candidate."
        },
        "BacktestResults": {
          "type": "string",
          "description": "The Amazon S3 prefix to the accuracy metrics and the inference results observed over the testing window. Available only for the time-series forecasting problem type."
        }
      },
      "required": [
        "Explainability"
      ]
    },
    "CandidateProperties": {
      "type": "object",
      "properties": {
        "CandidateArtifactLocations": {
          "$ref": "#/$defs/CandidateArtifactLocations"
        },
        "CandidateMetrics": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MetricDatum"
          },
          "description": "Information about the candidate metrics for an AutoML job."
        }
      }
    },
    "FinalAutoMLJobObjectiveMetric": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "Maximize",
            "Minimize"
          ],
          "description": "The type of metric with the best result."
        },
        "MetricName": {
          "type": "string",
          "enum": [
            "Accuracy",
            "MSE",
            "F1",
            "F1macro",
            "AUC",
            "RMSE",
            "BalancedAccuracy",
            "R2",
            "Recall",
            "RecallMacro",
            "Precision",
            "PrecisionMacro",
            "MAE",
            "MAPE",
            "MASE",
            "WAPE",
            "AverageWeightedQuantileLoss"
          ],
          "description": "The name of the metric with the best result. For a description of the possible objective metrics, see AutoMLJobObjective$MetricName."
        },
        "Value": {
          "type": "number",
          "description": "The value of the metric with the best result."
        },
        "StandardMetricName": {
          "type": "string",
          "enum": [
            "Accuracy",
            "MSE",
            "F1",
            "F1macro",
            "AUC",
            "RMSE",
            "BalancedAccuracy",
            "R2",
            "Recall",
            "RecallMacro",
            "Precision",
            "PrecisionMacro",
            "MAE",
            "MAPE",
            "MASE",
            "WAPE",
            "AverageWeightedQuantileLoss"
          ],
          "description": "The name of the standard metric. For a description of the standard metrics, see Autopilot candidate metrics."
        }
      },
      "required": [
        "MetricName",
        "Value"
      ]
    },
    "MetricDatum": {
      "type": "object",
      "properties": {
        "MetricName": {
          "type": "string",
          "enum": [
            "Accuracy",
            "MSE",
            "F1",
            "F1macro",
            "AUC",
            "RMSE",
            "BalancedAccuracy",
            "R2",
            "Recall",
            "RecallMacro",
            "Precision",
            "PrecisionMacro",
            "MAE",
            "MAPE",
            "MASE",
            "WAPE",
            "AverageWeightedQuantileLoss"
          ],
          "description": "The name of the metric."
        },
        "StandardMetricName": {
          "type": "string",
          "enum": [
            "Accuracy",
            "MSE",
            "F1",
            "F1macro",
            "AUC",
            "RMSE",
            "MAE",
            "R2",
            "BalancedAccuracy",
            "Precision",
            "PrecisionMacro",
            "Recall",
            "RecallMacro",
            "LogLoss",
            "InferenceLatency",
            "MAPE",
            "MASE",
            "WAPE",
            "AverageWeightedQuantileLoss",
            "Rouge1",
            "Rouge2",
            "RougeL",
            "RougeLSum",
            "Perplexity",
            "ValidationLoss",
            "TrainingLoss"
          ],
          "description": "The name of the standard metric. For definitions of the standard metrics, see Autopilot candidate metrics ."
        },
        "Value": {
          "type": "number",
          "description": "The value of the metric."
        },
        "Set": {
          "type": "string",
          "enum": [
            "Train",
            "Validation",
            "Test"
          ],
          "description": "The dataset split from which the AutoML job produced the metric."
        }
      }
    },
    "ModelDeployConfig": {
      "type": "object",
      "properties": {
        "AutoGenerateEndpointName": {
          "type": "boolean",
          "description": "Set to True to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False otherwise. The default value is False. If you set AutoGenerateEndpointName to True, do not specify the EndpointName; otherwise a 400 error is thrown."
        },
        "EndpointName": {
          "type": "string",
          "description": "Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically. Specify the EndpointName if and only if you set AutoGenerateEndpointName to False; otherwise a 400 error is thrown."
        }
      }
    },
    "ModelDeployResult": {
      "type": "object",
      "properties": {
        "EndpointName": {
          "type": "string",
          "description": "The name of the endpoint to which the model has been deployed. If model deployment fails, this field is omitted from the response."
        }
      }
    },
    "ResolvedAttributes": {
      "type": "object",
      "properties": {
        "AutoMLJobObjective": {
          "$ref": "#/$defs/AutoMLJobObjective"
        },
        "ProblemType": {
          "type": "string",
          "enum": [
            "BinaryClassification",
            "MulticlassClassification",
            "Regression"
          ],
          "description": "The problem type."
        },
        "CompletionCriteria": {
          "$ref": "#/$defs/AutoMLJobCompletionCriteria"
        }
      }
    },
    "VpcConfig": {
      "type": "object",
      "properties": {
        "SecurityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field."
        },
        "Subnets": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones."
        }
      },
      "required": [
        "SecurityGroupIds",
        "Subnets"
      ]
    }
  }
}