Skip to main content
btca home page
Guides
API reference
GitHub
X
Go to App
Go to 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
GET
Sandbox status
POST
Wake sandbox
GET
Get thread
GET
List threads
GET
List questions
GET
List projects
Clear cached resource clones
cURL
Copy
curl
--request
POST
\
--url
http://localhost:{port}/clear
200
Copy
{
"cleared"
:
123
}
Local server API
Clear cached resources
Copy page
Copy page
POST
/
clear
Try it
Clear cached resource clones
cURL
Copy
curl
--request
POST
\
--url
http://localhost:{port}/clear
200
Copy
{
"cleared"
:
123
}
Clears all locally cached resource clones.
Response
200 - application/json
Clear result
​
cleared
integer
required
Remove a resource
MCP JSON-RPC
⌘I