Skip to main content

Constructor

Parameters

Returns

PrReviewsClient

Methods

createPrReview()

Trigger a Devin Review for a pull/merge request. Creates a database record that will be picked up by the review worker pool. Always fetches the latest commit from the PR.

Parameters

Request-specific configuration.

Returns

PrReviewResponse

getPrReviewStatus()

Return the latest Devin Review for a PR scoped to the organization. When commit_sha is omitted, the PR’s current head commit is fetched from the provider and used. Returns 404 when no review exists for the resolved commit.

Parameters

Request-specific configuration.

Returns

PrReviewResponse