Cache Delete

Endpoint for deleting a key from the cache. All responses from llm proxy have x-llm-cache-key in the headers

Parameters:

  • keys: Optional[List[str]] - A list of keys to delete from the cache. Example {"keys": ["key1", "key2"]}
curl -X POST "http://0.0.0.0:4000/cache/delete"     -H "Authorization: Bearer sk-1234"     -d '{"keys": ["key1", "key2"]}'
Language
Credentials
Bearer
URL
Click Try It! to start a request and see the response here!