Revise API menu

Delete prompt content

DELETEhttps://revise.io/api/v1/prompt/{id}/content

Send no body. Delete retained prompt/result content, customer metadata, document state, artifacts, and the claimed ephemeral upload. Persistent source templates are excluded. Status and accounting receipts remain. Repeated deletion succeeds; active or pinned content returns 409.

See prompt workflows for integration guidance.

Deletes retained content, not the billing receipt. This is separate from cancelling active work. See retention.

TypeScript#

TypeScript
import { ReviseClient } from "@reviseio/api";

const revise = new ReviseClient({ apiKey: process.env.REVISE_API_KEY! });
await revise.prompts.deleteContent("prompt_id");

Authorization#

Authorizationstringrequired

Bearer <key>, with an API key from the console.

Path parameters#

idstringrequired

Responses#

204Deleted; status, receipt and idempotency tombstone remain
defaultErrorError
errorobjectrequired
Properties
codestringrequired
messagestringrequired
detailsobject