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.
Permissions
Requires a service user with theUseReviewManual permission at the enterprise level.Authorizations
Service User credential (prefix: cog_)
Query Parameters
Full URL of the pull/merge request to look up (e.g. https://github.com/owner/repo/pull/123).
"https://github.com/owner/repo/pull/123"
Commit SHA to look up (full or short prefix). Defaults to the PR's current head commit when omitted.
"abc123def4567890abc123def4567890abc123de"
Response
Successful Response
Commit SHA of the PR head that will be reviewed.
When the review was accepted.
Pull/merge request number.
Normalized host-prefixed repo path (e.g. github.com/owner/repo).
Current review status. Newly accepted reviews start as pending.
pending, running, completed, errored 