recomentionDocs
API reference

Remove a saved question

Idempotency receipts can be replayed for 7 days; after that window the same key may be processed as a new edit. Edits saved next-run questions only; no run starts and nothing is charged. Send a required Idempotency-Key header (16–128 letters, digits, - or _). Keys are bound to the owner, project and edit fields; repeating those returns the original result with reused=true, even after intervening edits. Changed fields describe a new edit, as with report starts. Additions use the dashboard's validation, duplicate rejection and plan cap (up to 10). Historical report questions are never modified.

DELETE
/v1/projects/{id}/prompts/{promptId}

Authorization

apiKey
headerAuthorizationBearer <token>

An API key (rmk_…).

Path Parameters

id*string
promptId*string

Header Parameters

Idempotency-Key*string
Match^[A-Za-z0-9_-]{16,128}$

Response Body

The saved list after this edit.

application/json
  1. response
prompts*array<>
ok*boolean
reused*boolean
Example Request
curl -X DELETE 'https://api.recomention.com/v1/projects/string/prompts/string' \  -H 'Idempotency-Key: string'
Example Response
{  "prompts": [    {      "id": "string",      "text": "string",      "intent": "string",      "stage": "string",      "createdAt": "string"    }  ],  "ok": true,  "reused": true}