Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.lemondata.cc/llms.txt

Use this file to discover all available pages before exploring further.

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 must be a cache-hit request/cache entry identifier owned by the API key’s organization.
  • 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/req_1234567890" \
  -H "Authorization: Bearer sk-your-api-key"
{
  "object": "cache.feedback.stats",
  "entry_id": "req_1234567890",
  "negative_feedback_count": 2,
  "total_hit_count": 18,
  "negative_feedback_rate": 0.1111,
  "at_risk": true
}