DOCS

Delete a prompt

DELETE/prompts/{prompt_id}

Deletes a prompt and its answer history. This can’t be undone; to keep the history, stop tracking it instead.

Changes data · Read & write keyAll plans

Path parameters

prompt_idstringrequiredThe prompt, prm_….

Response

id, object and deleted: true.

Errors

401unauthorizedMissing or revoked API key.
403read_only_keyThe key is read-only, or your role can’t make changes.
404not_foundNo prompt with that id that this key can read.
429rate_limitedToo many requests; see Retry-After.