GET
/
apps
/
{app_id}
/
workflows
/
{workflow_id}
/
tests
/
stats
curl --request GET \
  --url https://api.withcortex.ai/apps/{app_id}/workflows/{workflow_id}/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

workflow_id
string
required

The ID of the workflow

Response

200 - application/json

Statistics about workflow tests

total_count
number
required

Total number of workflow tests

running_count
number
required

Number of running workflow tests

cancelled_count
number
required

Number of cancelled workflow tests

passing_count
number
required

Number of passing workflow tests

failing_count
number
required

Number of failing workflow tests

expectations_failing_count
number
required

Number of expectations failing in workflow tests

expectations_passing_count
number
required

Number of expectations passing in workflow tests