Skip to main content
GET
List AI code reviews

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Query Parameters

repository
string

One repository, as owner/name. Omitted, every repository is read.

verdict
enum<string>

Only reviews with this verdict.

Available options:
approve,
comment,
request_changes
period
enum<string>
default:30d

The window read, counted back from now: 7d, 30d (the default), 90d or all.

Available options:
7d,
30d,
90d,
all
cursor
string

The next_cursor of the previous page. Omitted for the first page.

limit
integer
default:25

Reviews per page, 1 to 100.

Required range: 1 <= x <= 100

Response

Successful Response

One keyset page of the organisation's AI pull request reviews, newest first.

reviews
CodeReviewListItem · object[]
required
next_cursor
string | null
required

Pass back as cursor for the next page; null on the last page.

period
string
required