Rails endpoint to update workflow status
Create a new endpoint
PATCH /api/v4/ai/duo_workflows/workflows/{id}
The endpoint should use the state machine defined in the Ai::DuoWorkflows::Workflow model to update it's status.
Possible statuses: created, running, paused, finished, failed
This endpoint should require ai_workflows scope
Edited by Halil Coban