For the complete documentation index, see llms.txt. This page is also available as Markdown.

cancel_generation

Cancel a feature's in-flight generation.

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

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
Parameter
In
Type
Required
Description

project

path

string

yes

The project's public id.

feature

path

string

yes

Feature id or name.

curl -X POST -H "Authorization: Bearer $TESTVIBE_API_KEY" \
  "$TESTVIBE_SERVER/api/v1/ops/projects/$PROJECT/features/12/generation/cancel"

Tool cancel_generation{ "feature": "12" }.

Response

{ "ok": true }

Errors

HTTP
When

404 not_found

No such feature in this project.

409 conflict

This feature is not generating.

Last updated

Was this helpful?