btcintel

Send feedback (the web sheet, agents, automatic failure reports)

POST /v1/feedback
who may call it
Anyone
no key and no session
what it costs
1 request of the quota
and counts toward feedback_per_day · tiers and keys
how fresh
Never cached
every answer carries the index's height and the node's
MCP tool
send_feedback
on the MCP server
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

NameWhereTypeRequiredWhat it does
channelbodystringoptionalWho is speaking: the web sheet, an agent over MCP, or an automatic failure report.
subjectbodyobjectoptionalThe subject the text is about, canonicalised on arrival.
claim_idbodystringoptionalThe claim the text is about (ann_123, attr_45…).
pagebodystringoptionalThe web page or the agent context it came from.
toolbodystringoptionalThe MCP tool involved, if any.
app_versionbodystringoptionalThe version of the app that sends it, as the app names it.
textbodystringrequiredFree text, stored as given.
detailsbodyobjectoptionalStructured context under 8 KB: error payloads, request ids.
contactbodyone ofoptionalOptional, 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
  • channel string — Who is speaking: the web sheet, an agent over MCP, or an automatic failure report. · one of "web", "mcp", "auto" · default "web"
  • subject object — The subject the text is about, canonicalised on arrival.
    • kind string required — The kind of subject, which sets how key is read. · one of "address", "script", "tx", "block", "outpoint", "pool", "descriptor", "pubkey"
    • key string required — The subject's key, canonicalised as its kind wants.
  • claim_id string — The claim the text is about (ann_123, attr_45…).
  • page string — The web page or the agent context it came from. · at most 200 characters
  • tool string — The MCP tool involved, if any. · at most 80 characters
  • app_version string — The version of the app that sends it, as the app names it. · at most 40 characters
  • text string required — Free text, stored as given. · at least 1 characters · at most 4096 characters
  • details object — Structured context under 8 KB: error payloads, request ids.
  • contact one of — 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.
    • string
    • object
      • npub string — The npub the report is tied to, npub1… or 64 hex.
      • token one of — true links the key the request is sent with; a btci_ 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

FieldTypeWhat it carries
idintegerThe entry's id.
statusstringAlways new: the entry waits for triage.
schema FeedbackReceipt
  • id integer required — The entry's id.
  • status string = "new" required — Always new: the entry waits for triage.

Errors

StatusCodeWhen
400invalid_inputMalformed input (invalid_input).
413too_largeBody over 16 KB (too_large).
429quota_exceededquota_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.
501not_configuredFeedback 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