/v1/analytics/{projectId}/feedbackGet user feedbackReturns paginated user feedback with optional filtering
Authenticate with an admin API key.
Parameters
projectIdstringpathrequiredYour project ID. Can be copied from the [API keys](https://app.mintlify.com/settings/organization/api-keys) page in your dashboard.
dateFromstringqueryDate in ISO 8601 or YYYY-MM-DD format
dateTostringqueryDate in ISO 8601 or YYYY-MM-DD format. `dateTo` is an exclusive upper limit. Results include dates before, but not on, the specified date.
sourcestringqueryFilter by feedback source
statusstringqueryComma-separated list of statuses to filter by
limitnumberqueryMax results per page
cursorstringqueryPagination cursor
Responses
feedbackarray of valuerequiredList of feedback entries.
Show child attributes
Show array items
anyOf · 3 options
Returned when source is `contextual`. Includes whether the user found the page helpful and an optional contact email.
commentnull | stringrequiredText of the user's feedback comment.
contactnull | stringrequiredEmail address the user provided for follow-up.
createdAtnull | stringrequiredTimestamp when the feedback was submitted.
helpfulbooleanrequiredWhether the user found the content helpful.
idstringrequiredUnique feedback identifier.
pathstringrequiredThe path or URL to the source document.
sourcestringrequiredWhere the feedback originated. `code_snippet` is feedback on a code block, `contextual` is page-level feedback, `agent` is feedback submitted by a third-party AI agent, `thumbs_only` is a thumbs up/down vote.
statusstringrequiredCurrent review status of the feedback.
Returned when source is `code_snippet`. Includes the code, filename, and language of the snippet the feedback relates to.
codestringrequiredThe code snippet the feedback relates to.
commentnull | stringrequiredText of the user's feedback comment.
createdAtnull | stringrequiredTimestamp when the feedback was submitted.
filenamenull | stringrequiredFilename associated with the code snippet.
idstringrequiredUnique feedback identifier.
langnull | stringrequiredProgramming language of the code snippet.
pathstringrequiredThe path or URL to the source document.
sourcestringrequiredWhere the feedback originated. `code_snippet` is feedback on a code block, `contextual` is page-level feedback, `agent` is feedback submitted by a third-party AI agent, `thumbs_only` is a thumbs up/down vote.
statusstringrequiredCurrent review status of the feedback.
Returned when source is `agent` or `thumbs_only`. Contains base feedback fields only.
commentnull | stringrequiredText of the user's feedback comment.
createdAtnull | stringrequiredTimestamp when the feedback was submitted.
idstringrequiredUnique feedback identifier.
pathstringrequiredThe path or URL to the source document.
sourcestringrequiredWhere the feedback originated. `code_snippet` is feedback on a code block, `contextual` is page-level feedback, `agent` is feedback submitted by a third-party AI agent, `thumbs_only` is a thumbs up/down vote.
statusstringrequiredCurrent review status of the feedback.
hasMorebooleanrequiredWhether additional results are available beyond this page.
nextCursornull | stringrequiredCursor to retrieve the next page of results. Null if no more results.
{
"feedback": [
{
"comment": "string",
"createdAt": "string",
"id": "string",
"path": "string",
"source": "agent",
"status": "dismissed"
}
],
"hasMore": true,
"nextCursor": "string"
}detailsarray of objectAdditional details about the error.
Show child attributes
Show array items
messagestringrequiredDescription of a specific validation or processing error.
errorstringrequiredError message describing what went wrong.
{
"details": [
{
"message": "string"
}
],
"error": "string"
}detailsarray of objectAdditional details about the error.
Show child attributes
Show array items
messagestringrequiredDescription of a specific validation or processing error.
errorstringrequiredError message describing what went wrong.
{
"details": [
{
"message": "string"
}
],
"error": "string"
}