Resolve a dispute (human curator or admin)
POST /v1/ops/disputes/{id}/resolve- 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
The outcome and the resolver's public note, plus an optional action on the Curated side, run under the operator as actor and audited: retract (any claim kind, with a reason), expire (annotations, attributions and relations, with valid_to) or new_version (a correction of an annotation from a ClaimInput patch — label, category, abuse, concepts, role, evidence — recorded as a new version of the same claim with a new content hash; the source, the subject and the confidence class stay). An agent operator cannot resolve: it proposes a resolution as a draft.
Parameters
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
id | path | integer | required | The dispute's id. |
outcome | body | string | required | The decision: the dispute is upheld, rejected or partially upheld. |
note | body | string | optional | A note for the public record, at most 4,096 characters. |
action | body | object | optional | What else to do to the claim: one of retract, expire or new_version. Without it the claim stays as it is. |
The body is application/json.
schema ResolveInput
outcomestring required — The decision: the dispute is upheld, rejected or partially upheld. · one of "upheld", "rejected", "partially_upheld"notestring — A note for the public record, at most 4,096 characters. · at most 4096 charactersactionobject — What else to do to the claim: one ofretract,expireornew_version. Without it the claim stays as it is.retractobject — Retract the claim, with a reason, as POST /v1/ops/claims/{claim_id}/retract does.reasonstring required — Why it is retracted. Required and never blank.
expireobject — End the claim at a time. An event is retracted, never expired. A block's attribution so ended stays ended, since the pool matcher writes again only a row it ended itself; a block that holds an open finding is matched again in the same transaction, or, when its observation is not stored, at its next match.valid_tostring (date-time) required — When the claim stops holding, RFC 3339.
new_versionobject — A ClaimInput patch (label, category, abuse, concepts, role, evidence, first_reported_at); annotations only; the subject and the source never change.
What it answers
Resolved; the action's effect is on the claim.
| Field | Type | What it carries |
|---|---|---|
id | integer | The dispute's id. |
opened_at | string | When it was opened. |
reason | string | The reason the opener gave. |
status | string | Where it stands: open until an operator resolves it, then resolved. |
claim_version | integer | The claim's version in force when the dispute was opened; 0 when it had none. |
outcome | string or null | The operator's decision: upheld, rejected or partially upheld. Null while the dispute is open. |
resolved_at | string or null | When it was resolved. Null while it is open. |
note | string or null | The resolver's public note. |
text | string | The opener's words, as given. The public record carries them only when the opener chose public; an operator's read always does. |
evidence | array | The opener's evidence, as given. The public record carries it only when the opener chose public; an operator's read always does. |
event_id | string | The Community note that carries the dispute, 64 hex. Only when the opener chose public and cited one. |
claim_id | string | The disputed claim's id. |
opened_by | string | Who opened it: npub:<hex> for a person's key, account:<id> for an account, key:<id> for an API key, and operator:owner for the operator's token and for a caller with no key or session that reaches the API directly on the deployment's own network, never through a proxy. Operators only. |
public | boolean | Whether the opener chose to show the text and the evidence in the public record. |
resolved_by | string or null | The operator who resolved it. Null while it is open. |
action | string | What the resolution did to the claim: none, a retraction, an expiry or a new version. Only in the answer of a resolution. |
new_version | integer | The version the correction recorded on the claim. |
schema OpsDispute
idinteger required — The dispute's id.opened_atstring (date-time) required — When it was opened.reasonstring required — The reason the opener gave. · one of "wrong_subject", "wrong_entity", "outdated", "source_misread", "other"statusstring required — Where it stands:openuntil an operator resolves it, thenresolved. · one of "open", "resolved", "withdrawn"claim_versioninteger — The claim's version in force when the dispute was opened; 0 when it had none.outcomestring | null — The operator's decision: upheld, rejected or partially upheld. Null while the dispute is open. · one of "upheld", "rejected", "partially_upheld", nullresolved_atstring | null (date-time) — When it was resolved. Null while it is open.notestring | null — The resolver's public note.textstring — The opener's words, as given. The public record carries them only when the opener chose public; an operator's read always does.evidencearray of object — The opener's evidence, as given. The public record carries it only when the opener chose public; an operator's read always does.event_idstring — The Community note that carries the dispute, 64 hex. Only when the opener chose public and cited one.claim_idstring required — The disputed claim's id.opened_bystring required — Who opened it:npub:<hex>for a person's key,account:<id>for an account,key:<id>for an API key, andoperator:ownerfor the operator's token and for a caller with no key or session that reaches the API directly on the deployment's own network, never through a proxy. Operators only.publicboolean required — Whether the opener chose to show the text and the evidence in the public record.resolved_bystring | null required — The operator who resolved it. Null while it is open.actionstring — What the resolution did to the claim: none, a retraction, an expiry or a new version. Only in the answer of a resolution. · one of "none", "retract", "expire", "new_version"new_versioninteger — The version the correction recorded on the claim.
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. |
| 422 | invalid_input | invalid_input: the request is malformed: bad hex, an address of another network, a bad vout, or a value out of its range. 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 POST https://api.btcintel.io/v1/ops/disputes/1/resolve \
-H "Authorization: Bearer $BTCINTEL_KEY" \
-H 'Content-Type: application/json' \
-d '{"outcome":"upheld"}' | 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.