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.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
POST https://api.velt.dev/v2/workflow/steps/recordReviewerDecision
recorded: false only on idempotent replay. aggregatorStatus: pending / resolved / rejected. resumeScheduled: true when this decision triggered the resume task.
| 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.