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 - how fresh
- Never cached
- every answer carries the index's height and the node's
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
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
limit | query | integer | optional | Proposals per page, newest first: 50 by default, 1 to 100. Any other value is a 400. |
cursor | query | integer | optional | The next_cursor of the page before. |
pubkey | query | string | optional | t2/t4 keys only: which of the key's allowed_npubs proposed (64 hex or npub1…). |
What it answers
The page, newest first.
| Field | Type | What it carries |
|---|---|---|
items | array | The caller's proposals, newest first. Empty when there is none. |
items[].draft_id | integer | The draft's id. |
items[].created_at | string | When the proposal was made. |
items[].status | string | Where it stands: draft while it waits for a review, then approved or rejected by a human. |
items[].source_id | string | The source the claim would be published under. Absent when the draft names none. |
items[].subject | object | The subject the proposal is about. Absent when its draft names none. |
items[].label | string | The proposed label. Absent when its draft has none. |
items[].decided_at | string | Absent until a human decides. |
items[].claim_id | string | The published claim (ann_<n>), once approved. |
items[].reason | string | The reviewer's reason, when a rejection gives one. |
next_cursor | integer | Absent on the last page. |
schema ProposalPage
itemsarray of ProposalOutcome required — The caller's proposals, newest first. Empty when there is none.draft_idinteger required — The draft's id.created_atstring (date-time) required — When the proposal was made.statusstring required — Where it stands:draftwhile it waits for a review, thenapprovedorrejectedby a human. · one of "draft", "approved", "rejected", "withdrawn"source_idstring — The source the claim would be published under. Absent when the draft names none.subjectSubject — The subject the proposal is about. Absent when its draft names none.kindstring — What the key names, which also sets the key's form. · one of "address", "script", "tx", "block", "outpoint", "pool", "descriptor", "pubkey"keystring — Canonical key.
labelstring — The proposed label. Absent when its draft has none.decided_atstring (date-time) — Absent until a human decides.claim_idstring — The published claim (ann_<n>), once approved.reasonstring — The reviewer's reason, when a rejection gives one.
next_cursorinteger — Absent on the last page.
Absent and empty
| The case | In 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
| 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. |
| 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. |
| 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. |
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" | 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.