GET
/
apps
/
{app_id}
/
workflows
/
{workflow_id}
/
tests
curl --request GET \
  --url https://api.withcortex.ai/apps/{app_id}/workflows/{workflow_id}/tests
[
  {
    "id": "<string>",
    "name": "<string>",
    "input": {},
    "input_default": {},
    "expectations": [
      {
        "name": "<string>",
        "script": "<string>",
        "output": "<any>",
        "status": "PASSED"
      }
    ],
    "workflow_id": "<string>",
    "created_at": "2023-12-25",
    "updated_at": "2023-12-25"
  }
]

Path Parameters

app_id
string
required
workflow_id
string
required

Query Parameters

page
number
take
number

Response

200 - application/json
id
string
required
name
string
required
workflow_id
string
required
created_at
string | null
required
updated_at
string | null
required
input
object | null
input_default
object | null
expectations
object[]