Workflow Versions

Create Workflow Version

post/workflows/v1/workflows/{workflow_id}/versions

Path parameters

workflow_idstring required
Example:5eb7cf5a86d9755df3a6c593

Request body

version_namestring required

Name of the version

mark_as_activeboolean

Whether to mark this version as active

source_version_numberinteger nullable

Version number to clone from. If not provided, defaults to active version

Response

Successful Response

warningsstring[]

Advisory authoring lints, in the same form as WorkflowsResponse.warnings. Present so the two are shaped alike: a workflow PATCH returns this model when the version exists and WorkflowsResponse when it does not, and a client should not have to know which it got to know whether to look for warnings. Empty on every route that does not lint.

parent_active_versioninteger nullable

Active version number from parent workflow

Changes