API reference
Add saved questions
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.
POST
apiKeyheader
AuthorizationBearer <token>An API key (rmk_…).
id*stringIdempotency-Key*stringMatch
^[A-Za-z0-9_-]{16,128}$application/json- body
text*array<>Items
1 <= items <= 10The saved list after this edit.
application/json- response
prompts*array<>ok*booleanreused*booleancurl -X POST 'https://api.recomention.com/v1/projects/string/prompts' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "text": [ "string" ]}'Example Response
{ "prompts": [ { "id": "string", "text": "string", "intent": "string", "stage": "string", "createdAt": "string" } ], "ok": true, "reused": true}