Skip to main content

run_suite

Dispatch runs for several features in one call — one run per feature, on the same spine as run_feature. Omit features to run every feature with status generated (the whole runnable suite). Returns the dispatched runIds immediately.

info

A feature whose dispatch fails (e.g. no generated tests) is reported per-item with an error instead of aborting the rest.

Request

POST /api/v1/ops/projects/{project}/runs
ParameterInTypeRequiredDescription
projectpathstringyesThe project's public id.
featuresbodystring[]noFeature ids or names. Omit to run all generated features.
configbodystringnoPlaywright configuration name (default Default — see list_configs).
siteUrlbodystringnoTest site URL override.
curl -X POST -H "Authorization: Bearer $TESTVIBE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}' \
"$TESTVIBE_SERVER/api/v1/ops/projects/$PROJECT/runs"

Response

202 Accepted

{
"runs": [
{ "featureId": 12, "featureName": "Login Functionality", "runId": 215 },
{ "featureId": 15, "featureName": "Checkout", "runId": 216 },
{ "featureId": 18, "featureName": "Search", "error": "conflict", "message": "This feature has no generated tests yet — generate them first." }
]
}

Poll each runId with wait_for_run / get_run.

Errors

HTTPWhen
404 not_foundNo such project, or a named feature doesn't exist.
409 conflictfeatures was omitted and the project has no generated features.