Api referenceWorkflows
Workflows
Workflows API endpoints
Workflows API
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/workflows | |
POST | /v1/workflows | |
GET | /v1/workflows/executions/{executionId} | Get a single workflow execution by ID |
POST | /v1/workflows/executions/{executionId}/replay | Replay a past workflow execution with the same inputs |
GET | /v1/workflows/{id} | |
PATCH | /v1/workflows/{id} | |
DELETE | /v1/workflows/{id} | |
PUT | /v1/workflows/{id}/draft | Save workflow draft without creating a version event |
POST | /v1/workflows/{id}/publish | Publish workflow, creating a version snapshot |
POST | /v1/workflows/{id}/unpublish | Unpublish workflow (move back to draft) |
GET | /v1/workflows/{id}/versions | Get version history for a workflow |
GET | /v1/workflows/{id}/versions/{version} | Get reconstructed workflow state at a specific version |
POST | /v1/workflows/{workflowId}/execute | Execute a workflow with streaming events |
GET | /v1/workflows/{workflowId}/executions | List execution history for a workflow |

