Workflows

Approve a run waiting on a human

REACHES OUTSIDE GRAPH8 when the approved step does: the paused run RESUMES and performs the action it was holding (a send, an API call, a write). 403 when approved_by may not approve it; 404 for another organisation's run.

post/workflows/executions/approve

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/workflows/executions/approve
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

workflow_idstring required

The paused run's workflow id.

approved_bystring required

Who approved; voice checks they may.

notesstring nullable

Response

Successful Response

dataVoicePayload required

One voice object - a collection, an agent, a route, a chat.

Open-shaped: voice adds fields to these bodies on its own release cadence and a dropped-or-added key must not be a 500 in this service.

Changes

No recorded changes to this operation across all 2 revisions of this API.