Skip to content

Update CLI analytics and login docs#5191

Closed
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/cli-analytics-login-ux-1775586816
Closed

Update CLI analytics and login docs#5191
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/cli-analytics-login-ux-1775586816

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Apr 7, 2026

Summary

Updates documentation to reflect CLI analytics and login UX improvements:

  • Project auto-resolution: mint analytics now automatically resolves the project subdomain from config or your authenticated account, removing the need to always pass --subdomain.
  • Post-login project selection: mint login now prompts you to select a default project after authentication. Single-project accounts are configured automatically.
  • Simplified stats flags: Removed --humans, --agents, and --agent flags from documentation. Stats always show both human and agent traffic. Output format auto-detects AI agent environments.

Pages changed

  • cli/analytics.mdx — Added project resolution section, removed deprecated traffic-source flags, updated output format docs.
  • cli/commands.mdx — Updated mint login description, updated shared analytics flags, removed --humans/--agents from stats.

Note

Low Risk
Low risk documentation-only changes that update CLI usage/flag references; no runtime behavior changes in this PR.

Overview
Updates CLI docs to reflect analytics UX changes: removes traffic-segmentation flags (e.g., --humans, --agents, --agent), clarifies filtering to date/page only, and notes that AI agent environments default analytics output to json.

Adds documentation for automatic project/subdomain resolution (via --subdomain, config, or authenticated account) and updates mint login docs to mention prompting users to select a default project after authentication.

Reviewed by Cursor Bugbot for commit 691f273. Bugbot is set up for automated code reviews on this repo. Configure here.

…implified flags

Generated-By: mintlify-agent
@mintlify-development
Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated (UTC)
userauth 🟡 Building Apr 7, 2026, 6:35 PM

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Apr 7, 2026

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

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Apr 7, 2026, 6:39 PM

@ethanpalm ethanpalm closed this Apr 8, 2026
@ethanpalm ethanpalm deleted the mintlify/cli-analytics-login-ux-1775586816 branch April 8, 2026 18:53
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