Skip to main content

What is Request Feedback?

Request Feedback allows you to enrich your API calls with user feedback and other data after the initial request has been completed. This is useful for gathering insights on the quality of the model’s response, which can be used for analytics, auditing, and improving the user experience.
View request logs in the Requesty Console.
With this feature, you can:
  • Capture user ratings and comments on AI responses.
  • Track which responses were helpful or unhelpful.
  • Add contextual data from your platform after the fact.
  • Build a feedback loop to fine-tune models and prompts.

Benefits

  • Quality Monitoring: Continuously track the performance and quality of your AI models.
  • User Satisfaction: Understand what your users think about the AI responses they receive.
  • Data-Driven Improvements: Use feedback data to identify areas for improvement in your prompts, models, or workflows.
  • Enhanced Auditing: Add context to requests for better auditing and analysis.
Tip: Standardize your feedback data structure (e.g., ratings, tags) to make it easier to analyze across your applications.

How It Works

  1. After a chat completion, you get an ID in the response.
  2. Use this ID to send a POST request to the Requesty feedback endpoint.
  3. Include your feedback data in the JSON payload.
  4. View and analyze this feedback in your Requesty dashboard.
Important notes
  • You can POST feedback multiple times per request.
  • Every subsequent call merges the new values.
  • If a new feedback call contains an existing key, the new value overwrites the existing one.

Python Example

Here’s how you can send feedback after a chat completion call:

Node.js Example

Here’s how you can send feedback using Node.js.
Last modified on May 26, 2026