Skip to main content
GET
/
workflow-components
/
{component_id}
/
versions
/
{version_number}
Get component version
curl --request GET \
  --url https://api.cloudcruise.com/workflow-components/{component_id}/versions/{version_number} \
  --header 'cc-key: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "version_number": 2,
  "component_data": {
    "nodes": [
      {
        "workflowNode": {
          "id": "<string>",
          "name": "<string>",
          "parameters": {},
          "description": "<string>"
        },
        "position": {
          "x": 123,
          "y": 123
        }
      }
    ],
    "workflowEdges": {},
    "reactFlowEdges": [
      {
        "sourceId": "<string>",
        "targetId": "<string>",
        "sourceHandle": "<string>",
        "targetHandle": "<string>"
      }
    ],
    "vault_schema": {}
  },
  "created_at": "2023-11-07T05:31:56Z",
  "version_note": "<string>",
  "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cloudcruise.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

cc-key
string
header
required

API key-based authentication. Provide your CloudCruise API key in the cc-key header.

Headers

cc-key
string

CloudCruise API key for authentication

Path Parameters

component_id
string<uuid>
required

The ID of the workflow component

version_number
integer
required

The version number to fetch (1-indexed, auto-incrementing per component)

Required range: x >= 1

Response

Successful operation

A specific historical version of a workflow component, including its component_data as it was at that version.

id
string<uuid>
required

UUID of the version row in the underlying versions table

component_id
string<uuid>
required

ID of the parent component

version_number
integer
required
Required range: x >= 1
component_data
object
required

Structural payload for a workflow component — the nodes, edges, and vault schema that compose it. Mirrors the shape used by the workflow visualizer.

created_at
string<date-time>
required
version_note
string | null
created_by
string<uuid>