Content
Cancel in-flight content generation
Cancel a draft whose generation is still pending or generating. The draft is marked cancelled and soft-deleted so it leaves the generating queue. Completed, failed, rejected, approved, or published drafts return 409 — delete or revert those instead.
post/api/v1/content/{id}/cancel
Request
- Base URLhttps://app.promptingco.com
- URLhttps://app.promptingco.com/api/v1/content/{id}/cancel
- Auth
- API key in header x-api-key
- or HTTP bearer
- or API key in cookie better-auth.session_token
Path parameters
idstring required
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.