---
title: "Get WakaTime-compatible summary"
method: GET
path: "/api/summary"
tags: ["WakaTime Compatibility"]
---

# Get WakaTime-compatible summary

`GET /api/summary`

Returns a summary of coding activity in a format compatible with WakaTime clients. This endpoint supports querying by date range, interval, or specific user (admin/privileged only).

## Query parameters

- `start` string
- `end` string
- `interval` string
- `project` string
- `user` string

## Response `200`

successful

- object
  - `user_id` string, nullable
  - `from` string, date_time
  - `to` string, date_time
  - `projects` object[]
    - `key` string
    - `total` number
  - `languages` object[]
    - `key` string
    - `total` number
  - `editors` object, nullable
  - `operating_systems` object, nullable
  - `machines` object, nullable
  - `categories` object, nullable
  - `branches` object, nullable
  - `entities` object, nullable
  - `labels` object, nullable

## Other responses

- `400` — bad request

## Changes

- **2026-01-27** (v1) `b6d6849481da` — 4 warning, 6 info
  - deleted the `query` request parameter `from`
  - deleted the `query` request parameter `range`
  - deleted the `query` request parameter `to`
  - deleted the `query` request parameter `user_id`
  - …6 more

[Change history](https://skmtc.dev/hackclub/apis/hackatime-api/changes/api/summary/get.md)

---

[API](https://skmtc.dev/hackclub/apis/hackatime-api.md) · [All operations](https://skmtc.dev/hackclub/apis/hackatime-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hackclub/hackatime-api/revisions/b6d6849481da/schema)
