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:
adminorcurator - how fresh
- Never cached
- every answer carries the index's height and the node's
- MCP tool
- None
On this page
Parameters
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
claim_id | path | string | required | The claim's id: ann_<n>, att_<n>, rel_<n> or evt_<n>. |
reason | body | string | required | Why the claim is retracted, kept with it. Required and never blank. |
The body is application/json.
schema
reasonstring 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.
| Field | Type | What it carries |
|---|---|---|
retracted | string | The claim retracted, its id as the path gives it. |
reason | string | The reason given. |
schema
retractedstring — The claim retracted, its id as the path gives it.reasonstring — The reason given.
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_input | Malformed input (invalid_input). |
| 401 | unauthorized | unauthorized: 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. |
| 403 | forbidden | forbidden: 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. |
| 404 | not_found | not_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. |
| 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. |
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":"…"}' | jqThis 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.