latestOpenAPI 3.1.02026-08-226994571.1 MB
1e929292ddd5
caching
caching
Cache Flushall
A function to flush all items from the cache. (All items will be deleted from the cache with this) Raises HTTPException if the cache is not initialized or if the cache type does not support flushing. Returns a dictionary with the status of the operation.
Usage:
curl -X POST http://0.0.0.0:4000/cache/flushall -H "Authorization: Bearer sk-1234"
post/cache/flushall
Response
Successful Response
{"stackTrail":"paths:/cache/flushall:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}