v1

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

List hub content versions.

Hub APIs are only callable through SageMaker Studio.

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

Headers

X-Amz-Target'SageMaker.ListHubContentVersions' required

Request body

HubNamestring required

The name of the hub to list the content versions of.

HubContentType'Model' | 'Notebook' required

The type of hub content to list versions of.

HubContentNamestring required

The name of the hub content.

MinVersionstring

The lower bound of the hub content versions to list.

MaxSchemaVersionstring

The upper bound of the hub content schema version.

CreationTimeBeforestring date-time

Only list hub content versions that were created before the time specified.

CreationTimeAfterstring date-time

Only list hub content versions that were created after the time specified.

SortBy'HubContentName' | 'CreationTime' | 'HubContentStatus'

Sort hub content versions by either name or creation time.

SortOrder'Ascending' | 'Descending'

Sort hub content versions by ascending or descending order.

MaxResultsinteger

The maximum number of hub content versions to list.

NextTokenstring

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

Response

Success

NextTokenstring

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