Overview
The feedback management endpoints allow administrators to review user feedback, create golden examples, manage feedback settings, and generate AI-suggested improvements. These endpoints require thefeedback.view or feedback.manage permissions.
Feedback Workflow
- Review - List and filter feedback submissions
- Analyze - View detailed context including original query and response
- Act - Resolve (create golden example), dismiss, or delete feedback
- Generate - Use AI to suggest improved responses for negative feedback
- Configure - Manage auto-approval settings
List All Feedback
Requires
feedback.view permissionQuery Parameters
Number of items to return (1-100)
Number of items to skip for pagination
Filter by status:
pending, auto_approved, reviewed, or dismissedFilter by feedback type:
positive or negativeSearch in query, response, or reason text
Response
Array of feedback items with full context
Total number of feedback items matching filters
Number of items returned
Number of items skipped
Example Request
Example Response
Get Feedback Statistics
Requires
feedback.view permissionResponse
Total number of feedback submissions
Number of positive feedback items
Number of negative feedback items
Number of pending items awaiting review
Number of auto-approved items
Number of manually reviewed items
Number of dismissed items
Total number of golden examples created from feedback
Example Request
cURL
Example Response
Get Feedback Details
Requires
feedback.view permissionPath Parameters
ID of the feedback to retrieve
Response
Returns aFeedbackWithContext object with all details.
Example Request
cURL
Resolve Feedback
Requires
feedback.manage permissionPath Parameters
ID of the feedback to resolve
Request Body
The ideal response.
- For positive feedback: Optional. If not provided, uses the original response.
- For negative feedback: Required. Must provide the corrected response.
Response
Success message
ID of the resolved feedback
ID of the created golden example
New status:
reviewedExample Request
Example Response
Dismiss Feedback
Requires
feedback.manage permissionPath Parameters
ID of the feedback to dismiss
Request Body
Optional reason for dismissal
Response
Success message
ID of the dismissed feedback
New status:
dismissedExample Request
cURL
Example Response
Restore Feedback
Requires
feedback.manage permissionPath Parameters
ID of the feedback to restore
Response
Success message
ID of the restored feedback
New status:
pendingExample Request
cURL
Example Response
Delete Feedback
Requires
feedback.manage permissionPath Parameters
ID of the feedback to delete
Response
Success message
ID of the deleted feedback
Example Request
cURL
Example Response
Generate AI Response
Requires
feedback.manage permissionFeatures
- Specialized prompt for response improvement
- Full access to incident lookup and knowledge base tools
- Timeout protection (60 seconds)
- Concurrency control to prevent overload
Path Parameters
ID of the feedback to generate a response for
Response
The AI-generated improved response
Number of RAG tool calls made during generation
Time taken to generate the response in milliseconds
Whether generation was successful
Error message if generation failed
Example Request
Example Response
Get Feedback Settings
Requires
feedback.manage permissionResponse
Whether positive feedback is automatically approved
Whether negative feedback is automatically approved
Whether a reason is required for positive feedback
Whether a reason is required for negative feedback
Example Request
cURL
Example Response
Update Feedback Settings
Requires
feedback.manage permissionRequest Body
All fields are optional. Only provided fields will be updated.Enable/disable auto-approval for positive feedback
Enable/disable auto-approval for negative feedback
Require reason for positive feedback
Require reason for negative feedback
Response
Returns the updatedFeedbackSettingsResponse.
Example Request
Example Response
Common Error Responses
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error
Best Practices
Filter Efficiently
Use status and type filters to prioritize review of pending negative feedback.
Use AI Generation
For negative feedback, use the generate-response endpoint to get AI-suggested improvements before resolving.
Enable Auto-Approval
Enable auto-approval for positive feedback to build golden examples automatically.
Review Regularly
Set up a regular review cadence for pending feedback to maintain response quality.