Skip to main content

run_feature

Dispatch a test run for a feature. Returns the runId immediately; the sandbox executes in the background (typically ~30 s).

warning

The feature must have status generated — anything else is rejected with 409 conflict.

Request

POST /api/v1/ops/projects/{project}/features/{feature}/run
ParameterInTypeRequiredDescription
projectpathstringyesThe project's public id.
featurepathstringyesFeature id or name.
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 '{"config": "Mobile"}' \
"$TESTVIBE_SERVER/api/v1/ops/projects/$PROJECT/features/12/run"

Response

202 Accepted

{ "runId": 214, "featureId": 12 }

Poll get_run (or use wait_for_run) until status leaves running.

Errors

HTTPWhen
404 not_foundNo such feature in this project.
409 conflictFeature not runnable (not generated), or the dispatch was rejected.