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

client = Retab()

version = client.workflows.blocks.get_version("bver_abcdefghijklmnopqrstuvwxyz012345")
print(version.config)
{
  "id": "<string>",
  "block_id": "<string>",
  "workflow_id": "<string>",
  "organization_id": "<string>",
  "environment_id": "<string>",
  "workflow_version_id": "<string>",
  "label": "",
  "position_x": 0,
  "position_y": 0,
  "width": 123,
  "height": 123,
  "parent_id": "<string>",
  "config": {},
  "field_ref_snapshot": {},
  "resolved_schemas": {},
  "config_hash": "",
  "created_at": "2023-11-07T05:31:56Z"
}

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 block version by its bver_... id. A block version is a full snapshot of the block inside one workflow version.
from retab import Retab

client = Retab()

version = client.workflows.blocks.get_version("bver_abcdefghijklmnopqrstuvwxyz012345")
print(version.config)

Authorizations

Api-Key
string
header
required

Path Parameters

block_version_id
string
required

Response

Successful Response

Immutable block snapshot derived from a workflow version.

id
string
required

Public content-addressed block version ID

block_id
string
required

Stable logical block ID

workflow_id
string
required

Source workflow ID

organization_id
string
required

Organization ID for data isolation

environment_id
string
required

Customer environment ID for data isolation

workflow_version_id
string
required

Workflow version this block version belongs to

type
enum<string>
required
Available options:
start_document,
start_json,
note,
parse,
edit,
extract,
split,
classifier,
conditional,
api_call,
review,
function,
while_loop,
for_each,
merge_dicts,
while_loop_sentinel_start,
while_loop_sentinel_end,
for_each_sentinel_start,
for_each_sentinel_end
label
string
default:""
position_x
number
default:0
position_y
number
default:0
width
number | null
height
number | null
parent_id
string | null
config
Config · object
field_ref_snapshot
Field Ref Snapshot · object
resolved_schemas
Resolved Schemas · object
config_hash
string
default:""

Stable SHA-256 hash of the executable block config

created_at
string<date-time>