List reviews
Auditor's reviews of the team's pull requests, newest first: what started each, how it ended, what it found and what it cost.
Query
- repositorystringoptional
Only this repository, as
owner/name. - pull_requestintegeroptional
Only this pull request's reviews.
- statusstringoptional
queued,running,published,superseded,skippedorfailed. - sincestringoptional
An ISO 8601 time: only reviews started at or after it.
- limitintegeroptional
1 to 100. Default 50.
- cursorstringoptional
The
next_cursorof the page before.
Response
- triggerstringrequired
open,ready,push, orcommandwhen someone asked (requested_by). - statusstringrequired
status_reasonsays why a review was skipped or failed. - findingsobjectrequired
What this review posted:
new, by severity, and how many earlier findings itresolved. The findings themselves are on List findings withpull_request. - cost_usdstring | nulloptional
What the review's model calls cost; null when it made none.
- next_cursorstring | nullrequired
Pass it as cursor for the next page; null on the last.
Notes
- Keyoptional
Any key of the team. To hear about a review as it finishes, subscribe a webhook to
auditor.review.completed.