Generations
Submit feedback for a generation
Changed onSubmit structured feedback on a generation the authenticated user made. Management key required.
post/generation/feedback
Request
- Base URLhttps://openrouter.ai/api/v1
- AuthHTTP bearer
Request body
Submit Generation Feedback Request required
Structured feedback about a specific generation
category, 'latency' | 'incoherence' | 'incorrect_response' | 'formatting' | 'billing' | 'api_error' | 'other' required
The category of feedback being reported
comment, string
An optional free-text comment describing the feedback
generation_id, string required
The generation to submit feedback on
Example request
{
"category": "incorrect_response",
"comment": "The model repeated the same paragraph three times.",
"generation_id": "gen-3bhGkxlo4XFrqiabUM7NDtwDzWwG"
}Response
Feedback recorded successfully
Submit Generation Feedback Response required
Confirmation that the feedback was recorded
data, object required
Example response
{
"data": {
"success": true
}
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
added the non-success response with the status
- info