Documentation pages

Cancel or delete a review

POST/reviews/{reviewId}/cancel

Key permission: reviews:write

Cancel a queued review before processing starts. Send the review ID in the URL and your API key; no request body is needed. You get back the review with its status set to cancelled. Cancelling it again is safe. A review in another state returns 409 review_not_cancellable.

Request example
curl --fail-with-body -X POST 'https://www.steletta.com/api/v1/reviews/rev_example/cancel' \
  -H "Authorization: Bearer $STELETTA_API_KEY"
DELETE/reviews/{reviewId}

Key permission: reviews:write

Delete a saved review after storing any result you need. Send the review ID in the URL and your API key; no request body is needed. A successful deletion returns an empty response. A processing review cannot be deleted and returns 409. Necessary billing, usage and operational records remain.

Request example
curl --fail-with-body -X DELETE 'https://www.steletta.com/api/v1/reviews/rev_example' \
  -H "Authorization: Bearer $STELETTA_API_KEY"