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:
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
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
| Nombre | Dónde | Tipo | Obligatorio | Qué hace |
|---|---|---|---|---|
claim_id | ruta | string | obligatorio | An event id, evt_<n>. |
slug | cuerpo | string | obligatorio | Lowercase ASCII words joined by -, at most 60 characters; never the shape of an id. |
El cuerpo es application/json.
esquema
slugstring 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).
| Campo | Tipo | Qué lleva |
|---|---|---|
claim_id | string | The event's id, evt_<n>. |
slug | string | The event's slug in force now. |
previous | string | 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. |
esquema
claim_idstring obligatorio — The event's id, evt_<n>.slugstring obligatorio — The event's slug in force now.previousstring obligatorio — The slug the event had before: it retires and keeps resolving to the event. Empty when it had none; the same asslugwhen it had that one already.
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 | conflict: 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. |
| 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 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":"…"}' | 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.