Retire context
/api/v1/retire_contextA FILE IN THIS ORGANIZATION'S FOLDER STOPPED BEING TRUE — take it out of every later run's reading. Free. ⚡ Retired, not deleted: a rejected claim is the expensive half of what a customer knows, and deleting it is how the same idea gets proposed again next quarter. It stays findable with include_retired. Use it when the product changed under a fact, when a question got answered (write the answer into decisions/ first), or when a file turned out to be wrong. Not for a claim you measured — that gets a verdict, which is a finding.
Price — $0.00003 per call (twice what serving it costs us), charged to the workspace balance, the same as over MCP.
Also reachable by name at POST /api/v1/tools/retire_context.
Your API key, sent as Authorization: Bearer dbk_YOUR_API_KEY.Sent as the Authorization header. Your key is used only by your browser for this request — it is never sent to Docsbook or stored.
Exactly as list_context printed it.
curl -X GET 'https://docsbook.io/api/v1/retire_context?path=%3Cpath%3E' \
-H 'Authorization: Bearer dbk_YOUR_API_KEY'Responses#
| Status | Meaning |
|---|---|
200 |
The tool ran. Read ok to see whether it succeeded. |
401 |
Missing or invalid API key. |