Workflow Versions

Create Workflow Version

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

Request

  • Base URL
    https://api-qa.interactly.ai
  • URL
    https://api-qa.interactly.ai/workflows/v1/workflows/{workflow_id}/versions
  • Auth
    HTTP bearer

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.

pruned_global_tool_exclusionsobject

Global tool keys this save cleared from nodes' excluded_global_tools, by node logical id, because the save removed those tools from the workflow. An editor holding the nodes in memory applies the same change, or its next save of one of them writes the stale keys back. Empty on every route that does not change global tools.

parent_active_versioninteger nullable

Active version number from parent workflow

Changes

    • info

      the response's property default value changed from {"logical_id":"llm_e5ca80c0-d871-4344-85a6-bde233d7ebd3","provider":"default_provider","streaming":false,"max_retries":3,"max_parse_retries":3,"model_kwargs":{},"do_not_split_sentences":false,"type":"no_llm"} to {"logical_id":"llm_21096945-9aec-4223-8c31-bce2edf35864","provider":"default_provider","streaming":false,"max_retries":3,"max_parse_retries":3,"model_kwargs":{},"do_not_split_sentences":false,"type":"no_llm"} for the status

    • info

      the response's property default value changed from {"logical_id":"llm_d5b171a9-6b0f-406f-b29b-46aba5819a27","provider":"default_provider","streaming":false,"max_retries":3,"max_parse_retries":3,"model_kwargs":{},"do_not_split_sentences":false,"type":"no_llm"} to {"logical_id":"llm_e5ca80c0-d871-4344-85a6-bde233d7ebd3","provider":"default_provider","streaming":false,"max_retries":3,"max_parse_retries":3,"model_kwargs":{},"do_not_split_sentences":false,"type":"no_llm"} for the status