GET
/
v1
/
reviews
/
{id}
Get review
curl --request GET \
  --url https://api.ghostsecurity.ai/v1/reviews/{id} \
  --header 'Authorization: Bearer <token>'
{
  "closed_issue_count": 0,
  "created_at": "2025-01-01T00:00:00Z",
  "id": "csUT18jx0mY",
  "last_review_at": "2025-01-01T00:00:00Z",
  "open_high_count": 0,
  "open_issue_count": 0,
  "open_low_count": 0,
  "open_medium_count": 0,
  "pr_author": "author",
  "pr_number": 1,
  "pr_status": "open",
  "pr_title": "Fix bug",
  "provider": "github",
  "repo_id": "1e7d8c9b-ce80-41ae-8645-5b2a89165615-gitlab-69265683",
  "repo_name": "repo",
  "repo_owner": "owner",
  "updated_at": "2025-01-01T00:00:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Review ID

Response

OK

Review

closed_issue_count
integer
Example:

0

created_at
string
Example:

"2025-01-01T00:00:00Z"

id
string
Example:

"csUT18jx0mY"

last_review_at
string
Example:

"2025-01-01T00:00:00Z"

open_high_count
integer
Example:

0

open_issue_count
integer
Example:

0

open_low_count
integer
Example:

0

open_medium_count
integer
Example:

0

pr_author
string
Example:

"author"

pr_number
integer
Example:

1

pr_status
string
Example:

"open"

pr_title
string
Example:

"Fix bug"

provider
string
Example:

"github"

repo_id
string
Example:

"1e7d8c9b-ce80-41ae-8645-5b2a89165615-gitlab-69265683"

repo_name
string
Example:

"repo"

repo_owner
string
Example:

"owner"

updated_at
string
Example:

"2025-01-01T00:00:00Z"