cURL
curl --request DELETE \ --url https://{APPLICATION_ID}.algolia.net/agent-studio/1/agents/{agent_id}/cache \ --header 'X-Algolia-API-Key: <x-algolia-api-key>' \ --header 'X-Algolia-Application-Id: <x-algolia-application-id>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Invalidate cached completions for this agent. Filter with before (exclusive).
before
editSettings
Delete entries strictly before this date (exclusive, YYYY-MM-DD)
Successful Response
Was this page helpful?