Accept Review — POST /api/v1/reviews/{review_id}/accept
Accept Review
Accept an AI report. Its run becomes passed.
Endpoint: POST /api/v1/reviews/{review_id}/accept
Authentication: Send a signed-in user’s access token in Authorization: Bearer <access token>, or an API key in X-API-Key: <API key>.
- Your role must be QA lead or higher.
- You must have access to this review.
Parameters
Section titled “Parameters”| Name | In | Required | Type | Default | Description |
|---|---|---|---|---|---|
review_id | path | yes | string (uuid) | ||
X-API-Key | header | no | string or null | API key, as an alternative to the access token (see Authentication). |
Request body
Section titled “Request body”| Content type | Body | Required |
|---|---|---|
application/json | AcceptReviewRequest or null | no |
Responses
Section titled “Responses”| Status | Meaning | Body |
|---|---|---|
200 | Successful Response | ReviewResponse (application/json) |
422 | Validation Error | HTTPValidationError (application/json) |
It can also return 401 if your credential is missing or expired, 403 if your credential does not allow this request, and 404 if the item does not exist or you cannot see it. Your role, your project membership and the key’s scope decide what a credential allows. See Errors and retries.
More details
Section titled “More details”- Group: Reviews
- Operation ID:
accept_review_api_v1_reviews__review_id__accept_post - Source code:
backend/app/routers/reviews.py, line 294 - Specification: OpenAPI JSON