Propose a Curated claim (t2 agents, t3 humans; a human reviews it)
POST /v1/annotations/propose- quién puede llamarla
- Una sesión o una clave
- nivel t2 o superior · con el ámbito
intel:propose - qué cuesta
- 1 petición de la cuota
- y cuenta para
proposals_per_day· The day's count is given back when the draft 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
A proposal names a research source that accepts community proposals (GET /v1/sources, community_proposals: true), a canonical subject, a label and, optionally, category or abuse words from the vocabulary (GET /v1/taxonomy/concepts), concept ids, an entity, a role, evidence entries and the Community event that led to it. It becomes a draft filed under the proposer's npub (a human's own key; a t2/t4 key's pubkey, one of its allowed_npubs, or its only one) with method: manual and the source's default confidence; a human curator approves or rejects it, and an approved claim is published under the source, cited to a fetch of this proposal, with {"kind": "nostr_event", "value": <id>} in its evidence when a lead event was cited — the row stands on its own; the brand never seals the event. Quota proposals_per_day per caller (t2 and t3 20, t4 100). 501 not_configured while WRITES_ENABLED is off (on since 2026-09-29).
Parámetros
| Nombre | Dónde | Tipo | Obligatorio | Qué hace |
|---|---|---|---|---|
source_id | cuerpo | string | obligatorio | A research source with community_proposals true. |
subject | cuerpo | object | obligatorio | The subject the claim would be on, canonicalised on arrival. |
label | cuerpo | string | obligatorio | The claim's label. Required and never blank. |
category | cuerpo | string | opcional | A DW-VA entity category word (GET /v1/taxonomy/concepts?scheme=category). |
abuse | cuerpo | string | opcional | A DW-VA abuse word (scheme=abuse). |
concepts | cuerpo | array | opcional | Other concept ids the claim states: at most ten, none blank. |
entity_id | cuerpo | string | opcional | The id of the entity the claim names. |
role | cuerpo | string | opcional | The claim's role. |
evidence | cuerpo | array | opcional | Up to ten entries that back the claim. lead_event_id adds one. |
lead_event_id | cuerpo | string | opcional | The Community event (64 hex or note1…) that led to the proposal; added to the evidence as nostr_event. |
pubkey | cuerpo | string | opcional | t2/t4 keys only: which of the key's allowed_npubs proposes (64 hex or npub1…). |
El cuerpo es application/json.
esquema ProposalInput
source_idstring obligatorio — A research source withcommunity_proposalstrue.subjectobject obligatorio — The subject the claim would be on, canonicalised on arrival.kindstring obligatorio — The kind of subject, which sets howkeyis read. · uno de "address", "script", "tx", "block", "outpoint", "pool", "descriptor", "pubkey"keystring obligatorio — The subject's key, canonicalised as its kind wants: an address of this deployment's network, a script hash, a txid, a block hash,<txid>:<vout>, a pool's slug, a descriptor with its checksum, or a Nostr public key in 64 hex. A key that does not parse is a 400.
labelstring obligatorio — The claim's label. Required and never blank. · como mucho 200 caracterescategorystring — A DW-VA entity category word (GET /v1/taxonomy/concepts?scheme=category). · como mucho 100 caracteresabusestring — A DW-VA abuse word (scheme=abuse). · como mucho 100 caracteresconceptsarray de string — Other concept ids the claim states: at most ten, none blank.entity_idstring — The id of the entity the claim names. · como mucho 100 caracteresrolestring — The claim's role. · como mucho 100 caracteresevidencearray de object — Up to ten entries that back the claim.lead_event_idadds one.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
lead_event_idstring — The Community event (64 hex ornote1…) that led to the proposal; added to the evidence asnostr_event.pubkeystring — t2/t4 keys only: which of the key'sallowed_npubsproposes (64 hex ornpub1…).
Qué responde
201 · application/json
The draft; a human reviews it.
| Campo | Tipo | Qué lleva |
|---|---|---|
draft_id | integer | The draft the proposal became, for a human curator to review. |
status | string | Always draft: it waits for a human's review. |
proposed_by | string | npub:<hex>, or key:<id> for a key without allowed npubs. |
source_id | string | The source the claim would be published under. |
subject | object | The subject, canonicalised. |
created_at | string | When the draft was written. |
note | string | What happens next: a human curator reviews the draft, and on approval the claim is published under the source. |
esquema ProposalResult
draft_idinteger obligatorio — The draft the proposal became, for a human curator to review.statusstring obligatorio — Alwaysdraft: it waits for a human's review. · uno de "draft"proposed_bystring obligatorio —npub:<hex>, orkey:<id>for a key without allowed npubs.source_idstring obligatorio — The source the claim would be published under.subjectSubject obligatorio — The subject, canonicalised.kindstring — What the key names, which also sets the key's form. · uno de "address", "script", "tx", "block", "outpoint", "pool", "descriptor", "pubkey"keystring — Canonical key.
created_atstring (date-time) obligatorio — When the draft was written.notestring — What happens next: a human curator reviews the draft, and on approval the claim is published under the source.
Errores
| Estado | Código | Cuándo |
|---|---|---|
| 400 | invalid_input | A body outside the contract (invalid_input), named in the message, or a proposal that holds a private key (a Nostr nsec1, a WIF key or an extended private key such as xprv) anywhere, its subject, label, evidence or notes: refused before anything is stored, and never repeated. |
| 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. |
| 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/annotations/propose \
-H "Authorization: Bearer $BTCINTEL_KEY" \
-H 'Content-Type: application/json' \
-d '{"source_id":"…","subject":{"kind":"address","key":"bc1qz654h5qcqzalv6ltpxsk4ksdcc3e20wkedqntgnarv3a0t2e2p7scr48pl"},"label":"…"}' | 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.