{"openapi":"3.1.0","info":{"title":"Wakatime Teams (BYOK) API","version":"0.1.0","description":"Wakatime Teams (BYOK) lets an AI assistant read your own Wakatime Teams data through the Wakatime Teams API with a key you supply (OAuth access token with the read_orgs scope (WakaTime documents API keys as write-only, so reading needs an access token from an OAuth app)). Read-only: 5 tools (list_orgs, list_org_dashboards, list_dashboard_members, get_dashboard_summaries, list_org_custom_rules)....\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-wakatime-teams.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-wakatime-teams/docs"},"termsOfService":"https://connectorbay.com/byok-wakatime-teams/terms"},"servers":[{"url":"https://byok-wakatime-teams.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-wakatime-teams/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_orgs":{"post":{"operationId":"list_orgs","summary":"List the WakaTime organizations you belong to with people count, pending invites, whether durations are visible to membe","description":"List the WakaTime organizations you belong to with people count, pending invites, whether durations are visible to members, timezone and keystroke timeout. Needs the read_orgs scope. Use for \"Which WakaTime organizations am I in\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_orgsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_org_dashboards":{"post":{"operationId":"list_org_dashboards","summary":"List the team dashboards of an organization with member count, timezone, creator name and restriction flags. Use for \"Wh","description":"List the team dashboards of an organization with member count, timezone, creator name and restriction flags. Use for \"What team dashboards does our WakaTime org have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"org":{"description":"Organization id (from list_orgs).","maxLength":60,"title":"Org","type":"string"},"page":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["org"],"title":"list_org_dashboardsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_dashboard_members":{"post":{"operationId":"list_dashboard_members","summary":"List the members of a team dashboard by username, with the view-only flag (emails are not returned). Use for \"Who is on ","description":"List the members of a team dashboard by username, with the view-only flag (emails are not returned). Use for \"Who is on the engineering WakaTime dashboard\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"org":{"description":"Organization id (from list_orgs).","maxLength":60,"title":"Org","type":"string"},"dashboard":{"description":"Dashboard id (from list_org_dashboards).","maxLength":60,"title":"Dashboard","type":"string"},"page":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["org","dashboard"],"title":"list_dashboard_membersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_dashboard_summaries":{"post":{"operationId":"get_dashboard_summaries","summary":"One day's coding activity for each member of a team dashboard: total time and breakdown by project, language and editor.","description":"One day's coding activity for each member of a team dashboard: total time and breakdown by project, language and editor. Members are identified by username only. Use for \"How much did the team code yesterday in WakaTime\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"org":{"description":"Organization id (from list_orgs).","maxLength":60,"title":"Org","type":"string"},"dashboard":{"description":"Dashboard id (from list_org_dashboards).","maxLength":60,"title":"Dashboard","type":"string"},"date":{"description":"Day to read, YYYY-MM-DD.","maxLength":10,"title":"Date","type":"string"},"project":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only time logged to this project name.","title":"Project"}},"required":["org","dashboard","date"],"title":"get_dashboard_summariesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_org_custom_rules":{"post":{"operationId":"list_org_custom_rules","summary":"List the organization's heartbeat rewrite rules (match, operation, replacement, priority). Use for \"What custom coding-a","description":"List the organization's heartbeat rewrite rules (match, operation, replacement, priority). Use for \"What custom coding-activity rules does our WakaTime org have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"org":{"description":"Organization id (from list_orgs).","maxLength":60,"title":"Org","type":"string"}},"required":["org"],"title":"list_org_custom_rulesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}