v1

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

Lists spaces.

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

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'SageMaker.ListSpaces' required

Request body

NextTokenstring

If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.

MaxResultsinteger

Returns a list up to a specified limit.

SortOrder'Ascending' | 'Descending'

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

SortBy'CreationTime' | 'LastModifiedTime'

The parameter by which to sort the results. The default is <code>CreationTime</code>.

DomainIdEqualsstring

A parameter to search for the Domain ID.

SpaceNameContainsstring

A parameter by which to filter the results.

Response

Success

NextTokenstring

If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.