Stats & profile
Authenticated read APIs used by the dashboard and account tools. All routes require Bearer authentication unless noted.
These summaries describe purpose, not every nested JSON field. Response shapes can gain additive properties over time.
Profile
GET /main/api/v1/get/my/profile/info
Returns the current user's profile presentation fields (name, avatar references, and related public profile metadata).
Profile edits (name, avatar upload) are available to the first-party web app. Integrators that only sync activity usually do not need write profile routes.
Coding statistics
Common reads:
| Method & path | Purpose |
|---|---|
GET /main/api/v1/get/my/stats | High-level personal coding stats |
GET /main/api/v1/get/my/language/stats | Time broken down by language |
GET /main/api/v1/get/my/activity/history | Historical activity slices |
GET /main/api/v1/get/my/dashboard/stats | Dashboard aggregate cards (IDE activity) |
GET /main/api/v1/get/my/dashboard/stats/desktop | Dashboard aggregates for desktop-agent activity |
GET /main/api/v1/get/my/project/stats | Per-project breakdown |
GET /main/api/v1/get/my/profile/activity/heatmap | Heatmap-oriented activity series |
Use these when building a custom dashboard client. Prefer the hosted UI at analogwakatime.com/dashboard for end users.
Exports
Users can download their own data:
| Path | Purpose |
|---|---|
GET /main/api/v1/export/my/profile-data | Profile-oriented export JSON |
GET /main/api/v1/export/my/activity-data | Activity history export JSON |
Treat export files as sensitive (they can include identifiers and tokens depending on export type). See the site Export Data Policy.
Teams & leaderboards (high level)
Authenticated team and personal leaderboard reads exist for product features (for example “my top” leaderboard entries and team role listing). Exact team-administration and invitation workflows are owned by the web app and are not fully enumerated here.
What is not covered
For safety and product integrity, this public docs set does not expand on:
- billing provider webhooks and subscription mutation internals
- two-factor setup/backup material beyond “2FA exists in the product”
- account deletion state machines
- operator / metrics / internal service routes
- privileged device-authorize helpers beyond the plugin poll flow
Contact support if you need a partner integration beyond the documented client surface.