GET
/
apps
/
{app_id}
/
workflows
/
{workflow_id}
/
versions
[
  {
    "id": "<string>",
    "app_id": "<string>",
    "workflow_id": "<string>",
    "description": "<string>",
    "version": 123,
    "rollback_version": 123,
    "notes": "<string>",
    "created_by": {
      "id": "<string>",
      "name": "<string>"
    },
    "created_at": "2023-12-25",
    "key": "<string>",
    "input": {},
    "input_default": {},
    "input_options": {
      "display": {
        "field": "inline",
        "container": "grid",
        "hidden": true
      }
    },
    "steps": [
      {
        "type": "note",
        "key": "<string>",
        "display": "expanded",
        "conditional": "<string>",
        "loop": "<string>",
        "throw_on_error": true,
        "input_connected": true,
        "destinations": [
          "<string>"
        ],
        "position": [
          123
        ],
        "size": [
          101
        ],
        "auto": {
          "provider": "<string>",
          "model": "<string>",
          "temperature": 1
        },
        "note": "<string>"
      }
    ]
  }
]

Path Parameters

app_id
string
required

The ID of the app

workflow_id
string
required

The ID of the workflow

Query Parameters

page
number

Page number

take
number

Number of items to take

next
string

Next page token (Only used on special endpoints)

Response

200 - application/json

An array of workflow versions.

The response is of type object[].