Lifecycle
Publish, run, version and test a workflow.
| Endpoint | Path | |
|---|---|---|
POST | Publish the current draft and make the workflow live | /api/workflows/{id}/publish |
POST | Take the workflow offline | /api/workflows/{id}/unpublish |
POST | Revoke the public webhook URL and issue a new one | /api/workflows/{id}/webhook/rotate |
POST | Start a run of this workflow | /api/workflows/{id}/run |
GET | List this workflow's runs, newest first | /api/workflows/{id}/runs |
GET | List the workflow's variables (secret values never returned) | /api/workflows/{id}/variables |
PUT | Replace the whole variable set | /api/workflows/{id}/variables |
GET | List published versions, newest first | /api/workflows/{id}/versions |
GET | Read one published version, including its full snapshot | /api/workflows/{id}/versions/{versionId} |
POST | Copy a published version's snapshot over the draft | /api/workflows/{id}/versions/{versionId}/restore |