Skip to content

Add analytics export API docs for 6 endpoints#4894

Merged
ethanpalm merged 8 commits intomainfrom
mintlify/add-search-analytics-endpoints-1774479905
Apr 1, 2026
Merged

Add analytics export API docs for 6 endpoints#4894
ethanpalm merged 8 commits intomainfrom
mintlify/add-search-analytics-endpoints-1774479905

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify bot commented Mar 25, 2026

Summary

  • Added API reference pages, OpenAPI specs, and navigation entries for six analytics export endpoints: feedback, feedback by page, assistant conversations, search queries, page views, and unique visitors
  • Covers all four languages (en, fr, es, zh) with translated content
  • Updated introduction page to reference all new endpoints

Note

Low Risk
Low risk documentation-only change that expands the published OpenAPI spec and navigation; main risk is incorrect parameter/response definitions causing client confusion.

Overview
Adds API reference coverage for additional analytics export endpoints by extending analytics.openapi.json with new schemas and GET routes for feedback aggregated by page, search queries, page views, and unique visitors (including pagination and filtering parameters).

Introduces new MDX reference pages for these endpoints and updates api/introduction.mdx and docs.json navigation to surface them under the Analytics section.

Written by Cursor Bugbot for commit 8844725. This will update automatically on new commits. Configure here.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify bot commented Mar 25, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Mar 25, 2026, 11:16 PM

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

}
}
}
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feedback-by-page endpoint missing pagination parameter

High Severity

The feedback-by-page endpoint's FeedbackGroupedByPageResponse includes a hasMore boolean, but the endpoint defines no cursor or offset query parameter. Every other paginated endpoint in this spec provides either a cursor or offset parameter to advance pages. When hasMore is true, API consumers have no mechanism to retrieve subsequent pages of results.

Additional Locations (1)
Fix in Cursor Fix in Web

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
@ethanpalm ethanpalm merged commit 1da0a53 into main Apr 1, 2026
5 checks passed
@ethanpalm ethanpalm deleted the mintlify/add-search-analytics-endpoints-1774479905 branch April 1, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant