v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1414128100.3 KB

Lists all the code reviews that the customer has created in the past 90 days.

get/codereviews#Type

Query parameters

ProviderTypesProviderType[]

List of provider types for filtering that needs to be applied before displaying the result. For example, <code>providerTypes=[GitHub]</code> lists code reviews from GitHub.

StatesJobState[]
<p>List of states for filtering that needs to be applied before displaying the result. For example, <code>states=[Pending]</code> lists code reviews in the Pending state.</p> <p>The valid code review states are:</p> <ul> <li> <p> <code>Completed</code>: The code review is complete.</p> </li> <li> <p> <code>Pending</code>: The code review started and has not completed or failed.</p> </li> <li> <p> <code>Failed</code>: The code review failed.</p> </li> <li> <p> <code>Deleting</code>: The code review is being deleted.</p> </li> </ul>
RepositoryNamesName[]

List of repository names for filtering that needs to be applied before displaying the result.

Type'PullRequest' | 'RepositoryAnalysis' required

The type of code reviews to list in the response.

MaxResultsinteger

The maximum number of results that are returned per call. The default is 100.

NextTokenstring

If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

Response

Success

NextTokenstring

Pagination token.