GET /reviews
List code reviews, newest first.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path |
|---|---|
| GET | /v1/reviews |
`findings` and `configuration` are omitted (counters only). Each filter is a set: repeat `repository`, `pull_request_number`, or `status` to match any of several values. Webhook-created reviews appear here too, so this answers "show me every review on this PR".
Query parameters
repositorydefault
[]array<string>Only reviews on these repositories, each as owner/name. Repeat the parameter for several.
pull_request_numberdefault
[]array<integer>Only reviews on these pull request numbers. Repeat the parameter for several.
statusdefault
[]array<CodeReviewRunStatus>Only reviews in these statuses. Repeat the parameter for several.
limitdefault
50integercursorstring
curl "https://api.ellipsis.dev/v1/reviews" \
-H "Authorization: Bearer $ELLIPSIS_API_KEY"import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
for item in client.reviews.list():
print(item)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
for await (const item of client.reviews.list()) {
console.log(item);
}Request
Response
Example response · 200
{
"has_more": false,
"next_cursor": "string",
}