List reviews
BetaWe just launched Apps: hosted models, actions and pages, on the same bill as your inference.Read the Apps docs

List reviews

GEThttps://api.inferencebureau.com/v1/auditor/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, skipped or failed.

  • sincestringoptional

    An ISO 8601 time: only reviews started at or after it.

  • limitintegeroptional

    1 to 100. Default 50.

  • cursorstringoptional

    The next_cursor of the page before.

Response

  • triggerstringrequired

    open, ready, push, or command when someone asked (requested_by).

  • statusstringrequired

    status_reason says why a review was skipped or failed.

  • findingsobjectrequired

    What this review posted: new, by severity, and how many earlier findings it resolved. The findings themselves are on List findings with pull_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.