Record Reviewer Decision
Steps
Record Reviewer Decision
POST
Record Reviewer Decision
Use this API to record a single reviewer’s decision against a human step. When all mandatory reviewers approve (or any reviewer rejects), the step’s aggregator transitions terminal and the step resumes.Documentation Index
Fetch the complete documentation index at: https://velt-v5-0-2-beta-28.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
POST https://api.velt.dev/v2/workflow/steps/recordReviewerDecision
Headers
Your API key.
Your Auth Token.
Body
Params
Example Requests
Approve as a reviewer
Reject as a reviewer
Response
Success Response
recorded: false only on idempotent replay. aggregatorStatus: pending / resolved / rejected. resumeScheduled: true when this decision triggered the resume task.
Failure Response
| Code | Cause |
|---|---|
FAILED_PRECONDITION | Step is not in waiting, step is not a human node, or the step is the legacy comment-resolution variant (use the comment-reply flow instead). |
NOT_FOUND | executionId or stepId does not exist. |
INVALID_ARGUMENT | Schema validation (missing field, wrong type). |
reviewerId not listed on the node’s reviewers[] does not throw — the aggregator records the response as an unknown responder, and the response payload’s aggregatorStatus reflects whether quorum has shifted.

