View workflow jobs

Lists the workflow execution jobs that are readable by the current caller. First find the execution ID through this interface, and then query the job details or results.

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

Before you call this API

Configure the regional API endpoint and authentication, and select the target workspace.

Request

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

Query parameters

FieldTypeDescription
offsetintegerReturns the starting position of the list.
limitintegerReturn the quantity.
statusstringFilter by job status.
execution_modestringFilter by execution mode.
workflow_namestringFilter by workflow name.

Successful response

Returns 200 on success. data.total is the total number of matches, and data.executions is the job summary for the current page.

JSON
{
  "code": "OK",
  "msg": "OK",
  "data": {
    "total": 1,
    "executions": [
      {
        "execution_id": "exec-001",
        "dispatch_job_id": "dispatch-001",
        "workflow_id": "wf-001",
        "workflow_name": "daily-import",
        "status": "running",
        "available_actions": ["pause", "cancel"],
        "execution_mode": "one_shot",
        "moi_task_id": "task-001",
        "moi_case_id": "case-001",
        "started_at": "2026-08-18T10:00:00Z",
        "created_at": "2026-08-18T10:00:00Z",
        "updated_at": "2026-08-18T10:01:00Z"
      }
    ]
  }
}
FieldTypeDescription
codestring`OK` when successful.
msgstring`OK` when successful.
data.totalintegerThe total number of jobs that meet the filter conditions.
data.executionsobject[]Current page job summary; empty array when there are no results.
data.executions[].execution_idstringExecution ID.
data.executions[].workflow_idstringID of the workflow to which it belongs.
data.executions[].dispatch_job_idstringScheduling job ID; returned when provided by the server.
data.executions[].workflow_namestringWorkflow name; returned when provided by the server.
data.executions[].statusstringCurrent status.
data.executions[].execution_modestringExecution mode.
data.executions[].available_actionsstring[]Operations allowed in the current state.
data.executions[].cron_expressionstringCron expression; only returned in timing mode.
data.executions[].moi_task_idstringTask ID; returned when the server has assigned it.
data.executions[].moi_case_idstringCase ID; returned when the server has assigned it.
data.executions[].moi_workflow_def_idstringWorkflow definition identifier; returned when the server has assigned it.
data.executions[].moi_workflow_version_idstringWorkflow version identifier; returned when the server has assigned it.
data.executions[].data_namestringThe name of the data associated with this execution; returned when applicable.
data.executions[].file_idstringThe file ID associated with this execution; returned when applicable.
data.executions[].pause_scopestringPause range; returned when in pause state and provided by the server.
data.executions[].errorstringCurrent execution error; returned when there is an error.
data.executions[].started_atstringStart time; may be omitted if not generated.
data.executions[].ended_atstringEnd time; may be omitted if not generated.
data.executions[].created_atstringCreation time; may be omitted if not generated.
data.executions[].updated_atstringLast updated time; may be omitted if not generated.

Error response

JSON
{
  "code": "ErrParamInvalid",
  "msg": "请求参数无效",
  "data": null
}
FieldTypeDescription
codestringError code.
msgstringReadable error message.
datanull`null` in an error response.

Follow-up operations

Use data.executions[].workflow_id and execution_id query workflow job details.

Last updated on