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.
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.
Before updating, pausing, resuming, or deleting, obtain target IDs from the workflow or template list or details.
Call sequence¶
List workflows and templates to decide whether to reuse an existing object or maintain a target object.
Update a workflow or template to adjust its definition. Create a workflow when you need to use it for later jobs.
Pause a workflow to stop it temporarily, then resume it to continue. Confirm current information through details.
Delete an object only after confirming it is no longer needed.
API operations¶
Manage workflows¶
Task |
Use it when |
|---|---|
Find a workflow or obtain a target ID. |
|
Inspect current information for one workflow. |
|
Modify an existing workflow. |
|
You prepared workflow DSL and need to create a workflow. |
|
Stop a workflow temporarily. |
|
Continue a paused workflow. |
|
You confirmed that the workflow is no longer needed. |
Manage workflow templates¶
Task |
Use it when |
|---|---|
Find a reusable template or obtain a template ID. |
|
Inspect current information for one template. |
|
Add a reusable template. |
|
Modify an existing template. |
|
You confirmed that the template is no longer needed. |
Confirm the result¶
After creation, update, pause, or resume, use Get workflow details 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.