v1

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

List all existing hubs.

Hub APIs are only callable through SageMaker Studio.

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

Headers

X-Amz-Target'SageMaker.ListHubs' required

Request body

NameContainsstring

Only list hubs with names that contain the specified string.

CreationTimeBeforestring date-time

Only list hubs that were created before the time specified.

CreationTimeAfterstring date-time

Only list hubs that were created after the time specified.

LastModifiedTimeBeforestring date-time

Only list hubs that were last modified before the time specified.

LastModifiedTimeAfterstring date-time

Only list hubs that were last modified after the time specified.

SortBy'HubName' | 'CreationTime' | 'HubStatus' | 'AccountIdOwner'

Sort hubs by either name or creation time.

SortOrder'Ascending' | 'Descending'

Sort hubs by ascending or descending order.

MaxResultsinteger

The maximum number of hubs to list.

NextTokenstring

If the response to a previous <code>ListHubs</code> request was truncated, the response includes a <code>NextToken</code>. To retrieve the next set of hubs, 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 hubs, use it in the subsequent request.