View workflow job details¶
Retrieve the current information for a workflow job.
GET $CLOUDSIGMA_API_BASE/workflow/v2/workflow-apps/{workflow_id}/executions/{execution_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. First start the workflow job or query the workflow job list to obtain the workflow ID and job ID. Prepare personal access token and target workspace ID with workflow read permission.
Path parameters¶
Replace $CLOUDSIGMA_API_KEY, $WORKSPACE_ID, $WORKFLOW_ID, and $EXECUTION_ID with actual values.
curl "$CLOUDSIGMA_API_BASE/workflow/v2/workflow-apps/$WORKFLOW_ID/executions/$EXECUTION_ID" \
-H "X-API-Key: $CLOUDSIGMA_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID"
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
workflow ID. |
|
string |
Yes |
Job ID. |
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"execution": {
"execution_id": "run-001",
"workflow_id": "wf-001",
"status": "running",
"execution_mode": "one_shot",
"started_at": "2026-08-28T10:00:00Z"
}
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
|
|
string |
|
|
object |
response data. |
|
object |
Job details. |
|
string |
Job ID. |
|
string |
workflow ID. |
|
string |
Current or final job status. |
|
array of string |
Actions allowed in the current state. |
|
string |
Execution method. |
|
string |
Cron expression. Returned for scheduled triggers. |
|
object |
Expanded runtime inputs. |
|
object |
Expanded runtime variables. |
|
string |
Server task ID. Returned if there is a value. |
|
string |
Server case identifier. Returned if there is a value. |
|
string |
workflow definition identifier. Returned if there is a value. |
|
string |
workflow version identifier. Returned if there is a value. |
|
string |
Pause scope. Returned if there is a value. |
|
string |
error message. Returned if there is a value. |
|
string |
Start time. Omit if not started. |
|
string |
end time. Omit if not ended. |
|
string |
Creation time. Omitted if not provided by the server. |
|
string |
Last updated. Omitted if not provided by the server. |
Error response¶
{
"code": "ErrNotFound",
"msg": "未找到工作流作业"
}
Field |
Type |
Description |
|---|---|---|
|
string |
error code. |
|
string |
Readable error message. |
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. |