v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-143021,9861.6 MB

Gets a list of past alerts in a model monitoring schedule.

post/#X-Amz-Target=SageMaker.ListMonitoringAlertHistory

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'SageMaker.ListMonitoringAlertHistory' required

Request body

MonitoringScheduleNamestring

The name of a monitoring schedule.

MonitoringAlertNamestring

The name of a monitoring alert.

SortBy'CreationTime' | 'Status'

The field used to sort results. The default is <code>CreationTime</code>.

SortOrder'Ascending' | 'Descending'

The sort order, whether <code>Ascending</code> or <code>Descending</code>, of the alert history. The default is <code>Descending</code>.

NextTokenstring

If the result of the previous <code>ListMonitoringAlertHistory</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of alerts in the history, use the token in the next request.

MaxResultsinteger

The maximum number of results to display. The default is 100.

CreationTimeBeforestring date-time

A filter that returns only alerts created on or before the specified time.

CreationTimeAfterstring date-time

A filter that returns only alerts created on or after the specified time.

StatusEquals'InAlert' | 'OK'

A filter that retrieves only alerts with a specific status.

Response

Success

NextTokenstring

If the response is truncated, SageMaker returns this token. To retrieve the next set of alerts, use it in the subsequent request.