btcintel

Retract a claim with a reason (human curator or admin)

POST /v1/ops/claims/{claim_id}/retract
quién puede llamarla
Un operador
una persona: admin o curator
qué cuesta
1 petición de la cuota
niveles y claves
cuán reciente
Nunca en caché
cada respuesta lleva la altura del índice y la del nodo
Herramienta MCP
Ninguna
En esta página

Parámetros

NombreDóndeTipoObligatorioQué hace
claim_idrutastringobligatorioThe claim's id: ann_<n>, att_<n>, rel_<n> or evt_<n>.
reasoncuerpostringobligatorioWhy the claim is retracted, kept with it. Required and never blank.

El cuerpo es application/json.

esquema
  • reason string obligatorio — Why the claim is retracted, kept with it. Required and never blank.

Qué responde

Retracted; the claim stays addressable at its versions. A retracted annotation, attribution or relation stays retracted: no later import or match makes it current again. A retracted finding of the pool matcher (event:tag_address_mismatch) stays retracted too, but the block's next match writes a new one while the block's attributions still disagree. When the claim is a block's attribution and the block holds an open finding, the block is matched again in the same transaction, so no open finding cites the row; when the block's observation is not stored, its open finding is left for the block's next match.

CampoTipoQué lleva
retractedstringThe claim retracted, its id as the path gives it.
reasonstringThe reason given.
esquema
  • retracted string — The claim retracted, its id as the path gives it.
  • reason string — The reason given.

Errores

EstadoCódigoCuándo
400invalid_inputMalformed input (invalid_input).
401unauthorizedunauthorized: the request does not say who makes it, or what it offers does not verify: no key or session where one is needed, or a password, a code, a passkey or a signed event that does not check. The message says what is missing.
403forbiddenforbidden: the caller is known but may not do this: a key without the scope or the tier the action needs, a session without an npub, a second factor or a recent sign-in, an operator without the role or switched off, or a source that does not allow it. The message says which.
404not_foundnot_found: what the path names is not known: not in the index (for a transaction, not in the node's mempool either), or no such record. The message says which.
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.

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/ops/claims/ann_33932/retract \
  -H "Authorization: Bearer $BTCINTEL_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"reason":"…"}' | jq

This route needs an operator credential. Set BTCINTEL_KEY to the ops bearer or a btci_ key with the ops:agent scope first: the snippet reads it from there and holds no key.