v1

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

Use this operation to list all private and vendor workforces in an Amazon Web Services Region. Note that you can only have one private workforce per Amazon Web Services Region.

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

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'SageMaker.ListWorkforces' required

Request body

SortBy'Name' | 'CreateDate'

Sort workforces using the workforce name or creation date.

SortOrder'Ascending' | 'Descending'

Sort workforces in ascending or descending order.

NameContainsstring

A filter you can use to search for workforces using part of the workforce name.

NextTokenstring

A token to resume pagination.

MaxResultsinteger

The maximum number of workforces returned in the response.

Response

Success

NextTokenstring

A token to resume pagination.