Skip to main content
GET
/
workflows
/
{workflowId}
/
snapshots
/
{snapshotId}
Get workflow snapshot detail
curl --request GET \
  --url https://core.cyberun.cloud/api/v1/workflows/{workflowId}/snapshots/{snapshotId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "workflow_version": 123,
  "workflow_json": {},
  "created_at": "2023-11-07T05:31:56Z",
  "snapshot_note": "<string>",
  "workflow_params": [
    {
      "key": "prompt",
      "label": "Positive Prompt",
      "node_id": "6",
      "field": "text",
      "target_path": "train.max_num_iterations",
      "description": "<string>",
      "required": true,
      "default": "<unknown>",
      "min": 123,
      "max": 123,
      "options": [
        "<string>"
      ],
      "accept": [
        "<string>"
      ],
      "source_key": "input_image"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.cyberun.cloud/llms.txt

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

Authorizations

Authorization
string
header
required

User session JWT (Bearer ). Must be paired with the X-Team-ID request header on team-scoped endpoints so the server knows which team's resources to operate on.

Headers

X-Team-ID
string<uuid>

UUID of the team to scope the request to. Used by dual-auth endpoints (runtime + scoped management):

  • JWT callers MUST send it — a user may belong to multiple teams and the runtime cannot otherwise know which one to operate on. Missing header → 400.
  • Credential callers (sk-, dk-) can omit it because the team is derived from the credential row itself. Any value sent is ignored.
Example:

"019abc12-4567-7890-abcd-ef1234567891"

Path Parameters

workflowId
string<uuid>
required
snapshotId
string<uuid>
required

Response

Snapshot detail

id
string<uuid>
required
workflow_id
string<uuid>
required
workflow_version
integer
required
workflow_json
object
required

The full ComfyUI workflow definition as raw JSON.

created_at
string<date-time>
required
snapshot_note
string
workflow_params
object[]

Parameter definitions at the time of snapshot.