Skip to main content
GET
/
v1
/
workflows
/
versions
/
{workflow_version_id}
Get Workflow Version
curl --request GET \
  --url https://api.retab.com/v1/workflows/versions/{workflow_version_id} \
  --header 'Api-Key: <api-key>'
{
  "id": "<string>",
  "workflow_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "blocks": [],
  "edges": [],
  "block_version_ids": [],
  "edge_version_ids": []
}
Fetch one immutable workflow graph version.
Python
workflow_version_id = "wfv_abc123"
print(workflow_version_id)
TypeScript
const workflowVersionId = "wfv_abc123";
console.log(workflowVersionId);
Go
workflowVersionID := "wfv_abc123"
_ = workflowVersionID
Java
String workflowVersionId = "wfv_abc123";
System.out.println(workflowVersionId);
cURL
curl "https://api.retab.com/v1/workflows/versions/wfv_abc123?workflow_id=wf_abc123" \
  -H "Api-Key: $RETAB_API_KEY"

Authorizations

Api-Key
string
header
required

Path Parameters

workflow_version_id
string
required

Query Parameters

workflow_id
string
required

Workflow that owns the version. Workflow version ids are content-addressed by executable spec, so workflow_id disambiguates identical specs reused across workflows.

Response

Successful Response

Public workflow version resource without tenant fields.

id
string
required

Public content-addressed workflow version ID

workflow_id
string
required
created_at
string<date-time>
required
blocks
WorkflowConfigBlock · object[]
edges
WorkflowConfigEdge · object[]
block_version_ids
string[]
edge_version_ids
string[]