The drafts to sample for a batch, as CSV (human curator or admin)
GET /v1/ops/drafts.csv- who may call it
- An operator
- a human:
adminorcurator - how fresh
- Never cached
- every answer carries the index's height and the node's
- MCP tool
- None
One row per draft, newest first, at most 500: id, created, status, proposer, source, claim table, subject, label, category, abuse word, the cited URLs, and the guard that would hold a pending draft out of a batch. A cell a spreadsheet would read as a formula starts with an apostrophe.
Parameters
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
status | query | string | optional | Only the drafts in this state. |
proposed_by | query | string | optional | An operator id, e.g. agent:grok-bot. |
source_id | query | string | optional | Only the drafts of this source. |
limit | query | integer | optional | Rows, newest first: 500 by default, at most 500; a value outside 1 to 500 reads as 500. |
What it answers
200 · text/csv
The drafts.
schema
string
Absent and empty
| The case | In the answer |
|---|---|
| No guard holds a draft. | Its guard cell is empty. |
Errors
| Status | Code | When |
|---|---|---|
| 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. |
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/ops/drafts.csv?limit=500' \
-H "Authorization: Bearer $BTCINTEL_KEY"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.