Skip to main content
GET
/
v1
/
workflows
/
versions
/
{workflow_version_id}
from retab import Retab

client = Retab()

version = client.workflows.get_version(
    "ver_abcdefghijklmnopqrstuvwxyz012345",
    workflow_id="wrk_abc123",
)
print(version.block_version_ids)
{
  "id": "<string>",
  "workflow_id": "<string>",
  "organization_id": "<string>",
  "environment_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "blocks": [],
  "edges": [],
  "block_version_ids": {},
  "edge_version_ids": {}
}

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.

Fetch one immutable workflow version. Pass workflow_id with the request to disambiguate identical executable specs that may appear in more than one workflow.
from retab import Retab

client = Retab()

version = client.workflows.get_version(
    "ver_abcdefghijklmnopqrstuvwxyz012345",
    workflow_id="wrk_abc123",
)
print(version.block_version_ids)

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.

id
string
required

Public content-addressed workflow version ID

workflow_id
string
required
organization_id
string
required
environment_id
string
required
created_at
string<date-time>
required
blocks
WorkflowConfigBlock · object[]
edges
WorkflowConfigEdge · object[]
block_version_ids
Block Version Ids · object
edge_version_ids
Edge Version Ids · object