Manually update the status of a workflow execution. This is useful for programmatically controlling workflow lifecycle from external systems.
Allowed status transitions:
ended - End the execution immediatelyhandoff - Transfer execution to human agentwaiting - Pause execution until resumedUse cases:
Invalid transitions (e.g., transitioning from a terminal state) will return a 422 error with details about why the transition is not allowed.
Response: Returns full execution data including the updated status. Use GET /workflow_executions/ to retrieve execution context and event history.
Execution identifier
Request to update a workflow execution status. Only certain status transitions are allowed (ended, handoff, waiting). The execution will transition to the new status if the transition is valid according to the workflow state machine.
Execution status updated successfully
Minimal workflow execution response (without execution_context and events)
Base workflow execution schema