Correct an event's public slug (human curator or admin)
PUT /v1/ops/claims/{claim_id}/slug- 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
On this page
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.
Parameters
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
claim_id | path | string | required | An event id, evt_<n>. |
slug | body | string | required | Lowercase ASCII words joined by -, at most 60 characters; never the shape of an id. |
The body is application/json.
schema
slugstring required — Lowercase ASCII words joined by -, at most 60 characters; never the shape of an id. · at most 60 characters
What it answers
The slug in force and the one it replaced ("" when the event had none).
| Field | Type | What it carries |
|---|---|---|
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. |
schema
claim_idstring required — The event's id, evt_<n>.slugstring required — The event's slug in force now.previousstring required — 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.
Errors
| Status | Code | When |
|---|---|---|
| 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. |
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 -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.