---
title: "Popular dashboards over the trailing 30 days."
method: GET
path: "/v1/me/popular-dashboards"
tags: ["dashboards"]
---

# Popular dashboards over the trailing 30 days.

`GET /v1/me/popular-dashboards`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/v1/me/popular-dashboards`
- Auth: one of:
  - API key in cookie `dvt_session`
  - HTTP bearer

Org-wide dashboard view counts over the trailing 30 days (DVT-5234), restricted to
dashboards the caller can open — the same read-visibility as `GET /v1/dashboards`,
so a dashboard the caller cannot read never appears however popular it is. Ordered
by views descending, then dashboard id. Soft-deleted dashboards and dashboards with
no views in the window are excluded. Not role-gated.

## Query parameters

- `limit` integer

## Response `200`

Popular dashboards.

- PopularDashboardListEnvelope
  - `data` PopularDashboard[], required
    - `dashboardId` string, uuid, required
    - `views` integer, required: View count over the trailing 30 days.
  - `meta` Meta, required: Response metadata.
    - `requestId` string, required: Correlates with the X-Request-Id header.
    - `total` integer: Item count, present on collection responses.
    - `nextCursor` string, nullable: Opaque keyset-pagination cursor, present on paginated responses (e.g. GET /v1/dashboards) when more rows exist beyond this page. Pass it back as the `cursor` query param to fetch the next page; absent or null on the last page.
    - `roleResolveDegraded` boolean: Snowflake mode only (DVT-2260), on GET /v1/dashboards: present and true when the caller's live Snowflake role resolution failed or was unavailable — role-shared dashboards may be missing from this page. Omitted (not merely false) whenever resolution succeeded or the role-share arm does not apply (off snowflake mode, an org admin/owner, or off the ingress listener).

## Other responses

- `400`: Malformed request.
- `401`: Missing, invalid, or expired session.
- `403`: The caller's role does not permit this action.

---

[API](https://skmtc.dev/dvt/apis/dvt-rest-api.md) · [All operations](https://skmtc.dev/dvt/apis/dvt-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dvt/apis/dvt-rest-api/revisions/00016f504165?raw)
