List workflows¶
Lists workflows readable by the current caller. Filter by source, status, run mode, or name.
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
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"
Read next page
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 |
|---|---|---|---|
|
integer |
No |
Returns the starting position of the list. |
|
integer |
No |
The maximum number returned this time. |
|
string |
No |
Filter by workflow source type. |
|
string |
No |
Filter by current workflow status. |
|
string |
No |
Filter by run mode. |
|
string |
No |
Search by workflow name. |
|
boolean |
No |
Whether to return dynamic-service workflows. |
Successful response¶
{
"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 |
|---|---|---|
|
string |
|
|
string |
|
|
object |
response data. |
|
integer |
Total workflows matching the current filters. |
|
array |
Workflow summary list. |
|
string |
workflow ID. |
|
string |
workflow name. |
|
string |
workflow description. May be omitted if not set. |
|
string |
workflow source type. |
|
string |
Current workflow status. |
|
array of string |
Actions allowed by the current state. It should be read again before calling again. |
|
string |
Configured run mode. |
|
string |
Cron expressions. Only returned when scheduled. |
|
string |
Draft ID. Returned when provided by the server. |
|
string |
Candidate ID. Returned when provided by the server. |
|
string |
The latest workflow version ID. Returned when provided by the server. |
|
integer |
The latest workflow version number. Returned when provided by the server. |
|
string |
The latest workflow version status. Returned when provided by the server. |
|
string |
Workflow-level computing resource ID. May be omitted if not associated. |
|
string |
Creation time. Returned when provided by the server. |
|
string |
Last updated. Returned when provided by the server. |
|
object |
Run parameter verification summary. |
|
object |
Perform summarization. |
|
string |
Parameter verification status. |
|
integer |
Total number of parameters. |
|
integer |
Number of required parameters. |
|
integer |
The required number of parameters has been filled in. |
|
integer |
The number of required parameters is missing. |
|
array of string |
Missing parameter ID. May be omitted if not missing. |
|
array of string |
Missing parameter display name. May be omitted if not missing. |
|
integer |
Total number of executions. |
|
integer |
Number of activity executions. |
|
string |
Current activity execution ID. May be omitted when no activity is executing. |
|
string |
Current activity execution status. May be omitted when no activity is executing. |
|
string |
The most recent execution ID. May be omitted if there is no execution record. |
|
string |
The latest execution status. May be omitted if there is no execution record. |
|
string |
Last execution time. May be omitted if there is no execution record. |
|
object |
Trigger summary. |
|
array |
Computing resource binding for workflow or node. |
|
string |
Trigger mode. |
|
boolean |
Has it been configured? |
|
boolean |
Whether it is enabled. |
|
integer |
The associated volume ID. Returned only when the volume is triggered. |
|
string |
Cron expressions. Only returned when scheduled. |
|
string |
Service name. Returned only when serving dynamically. |
|
string |
Compute resource ID. |
|
string |
Compute resource name. Returned when provided by the server. |
|
boolean |
Whether this is a workflow-level binding. |
|
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¶
{
"code": "ErrParamInvalid",
"msg": "请求参数无效"
}
Field |
Type |
Description |
|---|---|---|
|
string |
error code. |
|
string |
Error description. |
Common HTTP errors¶
HTTP status |
Error code |
Common cause |
Recommended action |
|---|---|---|---|
400 |
|
Invalid request field, workspace, or operation precondition. |
Fix the request parameters and submit again. |
401 |
|
Missing or invalid authentication credentials. |
Check the credential type, expiration, and authentication header. |
403 |
|
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 |
|
The target object or required reference was not found. |
Verify the object identifier, workspace, and current status. |
409 |
|
Conflict in resource state, request payload, or concurrent modification. |
Re-read the current state and version, then handle according to the latest result. |
500 |
|
Internal processing failed; write operations may have been partially applied. |
Retain request and trace details, and verify the current state before retrying. |
503 |
|
A business, runtime, or authorization dependency is temporarily unavailable. |
After the dependency recovers, check existing results first instead of blindly repeating writes. |