View node output contents

Lists the individually identifiable output produced by the specified processing node.

HTTP
GET $CLOUDSIGMA_API_BASE/lineage/artifacts/{artifact_id}/nodes/{node_id}/output-blocks

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. Prepare personal access token and target workspace ID that can access the target workspace.

Select the actual and complete target product and node execution.

Request parameters

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

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

This interface is not paginated.

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": {
    "artifact_id": "asset-001:case-001",
    "node_id": "root.prepare",
    "blocks": []
  }
}

Field

Type

Description

data.artifact_id

string

Processing result ID.

data.node_id

string

Node ID. Returned when viewing node range.

data.node_execution_id

string

Node execution ID.

data.output_artifact_id

string

Output product ID.

data.blocks

array of object

Output content list.

data.blocks[].block_id

string

Output block ID.

data.blocks[].workspace_id

string

The workspace ID to which it belongs.

data.blocks[].branch_id

string

Rerun branch ID.

data.blocks[].target_scope

string

target range. Value: final_artifact, node_output.

data.blocks[].root_asset_id

string

Root asset ID.

data.blocks[].output_artifact_id

string

Output product ID.

data.blocks[].case_id

string

Run ID.

data.blocks[].node_execution_id

string

Node execution ID.

data.blocks[].path

string

path.

data.blocks[].content_ref

string

Content citation.

data.blocks[].content_hash

string

Summary of content.

data.blocks[].content_preview

string

Content preview.

data.blocks[].block_contract_version

string

The output content format is the agreed version.

data.blocks[].block_contract_hash

string

Outputs a summary of content format conventions.

data.blocks[].revision_capable

boolean

Whether revisions are supported.

data.blocks[].revision_unsupported_reason

string

Reason why revision is not supported.

data.blocks[].block_contract_json

string

Output content format convention JSON text.

data.blocks[].created_at

string

Creation time. RFC 3339 time.

Error response

When the target is missing, the run record selection is ambiguous, or the content integrity is inconsistent, the interface returns an error. data in the business error response is null.

JSON
{
  "code": "ErrParamInvalid",
  "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