Skip to main content
POST
/
v1
/
workflows
/
edges
/
versions
/
{edge_version_id}
/
restore
edge = client.workflows.edges.create_version_restore("ever_abc123")
{
  "id": "<string>",
  "workflow_id": "<string>",
  "source_block": "<string>",
  "target_block": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "source_handle": "<string>",
  "target_handle": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.retab.com/llms.txt

Use this file to discover all available pages before exploring further.

Restore an immutable edge version into the workflow’s current draft. If the logical edge already exists in the current draft, its snapshot fields are overwritten. If it does not exist, it is recreated.
edge = client.workflows.edges.create_version_restore("ever_abc123")

Authorizations

Api-Key
string
header
required

Path Parameters

edge_version_id
string
required

Response

Successful Response

Public live workflow edge object.

id
string
required
workflow_id
string
required

Foreign key to workflow

source_block
string
required

ID of the source block

target_block
string
required

ID of the target block

updated_at
string<date-time>
required
source_handle
string | null

Output handle on source block

target_handle
string | null

Input handle on target block