View workflow job node¶
View the running input, output, and status of a job node.
GET $CLOUDSIGMA_API_BASE/workflow/v2/workflow-apps/{workflow_id}/executions/{execution_id}/nodes/{node_key}
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 obtain the complete node path to be queried from the known workflow definition or running record. Prepare personal access token and target workspace ID with workflow read permission.
Path parameters¶
Replace $CLOUDSIGMA_API_KEY, $WORKSPACE_ID, $WORKFLOW_ID, $EXECUTION_ID, and $NODE_KEY with actual values.
curl "$CLOUDSIGMA_API_BASE/workflow/v2/workflow-apps/$WORKFLOW_ID/executions/$EXECUTION_ID/nodes/$NODE_KEY" \
-H "X-API-Key: $CLOUDSIGMA_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID"
node_key must be a complete node path, such as root.extract, which must be obtained from a known workflow definition or running record. The current job result does not return job_summary.steps, and the node key cannot be obtained from this field.
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
workflow ID. |
|
string |
Yes |
Job ID. |
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"node": {
"name": "extract",
"node_key": "root.extract",
"node_type": "extract",
"flow_id": "root",
"display_name": "示例节点"
},
"run": {
"status": "COMPLETED",
"duration_ms": 1250,
"runtime_input": null,
"runtime_output": null,
"config": null
}
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
success code. |
|
string |
Response information. |
|
object |
The data returned by this operation. |
|
object |
Node information. |
|
string |
The process ID to which the node belongs. |
|
string |
Node name. |
|
string |
DSL node key. |
|
string |
Node type. |
|
string |
Node display name. |
|
string |
Work item ID. |
|
string |
Node execution ID. |
|
object |
Operational information. |
|
string |
The current or final state of the node. |
|
string |
Node operation start time. Omitted if not generated. In RFC 3339 format. |
|
string |
The end time of node operation. Omitted if not generated. In RFC 3339 format. |
|
integer |
Node running time, in milliseconds. Omitted if not generated. |
|
string |
Node execution error. Returned if there is an error. |
|
JSON value |
Input snapshot while the node is running. |
|
JSON value |
A snapshot of the output while the node is running. |
|
JSON value |
Snapshot of node runtime variables. |
|
JSON value |
Node running configuration snapshot. |
|
object |
Node indicators. Returned when provided by the server. |
|
string |
Enter. |
|
string |
output. |
|
string |
Scope or operating mode. |
|
string |
Model binding. |
|
string |
format. |
|
integer |
Chunk size. |
|
integer |
Number of rows affected. |
|
string |
Vector table configuration. |
|
object |
Development log. Returned when provided by the server. |
|
string |
Standard output log. |
|
string |
Standard error log. |
|
string |
Streaming information. |
|
integer |
Number of bytes of standard output. |
|
integer |
Number of standard error bytes. |
|
integer |
Number of bytes of stream output. |
|
string |
Actuator information. |
|
boolean |
Whether the output is limited. |
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. |