Delete prompt content
DELETE
https://revise.io/api/v1/prompt/{id}/contentSend 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");