btcintel

The caller's own proposals and what came of them

GET /v1/annotations/proposals
who may call it
A session or a key
tier t2 or above · with the scope intel:propose
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
list_proposals
on the MCP server
On this page

The drafts the caller filed through POST /v1/annotations/propose, newest first. The proposer is resolved as that route resolves it, from the credential: an account session as account:<id>, a Nostr session or NIP-98 as npub:<hex>, a t2/t4 key with intel:propose as the allowed npub pubkey names (or its only one), else the key. Each item carries its status; decided_at once a human decided, claim_id once approved (the published claim) and reason when a rejection gives one. The reviewer is never named, and no other caller's draft is ever listed.

Parameters

NameWhereTypeRequiredWhat it does
limitqueryintegeroptionalProposals per page, newest first: 50 by default, 1 to 100. Any other value is a 400.
cursorqueryintegeroptionalThe next_cursor of the page before.
pubkeyquerystringoptionalt2/t4 keys only: which of the key's allowed_npubs proposed (64 hex or npub1…).

What it answers

The page, newest first.

FieldTypeWhat it carries
itemsarrayThe caller's proposals, newest first. Empty when there is none.
items[].draft_idintegerThe draft's id.
items[].created_atstringWhen the proposal was made.
items[].statusstringWhere it stands: draft while it waits for a review, then approved or rejected by a human.
items[].source_idstringThe source the claim would be published under. Absent when the draft names none.
items[].subjectobjectThe subject the proposal is about. Absent when its draft names none.
items[].labelstringThe proposed label. Absent when its draft has none.
items[].decided_atstringAbsent until a human decides.
items[].claim_idstringThe published claim (ann_<n>), once approved.
items[].reasonstringThe reviewer's reason, when a rejection gives one.
next_cursorintegerAbsent on the last page.
schema ProposalPage
  • items array of ProposalOutcome required — The caller's proposals, newest first. Empty when there is none.
    • draft_id integer required — The draft's id.
    • created_at string (date-time) required — When the proposal was made.
    • status string required — Where it stands: draft while it waits for a review, then approved or rejected by a human. · one of "draft", "approved", "rejected", "withdrawn"
    • source_id string — The source the claim would be published under. Absent when the draft names none.
    • subject Subject — The subject the proposal is about. Absent when its draft names none.
      • kind string — What the key names, which also sets the key's form. · one of "address", "script", "tx", "block", "outpoint", "pool", "descriptor", "pubkey"
      • key string — Canonical key.
    • label string — The proposed label. Absent when its draft has none.
    • decided_at string (date-time) — Absent until a human decides.
    • claim_id string — The published claim (ann_<n>), once approved.
    • reason string — The reviewer's reason, when a rejection gives one.
  • next_cursor integer — Absent on the last page.

Absent and empty

The caseIn the answer
The caller has proposed nothing.items: [].
A draft no human has decided.No decided_at and no claim_id.
A rejection that gives no reason.No reason.

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.
422nip98_invalidThe 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.
501not_configurednot_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.

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 'https://api.btcintel.io/v1/annotations/proposals?limit=50' \
  -H "Authorization: Bearer $BTCINTEL_KEY" | jq

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