GET
/
apps
/
{app_id}
/
workflows
/
discover
/
{workflow_id}
curl --request GET \
  --url https://api.withcortex.ai/apps/{app_id}/workflows/discover/{workflow_id}
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "app": {
    "id": "<string>",
    "name": "<string>",
    "verified": true
  },
  "visibility": "PUBLIC",
  "version": {
    "id": "<string>",
    "description": "<string>",
    "version": 123,
    "created_at": "2023-12-25",
    "key": "<string>",
    "input": {},
    "input_default": {},
    "steps": [
      {
        "type": "code",
        "key": "<string>",
        "conditional": "<string>",
        "loop": "<string>",
        "code": "<string>"
      }
    ]
  },
  "tags": [
    {
      "id": "<string>",
      "name": "<string>",
      "app_id": "<string>",
      "created_at": "2023-12-25",
      "updated_at": "2023-12-25"
    }
  ],
  "created_at": "2023-12-25",
  "updated_at": "2023-12-25",
  "key": "<string>",
  "input": {},
  "input_default": {},
  "steps": [
    {
      "type": "code",
      "key": "<string>",
      "conditional": "<string>",
      "loop": "<string>",
      "code": "<string>"
    }
  ]
}

Path Parameters

app_id
string
required
workflow_id
string
required

Response

200 - application/json
id
string
required
name
string
required
description
string | null
required
app
object
required
visibility
enum<string>
required
Available options:
PUBLIC,
PRIVATE
version
object | null
required
tags
object[]
required
created_at
string | null
required
updated_at
string | null
required
key
string
required
input
object
required
input_default
object | null
required
steps
object[]
required