Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

API key passed as a Bearer token in the Authorization header.

Headers

AiQL-Workspace
string
required

ID of the workspace the request operates on.

Path Parameters

id
string
required

Body

application/json
description
string | null

Optional draft description for the review.

Response

Successful Response

id
string
required

Unique identifier of the review.

status
string
required

Current status of the review.

description
string | null
required

Description of the review.

created_at
string<date-time>
required

Timestamp when the review was created.

updated_at
string<date-time>
required

Timestamp when the review was last updated.

reviewer
UserRef · object | null

Reviewer of the review.

comments
CommentResponse · object[]

Comments on the review.

changes_requested_at
string<date-time> | null

Timestamp when the review entered CHANGES_REQUESTED.

approved_at
string<date-time> | null

Timestamp when the review was approved.

rejected_at
string<date-time> | null

Timestamp when the review was rejected.