Clear trained model deployment cache

  • POST /_ml/trained_models/{model_id}/deployment/cache/_clear

Cache will be cleared on all nodes where the trained model is assigned. A trained model deployment may have an inference cache enabled. As requests are handled by each allocated node, their responses may be cached on that individual node. Calling this API clears the caches without restarting the deployment.

  • Cluster privileges: manage_ml

Path Parameters

model_id string Id required

The unique identifier of the trained model.

Response