btcintel

Correct an event's public slug (human curator or admin)

PUT /v1/ops/claims/{claim_id}/slug
quién puede llamarla
Un operador
una persona: admin o curator
qué cuesta
1 petición de la cuota
niveles y claves
cuán reciente
Nunca en caché
cada respuesta lleva la altura del índice y la del nodo
Herramienta MCP
Ninguna
En esta página

An event's slug is assigned when the event is written and never changes on its own: a new version, a new title, a promotion leave it. This is the one explicit correction. The slug in force retires and keeps resolving to the event, so the web answers 301 from it in one hop; a slug any other event ever had is refused (409: a retired slug is never reassigned); a slug this event had before comes back from its history. Audited under the operator.

Parámetros

NombreDóndeTipoObligatorioQué hace
claim_idrutastringobligatorioAn event id, evt_<n>.
slugcuerpostringobligatorioLowercase ASCII words joined by -, at most 60 characters; never the shape of an id.

El cuerpo es application/json.

esquema
  • slug string obligatorio — Lowercase ASCII words joined by -, at most 60 characters; never the shape of an id. · como mucho 60 caracteres

Qué responde

The slug in force and the one it replaced ("" when the event had none).

CampoTipoQué lleva
claim_idstringThe event's id, evt_<n>.
slugstringThe event's slug in force now.
previousstringThe slug the event had before: it retires and keeps resolving to the event. Empty when it had none; the same as slug when it had that one already.
esquema
  • claim_id string obligatorio — The event's id, evt_<n>.
  • slug string obligatorio — The event's slug in force now.
  • previous string obligatorio — The slug the event had before: it retires and keeps resolving to the event. Empty when it had none; the same as slug when it had that one already.

Errores

EstadoCódigoCuándo
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.
404not_foundnot_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.
409conflictconflict: the state refuses the change, for example a dispute of this caller's already open, a dispute or a claim no longer open, an address that belongs to another account, or a thing done already. The message says which.
429quota_exceededquota_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 PUT https://api.btcintel.io/v1/ops/claims/binance-hot-wallet-2026-10/slug \
  -H "Authorization: Bearer $BTCINTEL_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"slug":"…"}' | jq

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.