Skip to main content
GET
/
v1
/
workflows
/
edges
/
versions
List Edge Versions
curl --request GET \
  --url https://api.retab.com/v1/workflows/edges/versions \
  --header 'Api-Key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "edge_id": "<string>",
      "workflow_id": "<string>",
      "workflow_version_id": "<string>",
      "source": "<string>",
      "target": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "source_handle": "<string>",
      "target_handle": "<string>",
      "animated": true
    }
  ],
  "list_metadata": {
    "before": "<string>",
    "after": "<string>"
  }
}
List immutable workflow edge versions.
Python
workflow_id = "wf_abc123"
print(workflow_id)
TypeScript
const workflowId = "wf_abc123";
console.log(workflowId);
Go
workflowID := "wf_abc123"
_ = workflowID
Java
String workflowId = "wf_abc123";
System.out.println(workflowId);
cURL
curl "https://api.retab.com/v1/workflows/edges/versions?workflow_id=wf_abc123" \
  -H "Api-Key: $RETAB_API_KEY"

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

before
string | null

Edge version cursor before

after
string | null

Edge version cursor after

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.