Resume workflow

Resumes a paused workflow and resumes execution paused by the workflow pause operation. This operation does not create a new run.

HTTP
POST $CLOUDSIGMA_API_BASE/workflow/v2/workflow-apps/{workflow_id}/resume

Before you call

Configure the CloudSigma regional endpoint and authentication before calling. The endpoint, credentials, workspace, and resource IDs must belong to the same region. First query the workflow details and confirm the workflow to be restored. Prepare personal access token and target workspace ID with workflow management permissions.

Path parameters

Replace $CLOUDSIGMA_API_KEY, $WORKSPACE_ID and $WORKFLOW_ID with actual values.

Shell
curl -X POST "$CLOUDSIGMA_API_BASE/workflow/v2/workflow-apps/$WORKFLOW_ID/resume" \
  -H "X-API-Key: $CLOUDSIGMA_API_KEY" \
  -H "X-Workspace-ID: $WORKSPACE_ID"

Parameter

Type

Required

Description

workflow_id

string

Yes

The workflow ID to be restored.

Successful response

JSON
{
  "code": "OK",
  "msg": "OK",
  "data": {
    "workflow": {
      "id": "wf-001",
      "name": "daily-import",
      "status": "ready",
      "available_actions": [
        "update",
        "delete",
        "run",
        "pause"
      ],
      "execution_summary": {
        "total_executions": 8,
        "active_executions": 0
      },
      "source_type": "nl2dsl",
      "execution_mode": "one_shot",
      "trigger_summary": {
        "mode": "one_shot",
        "configured": false,
        "enabled": false
      },
      "created_at": "2026-10-14T00:00:00Z",
      "updated_at": "2026-10-14T00:00:00Z",
      "dsl_yaml": "",
      "definition_format": "dsl"
    }
  }
}

Field

Type

Description

code

string

success code.

msg

string

Response information.

data

object

The data returned by this operation.

data.workflow

object

MOWL workflow definition.

data.workflow.id

string

workflow ID.

data.workflow.name

string

workflow name.

data.workflow.description

string

Description of the current object.

data.workflow.source_type

string

Source type. The values are nl2dsl, manual_dsl, manual_mowl, system, agent_automation_task

data.workflow.status

string

The restored state. The values are ready, disabled, paused

data.workflow.available_actions

array of string

Action hints for the current state. They do not indicate that the current user has passed permission checks.

data.workflow.execution_mode

string

Execution mode: one_shot, volume_trigger, cron, dynamic_service, task_by_version.

data.workflow.cron_expression

string

Cron expressions.

data.workflow.draft_id

string

Association ID.

data.workflow.candidate_id

string

Association ID.

data.workflow.latest_workflow_version_id

string

Association ID.

data.workflow.compute_resource_id

string

Association ID.

data.workflow.compute_resource_bindings

array of object

Computing resource binding.

data.workflow.compute_resource_bindings[].id

string

ID of the current object.

data.workflow.compute_resource_bindings[].name

string

The name of the current object.

data.workflow.compute_resource_bindings[].workflow_level

boolean

Whether this is a workflow-level binding.

data.workflow.compute_resource_bindings[].node_names

array of string

Node name list.

data.workflow.execution_summary

object

Perform summarization.

data.workflow.execution_summary.total_executions

integer

Total job count.

data.workflow.execution_summary.active_executions

integer

Active job count.

data.workflow.execution_summary.active_execution_id

string

Association ID.

data.workflow.execution_summary.active_execution_status

string

Active job status: preparing, waiting, pending, triggered, running, completed, failed, cancelled, submitted, scheduled, paused, canceled, success, succeeded, queued, cancelling, canceling.

data.workflow.execution_summary.latest_execution_id

string

Association ID.

data.workflow.execution_summary.latest_execution_status

string

Most recent job status: preparing, waiting, pending, triggered, running, completed, failed, cancelled, submitted, scheduled, paused, canceled, success, succeeded, queued, cancelling, canceling.

data.workflow.execution_summary.latest_execution_at

string

time information.

data.workflow.trigger_summary

object

Trigger configuration summary.

data.workflow.trigger_summary.mode

string

Scope or execution mode: one_shot, volume_trigger, cron, dynamic_service, task_by_version.

data.workflow.trigger_summary.configured

boolean

Has it been configured?

data.workflow.trigger_summary.enabled

boolean

Whether to enable.

data.workflow.trigger_summary.volume_id

integer

Association ID.

data.workflow.trigger_summary.cron_expression

string

Cron expressions.

data.workflow.trigger_summary.service_name

string

Display information.

data.workflow.created_at

string

Creation time. In RFC 3339 format.

data.workflow.updated_at

string

Last updated time. In RFC 3339 format.

data.workflow.goal

string

Objective statement.

data.workflow.planner_model

string

planning model.

data.workflow.dsl_yaml

string

workflow DSL text.

data.workflow.workflow

object

MOWL workflow definition objects allow extended keys.

data.workflow.definition_format

string

Define the format. The values ​​are dsl, mowl, and empty string.

data.workflow.runtime_fields

object

Run the form.

data.workflow.runtime_fields.title

string

Title text.

data.workflow.runtime_fields.description

string

Description of the current object.

data.workflow.runtime_fields.fields

array of object

Field definition.

data.workflow.runtime_fields.fields[].field_id

string

Form field ID used to run input and layout associations.

data.workflow.runtime_fields.fields[].label

string

Show labels.

data.workflow.runtime_fields.fields[].description

string

Description of the current object.

data.workflow.runtime_fields.fields[].widget

string

Input control type.

data.workflow.runtime_fields.fields[].json_type

string

JSON type.

data.workflow.runtime_fields.fields[].model_type

string

Model type label.

data.workflow.runtime_fields.fields[].required

boolean

Is it required?

data.workflow.runtime_fields.fields[].default

JSON value

Default value.

data.workflow.runtime_fields.fields[].has_default

boolean

Is there a default value?

data.workflow.runtime_fields.fields[].placeholder

string

Enter the prompt.

data.workflow.runtime_fields.fields[].pattern

string

String matching pattern.

data.workflow.runtime_fields.fields[].runtime_config_path

string

Field path in run configuration.

data.workflow.runtime_fields.fields[].section

string

The block it belongs to.

data.workflow.runtime_fields.fields[].group

string

The group it belongs to.

data.workflow.runtime_fields.fields[].on_value

string

Value when enabled.

data.workflow.runtime_fields.fields[].off_value

string

value when closed.

data.workflow.runtime_fields.fields[].hidden

boolean

Whether to hide.

data.workflow.runtime_fields.fields[].read_only

boolean

Whether it is read-only.

data.workflow.runtime_fields.fields[].sensitive

boolean

Whether it contains sensitive values.

data.workflow.runtime_fields.fields[].options

array of object

Optional.

data.workflow.runtime_fields.fields[].options[].label

string

Show labels.

data.workflow.runtime_fields.fields[].options[].value

JSON value

Value.

data.workflow.runtime_fields.fields[].options[].description

string

Description of the current object.

data.workflow.runtime_fields.fields[].min

number

minimum value.

data.workflow.runtime_fields.fields[].max

number

maximum value.

data.workflow.runtime_fields.fields[].accept

array of string

Allowed file types.

data.workflow.runtime_fields.fields[].resource_type

string

Resource type.

data.workflow.runtime_fields.fields[].visible_when

object

Show conditions.

data.workflow.runtime_fields.fields[].visible_when.field_id

string

Form field ID used to run input and layout associations.

data.workflow.runtime_fields.fields[].visible_when.value

JSON value

Value.

data.workflow.runtime_fields.fields[].bind_to

string or object or null

Value binding position.

data.workflow.runtime_fields.fields[].owner_node_name

string

The name of the node to which this field belongs.

data.workflow.runtime_fields.fields[].owner_node_id

string

The positioning name of the node to which this field belongs.

data.workflow.runtime_layout

object

Run the layout.

data.workflow.runtime_layout.version

string

The current resource version.

data.workflow.runtime_layout.groups

array of object or null

Field grouping.

data.workflow.runtime_layout.groups[].group_id

string

Layout group ID.

data.workflow.runtime_layout.groups[].title

string

Title text.

data.workflow.runtime_layout.groups[].node_name

string

Display information.

data.workflow.runtime_layout.groups[].node_id

string

Node ID.

data.workflow.runtime_layout.groups[].field_ids

array of string or null

Field ID within the group.

data.workflow.runtime_layout.guide

object

Guidelines for using forms.

data.workflow.runtime_layout.guide.lead

string

Boot instructions.

data.workflow.runtime_layout.guide.paths

array of object

Path list.

data.workflow.runtime_layout.guide.paths[].id

string

ID of the current object.

data.workflow.runtime_layout.guide.paths[].label

string

Show labels.

data.workflow.runtime_layout.guide.paths[].description

string

Description of the current object.

data.workflow.runtime_layout.guide.paths[].field_ids

array of string or null

Field ID within the group.

data.workflow.runtime_layout.guide.groups

array of object

Field grouping.

data.workflow.runtime_layout.guide.groups[].id

string

ID of the current object.

data.workflow.runtime_layout.guide.groups[].label

string

Show labels.

data.workflow.runtime_layout.guide.groups[].path_ids

array of string or null

List of path IDs.

data.workflow.runtime_layout.guide.groups[].field_ids

array of string or null

Field ID within the group.

data.workflow.runtime_layout.guide.fields

array of object or null

Field definition.

data.workflow.runtime_layout.guide.fields[].field_id

string

Form field ID used to run input and layout associations.

data.workflow.runtime_layout.guide.fields[].role

string

Associated roles.

data.workflow.runtime_layout.guide.fields[].note

string

Additional explanation.

data.workflow.runtime_layout.guide.fields[].group_id

string

Layout group ID.

data.workflow.runtime_layout.guide.fixed

array of object

Is it fixed?

data.workflow.runtime_layout.guide.fixed[].label

string

Show labels.

data.workflow.runtime_layout.guide.fixed[].value

string

Value.

data.workflow.default_values

object

The default running value object allows extended keys.

data.workflow.design_graph

object

Schematic objects allow extended keys.

data.workflow.notification_config

object

Final state notification configuration objects allow extended keys.

data.workflow.moi_workflow_def_id

string

Workflow definition ID.

Error response

JSON
{
  "code": "ErrConflict",
  "msg": "资源状态冲突"
}

Field

Type

Description

code

string

error code.

msg

string

Error description.

Common HTTP errors

HTTP status

Error code

Common cause

Recommended action

400

ErrParamInvalid, ErrWorkspaceRequired

Invalid request field, workspace, or operation precondition.

Fix the request parameters and submit again.

401

Unauthorized

Missing or invalid authentication credentials.

Check the credential type, expiration, and authentication header.

403

ErrForbidden

The current identity or active role does not have permission for this operation.

Use an authorized identity or contact an administrator to grant access.

404

ErrNotFound

The target object or required reference was not found.

Verify the object identifier, workspace, and current status.

409

ErrConflict

Conflict in resource state, request payload, or concurrent modification.

Re-read the current state and version, then handle according to the latest result.

500

ErrServer

Internal processing failed; write operations may have been partially applied.

Retain request and trace details, and verify the current state before retrying.

503

ErrServiceUnavailable

A business, runtime, or authorization dependency is temporarily unavailable.

After the dependency recovers, check existing results first instead of blindly repeating writes.

Last updated on