View processing node details¶
Reads a configuration and running snapshot of the node associated with the processing results.
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.
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 |
|---|---|---|---|
|
string |
Yes |
A composite identifier composed of the root asset ID and the source run ID, encoded as a path segment. |
|
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¶
{
"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 |
|---|---|---|
|
object |
workflow information. |
|
string |
workflow version ID. |
|
string |
workflow ID. |
|
integer |
version. |
|
string |
Name. |
|
string |
Root run diagram. |
|
object |
Node information. |
|
string |
Full node path. |
|
string |
label. |
|
string |
Work item type ID. |
|
string |
Selected run ID. |
|
integer |
Parallel fragmentation sequence number. Not less than -2147483648. Not larger than 2147483647. |
|
integer |
Candidate run. |
|
object |
Operational information. |
|
object |
Configuration. |
|
object |
Run input. |
|
object |
Run variables. |
|
object |
Run output. |
|
string |
status. |
|
string |
error message. |
|
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.
{
"code": "ErrNotFound",
"msg": "资源不存在",
"data": null
}
Field |
Type |
Required |
Description |
|---|---|---|---|
|
string |
No |
error code. |
|
string |
No |
Readable error message. |
|
null |
No |
null in error response. |