v1

latestOpenAPI 3.1.02026-07-26269227514.8 KB
pr-reviews

Get latest Devin Review status

Return the latest Devin Review for a PR scoped to the enterprise.

The owning organization is resolved server-side from pr_url — the same way as the trigger endpoint. 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.

get/v3/enterprise/pr-reviews

Query parameters

pr_urlstring required

Full URL of the pull/merge request to look up (e.g. https://github.com/owner/repo/pull/123).

Example:https://github.com/owner/repo/pull/123

Full URL of the pull/merge request to look up (e.g. https://github.com/owner/repo/pull/123).

commit_shastring nullable

Commit SHA to look up (full or short prefix). Defaults to the PR's current head commit when omitted.

Example:abc123def4567890abc123def4567890abc123de

Commit SHA to look up (full or short prefix). Defaults to the PR's current head commit when omitted.

Response

Successful Response

commit_shastring required

Commit SHA of the PR head that will be reviewed.

created_atstring date-time required

When the review was accepted.

pr_numberinteger required

Pull/merge request number.

repo_pathstring required

Normalized host-prefixed repo path (e.g. github.com/owner/repo).

status'pending' | 'running' | 'completed' | 'errored' | 'cancelled' required

Current review status. Newly accepted reviews start as pending.