---
title: "GET /api/v1/users/{user}:getStats"
method: GET
path: "/api/v1/users/{user}:getStats"
tags: ["UserService"]
---

# GET /api/v1/users/{user}:getStats

`GET /api/v1/users/{user}:getStats`

GetUserStats returns statistics for a specific user.

## Path parameters

- `user` string, required

## Response `200`

OK

- UserStats — User statistics messages
  - `name` string — The resource name of the user whose stats these are. Format: users/{user}
  - `memoDisplayTimestamps` string[] — The timestamps when the memos were displayed.
  - `memoTypeStats` UserStatsMemoTypeStats — Memo type statistics.
    - `linkCount` integer
    - `codeCount` integer
    - `todoCount` integer
    - `undoCount` integer
  - `tagCount` object — The count of tags.
  - `pinnedMemos` string[] — The pinned memos of the user.
  - `totalMemoCount` integer — Total memo count.

## Other responses

- `default` — Default error response

## Changes

- **2025-12-15** `d740073f088f` — 2 warning, 1 info
  - removed the optional property `memoCreatedTimestamps` from the response with the `200` status
  - removed the optional property `memoUpdatedTimestamps` from the response with the `200` status
  - added the optional property `memoDisplayTimestamps` to the response with the `200` status

[Change history](https://skmtc.dev/usememos/apis/untitled-api/changes/api/v1/users/:user:getStats/get.md)

---

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