Rerun processing node

Create a rerun plan and branch for the specified product node. The current interface has only been created and will not automatically start execution.

HTTP
POST $CLOUDSIGMA_API_BASE/lineage/artifacts/{artifact_id}/nodes/{node_id}/rerun

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.

Request body

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

Shell
curl -X POST "$CLOUDSIGMA_API_BASE/lineage/artifacts/$ARTIFACT_ID/nodes/$NODE_ID/rerun" \
  -H "X-API-Key: $CLOUDSIGMA_API_KEY" \
  -H "X-Workspace-ID: $WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "mode": "rerun_current_and_downstream"
}'

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.

Request body

Field

Type

Required

Description

mode

string or null

No

Rerun mode. When filling in, it can only be rerun_current_and_downstream.

config_override

object

No

Override node configuration.

input_payload_override

object

No

Override run input.

vars_payload_override

object

No

Override run variables.

vars_payload_override.__notification_config

object or null

No

Notification configuration.

vars_payload_override.__notification_config.type

string

When the object is provided

type. Fixed to “http”.

vars_payload_override.__notification_config.url

string

When the object is provided

address. Cannot be empty.

vars_payload_override.__notification_config.method

string or null

No

HTTP method.

vars_payload_override.__notification_config.headers

object or null

No

Request header mapping.

vars_payload_override.__notification_config.timeout

integer or null

No

Timeout duration. Not less than 0. Not larger than 2147483647.

vars_payload_override.__notification_config.worker_id

string

No

Worker ID. Value: empty string, None.

vars_payload_override.__notification_config.message

string

No

Message content. Value: empty string, None.

vars_payload_override.__notification_config.notify_node_states

array of string or null

No

The status of the node that needs to be notified.

vars_payload_override.__notification_config.notify_node_ids

array of string or null

No

The node ID that needs to be notified.

vars_payload_override.__notification_config.notify_workflow_states

array of string

When the object is provided

The workflow status that needs to be notified. At least 1 items.

Configuration overrides are applied as dotted paths, and input and variable overrides are transformed as their respective objects. Omission or null is not equivalent to explicit {}. Overwriting does not modify the output already generated by the preceding node.

Successful response

JSON
{
  "artifact_id": "asset-001:case-001",
  "node_id": "root.prepare",
  "node_execution_id": "",
  "rerun_id": "",
  "branch_id": "",
  "case_id": "",
  "status": "initializing"
}

Field

Type

Description

data.artifact_id

string

Compound product identification.

data.node_id

string

Full node path.

data.node_execution_id

string

Node execution ID.

data.rerun_id

string

Rerun plan ID.

data.branch_id

string

Rerun branch ID.

data.case_id

string

Run ID.

data.status

string

status. Fixed to “initializing”.

Use the returned rerun_id query branch. There is currently no fully public process for launching this branch, do not create it again in lieu of launching it.

Error response

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