Submit approval decision

Submit a human approval decision for a workflow requiring approval. Replaces the admin-only endpoint with a gateway-managed, authenticated endpoint.

post/api/v1/approvals/decision

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/approvals/decision
  • Auth: API key in header X-API-Key

Request body

approval_idstring required

Unique approval identifier

approvedboolean required

Whether the action is approved

approved_bystring

User who approved (defaults to authenticated user)

feedbackstring

Optional feedback message

modified_actionstring

Optional modified action if approved with changes

run_idstring

Optional run ID

workflow_idstring required

Workflow ID requiring approval

Response

Approval decision submitted successfully

approval_idstring

Approval ID

messagestring

Status message

run_idstring

Run ID

statusstring

Status of the approval submission

successboolean

Whether the approval was successfully submitted

workflow_idstring

Workflow ID

Changes

No recorded changes to this operation across all 1 revision of this API.