# Manage workflows and templates

Create, view, update, pause, or delete workflows, and manage reusable workflow templates. This page handles workflow definitions and templates. To start, resume, or retry a specific job, see [Run, resume, and retry workflow jobs](https://omnifabric.cloudsigma.com/docs/developer/api/ai-studio/data-processing/workflow-jobs-recovery.html.md).

## Prerequisites

Prepare credentials that can access the target workspace. For service endpoints, authentication, and general request formats, see [Make your first AI Studio API call](https://omnifabric.cloudsigma.com/docs/developer/quickstart/index.html.md).

Before updating, pausing, resuming, or deleting, obtain target IDs from the workflow or template list or details.

## Call sequence

1. List workflows and templates to decide whether to reuse an existing object or maintain a target object.
2. Update a workflow or template to adjust its definition. Create a workflow when you need to use it for later jobs.
3. Pause a workflow to stop it temporarily, then resume it to continue. Confirm current information through details.
4. Delete an object only after confirming it is no longer needed.

## API operations

### Manage workflows

| Task | Use it when |
| --- | --- |
| [Query workflows](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/workflows/list-workflows.html.md) | Find a workflow or obtain a target ID. |
| [Query workflow details](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/workflows/get-workflow.html.md) | Inspect current information for one workflow. |
| [Update a workflow](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/workflows/update-workflow.html.md) | Modify an existing workflow. |
| [Create a workflow](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/workflows/create-workflow.html.md) | You prepared workflow DSL and need to create a workflow. |
| [Pause a workflow](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/workflows/pause-workflow.html.md) | Stop a workflow temporarily. |
| [Resume a workflow](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/workflows/resume-workflow.html.md) | Continue a paused workflow. |
| [Delete a workflow](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/workflows/delete-workflow.html.md) | You confirmed that the workflow is no longer needed. |

### Manage workflow templates

| Task | Use it when |
| --- | --- |
| [Query workflow templates](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/workflow-templates/list-workflow-templates.html.md) | Find a reusable template or obtain a template ID. |
| [Query workflow template details](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/workflow-templates/get-workflow-template.html.md) | Inspect current information for one template. |
| [Create a workflow template](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/workflow-templates/create-workflow-template.html.md) | Add a reusable template. |
| [Update a workflow template](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/workflow-templates/update-workflow-template.html.md) | Modify an existing template. |
| [Delete a workflow template](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/workflow-templates/delete-workflow-template.html.md) | You confirmed that the template is no longer needed. |

## Confirm the result

After creation, update, pause, or resume, use [Get workflow details](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/workflows/get-workflow.html.md) to confirm current workflow information. After creating, updating, or deleting a template, use template details or the list to confirm the target object.

## Limitations and notes

- Workflow definitions and individual jobs are different objects. This page does not confirm actual job results.
- Before deleting a workflow or template, confirm that no later operation still depends on it.

## Next steps

- [Run, resume, and retry workflow jobs](https://omnifabric.cloudsigma.com/docs/developer/api/ai-studio/data-processing/workflow-jobs-recovery.html.md)
- [Manage workflow artifacts and data lineage](https://omnifabric.cloudsigma.com/docs/developer/api/ai-studio/data-processing/workflow-artifacts-lineage.html.md)
