Skip to main content
GET
/
hub
/
workflows
/
{collection_topic}
/
{flow_topic}
/
history
Workflow Configuration History
curl --request GET \
  --url https://api.quiva.ai/hub/workflows/{collection_topic}/{flow_topic}/history \
  --header 'Authorization: Bearer <token>'
[
  {
    "nodes": [
      {
        "data": {
          "id": "start",
          "name": "Start",
          "node_type": "map",
          "payload": {
            "message": "Version 3 - Current"
          }
        }
      },
      {
        "data": {
          "id": "process",
          "name": "Process",
          "node_type": "function",
          "subject": "quiva-function.process-v3",
          "payload": {
            "input": "{start}"
          }
        }
      },
      {
        "data": {
          "id": "notify",
          "name": "Notify",
          "node_type": "integration",
          "subject": "slack.chat.postMessage",
          "payload": {
            "channel": "#alerts",
            "text": "{process.result}"
          }
        }
      }
    ],
    "edges": [
      {
        "source": "start",
        "target": "process",
        "id": "e1"
      },
      {
        "source": "process",
        "target": "notify",
        "id": "e2"
      }
    ],
    "result": "notify"
  },
  {
    "nodes": [
      {
        "data": {
          "id": "start",
          "name": "Start",
          "node_type": "map",
          "payload": {
            "message": "Version 2"
          }
        }
      },
      {
        "data": {
          "id": "process",
          "name": "Process",
          "node_type": "function",
          "subject": "quiva-function.process-v2",
          "payload": {
            "input": "{start}"
          }
        }
      }
    ],
    "edges": [
      {
        "source": "start",
        "target": "process",
        "id": "e1"
      }
    ],
    "result": "process"
  },
  {
    "nodes": [
      {
        "data": {
          "id": "start",
          "name": "Start",
          "node_type": "map",
          "payload": {
            "message": "Version 1 - Initial"
          }
        }
      }
    ],
    "edges": [],
    "result": "start"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.quiva.ai/llms.txt

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

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme

Path Parameters

collection_topic
string
required

The topic is a hash of the name that was used when a collection was created

flow_topic
string
required

Flow topic - hash of the names the node was created with

Query Parameters

draft
boolean

Draft flag

Response

Workflow history

nodes
object[]

Array of nodes in the workflow

edges
object[]

Array of edges connecting nodes in the workflow

static
object

Static data available to all nodes in the workflow

result
string

Expression to determine the final result of the workflow

options
object