sayintel
Endpoint

Undo decision

POST/api/public/v1/decisions/{decision_id}/undowrite

Take back a decision within its 12 second window: the row reopens and a reply marked booked goes back to replied. Refused after the window.

Request

curl -X POST "https://sayintel.com/api/public/v1/decisions/<decision_id>/undo" \
  -H "Authorization: Bearer $SAYINTEL_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{}'

Try it out

Try it outPOST/api/public/v1/decisions/{decision_id}/undowrite

Sent as a bearer token to this site only, and kept in this tab's session storage. It is never written to disk or sent anywhere else.

Paste an API key to run.

Path parameters

NameInTypeRequiredDescription
decision_idpathstringyes—

Response

{
  "ok": true,
  "tool": "undo_decision",
  "kind": "write",
  "data": { ... },
  "error": null
}

Notes

  • Scope required: write. How scopes work.
  • Accepts Idempotency-Key. A retry with the same key replays the first result instead of repeating the work.
  • Same capability over MCP as the tool undo_decision. MCP setup.