Skip to navigation

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. 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.

Authentication

AuthorizationBearer

Personal API Key (apk_user_) or Service API Key (apk_)

Query parameters

pr_urlstringRequired

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

commit_shastring or nullOptional

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

Response

Successful Response
commit_shastring
Commit SHA of the PR head that will be reviewed.
created_atdatetime
When the review was accepted.
pr_numberinteger

Pull/merge request number.

repo_pathstring

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

statusenum

Current review status. Newly accepted reviews start as pending.

Allowed values:

Errors

404
Not Found Error
422
Unprocessable Entity Error