---
title: "Retrieve stats"
method: GET
path: "/user/stats"
tags: ["user-stats"]
---

# Retrieve stats

`GET /user/stats`

Retrieves the following statistics for the authenticated user:

- Total & Ongoing Purchases
- Open Cases
- Unread Messages

:::info
This endpoint is cached for ~1 hour and may not reflect real-time data. When the underlying data changes, 
we do our best to invalidate the cache quickly.
:::

## Response `200`

User stats

- UserStats — Aggregated stats for the authenticated user, focusing on purchase progress, active cases, and unread messages.
  - `purchases` object, required — Aggregated purchase stats
    - `total` integer, required — Total number of purchases for the authenticated user
    - `incomplete` integer, required — Purchases in-flight that have not been completed
  - `cases` object, required — Aggregated case stats
    - `open` integer, required — Cases linked to the user that are still open or active
  - `messages` object, required — Aggregated message stats
    - `unread` integer, required — Unread conversation messages for the user

---

[API](https://skmtc.net/managem/apis/managem-api.md) · [All operations](https://skmtc.net/managem/apis/managem-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/managem/managem-api/versions/6367b514f6ea/schema)
