Skip to main content
GET
Get pull request

Path Parameters

pullRequestId
string
required

Query Parameters

query
object
required

Response

200 - application/json

The request has succeeded.

A pull request with all of its reviews, newest first.

id
string
required

Pull request id (UUID). Pass it to get_pull_request.

provider
string
required

github or gitlab.

repository
string
required

Repository as owner/name.

number
integer<int32>
required
title
string
required
state
enum<string>
required
Available options:
open,
merged,
closed
author
string | null
required
headRef
string
required
baseRef
string
required
url
string
required

Pull request URL on the provider.

dashboardUrl
string
required

Dashboard URL for the pull request.

reviewConversationShortId
string | null
required

Short ID of the pull request's review conversation. Pass it to get_chat_conversation for the review's runs and messages.

Pattern: ^chat(-.+_.+|_.+)$
latestReview
object | null
required

The most recent review, or null if QA.tech has not reviewed the pull request.

createdAt
string<date-time>
required
mergedAt
string<date-time> | null
required
closedAt
string<date-time> | null
required
reviews
object[]
required