ReferenceAPI referenceWorkflows
Pause, resume, stop, or immediately run a recurring workflow
POST
/organizations/{organization_id}/recurring-workflows/{workflow_id}/actionstasuku_session<token>
In: cookie
Path Parameters
organization_id*string
Length
1 <= length <= 128workflow_id*string
Length
1 <= length <= 128Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/organizations/string/recurring-workflows/string/actions" \ -H "Content-Type: application/json" \ -d '{ "action": "PAUSE" }'{ "data": { "active_occurrence_id": "string", "active_run_id": "string", "completion_condition": "string", "consecutive_failures": 0, "created_at": "string", "created_by": "string", "definition_id": "string", "delivery_channel_id": "string", "id": "string", "interval_seconds": 300, "kind": "QUESTION", "next_run_at": "string", "organization_id": "string", "output_format": "MARKDOWN", "prompt": "string", "repository_id": "string", "source_channel_id": "string", "source_thread_ts": "string", "status": "ACTIVE", "updated_at": "string" }}