Viewport daemon, relay, and hosted runtime are available in alpha. Surfaces may change.
VIEWPORT
ReferenceAPI reference

Approvals

2 operations in the Approvals group.

POST /api/resources/{workspace}/workflow-runs/{workflowRun}/approvals/{nodeKey}

Operation ID: decideManagedApproval

Parameters

NameInRequiredTypeDescription
workspacepathyesstring
workflowRunpathyesstring
nodeKeypathyesstring

Request body — application/json · WorkflowApprovalDecisionRequest (required)

FieldTypeRequired
approvedbooleanno
decisionenum(approve, deny, reject, request_changes)no
message`stringnull`
proposal_key`stringnull`
expected_action_digest`stringnull`
expected_proposal_digest`stringnull`

Responses

StatusDescriptionSchema
200Approval decision applied; returns the updated workflow run.WorkflowRunResponse
403Reviewer is not authorized by approval policy.—
409Approval digest is stale or reviewer already approved.—
422Approval request is invalid for the current gate state.—

GET /api/resources/{workspace}/workflow-runs/{workflowRun}/gates

Operation ID: listWorkflowRunGates

Parameters

NameInRequiredTypeDescription
workspacepathyesstring
workflowRunpathyesstring

Responses

StatusDescriptionSchema
200Human approval gates on a workflow run.WorkflowRunGateCollectionResponse

On this page