Skip to main content
btca home page
Guides
API reference
GitHub
X
Try the web app
Try the web app
Search...
Search...
Navigation
Local server API
Clear cached resources
Overview
API Reference
Local server API
GET
Health
GET
Get config
GET
List resources
GET
List providers
POST
Reload config
POST
Ask a question
POST
Ask a question (stream)
PUT
Update provider model
POST
Add a resource
DEL
Remove a resource
POST
Clear cached resources
Cloud API
POST
MCP JSON-RPC
Clear cached resource clones
cURL
curl
--request
POST
\
--url
http://localhost:{port}/clear
200
{
"cleared"
:
123
}
Local server API
Clear cached resources
Copy page
Copy page
POST
/
clear
Try it
Clear cached resource clones
cURL
curl
--request
POST
\
--url
http://localhost:{port}/clear
200
{
"cleared"
:
123
}
Clears all locally cached resource clones.
Response
200 - application/json
Clear result
​
cleared
integer
required
Remove a resource
MCP JSON-RPC
⌘I