btcintel

Reject one campaign member that waits for a review (human curator or admin)

POST /v1/ops/claims/{claim_id}/reject
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

A provisional or held member becomes rejected with the reason: kept for the record, served to operators only, never on the change feed. Audited. An agent gets 403.

Parámetros

NombreDóndeTipoObligatorioQué hace
claim_idrutastringobligatorioThe member's claim id, ann_<n>.
reasoncuerpostringobligatorioWhy the member is rejected, kept as its status_reason and in the audit log. Required and never blank.

El cuerpo es application/json.

esquema
  • reason string obligatorio — Why the member is rejected, kept as its status_reason and in the audit log. Required and never blank.

Qué responde

The member, rejected.

CampoTipoQué lleva
sourceobjectThe source that states the claim: its id, name, kind and attribution text.
fetchobjectThe fetch that first stated the claim's current content: the one content_sha256 covers.
confidenceobjectThe claim's confidence: its class, and the level of that class.
validityobjectWhen the claim holds, and whether it was retracted.
claim_idstringThe claim's id, ann_<n>: the id GET /v1/claims/{claim_id} takes.
kindstringAlways annotation: a claim on a subject.
disputesobjectHow many of the claim's disputes are open and how many were resolved. Only the claim's own read (GET /v1/claims/{claim_id}) carries it, and only when the disputes could be counted; every other read leaves it out.
versionintegerThe claim's version in force, counted from 1. Absent when no version of the claim is recorded, and content_sha256, citation and content with it.
content_sha256stringThe SHA-256 of the version's canonical content (content), hex. The citation carries its first 16 characters.
citationstringbtcintel:annotations:<id>@v<n> sha256:<16 hex>
contentobjectThe canonical content object content_sha256 covers: the stored confidence id, times to the second, evidence as stored. Serialise it with RFC 8785 and SHA-256 the bytes to re-verify the claim. Present with version.
subjectobjectThe subject the claim is on.
labelstringThe claim's short label, as the import of its source or its approved proposal wrote it.
categorystringDW-VA entity concept (entity:…).
abusestringDW-VA abuse concept (abuse:…).
conceptsarrayOther concepts of the vocabulary the claim states. Empty when it states none.
entityobjectThe entity the claim names: its id, and its name and kind when the entity is known. Absent when the claim names none.
subject_namestring o nullThe name the source gives the subject. Null when the source gives none. Outside the hashed content.
subject_name_esstring o nullThat name in Spanish. Null when untranslated; never a copy of subject_name.
rolestring o nullThe claim's role. Null when it names none.
source_namestring o nullThe source's name, the same string as source.name, so hop0 and annotations share one shape.
methodstringHow the claim was made: import for one read from the source's file, manual for an approved proposal, or another word an import names (tagpack, output_of_sweep).
source_confidencestringWhat the source said, verbatim.
first_reported_atstringWhen the source says the subject was first reported. Absent when it gives no date.
evidencearrayWhat the source gives in support, as stored: entries such as a URL, a txid or an external id. Empty when it gives none.
metadataobjectWhat the import kept of the source's record outside the hashed content, such as the record's key. Absent when there is nothing.
created_atstringWhen btcintel first wrote the claim.
updated_atstringWhen the claim's row last changed.
last_seenobjectThe newest fetch whose file still states the claim. Never hashed: a restatement confirms the claim and leaves its version and citation as they are.
statusstringThe claim's state. Only current rows are current claims; provisional ones (a source's first import or a large batch) are served only when asked for (include=provisional) and wait for a human's promotion; held and rejected rows are served to operators only. Outside the hashed content: a promotion changes the state, never the claim.
status_reasonstringWhy a row is provisional, held or rejected.
chain_checkobjectWhat the fact the source stated (an address spent in a block, an amount, a payment) looked like on the chain at import. It checks the stated fact, never the intent behind it. Absent when no check ran.
campaignuno deThe campaign the claim is a member of. Null when it is not a member. A victim's role carries no abuse word. The same object as on hop0.
esquema Claim
  • source object — The source that states the claim: its id, name, kind and attribution text.
    • id string — The source's id, as in GET /v1/sources.
    • name string — The source's name.
    • kind string — The source's kind: sanctions, crime-intel, osint-report, …
    • attribution string — The text to render with every claim of the source. Empty when it asks for none.
  • fetch object — The fetch that first stated the claim's current content: the one content_sha256 covers.
    • id integer — The fetch's id.
    • sha256 string — The SHA-256 of the file as fetched, hex. The file itself is not kept.
    • fetched_at string (date-time) — When the file was fetched.
    • url string — Where the file was downloaded from. Absent when the fetch records no address, as for a file pushed to the API.
  • confidence object — The claim's confidence: its class, and the level of that class.
    • class string — The confidence class, without its confidence: prefix: authority_data, service_data, web_crawl, …
    • level integer — The class's level, 0 to 100, as the confidence vocabulary sets it: the same for every claim of that class.
  • validity object — When the claim holds, and whether it was retracted.
    • from string (date-time) — The instant the claim holds from.
    • to string | null (date-time) — The instant it stops holding. Null when no end is set.
    • retracted_at string | null (date-time) — When the claim was retracted. Null when it was not.
    • retraction_reason string | null — Why it was retracted. Null when it was not.
  • claim_id string — The claim's id, ann_<n>: the id GET /v1/claims/{claim_id} takes.
  • kind string obligatorio — Always annotation: a claim on a subject. · uno de "annotation"
  • disputes DisputeCounts — How many of the claim's disputes are open and how many were resolved. Only the claim's own read (GET /v1/claims/{claim_id}) carries it, and only when the disputes could be counted; every other read leaves it out.
    • open integer obligatorio — How many of the disputes are open.
    • resolved integer obligatorio — How many of them were resolved. A withdrawn dispute counts in neither.
  • version integer — The claim's version in force, counted from 1. Absent when no version of the claim is recorded, and content_sha256, citation and content with it.
  • content_sha256 string — The SHA-256 of the version's canonical content (content), hex. The citation carries its first 16 characters.
  • citation string — btcintel:annotations:<id>@v<n> sha256:<16 hex>
  • content object — The canonical content object content_sha256 covers: the stored confidence id, times to the second, evidence as stored. Serialise it with RFC 8785 and SHA-256 the bytes to re-verify the claim. Present with version.
  • subject Subject — The subject the claim is on.
    • kind string — What the key names, which also sets the key's form. · uno de "address", "script", "tx", "block", "outpoint", "pool", "descriptor", "pubkey"
    • key string — Canonical key.
  • label string — The claim's short label, as the import of its source or its approved proposal wrote it.
  • category string — DW-VA entity concept (entity:…).
  • abuse string — DW-VA abuse concept (abuse:…).
  • concepts array de string — Other concepts of the vocabulary the claim states. Empty when it states none.
  • entity object — The entity the claim names: its id, and its name and kind when the entity is known. Absent when the claim names none.
    • id string — The entity's id: the id GET /v1/entities/{id} takes.
    • name string — The entity's name.
    • kind string — The entity's kind, an entity:… concept.
  • subject_name string | null obligatorio — The name the source gives the subject. Null when the source gives none. Outside the hashed content.
  • subject_name_es string | null obligatorio — That name in Spanish. Null when untranslated; never a copy of subject_name.
  • role string | null obligatorio — The claim's role. Null when it names none.
  • source_name string | null obligatorio — The source's name, the same string as source.name, so hop0 and annotations share one shape.
  • method string — How the claim was made: import for one read from the source's file, manual for an approved proposal, or another word an import names (tagpack, output_of_sweep).
  • source_confidence string — What the source said, verbatim.
  • first_reported_at string (date-time) — When the source says the subject was first reported. Absent when it gives no date.
  • evidence array de object — What the source gives in support, as stored: entries such as a URL, a txid or an external id. Empty when it gives none.
  • metadata object — What the import kept of the source's record outside the hashed content, such as the record's key. Absent when there is nothing.
  • created_at string (date-time) — When btcintel first wrote the claim.
  • updated_at string (date-time) — When the claim's row last changed.
  • last_seen object — The newest fetch whose file still states the claim. Never hashed: a restatement confirms the claim and leaves its version and citation as they are.
    • fetch_id integer obligatorio — The id of the newest fetch whose file still states the claim.
    • fetched_at string (date-time) obligatorio — When that fetch was made.
  • status string — The claim's state. Only current rows are current claims; provisional ones (a source's first import or a large batch) are served only when asked for (include=provisional) and wait for a human's promotion; held and rejected rows are served to operators only. Outside the hashed content: a promotion changes the state, never the claim. · uno de "current", "provisional", "held", "rejected"
  • status_reason string — Why a row is provisional, held or rejected.
  • chain_check object — What the fact the source stated (an address spent in a block, an amount, a payment) looked like on the chain at import. It checks the stated fact, never the intent behind it. Absent when no check ran.
    • result string — verified: the chain shows the stated fact. mismatch: it shows otherwise. not_checkable: the fact could not be looked up. · uno de "verified", "mismatch", "not_checkable"
    • checked_at string (date-time) — When the check ran. Absent when its time was not recorded.
  • campaign uno de obligatorio — The campaign the claim is a member of. Null when it is not a member. A victim's role carries no abuse word. The same object as on hop0.
    • CampaignBrief — A campaign a claim belongs to, the object address annotations already carried (id, slug, title, role) plus the display fields. title_es is null when the curator has not written a Spanish title; it is never a copy of title. short_title is at most 30 characters and null when unwritten. started_at is the event's occurred_at.
      • id string obligatorio — evt_<n>.
      • slug string | null obligatorio — The campaign's public slug. Null until one is assigned.
      • title string | null obligatorio — The campaign's title. Null when it has none.
      • title_es string | null obligatorio — Spanish title. Null when untranslated; never a copy of title.
      • short_title string | null obligatorio — A short title of at most 30 characters. Null when the curator has not written one; the web then truncates title.
      • started_at string | null (date) obligatorio — The event's occurred_at, day precision.
      • role string | null obligatorio — The member's role: victim, sweep, vault or cash_out. Null when the row names none.
    • null

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.
409conflictThe claim is not a campaign member waiting for a review (conflict).
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/reject \
  -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.