v1

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

Gets a list of the model groups in your Amazon Web Services account.

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

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'SageMaker.ListModelPackageGroups' required

Request body

CreationTimeAfterstring date-time

A filter that returns only model groups created after the specified time.

CreationTimeBeforestring date-time

A filter that returns only model groups created before the specified time.

MaxResultsinteger

The maximum number of results to return in the response.

NameContainsstring

A string in the model group name. This filter returns only model groups whose name contains the specified string.

NextTokenstring

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

SortBy'Name' | 'CreationTime'

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

SortOrder'Ascending' | 'Descending'

The sort order for results. The default is <code>Ascending</code>.

Response

Success

NextTokenstring

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