btcintel

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

POST /v1/feedback
quién puede llamarla
Cualquiera
sin clave y sin sesión
qué cuesta
1 petición de la cuota
y cuenta para feedback_per_day · niveles y claves
cuán reciente
Nunca en caché
cada respuesta lleva la altura del índice y la del nodo
Herramienta MCP
send_feedback
en el servidor MCP
En esta página

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.

Parámetros

NombreDóndeTipoObligatorioQué hace
channelcuerpostringopcionalWho is speaking: the web sheet, an agent over MCP, or an automatic failure report.
subjectcuerpoobjectopcionalThe subject the text is about, canonicalised on arrival.
claim_idcuerpostringopcionalThe claim the text is about (ann_123, attr_45…).
pagecuerpostringopcionalThe web page or the agent context it came from.
toolcuerpostringopcionalThe MCP tool involved, if any.
app_versioncuerpostringopcionalThe version of the app that sends it, as the app names it.
textcuerpostringobligatorioFree text, stored as given.
detailscuerpoobjectopcionalStructured context under 8 KB: error payloads, request ids.
contactcuerpouno deopcionalOptional, 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.

El cuerpo es application/json.

esquema FeedbackBody
  • channel string — Who is speaking: the web sheet, an agent over MCP, or an automatic failure report. · uno de "web", "mcp", "auto" · por defecto "web"
  • subject object — The subject the text is about, canonicalised on arrival.
    • kind string obligatorio — The kind of subject, which sets how key is read. · uno de "address", "script", "tx", "block", "outpoint", "pool", "descriptor", "pubkey"
    • key string obligatorio — 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. · como mucho 200 caracteres
  • tool string — The MCP tool involved, if any. · como mucho 80 caracteres
  • app_version string — The version of the app that sends it, as the app names it. · como mucho 40 caracteres
  • text string obligatorio — Free text, stored as given. · al menos 1 caracteres · como mucho 4096 caracteres
  • details object — Structured context under 8 KB: error payloads, request ids.
  • contact uno de — 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 uno de — true links the key the request is sent with; a btci_ token links that key.
        • boolean
        • string

Qué responde

201 · application/json

The report is stored. No reply comes through this channel.

Cabeceras: Cache-Control

CampoTipoQué lleva
idintegerThe entry's id.
statusstringAlways new: the entry waits for triage.
esquema FeedbackReceipt
  • id integer obligatorio — The entry's id.
  • status string = "new" obligatorio — Always new: the entry waits for triage.

Errores

EstadoCódigoCuándo
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).

Cada uno llega en el sobre de error único, y ninguno se guarda en caché: un error lleva Cache-Control: no-store.

Ejemplo

curl y jq, en cualquier 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