ref_id is not validated against your data (fast path). Avoid secrets and PII in note (≤500 characters).
Discovery version 2.1.0 includes a feedback block in GET /v1/capabilities with tier limits and vocabulary.
POST /v1/feedback
Body
| Field | Type | Required | Description |
|---|---|---|---|
ref_type | string | Yes | search_id, memory_key, blob_id, or parse_id |
ref_id | string | Yes | Opaque id (e.g. _lithtrix.search_id from search) |
signal | string | Yes | helpful, unhelpful, or wrong |
note | string | No | ≤500 characters |
Success (201)
Errors
| HTTP | error_code | When |
|---|---|---|
| 422 | INVALID_REF_TYPE | ref_type not in allowed set |
| 422 | INVALID_SIGNAL | signal not in allowed set |
| 422 | NOTE_TOO_LONG | note over 500 characters |
| 422 | INVALID_REF_ID | Empty ref_id |
| 429 | FEEDBACK_LIMIT | Monthly tier cap (UTC month); includes upgrade_url |
GET /v1/feedback/stats
last_7d, last_30d, by_ref_type (counts per ref_type × signal), plus limit and remaining for the current UTC calendar month (same caps as POST).
MCP
- Tool:
lithtrix_feedback(npx -y lithtrix-mcp) - Static schema:
GET /mcp/lithtrix-feedback.json