v4

latestSwagger 2.02026-08-0343714211.7 MB
automation_runs
Automation Runs

Re-run Automation from Node

Re-run Automation from Node

post/automation_runs/{id}/rerun

Path parameters

idinteger required

Automation Run ID.

Response

The AutomationRuns object.

idinteger

ID.

automation_idinteger

ID of the associated Automation.

automation_version_idinteger

ID of the immutable Automation version pinned by this run.

workspace_idinteger

Workspace ID.

cancel_requested_atstring date-time

Date/time at which cancellation was requested.

completed_atstring date-time

Automation run completion/failure date/time.

created_atstring date-time

Automation run start date/time.

retry_atstring date-time

If set, this automation will be retried at this date/time due to failure or partial_failure.

retried_atstring date-time

If set, this Automation run was retried due to failure or partial_failure.

retried_in_run_idinteger

ID of the run that is or will be retrying this run.

retry_of_run_idinteger

ID of the original run that this run is retrying.

rerun_of_run_idinteger

ID of the run whose persisted node outputs this run reused.

rerun_from_node_idstring

Node at which this run resumed execution.

runtimenumber double

Automation run runtime.

status'running' | 'success' | 'partial_failure' | 'failure' | 'skipped' | 'queued' | 'canceled'

The status of the AutomationRun. One of queued, running, success, partial_failure, failure, skipped, or canceled.

successful_operationsinteger

Count of successful operations.

failed_operationsinteger

Count of failed operations.

definitionobject

Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.

node_statesobject

Status and execution stage for each node in this run. For performance reasons, this is not provided when listing Automation runs.

journal_urlstring

Link to the run journal artifact.

status_messages_urlstring

Link to status messages log file.

Example response

{
  "id": 1,
  "automation_id": 1,
  "automation_version_id": 1,
  "workspace_id": 1,
  "cancel_requested_at": "2000-01-01T01:00:00Z",
  "completed_at": "2000-01-01T01:00:00Z",
  "created_at": "2000-01-01T01:00:00Z",
  "retry_at": "2000-01-01T01:00:00Z",
  "retried_at": "2000-01-01T01:00:00Z",
  "retried_in_run_id": 1,
  "retry_of_run_id": 1,
  "rerun_of_run_id": 1,
  "rerun_from_node_id": "example",
  "runtime": 1,
  "status": "success",
  "successful_operations": 1,
  "failed_operations": 1,
  "execution_nodes": [
    {
      "node_id": "example",
      "node_type": "example",
      "status": "example",
      "run_stage": "example",
      "reused": true,
      "successful_operations": 1,
      "failed_operations": 1,
      "started_at": "2000-01-01T01:00:00Z",
      "completed_at": "2000-01-01T01:00:00Z",
      "duration_ms": 1,
      "inputs": [
        "example"
      ],
      "outputs": "example",
      "input_items": "example",
      "output_items": "example"
    }
  ],
  "journal_url": "example",
  "status_messages_url": "https://www.example.com/log_file.txt"
}