Files
lobehub__lobehub/docs/usage/user-interface/stats.mdx
YuTengjing 191f3fe776 📝 docs: fix outdated content across the docs site (#16964)
* 📝 docs: fix outdated content across the docs site

Audited docs/ against the current codebase and fixed stale content that
drifted after major refactors (Clerk/NextAuth → Better Auth, src/server →
apps/server, src/{config,envs,locales} → packages/*, model-bank updates).

- self-hosting/auth: mark removed NextAuth/Clerk pages with deprecation
  warnings; fix microsoft/zitadel alias claims and the Logto callback path
- environment-variables & advanced: correct wrong defaults (S3_SET_ACL,
  AI_IMAGE_DEFAULT_IMAGE_NUM, index/proxy URLs), drop non-existent env vars
  and fictional feature flags, fix OIDC config guidance
- development: update refactored paths, Better Auth, .mjs configs, remove
  the MSW section (msw is not a dependency)
- providers & model examples: replace retired model ids with in-bank ones;
  fix comfyui frontmatter corruption
- usage: rename Moderator→Orchestrator, GTD→Task, correct shortcut keys,
  channel capability tables, Feishu/Lark WebSocket mode
- platform/migration: fix dead links, docker service name, npx/npm → bun

EN and zh-CN pairs updated together.

* 📝 docs: fix Logto callback path and AUTH_SECRET deprecation guidance

- Revert Logto/Sealos callback URLs to /api/auth/callback/logto to match
  the runtime SSO redirectURI override
- Narrow legacy auth Callout: AUTH_SECRET remains required for Better Auth;
  mark NEXT_AUTH_SECRET as deprecated in zh-CN

* 📝 docs: refresh agent skills for locales, env, auth, and agentRun paths

Align OSS agent guidance with post-refactor layout:
- packages/locales/src/default + bun run i18n
- packages/env/src for env schemas (@/envs alias)
- spa-auth shell + src/routes/auth segments
- chat agentRun/transports/hetero instead of aiChat

* 📝 docs: document APP_URL as required for Better Auth base URL

Self-hosted auth uses appEnv.APP_URL as baseURL, not request-header
auto-detection. NEXT_PUBLIC_AUTH_URL remains deprecated.

* 📝 docs: note self-host search provider setup for web search

Built-in lobe-web-browsing needs no client plugin, but self-hosted
servers still require SEARCH_PROVIDERS / SEARXNG_URL (default SearXNG).

* 📝 docs: point feature guide welcome UI at AgentHome

Opening message/questions on the agent chat page live in
src/features/AgentHome, not Onboarding WelcomeMessage.
2026-07-10 17:50:03 +08:00

70 lines
3.0 KiB
Plaintext

---
title: Data Analytics
description: >-
Track your LobeHub usage — days active, Agents, conversations, model usage.
Visualize patterns and share your stats.
tags:
- LobeHub
- Data Analytics
- Usage Statistics
- Activity
---
# Data Analytics
Data Analytics gives you a clear picture of how you use LobeHub. View usage days, Agent count, conversation volume, and model distribution — plus an activity heatmap for the past year. Understand your patterns, spot trends, and optionally share your stats with others.
## How to Access
Click your profile avatar in the top-right corner of the homepage → **App Settings** → **Data Analytics**.
![Data Analytics](/blog/assetse6139c4d5b1b26b05f41a579d98fc6f3.webp)
## What's Included
### Basic Metrics
| Metric | Description |
| ---------------------- | ------------------------------------------------ |
| **Days of Use** | Total days since you first started using LobeHub |
| **Number of Agents** | Total Agents you've created and used |
| **Number of Topics** | Total conversation Topics with Agents |
| **Number of Messages** | Total messages sent and received |
| **Total Tokens** | Cumulative token count across all conversations |
### Activity Calendar
A heatmap in the middle of the page shows your usage over the past year. Each tile is a day; color intensity indicates activity level. Use it to:
- See when you're most active
- Spot patterns (e.g., busy weeks vs. quiet periods)
- Track consistency over time
### Usage Statistics
At the bottom of the page, you'll find detailed breakdowns:
- **Model Usage** — How often each AI model is used and its share of total usage. Helps you see which models you rely on most and whether cost or capability is driving your choices.
- **Agent Usage** — Frequency and proportion for each Agent. Identify your go-to Agents and spot ones you rarely use.
- **Topic Content Volume** — Distribution of content across Topics. See which conversations are longest or most involved.
## Share Your Stats
You can generate a shareable image of your data analytics.
![Share Data Analytics Image](/blog/assets55bea1dc3e938580591d75d72908835a.webp)
Click the **Share** button in the top-right corner of the Data Analytics page. Choose a format (JPG, PNG, SVG, or WEBP), then download. Share on social media, in team channels, or for personal records.
**Use cases:** Year-in-review posts, team transparency, or tracking your own progress over time.
## Tips
- **Check model usage before upgrading** — If you're considering a paid tier, see which models you actually use. You might find a smaller set covers most of your needs.
- **Review Agent usage** — Agents you never use can be archived or removed to keep your sidebar clean.
- **Use the heatmap for reflection** — If you want to use LobeHub more consistently, the heatmap can help you set and track habits.
<Cards>
<Card href={'/docs/usage/agent/share'} title={'Share Conversations'} />
</Cards>