Skip to main content
DELETE
/
1
/
agents
/
{agent_id}
/
cache
Invalidate Agent Cache
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>"
    }
  ]
}
Required ACL: editSettings

Headers

X-Algolia-API-Key
string
required
X-Algolia-Application-Id
string
required

Path Parameters

agent_id
string<uuid>
required

Query Parameters

before
string | null

Delete entries strictly before this date (exclusive, YYYY-MM-DD)

Response

Successful Response

Last modified on March 5, 2026