Activate a version
Makes a version the one that runs (the latest unless version names another): its trigger is armed, and new runs use it.
POST/v1/workflows/{workflowId}/activate
Runs already started finish on the version they started on. Refused for a version that does not compile.
Requires the scopes workflows:write, records:read, records:write, schema:read. Operation my.workflows.activate. MCP tool my_workflows_activate. CLI: grid82 my workflows activate (npx grid82).
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
workflowId | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Idempotency-Key | string | no | Any unique string. Sending the same key with the same request again returns the first response (marked Idempotency-Replayed: true) instead of running it twice. Reusing it for a different request is refused with 409. Kept for 24 hours. Up to 255 characters. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
version | integer | no | At least 1. |
Response
Success
dataobjectrequiredRefused
errorobjectrequired