Delete a Workflow

Permanently remove a workflow configuration from a training project. Completed training runs and trained models are not affected.

Deleting a workflow in Datature Vi permanently removes its configuration (the system prompt, dataset settings, model parameters, and canvas layout). Training runs that used the workflow are not deleted. Their metrics, logs, and trained models remain fully accessible.

Before You Start
  • Deleting a workflow is irreversible.
  • The workflow you want to delete must have no active training runs (the platform blocks deletion while a run is in progress).
1

Open your training project

Open your training project

Go to Training in the sidebar and click the project containing the workflow you want to duplicate.

You should see
Workflows list without the deleted workflow, runs tab still showing associated run history

The workflow no longer appears in the workflows list. Existing training runs that referenced it remain intact in the Runs tab.

What gets deleted and what stays

Deleted immediately:

  • Workflow configuration (system prompt, dataset settings, model parameters)
  • Workflow name, description, and canvas layout

Not affected:

  • Completed training runs that used the workflow (remain viewable with all metrics and logs)
  • Trained model artifacts from those runs
  • The source dataset
  • Other workflows in the project

Note: If a training run is currently using the workflow, the platform will block deletion. Kill the active run first, then delete the workflow.

Do this with the Vi SDK

import vi

client = vi.Client(
    secret_key="your-secret-key",
    organization_id="your-organization-id"
)

client.flows.delete("your-flow-id")

For more details, see the full SDK reference.

Next steps

Duplicate A Workflow

Create a backup copy before deleting, if you might need the configuration later.

Manage Runs

Review run history and clean up completed training sessions.

Delete A Training Project

Remove an entire project when you are done with it.