v1

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

Gets a list of the Git repositories in your account.

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

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'SageMaker.ListCodeRepositories' required

Request body

CreationTimeAfterstring date-time

A filter that returns only Git repositories that were created after the specified time.

CreationTimeBeforestring date-time

A filter that returns only Git repositories that were created before the specified time.

LastModifiedTimeAfterstring date-time

A filter that returns only Git repositories that were last modified after the specified time.

LastModifiedTimeBeforestring date-time

A filter that returns only Git repositories that were last modified before the specified time.

MaxResultsinteger

The maximum number of Git repositories to return in the response.

NameContainsstring

A string in the Git repositories name. This filter returns only repositories whose name contains the specified string.

NextTokenstring

If the result of a <code>ListCodeRepositoriesOutput</code> request was truncated, the response includes a <code>NextToken</code>. To get the next set of Git repositories, use the token in the next request.

SortBy'Name' | 'CreationTime' | 'LastModifiedTime'

The field to sort results by. The default is <code>Name</code>.

SortOrder'Ascending' | 'Descending'

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

Response

Success

NextTokenstring

If the result of a <code>ListCodeRepositoriesOutput</code> request was truncated, the response includes a <code>NextToken</code>. To get the next set of Git repositories, use the token in the next request.