View processing node details

Reads a configuration and running snapshot of the node associated with the processing results.

HTTP
GET $CLOUDSIGMA_API_BASE/lineage/artifacts/{artifact_id}/nodes/{node_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 query the processing result link, and obtain the processing result ID and node ID from the response. Prepare personal access token, target workspace ID, processing result ID and node ID that can access the target workspace.

The node ID cannot be replaced by the node display name.

Confirm that the final product is readable.

Request parameters

Replace $ARTIFACT_ID, $NODE_ID, $CLOUDSIGMA_API_KEY, $WORKSPACE_ID in the example with actual values.

Shell
curl "$CLOUDSIGMA_API_BASE/lineage/artifacts/$ARTIFACT_ID/nodes/$NODE_ID" \
  -H "X-API-Key: $CLOUDSIGMA_API_KEY" \
  -H "X-Workspace-ID: $WORKSPACE_ID"

The node details use the running records corresponding to the product, and additional latest selection parameters are not accepted.

Parameter

Type

Required

Description

artifact_id

string

Yes

A composite identifier composed of the root asset ID and the source run ID, encoded as a path segment.

node_id

string

Yes

Full node path, such as root.prepare.

artifact_id is a composite identifier composed of the root asset ID and the source run ID, for example, asset-001:case-001. Encode the complete value as a path segment. node_id uses the full node path, such as root.prepare, and cannot be replaced by an arbitrary display name.

Successful response

JSON
{
  "code": "OK",
  "msg": "OK",
  "data": {
    "workflow": {
      "workflow_version_id": "ver-001",
      "workflow_id": "wf-001"
    },
    "node": {
      "node_id": "root.prepare",
      "label": "解析文件",
      "selected_run_id": "run-001",
      "candidate_runs": 1
    },
    "run": {
      "config": {},
      "runtime_input": {},
      "runtime_output": {},
      "status": "success",
      "duration_ms": 10
    }
  }
}

Field

Type

Description

data.workflow

object

workflow information.

data.workflow.workflow_version_id

string

workflow version ID.

data.workflow.workflow_id

string

workflow ID.

data.workflow.version

integer

version.

data.workflow.name

string

Name.

data.workflow.root_net

string

Root run diagram.

data.node

object

Node information.

data.node.node_id

string

Full node path.

data.node.label

string

label.

data.node.workitem_type_id

string

Work item type ID.

data.node.selected_run_id

string

Selected run ID.

data.node.parallel_index

integer

Parallel fragmentation sequence number. Not less than -2147483648. Not larger than 2147483647.

data.node.candidate_runs

integer

Candidate run.

data.run

object

Operational information.

data.run.config

object

Configuration.

data.run.runtime_input

object

Run input.

data.run.runtime_vars

object

Run variables.

data.run.runtime_output

object

Run output.

data.run.status

string

status.

data.run.error

string

error message.

data.run.duration_ms

integer

The number of milliseconds it took.

Error response

HTTP 404 may be returned when the target is missing, and HTTP 409 may be returned when running record selection conflicts.

JSON
{
  "code": "ErrNotFound",
  "msg": "资源不存在",
  "data": null
}

Field

Type

Required

Description

code

string

No

error code.

msg

string

No

Readable error message.

data

null

No

null in error response.

Last updated on