list_projects
List Projects
List all coding projects that have recorded activity. Optionally search by name. Returns project names, IDs, and repository information.
list_projects
List all coding projects that have recorded activity. Optionally search by name. Returns project names, IDs, and repository information.
get_project_commits
Retrieve commit history for a specific project with time-spent-coding data per commit. Commits can be filtered by author and branch. Requires a connected repository (GitHub, Bitbucket, or GitLab).
delete_heartbeat
Delete a specific heartbeat by its ID. Use the "Get Heartbeats" tool first to find the heartbeat ID you want to remove.
get_user_profile
Retrieve the current user's profile information including display name, email, timezone, last active plugin, social profiles, plan details, and machines.
get_heartbeats
Retrieve raw coding activity events (heartbeats) for a specific day. Each heartbeat records the file or app being used, timestamp, project, branch, language, and cursor position. Useful for detailed activity analysis.
get_private_leaderboards
List all private leaderboards the user has access to. Use the leaderboard ID with the "Get Leaderboard" tool to view rankings.
create_external_duration
Record activity durations from sources other than IDE plugins, such as calendar events, meetings, or code reviews. Supports both single and bulk creation. Uses an external ID for deduplication so the same event won't be recorded twice.
get_durations
Retrieve coding activity for a given day as time duration blocks. Durations are created by joining heartbeats within the user's keystroke timeout preference (default 15 minutes). Can be filtered by project and sliced by different dimensions.
get_coding_stats
Retrieve aggregated coding statistics for a configurable time range. Includes breakdowns by project, language, editor, OS, category, and more, plus best day and daily average. Stats may be computed asynchronously — check the **isUpToDate** flag.
get_leaderboard
Access public or private leaderboards of users ranked by coding activity. The public leaderboard can be filtered by language, country, or hireable status. For private leaderboards, provide the leaderboard ID.
get_machines
List all machines (computers) that have sent coding activity, including hostname, IP, and last seen time.
get_coding_summaries
Retrieve coding activity summaries for a given date range, segmented by day. Each day includes time breakdowns by project, language, editor, operating system, category, dependencies, and machine. Useful for understanding how coding time was distributed across a period.
get_insights
Access deeper analytics about coding activity for a given time range. Available insight types include weekday patterns, daily breakdowns, best day, daily average, and breakdowns by projects, languages, editors, categories, machines, and operating systems.
manage_data_exports
List existing data exports or request a new full data export of all coding activity. Exports are generated asynchronously and a download URL is provided upon completion.
get_goals
Retrieve all coding goals. Goals define target coding time per day or week, can be scoped to specific languages, editors, or projects, and track success/failure over time.
get_all_time
Retrieve the total coding time since the user's account was created. Optionally filter by a specific project to see all-time totals for that project.
get_organizations
List organizations the user belongs to, along with their dashboards and members. Optionally drill into a specific organization to see its dashboards, or into a specific dashboard to see members and summaries.
create_heartbeat
Record one or more coding activity events (heartbeats). Supports both single and bulk creation. Each heartbeat captures what file/app is being worked on, when, and in what context (project, branch, language).
Track and retrieve coding activity metrics for programmers. Read coding summaries, statistics, durations, and heartbeats broken down by project, language, editor, operating system, and category. Create and manage heartbeats and external durations. List projects and view commit history with time-spent data. Manage coding goals, organizations, dashboards, and private leaderboards. Access insights on coding patterns including daily averages, best days, and weekday breakdowns. Define custom rules to transform heartbeat properties. Export coding data and generate embeddable chart URLs. View aggregate stats across all users and access public/private leaderboards.
Common questions about connecting Wakatime to AI agents with Metorial.