---
title: "List User Intel"
method: GET
path: "/admin/user-intel"
tags: ["Admin"]
---

# List User Intel

`GET /admin/user-intel`

## Request

- Base URL: `https://api.kolens.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolens.ai/admin/user-intel`
- Auth: none declared

Leaderboard of all workspaces with their last cached verdict summary.

Wrapped in a catch-all that LOGS the full traceback and re-raises as a
500 carrying the exception type + message (issue #524). FastAPI's default
unhandled-exception path returns a bodyless ``Internal Server Error`` —
which the BFF turns into an opaque ``{}`` — so an operator had no way to
see *why* the dashboard failed. Surfacing the detail makes the next
failure self-diagnosing; ``build_user_index`` separately skips individual
bad workspaces so one row can't take the whole page down.

## Query parameters

- `sort` string: spend|paid|recency|searches|emails|signups|pay_likelihood
- `order` 'asc' | 'desc'
- `paid` boolean, nullable: Filter to paid (true) or free (false) workspaces
- `activity` 'active' | 'dormant', nullable: active = used in last 14d; dormant = no activity 14d+ / never
- `q` string, nullable: Case-insensitive email / workspace-name contains

## Headers

- `x-admin-secret` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kolens/apis/kolens-api.md) · [All operations](https://skmtc.dev/kolens/apis/kolens-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kolens/apis/kolens-api/revisions/5d6865ab0a24?raw)
