Query running records¶
List the running records of an import task to confirm the status and processing scope of each execution. This interface only accepts task IDs and does not support status, sorting, or paging parameters.
GET $CLOUDSIGMA_API_BASE/task/runs?task_id=$TASK_ID
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, target workspace ID and task ID that can access the target workspace.
Query parameters¶
Replace $CLOUDSIGMA_API_KEY, $WORKSPACE_ID, and $TASK_ID with actual values.
curl "$CLOUDSIGMA_API_BASE/task/runs?task_id=$TASK_ID" \
-H "X-API-Key: $CLOUDSIGMA_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID"
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
Import task ID to view run records. |
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"runs": [
{
"id": "run_01",
"import_task_id": "task_01",
"workflow_execution_id": "exec_01",
"status": 2,
"row_count": 100,
"file_count": 1,
"started_at": "2026-08-18T10:00:00Z",
"ended_at": "2026-08-18T10:01:00Z"
}
],
"total": 1
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
|
|
string |
|
|
array |
Operation record. |
|
string |
Run ID. |
|
string |
The ID of the import task to which it belongs. |
|
string |
Associated workflow execution ID. May be omitted if not associated. |
|
integer |
Running status: 1 created, 2 running, 3 completed, 4 failed, 5 canceled. |
|
integer |
The number of rows processed in this run. |
|
integer |
The number of files processed in this run. |
|
string |
Start time. May be omitted if not documented. |
|
string |
end time. May be omitted if not documented. |
|
integer |
Total number of running records. |
Error response¶
{
"code": "ErrParamInvalid",
"msg": "task_id is required",
"data": null
}
Field |
Type |
Description |
|---|---|---|
|
string |
error code. |
|
string |
Readable error message. |
|
null |
The error response is |