Triage one entry (ops)
PATCH /v1/ops/feedback/{id}- who may call it
- An operator
- how fresh
- Never cached
- every answer carries the index's height and the node's
- MCP tool
- None
On this page
Set the status, who triaged it (the operator by default) and the PR or changelog entry that answered it. Every patch stamps triaged_at and is audited.
Parameters
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
id | path | integer | required | The entry's id. |
status | body | string | optional | The entry's new state. |
triaged_by | body | string | optional | Defaults to the operator making the call. |
linked_change_url | body | string | optional | The PR or changelog entry that answered the feedback. |
The body is application/json.
schema FeedbackPatch
statusstring — The entry's new state. · one of "new", "triaged", "linked", "closed", "rejected"triaged_bystring — Defaults to the operator making the call. · at most 80 characterslinked_change_urlstring (uri) — The PR or changelog entry that answered the feedback. · at most 400 characters
What it answers
The entry after the change.
| Field | Type | What it carries |
|---|---|---|
id | integer | The entry's id. |
at | string | When it arrived. |
channel | string | How it came: the web sheet, an agent over MCP, or an automatic failure report. |
tier | string or null | The caller's tier when it arrived. |
subject | object or null | The subject the text is about. Null when it names none. |
page | string or null | The web page or the agent context it came from. Null when it gave none. |
tool | string or null | The MCP tool involved. Null when it names none. |
app_version | string or null | The version of the app that sent it. Null when it gave none. |
text | string | The text, as given. |
details | object | The structured context sent with it; a claim_id sent with the entry is kept here. {} when there is none. |
contact | object or null | The npub, the key or both that the requester tied the report to. Null when there is none. |
status | string | Where it stands in triage. |
triaged_by | string or null | Who triaged it last: the operator who changed it, unless the change named someone. Null until triaged. |
triaged_at | string or null | When it was last triaged: every change sets it. Null until the first. |
linked_change_url | string or null | The pull request or changelog entry that answered it. Null until one is linked. |
schema FeedbackEntry
idinteger required — The entry's id.atstring (date-time) required — When it arrived.channelstring required — How it came: the web sheet, an agent over MCP, or an automatic failure report. · one of "web", "mcp", "auto"tierstring | null — The caller's tier when it arrived.subjectobject | null — The subject the text is about. Null when it names none.kindstring — The subject's kind.keystring — The subject's canonical key.
pagestring | null — The web page or the agent context it came from. Null when it gave none.toolstring | null — The MCP tool involved. Null when it names none.app_versionstring | null — The version of the app that sent it. Null when it gave none.textstring required — The text, as given.detailsobject required — The structured context sent with it; aclaim_idsent with the entry is kept here.{}when there is none.contactobject | null — The npub, the key or both that the requester tied the report to. Null when there is none.npubstring — 64 hex.key_idinteger — The id of the key the report is tied to. Absent when the contact names none.
statusstring required — Where it stands in triage. · one of "new", "triaged", "linked", "closed", "rejected"triaged_bystring | null — Who triaged it last: the operator who changed it, unless the change named someone. Null until triaged.triaged_atstring | null (date-time) — When it was last triaged: every change sets it. Null until the first.linked_change_urlstring | null — The pull request or changelog entry that answered it. Null until one is linked.
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. |
| 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 PATCH https://api.btcintel.io/v1/ops/feedback/1 \
-H "Authorization: Bearer $BTCINTEL_KEY" \
-H 'Content-Type: application/json' \
-d '{"status":"linked","linked_change_url":"https://github.com/satsboard-io/btcintel-api/pull/50"}' | 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.