WakaTime

17 tools available

WakaTime offers automatic time tracking for developers, integrating with code editors and delivering dashboards on coding activity, project progress, and productivity

Connect WakaTime to Definable to automate repetitive tasks, sync data with the rest of your stack, trigger on real-world events. Personas call WakaTime's 17 tools directly from chat or scheduled flows. You can wire it into any persona to read, write, and react when an event fires.

Common workflows with WakaTime

01

Trigger on event

  1. Listen for a new event
  2. Parse and validate the payload
  3. Take an action with the linked tool
02

Daily summary

  1. Pull yesterday's activity
  2. Summarise with the model of your choice
  3. Send the digest via email or Slack
03

Cross-tool sync

  1. Read records from one app
  2. Transform with a persona
  3. Write the result back via this integration

WakaTime actions 17

Every WakaTime action below is a callable tool any Definable persona can invoke.

Get Aggregate Stats

Tool to retrieve aggregate coding statistics across all WakaTime users for a given time range. Use when analyzing global trends in programming languages, editors, operating systems, and categories.

Get current user's status bar summary for today

Tool to get current user's coding activity today for displaying in IDE status bars. Use when you need a summary of today's coding time broken down by projects, languages, editors, etc.

List IDE Plugins

Tool to list WakaTime IDE plugins with metadata. Use when you want to discover available IDE integrations and their latest versions.

List Goals

Tool to list a user's goals with progress series and metadata. Use after authenticating the user with read_goals scope.

Get User Insight

Tool to retrieve an insight for a user over a time range. Use when analyzing user coding metrics after authentication.

List Leaders

Tool to list public leaders ranked by coding activity. Use when viewing top coders globally or filtering by language, country code, or hireable status.

List Machine Names

Tool to list a user's machines including last seen time. Use when needing machine names for a specific user.

Get API Meta Information

Tool to retrieve WakaTime API meta information, including public IP addresses used by WakaTime servers. Use when you need to know WakaTime's infrastructure details for network configuration or security purposes.

Generate WakaTime OAuth authorize URL

Tool to generate OAuth 2.0 authorization URL. Use when redirecting users to WakaTime to grant access.

Get User Details

Tool to get detailed profile information for a WakaTime user by user ID or username. Use 'current' as the user parameter to get the authenticated user's details. Returns comprehensive profile data including display name, email, timezone, plan, and privacy settings.

Get User's Total Time Since Creation

Tool to retrieve total coding time since account creation for a user. Use after authenticating to fetch all-time stats.

Get User Stats

Tool to retrieve coding statistics for a user over the default time range. Returns comprehensive metrics including languages, editors, projects, and daily averages. Use when analyzing a user's coding patterns and productivity metrics.

Get User Stats by Range

Tool to retrieve comprehensive coding statistics for a user over a specific time range. Returns breakdowns by language, editor, project, OS, and more, along with daily averages and best day. Use when analyzing productivity patterns or generating coding activity reports for time periods.

Get User Summaries

Get user's coding activity for a time range as daily summaries. Returns detailed breakdowns by projects, languages, editors, and more for each day. Use when you need to analyze coding patterns, track project time, or generate activity reports over a date range. Requires 'read_summaries' scope.

List Program Languages

Tool to list all verified program languages supported by WakaTime. Use when you need to discover available programming languages tracked by WakaTime.

List User Projects

List WakaTime projects for a specified user. Returns project names, IDs, creation dates, and last activity times. Use to discover available projects for any user before querying project-specific stats.

List User Agents

Tool to list plugins and editors which have sent data for a specified user. Use when needing to discover which development environments and tools a user is actively using.

Frequently asked questions

What can I automate with WakaTime on Definable?

Anything WakaTime exposes through its API. Common time tracking software workflows on Definable include automate repetitive tasks, sync data with the rest of your stack, trigger on real-world events. Personas can call any of the 17 WakaTime tools directly, then chain the result into another integration without you writing code.

How does WakaTime authentication work?

WakaTime uses OAUTH2 on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.

Is the WakaTime integration included in my Definable plan?

Yes — every Definable plan, including Starter, includes access to all 17 WakaTime tools. You only need a separate WakaTime subscription if WakaTime itself charges per seat or per API call.

Is using WakaTime through Definable secure?

Every call from a persona to WakaTime is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.

How do I get started with WakaTime on Definable?

Sign up for Definable, open the integrations page, find WakaTime, and connect via OAuth or API key. You can immediately attach WakaTime to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.

What WakaTime actions does Definable expose?

Definable exposes all 17 WakaTime actions as callable tools — including `Get Aggregate Stats`, `Get current user's status bar summary for today`, `List IDE Plugins`, plus 14 more. Each tool gets a typed parameter schema so personas know exactly how to call it.

Ready to automate with WakaTime?

Wire it up in minutes. No coding required.

← All integrations