List workflows

Lists workflows readable by the current caller. Filter by source, status, run mode, or name.

HTTP
GET $CLOUDSIGMA_API_BASE/workflow/v2/workflow-apps

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. Prepare personal access token and target workspace ID with workflow read permission.

Query parameters

Replace the query conditions in $CLOUDSIGMA_API_KEY, $WORKSPACE_ID, and examples with actual values.

first read

Shell
curl "$CLOUDSIGMA_API_BASE/workflow/v2/workflow-apps?offset=0&limit=20" \
  -H "X-API-Key: $CLOUDSIGMA_API_KEY" \
  -H "X-Workspace-ID: $WORKSPACE_ID"

Shell
curl "$CLOUDSIGMA_API_BASE/workflow/v2/workflow-apps?offset=20&limit=20&status=ready" \
  -H "X-API-Key: $CLOUDSIGMA_API_KEY" \
  -H "X-Workspace-ID: $WORKSPACE_ID"

The default paging offset is 0, the page size is 20, and the explicit page size range is 1–200. Dynamic service filtering is only effective for include_dynamic_service=true or 1. Name query removes leading and trailing blanks and retains % and _ wildcard characters. The visibility of system definitions in lists and details is not exactly the same.

Parameter

Type

Required

Description

offset

integer

No

Returns the starting position of the list.

limit

integer

No

The maximum number returned this time.

source_type

string

No

Filter by workflow source type.

status

string

No

Filter by current workflow status.

execution_mode

string

No

Filter by run mode.

name_search

string

No

Search by workflow name.

include_dynamic_service

boolean

No

Whether to return dynamic-service workflows.

Successful response

JSON
{
  "code": "OK",
  "msg": "OK",
  "data": {
    "total": 1,
    "workflows": [
      {
        "id": "wf-001",
        "name": "daily-import",
        "source_type": "manual_dsl",
        "status": "ready",
        "available_actions": [
          "update",
          "delete",
          "run",
          "pause"
        ],
        "execution_mode": "cron",
        "cron_expression": "0 2 * * *",
        "latest_workflow_version_id": "ver-001",
        "latest_version": 3,
        "parameter_summary": {
          "status": "complete",
          "total_fields": 1,
          "required_fields": 0,
          "filled_required_fields": 0,
          "missing_required_fields": 0
        },
        "execution_summary": {
          "total_executions": 8,
          "active_executions": 0,
          "latest_execution_id": "run-008",
          "latest_execution_status": "completed"
        },
        "trigger_summary": {
          "mode": "cron",
          "configured": true,
          "enabled": true,
          "cron_expression": "0 2 * * *"
        },
        "created_at": "2026-08-18T10:00:00Z",
        "updated_at": "2026-08-18T11:00:00Z"
      }
    ]
  }
}

Field

Type

Description

code

string

OK on success.

msg

string

OK on success.

data

object

response data.

data.total

integer

Total workflows matching the current filters.

data.workflows

array

Workflow summary list.

data.workflows[].id

string

workflow ID.

data.workflows[].name

string

workflow name.

data.workflows[].description

string

workflow description. May be omitted if not set.

data.workflows[].source_type

string

workflow source type.

data.workflows[].status

string

Current workflow status.

data.workflows[].available_actions

array of string

Actions allowed by the current state. It should be read again before calling again.

data.workflows[].execution_mode

string

Configured run mode.

data.workflows[].cron_expression

string

Cron expressions. Only returned when scheduled.

data.workflows[].draft_id

string

Draft ID. Returned when provided by the server.

data.workflows[].candidate_id

string

Candidate ID. Returned when provided by the server.

data.workflows[].latest_workflow_version_id

string

The latest workflow version ID. Returned when provided by the server.

data.workflows[].latest_version

integer

The latest workflow version number. Returned when provided by the server.

data.workflows[].latest_version_status

string

The latest workflow version status. Returned when provided by the server.

data.workflows[].compute_resource_id

string

Workflow-level computing resource ID. May be omitted if not associated.

data.workflows[].created_at

string

Creation time. Returned when provided by the server.

data.workflows[].updated_at

string

Last updated. Returned when provided by the server.

data.workflows[].parameter_summary

object

Run parameter verification summary.

data.workflows[].execution_summary

object

Perform summarization.

data.workflows[].parameter_summary.status

string

Parameter verification status.

data.workflows[].parameter_summary.total_fields

integer

Total number of parameters.

data.workflows[].parameter_summary.required_fields

integer

Number of required parameters.

data.workflows[].parameter_summary.filled_required_fields

integer

The required number of parameters has been filled in.

data.workflows[].parameter_summary.missing_required_fields

integer

The number of required parameters is missing.

data.workflows[].parameter_summary.missing_required_field_ids

array of string

Missing parameter ID. May be omitted if not missing.

data.workflows[].parameter_summary.missing_required_field_labels

array of string

Missing parameter display name. May be omitted if not missing.

data.workflows[].execution_summary.total_executions

integer

Total number of executions.

data.workflows[].execution_summary.active_executions

integer

Number of activity executions.

data.workflows[].execution_summary.active_execution_id

string

Current activity execution ID. May be omitted when no activity is executing.

data.workflows[].execution_summary.active_execution_status

string

Current activity execution status. May be omitted when no activity is executing.

data.workflows[].execution_summary.latest_execution_id

string

The most recent execution ID. May be omitted if there is no execution record.

data.workflows[].execution_summary.latest_execution_status

string

The latest execution status. May be omitted if there is no execution record.

data.workflows[].execution_summary.latest_execution_at

string

Last execution time. May be omitted if there is no execution record.

data.workflows[].trigger_summary

object

Trigger summary.

data.workflows[].compute_resource_bindings

array

Computing resource binding for workflow or node.

data.workflows[].trigger_summary.mode

string

Trigger mode.

data.workflows[].trigger_summary.configured

boolean

Has it been configured?

data.workflows[].trigger_summary.enabled

boolean

Whether it is enabled.

data.workflows[].trigger_summary.volume_id

integer

The associated volume ID. Returned only when the volume is triggered.

data.workflows[].trigger_summary.cron_expression

string

Cron expressions. Only returned when scheduled.

data.workflows[].trigger_summary.service_name

string

Service name. Returned only when serving dynamically.

data.workflows[].compute_resource_bindings[].id

string

Compute resource ID.

data.workflows[].compute_resource_bindings[].name

string

Compute resource name. Returned when provided by the server.

data.workflows[].compute_resource_bindings[].workflow_level

boolean

Whether this is a workflow-level binding.

data.workflows[].compute_resource_bindings[].node_names

array of string

The name of the node to use for this binding.

parameter_summary is used to check whether the operating parameters are complete, and execution_summary is used to check the historical execution status. The fields are as follows.

trigger_summary is used to view triggers, and compute_resource_bindings is used to view associated compute resources. The fields are as follows.

Error response

JSON
{
  "code": "ErrParamInvalid",
  "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