---
title: "Get auth user insights"
method: GET
path: "/projects/{id}/auth/insights"
tags: ["Auth Admin"]
---

# Get auth user insights

`GET /projects/{id}/auth/insights`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/auth/insights`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Returns current and deleted auth-user totals, rolling 24-hour and 30-day
active users, and zero-filled daily activity and account-retention counts
for an inclusive UTC date range. Weeks start on Monday.
The existing deletions series counts accounts by deletion date; net_growth
remains signups minus deletions and is not affected by bans.
The banned_users, deleted_users, and available_users fields describe the
current state of users registered in each bucket. Banned users exclude
deleted users and expired bans. Available users are signups minus
banned_users minus deleted_users. Unban and expiry restore availability in
the original signup bucket. These current-state cohorts can change after
the requested dates have passed, without rewriting activity counts.
Sign-in counts remain grouped by session creation date. Deleted users
contribute to active counts until their last activity leaves the rolling
window. Token refreshes affect active users but not the sign-in series.
Signup history is backfilled from accounts present when collection was
deployed. Accounts hard-deleted before deletion-history collection cannot
be recovered. Current bans require no separate event-history collection.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `from` string, date
- `to` string, date
- `interval` 'day' | 'week' | 'month'

## Response `200`

Auth insights retrieved

- AuthInsightsResponse
  - `project_id` string, uuid, required
  - `observed_at` string, date-time, required
  - `window` AuthInsightsWindow, required
    - `from` string, date, required
    - `to` string, date, required
    - `interval` 'day' | 'week' | 'month', required
  - `summary` AuthInsightsSummary, required
    - `total_users` integer, required: Current auth-user count, excluding accounts with deleted status.
    - `deleted_users` integer, required: Recorded deletions, excluding internal test identities. Includes soft and hard deletion, counted once per account.
    - `active_users_1d` integer, required: Distinct users active in the trailing 24 hours, including activity before account deletion.
    - `active_users_30d` integer, required: Distinct users with a successful session creation or refresh in the trailing 30 days, including activity before account deletion.
  - `series` AuthInsightsSeriesPoint[], required
    - `bucket_start` string, date, required
    - `signups` integer, required: Registrations during the bucket. Subsequent deletion does not subtract from this count. Historical counts removed before deletion-history collection cannot be reconstructed.
    - `signins` integer, required: Successful session creations during the bucket.
    - `banned_users` integer, required: Users registered in this bucket who are currently banned. Excludes deleted users, lifted bans, expired temporary bans, and internal test identities.
    - `deleted_users` integer, required: Users registered in this bucket who are now deleted, counted once across soft and hard deletion. Grouped by signup date, not deletion date.
    - `available_users` integer, required: Currently available users registered in this bucket (signups minus banned_users minus deleted_users). Unban or expiry restores availability in the original signup bucket. This measures account availability, not return activity.
    - `deletions` integer, required: Accounts deleted during this bucket, counted once across soft and hard deletion.
    - `net_growth` integer, required: Registrations minus deletions during this bucket. May be negative. Bans do not affect this value.
    - `is_partial` boolean, required: Whether the requested window or observation time clips this bucket.

## Other responses

- `400`: Invalid date range or interval
- `401`: Unauthorized - invalid or missing token
- `403`: Access denied
- `404`: Project not found
- `500`: Internal server error

## Changes

- **2026-10-14** `d8d8f53d847b`: 3 info
  - added the required property `series/items/available_users` to the response with the `200` status
  - added the required property `series/items/banned_users` to the response with the `200` status
  - added the required property `series/items/deleted_users` to the response with the `200` status
- **2026-10-07** `23e7875e7c4c`: 5 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
  - added the required property `series/items/deletions` to the response with the `200` status
  - added the required property `series/items/net_growth` to the response with the `200` status
  - added the required property `summary/active_users_1d` to the response with the `200` status
  - …1 more
- **2026-09-19** `3a6f365f3f35`: 8 breaking, 19 info
  - added the new path request parameter `id`
  - the `query` request parameter `interval` was restricted to a list of enum values
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `400`
  - …23 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/auth/insights/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
