Skip to navigation

Trigger Devin Review

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.

Authentication

AuthorizationBearer

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

Path parameters

org_idstringRequired

Organization ID (prefix: org-)

Request

This endpoint expects an object.
pr_urlstringRequired

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

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

422
Unprocessable Entity Error