Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Endpoint response for time series data

Focus mode
Endpoint response for time series data - Amazon SageMaker AI

The SageMaker Clarify processing job deserializes the entire payload as JSON. It then extracts predictions from the deserialized data using JMESPath expressions provided in the analysis configuration. The records in the response payload must match the records in the request payload.

The following table is an example response from an endpoint that only outputs the mean prediction value. The value of forecast used in the predictor field in the analysis config should be provided as a JMESPath expression to find the prediction result for the processing job.

Endpoint request payload Endpoint response payload (string representation) JMESPath expression for forecast in the analysis config

Single record example. Config should be TimeSeriesModelConfig(forecast="prediction.mean") to extract prediction properly.

'{"prediction": {"mean": [1, 2, 3, 4, 5]}'

'prediction.mean'

Multiple records. An AWS deepAR endpoint response.

'{"predictions": [{"mean": [1, 2, 3, 4, 5]}, {"mean": [1, 2, 3, 4, 5]}]}'

'predictions[*].mean'

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.