btcintel

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

POST /v1/ops/claims/{claim_id}/retract
who may call it
An operator
a human: admin or curator
what it costs
1 request of the quota
tiers and keys
how fresh
Never cached
every answer carries the index's height and the node's
MCP tool
None
On this page

Parameters

NameWhereTypeRequiredWhat it does
claim_idpathstringrequiredThe claim's id: ann_<n>, att_<n>, rel_<n> or evt_<n>.
reasonbodystringrequiredWhy the claim is retracted, kept with it. Required and never blank.

The body is application/json.

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

What it answers

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.

FieldTypeWhat it carries
retractedstringThe claim retracted, its id as the path gives it.
reasonstringThe reason given.
schema
  • retracted string — The claim retracted, its id as the path gives it.
  • reason string — The reason given.

Errors

StatusCodeWhen
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.

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/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.