| title | Get feedback | ||||
|---|---|---|---|---|---|
| openapi | /analytics.openapi.json GET /v1/analytics/{projectId}/feedback | ||||
| keywords |
|
Use this endpoint to export user feedback collected from your documentation. Feedback includes contextual feedback from page ratings, code snippet feedback, and agent feedback.
Paginate through results using the cursor parameter returned in the response. Continue fetching while hasMore is true.
Filter feedback by:
- Date range: Use
dateFromanddateToto limit results to a specific time period - Source: Filter by
code_snippet,contextual, oragentfeedback types - Status: Filter by status values like
pending,in_progress,resolved, ordismissed
The response contains different feedback types based on the source:
- Contextual feedback: Includes
helpfulboolean and optionalcontactemail - Code snippet feedback: Includes
code,filename, andlangfields - Agent feedback: Includes a
commentwith the agent's feedback text and thepathof the page it relates to