Skip to main content

cancel_generation

Cancel a feature's in-flight generation. The feature's status becomes cancelled and it unlocks for edits, deletes, and a fresh generation.

info

Credits already consumed by the cancelled generation are not refunded — cancel early if the status shows it heading the wrong way.

Request

POST /api/v1/ops/projects/{project}/features/{feature}/generation/cancel
ParameterInTypeRequiredDescription
projectpathstringyesThe project's public id.
featurepathstringyesFeature id or name.
curl -X POST -H "Authorization: Bearer $TESTVIBE_API_KEY" \
"$TESTVIBE_SERVER/api/v1/ops/projects/$PROJECT/features/12/generation/cancel"

Response

{ "ok": true }

Errors

HTTPWhen
404 not_foundNo such feature in this project.
409 conflictThis feature is not generating.