---
title: "Customer Usage Route"
method: GET
path: "/api/v1/customers/{customer_id}/usage"
tags: ["customers"]
---

# Customer Usage Route

`GET /api/v1/customers/{customer_id}/usage`

How this person used the product: their flow, session by session.

Reads our own event store rather than PostHog, so this is a handful of
indexed selects and stays inside the profile's load budget. The two
workspace-level comparisons it draws on (the per-event baseline and the
dominant path) are precomputed snapshots; when they are missing the tab drops
the comparison and shows the flow, rather than blocking on a scan.

## Path parameters

- `customer_id` string, uuid, required

## Query parameters

- `days` integer
- `sessions` integer

## Headers

- `authorization` string, nullable — Bearer <token>

## Response `200`

Successful Response

- EnvelopeDict
  - `data` object, required
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
    - `total` integer, nullable
    - `truncated` boolean, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/minro/apis/minro-cs-platform.md) · [All operations](https://skmtc.dev/minro/apis/minro-cs-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/minro/minro-cs-platform/revisions/eb854265cf29/schema)
