v1

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

List existing versions of an Amazon SageMaker Model Card.

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

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'SageMaker.ListModelCardVersions' required

Request body

CreationTimeAfterstring date-time

Only list model card versions that were created after the time specified.

CreationTimeBeforestring date-time

Only list model card versions that were created before the time specified.

MaxResultsinteger

The maximum number of model card versions to list.

ModelCardNamestring required

List model card versions for the model card with the specified name.

ModelCardStatus'Draft' | 'PendingReview' | 'Approved' | 'Archived'

Only list model card versions with the specified approval status.

NextTokenstring

If the response to a previous <code>ListModelCardVersions</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of model card versions, use the token in the next request.

SortBy'Version'

Sort listed model card versions by version. Sorts by version by default.

SortOrder'Ascending' | 'Descending'

Sort model card versions by ascending or descending order.

Response

Success

NextTokenstring

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