Send feedback (the web sheet, agents, automatic failure reports)
POST /v1/feedback- who may call it
- Anyone
- no key and no session
- how fresh
- Never cached
- every answer carries the index's height and the node's
On this page
Explicit feedback, never telemetry. Open to every tier within feedback_per_day of the tier ladder, counted per caller per UTC day (in memory): a refused call is quota_exceeded with Retry-After to midnight UTC. A report the web's server relays for a reader, carrying the X-Forwarded-For and CF-Connecting-IP it received and no cookie or credential, is counted against that reader's address, in the same count as the reports the reader sends with no key; from any caller outside the deployment's own network those headers are ignored. channel defaults to web; the MCP tool send_feedback forces mcp; auto is a failure report an agent or the MCP layer sends about a tool error. subject is canonicalised and linked to the subject row; claim_id names the claim the text is about. contact is optional and never an email: an npub (npub1… or 64 hex), a btci_ token, or {"token": true} to link the key sent as the bearer. Text is stored as given and rendered escaped everywhere; nothing is fetched or rendered as HTML. The web sheet renders only while /v1/status.features.feedback is true.
Parameters
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
channel | body | string | optional | Who is speaking: the web sheet, an agent over MCP, or an automatic failure report. |
subject | body | object | optional | The subject the text is about, canonicalised on arrival. |
claim_id | body | string | optional | The claim the text is about (ann_123, attr_45…). |
page | body | string | optional | The web page or the agent context it came from. |
tool | body | string | optional | The MCP tool involved, if any. |
app_version | body | string | optional | The version of the app that sends it, as the app names it. |
text | body | string | required | Free text, stored as given. |
details | body | object | optional | Structured context under 8 KB: error payloads, request ids. |
contact | body | one of | optional | Optional, never an email: an npub (npub1… or 64 hex), a btci_ token, or {npub, token} where token: true links the key sent as the bearer. It ties the report to that npub or key, and brings no reply. |
The body is application/json.
schema FeedbackBody
channelstring — Who is speaking: the web sheet, an agent over MCP, or an automatic failure report. · one of "web", "mcp", "auto" · default "web"subjectobject — The subject the text is about, canonicalised on arrival.kindstring required — The kind of subject, which sets howkeyis read. · one of "address", "script", "tx", "block", "outpoint", "pool", "descriptor", "pubkey"keystring required — The subject's key, canonicalised as its kind wants.
claim_idstring — The claim the text is about (ann_123,attr_45…).pagestring — The web page or the agent context it came from. · at most 200 characterstoolstring — The MCP tool involved, if any. · at most 80 charactersapp_versionstring — The version of the app that sends it, as the app names it. · at most 40 characterstextstring required — Free text, stored as given. · at least 1 characters · at most 4096 charactersdetailsobject — Structured context under 8 KB: error payloads, request ids.contactone of — Optional, never an email: an npub (npub1…or 64 hex), abtci_token, or{npub, token}wheretoken: truelinks the key sent as the bearer. It ties the report to that npub or key, and brings no reply.- string
- object
npubstring — The npub the report is tied to,npub1…or 64 hex.tokenone of —truelinks the key the request is sent with; abtci_token links that key.- boolean
- string
What it answers
201 · application/json
The report is stored. No reply comes through this channel.
Headers: Cache-Control
| Field | Type | What it carries |
|---|---|---|
id | integer | The entry's id. |
status | string | Always new: the entry waits for triage. |
schema FeedbackReceipt
idinteger required — The entry's id.statusstring = "new" required — Alwaysnew: the entry waits for triage.
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_input | Malformed input (invalid_input). |
| 413 | too_large | Body over 16 KB (too_large). |
| 429 | quota_exceeded | quota_exceeded: the caller's tier ran out of requests for the minute or the day. Retry-After says when to try again; every rate-limited answer carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and X-RateLimit-Tier. While the deployment runs in log-only mode the decision is logged instead and X-RateLimit-Policy: log-only is set. |
| 501 | not_configured | Feedback is not enabled on this deployment (not_configured). |
Each comes in the one error envelope, and none is cached: an error carries Cache-Control: no-store.
Example
curl and jq, in any shell.
curl -s -X POST https://api.btcintel.io/v1/feedback \
-H 'Content-Type: application/json' \
-d '{"page":"/tx/71e4dae2…","subject":{"kind":"tx","key":"71e4dae29ed1bc9fe008bba7f3542fd5961b780c220ca8778100a7cb8bd4c81b"},"text":"the label looks wrong"}' | jq