Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.

Body

application/json
provider
enum<string>
required

Source control provider that hosts the pull request.

Available options:
github,
gitlab,
bitbucket
installation_id
integer
required

Provider installation ID (for example the GitHub App installation) that has access to the repository.

repository_full_name
string
required

owner/name.

pr_number
integer
required

Number of the pull request to review.

Response

Review started.

review_id
string<uuid>
required
status
enum<string>
required
Available options:
pending,
running,
completed,
posting,
posted,
failed