Promote a source's provisional members of a campaign (human curator or admin)
POST /v1/ops/campaigns/{claim_id}/promote- 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
Every provisional member the source names in the campaign becomes current, announced on the change feed, once a human has reviewed a sample: reviewed names at least 25 of the batch's members, or all of them when there are fewer, and only members of the batch (400 otherwise). The review also counts as the human review a sweep, vault or cash_out member needs. Held members stay held: they are released one by one. One audit entry records the sample and the note. An agent gets 403.
Parámetros
| Nombre | Dónde | Tipo | Obligatorio | Qué hace |
|---|---|---|---|---|
claim_id | ruta | string | obligatorio | The campaign, evt_<n>. |
source_id | cuerpo | string | obligatorio | The source whose provisional members to make current. Required. |
reviewed | cuerpo | array | obligatorio | The members the reviewer checked, ann_<n>: at least 25 of the batch, or all of it when it is smaller, and members of the batch alone. |
note | cuerpo | string | opcional | What the reviewer checked, kept in the audit row. |
El cuerpo es application/json.
esquema
source_idstring obligatorio — The source whose provisional members to make current. Required.reviewedarray de string obligatorio — The members the reviewer checked, ann_<n>: at least 25 of the batch, or all of it when it is smaller, and members of the batch alone.notestring — What the reviewer checked, kept in the audit row.
Qué responde
The batch is current.
| Campo | Tipo | Qué lleva |
|---|---|---|
campaign | string | The campaign's id, evt_<n>. |
source_id | string | The source, as sent. |
promoted | integer | How many members became current. |
esquema
campaignstring — The campaign's id, evt_<n>.source_idstring — The source, as sent.promotedinteger — How many members became current.
Errores
| Estado | Código | Cuándo |
|---|---|---|
| 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. |
| 404 | not_found | not_found: what the path names is not known: not in the index (for a transaction, not in the node's mempool either), or no such record. The message says which. |
| 409 | conflict | No member of that source waits for a review in the campaign (conflict). |
| 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. |
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/ops/campaigns/binance-hot-wallet-2026-10/promote \
-H "Authorization: Bearer $BTCINTEL_KEY" \
-H 'Content-Type: application/json' \
-d '{"source_id":"…","reviewed":[]}' | jqThis 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.