The drafts to sample for a batch, as CSV (human curator or admin)
GET /v1/ops/drafts.csv- quién puede llamarla
- Un operador
- una persona:
adminocurator - cuán reciente
- Nunca en caché
- cada respuesta lleva la altura del índice y la del nodo
- Herramienta MCP
- Ninguna
En esta página
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.
Parámetros
| Nombre | Dónde | Tipo | Obligatorio | Qué hace |
|---|---|---|---|---|
status | consulta | string | opcional | Only the drafts in this state. |
proposed_by | consulta | string | opcional | An operator id, e.g. agent:grok-bot. |
source_id | consulta | string | opcional | Only the drafts of this source. |
limit | consulta | integer | opcional | Rows, newest first: 500 by default, at most 500; a value outside 1 to 500 reads as 500. |
Qué responde
200 · text/csv
The drafts.
esquema
string
Ausente y vacío
| El caso | En la respuesta |
|---|---|
| No guard holds a draft. | Its guard cell is empty. |
Errores
| Estado | Código | Cuándo |
|---|---|---|
| 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. |
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 '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.