Dispute a Curated claim
POST /v1/claims/{claim_id}/disputes- quién puede llamarla
- Una clave o una sesión
- nivel t1 o superior
- qué cuesta
- 1 petición de la cuota
- y cuenta para
disputes_per_day· The day's count is given back when the dispute is not stored. · niveles y claves - cuán reciente
- Nunca en caché
- cada respuesta lleva la altura del índice y la del nodo
En esta página
Any caller above t0 — a minted btci_anon_ token, a btci_ key, or a signed-in npub — opens a dispute with a reason, a text (≤ 4,096) and up to ten evidence entries; event_id may cite the Community note that carries the dispute (the note is the citable form; this call is how it reaches the Curated side); public: true shows the text and evidence in the public record (the identity never appears). One open dispute per caller and claim (409); quota disputes_per_day per caller (t1 2, t2/t3 10, t4 20). A human operator resolves it; the outcome is published next to the claim. The brand signs nothing.
Parámetros
| Nombre | Dónde | Tipo | Obligatorio | Qué hace |
|---|---|---|---|---|
claim_id | ruta | string | obligatorio | ann_<n>, att_<n>, rel_<n> or evt_<n>, or an event's slug. |
reason | cuerpo | string | obligatorio | Why the claim is wrong: the wrong subject, the wrong entity, out of date, the source misread, or another reason. |
text | cuerpo | string | obligatorio | What is wrong, in your words. Required and never blank; it shows in the public record only when public is true. |
evidence | cuerpo | array | opcional | Up to ten entries that back the dispute. They show in the public record only when public is true. |
public | cuerpo | boolean | opcional | Show the text and evidence in the public record (the identity never appears). |
event_id | cuerpo | string | opcional | The Community note (64 hex or note1…) that carries the dispute; it must be held by this relay. |
El cuerpo es application/json.
esquema DisputeInput
reasonstring obligatorio — Why the claim is wrong: the wrong subject, the wrong entity, out of date, the source misread, or another reason. · uno de "wrong_subject", "wrong_entity", "outdated", "source_misread", "other"textstring obligatorio — What is wrong, in your words. Required and never blank; it shows in the public record only whenpublicis true. · como mucho 4096 caracteresevidencearray de object — Up to ten entries that back the dispute. They show in the public record only whenpublicis true.kindstring obligatorio — What the entry is: a URL, a Nostr event, a txid or a text. · uno de "url", "nostr_event", "txid", "text"valuestring obligatorio — The entry itself. Required and never blank. · como mucho 2048 caracteresnotestring — A note on the entry. · como mucho 2048 caracteres
publicboolean — Show the text and evidence in the public record (the identity never appears).event_idstring — The Community note (64 hex ornote1…) that carries the dispute; it must be held by this relay.
Qué responde
201 · application/json
Opened.
| Campo | Tipo | Qué lleva |
|---|---|---|
id | integer | The dispute's id. |
claim_id | string | The disputed claim's id. |
claim_version | integer | The claim's version in force when the dispute was opened; 0 when it had none. |
status | string | Always open. |
reason | string | The reason given. |
opened_at | string | When the dispute was opened. |
public | boolean | Whether the text and the evidence show in the public record. |
note | string | What happens next: a human operator resolves the dispute, and the opener's identity never shows. |
esquema DisputeOpened
idinteger obligatorio — The dispute's id.claim_idstring obligatorio — The disputed claim's id.claim_versioninteger — The claim's version in force when the dispute was opened; 0 when it had none.statusstring obligatorio — Alwaysopen. · uno de "open"reasonstring obligatorio — The reason given.opened_atstring (date-time) obligatorio — When the dispute was opened.publicboolean — Whether the text and the evidence show in the public record.notestring — What happens next: a human operator resolves the dispute, and the opener's identity never shows.
Errores
| Estado | Código | Cuándo |
|---|---|---|
| 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. |
| 409 | conflict | conflict: the state refuses the change, for example a dispute of this caller's already open, a dispute or a claim no longer open, an address that belongs to another account, or a thing done already. The message says which. |
| 422 | nip98_invalid | The NIP-98 event was refused (nip98_invalid): wrong URL or method, stale, bad signature, wrong payload hash, or used before; the message names the reason. |
| 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. |
| 501 | not_configured | not_configured: this deployment does not run what the route needs, for example the mempool engine, accounts, the intel store or watchlists. The message names it. |
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/claims/ann_33932/disputes \
-H "Authorization: Bearer $BTCINTEL_KEY" \
-H 'Content-Type: application/json' \
-d '{"reason":"wrong_subject","text":"…"}' | jqThis route needs a key. Set BTCINTEL_KEY in your environment first: the snippet reads it from there and holds no key. The description above names the tiers the route takes.