View workflow job node

View the running input, output, and status of a job node.

HTTP
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.

Shell
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

workflow_id

string

Yes

workflow ID.

execution_id

string

Yes

Job ID.

Successful response

JSON
{
  "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

code

string

success code.

msg

string

Response information.

data

object

The data returned by this operation.

data.node

object

Node information.

data.node.flow_id

string

The process ID to which the node belongs.

data.node.name

string

Node name.

data.node.node_key

string

DSL node key.

data.node.node_type

string

Node type.

data.node.display_name

string

Node display name.

data.node.workitem_id

string

Work item ID.

data.node.node_execution_id

string

Node execution ID.

data.run

object

Operational information.

data.run.status

string

The current or final state of the node.

data.run.started_at

string

Node operation start time. Omitted if not generated. In RFC 3339 format.

data.run.ended_at

string

The end time of node operation. Omitted if not generated. In RFC 3339 format.

data.run.duration_ms

integer

Node running time, in milliseconds. Omitted if not generated.

data.run.error

string

Node execution error. Returned if there is an error.

data.run.runtime_input

JSON value

Input snapshot while the node is running.

data.run.runtime_output

JSON value

A snapshot of the output while the node is running.

data.run.runtime_vars

JSON value

Snapshot of node runtime variables.

data.run.config

JSON value

Node running configuration snapshot.

data.run.metrics

object

Node indicators. Returned when provided by the server.

data.run.metrics.input

string

Enter.

data.run.metrics.output

string

output.

data.run.metrics.mode

string

Scope or operating mode.

data.run.metrics.model

string

Model binding.

data.run.metrics.format

string

format.

data.run.metrics.chunk_size

integer

Chunk size.

data.run.metrics.affected_rows

integer

Number of rows affected.

data.run.metrics.vector_table

string

Vector table configuration.

data.run.developer_logs

object

Development log. Returned when provided by the server.

data.run.developer_logs.stdout

string

Standard output log.

data.run.developer_logs.stderr

string

Standard error log.

data.run.developer_logs.stream

string

Streaming information.

data.run.developer_logs.stdout_bytes

integer

Number of bytes of standard output.

data.run.developer_logs.stderr_bytes

integer

Number of standard error bytes.

data.run.developer_logs.stream_bytes

integer

Number of bytes of stream output.

data.run.developer_logs.runner

string

Actuator information.

data.run.developer_logs.output_limited

boolean

Whether the output is limited.

Error response

JSON
{
  "code": "ErrNotFound",
  "msg": "未找到工作流作业节点"
}

Field

Type

Description

code

string

error code.

msg

string

Readable error message.

Common HTTP errors

HTTP status

Error code

Common cause

Recommended action

400

ErrParamInvalid, ErrWorkspaceRequired

Invalid request field, workspace, or operation precondition.

Fix the request parameters and submit again.

401

Unauthorized

Missing or invalid authentication credentials.

Check the credential type, expiration, and authentication header.

403

ErrForbidden

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

ErrNotFound

The target object or required reference was not found.

Verify the object identifier, workspace, and current status.

409

ErrConflict

Conflict in resource state, request payload, or concurrent modification.

Re-read the current state and version, then handle according to the latest result.

500

ErrServer

Internal processing failed; write operations may have been partially applied.

Retain request and trace details, and verify the current state before retrying.

503

ErrServiceUnavailable

A business, runtime, or authorization dependency is temporarily unavailable.

After the dependency recovers, check existing results first instead of blindly repeating writes.

Last updated on