Skip to main content
GET
/
v1
/
workflows
/
edges
/
versions
from retab import Retab

client = Retab()

versions = client.workflows.edges.list_versions(
    workflow_id="wrk_abc123",
    edge_id="edg_1",
)
print(versions.data[0].source)
{
  "data": [
    {
      "id": "<string>",
      "edge_id": "<string>",
      "workflow_id": "<string>",
      "organization_id": "<string>",
      "environment_id": "<string>",
      "workflow_version_id": "<string>",
      "source": "<string>",
      "target": "<string>",
      "source_handle": "<string>",
      "target_handle": "<string>",
      "animated": true,
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "list_metadata": {
    "before": "<string>",
    "after": "<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.

List immutable edge versions for one workflow. Use edge_id to narrow the list to one logical edge, or workflow_version_id to inspect the edges that belong to one workflow version.
from retab import Retab

client = Retab()

versions = client.workflows.edges.list_versions(
    workflow_id="wrk_abc123",
    edge_id="edg_1",
)
print(versions.data[0].source)

Authorizations

Api-Key
string
header
required

Query Parameters

workflow_id
string
required
edge_id
string | null

Filter by stable edge ID

workflow_version_id
string | null

Filter by workflow version ID

limit
integer
default:50

Maximum number of edge versions to return

Required range: 1 <= x <= 100

Response

Successful Response

A page of WorkflowEdgeVersion resources. data holds the items and list_metadata carries the before/after cursors; pass after to fetch the next page.

data
WorkflowEdgeVersion · object[]
required
list_metadata
ListMetadata · object
required

Boundary resource IDs for page navigation.