Skip to main content
GET
/
apps
/
{app_id}
/
workflows
[
  {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "app": {
      "id": "<string>",
      "name": "<string>",
      "verified": true
    },
    "version": {
      "id": "<string>",
      "app_id": "<string>",
      "workflow_id": "<string>",
      "description": "<string>",
      "version": 123,
      "notes": "<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>",
          "note": "<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
          }
        }
      ],
      "rollback_version": 123,
      "created_by": {
        "id": "<string>",
        "name": "<string>"
      }
    },
    "tags": [
      {
        "id": "<string>",
        "name": "<string>",
        "color": "<string>",
        "app_id": "<string>",
        "created_at": "2023-12-25",
        "updated_at": "2023-12-25"
      }
    ],
    "template_id": "<string>",
    "runs_count": 0,
    "retention": {
      "max_age_in_seconds": 3600,
      "preserve_on_failure": true
    },
    "enabled": true,
    "deleted": false,
    "created_at": "2023-12-25",
    "updated_at": "2023-12-25",
    "key": "<string>",
    "input": {},
    "input_default": {},
    "input_options": {
      "display": {
        "field": "inline",
        "container": "grid",
        "hidden": true
      }
    },
    "steps": [
      {
        "type": "note",
        "key": "<string>",
        "note": "<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
        }
      }
    ],
    "tests_stats": {
      "total_count": 123,
      "running_count": 123,
      "cancelled_count": 123,
      "passing_count": 123,
      "failing_count": 123,
      "expectations_failing_count": 123,
      "expectations_passing_count": 123
    }
  }
]

Path Parameters

app_id
string
required

The ID of the app

Query Parameters

tags
string[]
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
id
string
required

Unique identifier for the workflow

name
string
required

Name of the workflow

description
string | null
required

Description of the workflow

app
object
required

Associated app with the workflow

version
object
required

Current version of the workflow

tags
object[]
required

Tags associated with the workflow

template_id
string | null
required

Unique identifier for the template

runs_count
number
required

Number of runs of the workflow

Example:

0

retention
object
required

Data retention policy for the run

Example:
{
"max_age_in_seconds": 3600,
"preserve_on_failure": true
}
enabled
boolean
required

Indicates if the workflow is enabled

Example:

true

deleted
boolean
required

Indicates if the workflow is deleted

Example:

false

created_at
string<date> | null
required

Creation date of the workflow

updated_at
string<date> | null
required

Last update date of the workflow

key
string
required

Unique key for the workflow version

input
object
required

Input definition of the workflow

input_default
object
required

Default config input values of the workflow

input_options
object
required

Input options of the workflow

steps
object[]
required

Steps of the workflow at the time this version was deployed

A step that displays as a note on the canvas

  • Option 1
  • Option 2
  • Option 3
  • Option 4
  • Option 5
  • Option 6
  • Option 7
  • Option 8
  • Option 9
tests_stats
object

Statistics of the workflow tests