Skip to main content

Overview

Use this endpoint to inspect the current feedback statistics for a cache entry that has already received reports. It is useful for debugging cache quality, support workflows, and reconciliation after submitting feedback.

Notes

  • Authentication requires a standard inference API key.
  • entryId is the cache entry identifier returned or logged by the cached request flow.
  • The endpoint returns aggregate counts only; it does not expose raw feedback submissions.
  • at_risk indicates whether the entry is approaching invalidation thresholds.

Request / Response

Use the interactive OpenAPI panel above for the exact schema and response fields.

Example

curl "https://api.lemondata.cc/v1/cache/feedback/abc123" \
  -H "Authorization: Bearer sk-your-api-key"
{
  "object": "cache.feedback.stats",
  "entry_id": "abc123",
  "negative_feedback_count": 2,
  "total_hit_count": 18,
  "negative_feedback_rate": 0.1111,
  "at_risk": true
}