403 The "customerReview" feature is not enabled for this team. Accept every review of the run, or of one generation node, that takes a decision now: needs_review and returned before their deadline. Pass expectedCount, the number of reviews the user confirmed: when a different number awaits a decision now, the response is 409 with the current number and nothing is accepted. The reviews are fixed at the request, so reviews that open later are not included. They are accepted in the background through the same accept as one by one: each expert is paid, each task is billed, and each item moves on to the next node. A review that is decided, rejected, or past its deadline before its turn is skipped. There is no job to poll: follow the progress in the awaiting list, which shrinks as the reviews are accepted. Rejects stay one by one, each with its own evidence.
Signature
Method signature onclient.reviews:
Parameters
How many awaiting reviews the user confirmed accepting. When a different number awaits a decision now, nothing is accepted.
Returns
Promise<AcceptReviewsResult>
The awaiting reviews queued to be accepted in the background.
Errors
HTTP errors throwPotatoApiError. The endpoint documents these error responses:
HTTP endpoint:
POST /runs/{runId}/reviews/accept.