Molecule OS
Endpoints

Feedback

Record a thumbs up/down on an answer, keyed by its decisionId — the production signal the eval flywheel samples.

POST/v1/feedback

Records a thumbs up/down on an answer, tied to the decisionId that answer returned. This is the {feedback} signal in the eval flywheel: production traffic → online judges → triage queue → dataset rows. Because decisionId identifies the exact policy decision, retrieved chunks, and snapshot the answer was composed under, a rating is fully replayable back to what produced it.

Any authenticated key may submit feedback — including the public widget key.

Request body

Prop

Type

Request
{
  "decisionId": "dec_a71b…",
  "rating": "down",
  "reason": "didn't mention the porting fee"
}

Response

202 Accepted — the rating is recorded.

Prop

Type

Response
{ "ok": true, "feedbackId": "fb_9c2e…" }

Try it

POST http://localhost:8080/v1/feedback

v0 stores feedback in-memory on the gateway (it survives only for the process lifetime) — the honest cut while the durable trace log is a separate workstream. The contract is stable; the storage is what gets upgraded.

On this page