v1

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

List existing model cards.

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

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'SageMaker.ListModelCards' required

Request body

CreationTimeAfterstring date-time

Only list model cards that were created after the time specified.

CreationTimeBeforestring date-time

Only list model cards that were created before the time specified.

MaxResultsinteger

The maximum number of model cards to list.

NameContainsstring

Only list model cards with names that contain the specified string.

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

Only list model cards with the specified approval status.

NextTokenstring

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

SortBy'Name' | 'CreationTime'

Sort model cards by either name or creation time. Sorts by creation time by default.

SortOrder'Ascending' | 'Descending'

Sort model cards by ascending or descending order.

Response

Success

NextTokenstring

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