---
title: "Get Popular Documents"
method: GET
path: "/api/databases/{database_id}/documents/popular"
tags: ["document"]
---

# Get Popular Documents

`GET /api/databases/{database_id}/documents/popular`

## Request

- Base URL: `https://app.myriade.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.myriade.ai/api/databases/{database_id}/documents/popular`
- Auth: none declared

Return the most-viewed documents for a database.

## Path parameters

- `database_id` string, uuid, required

## Query parameters

- `limit` integer

## Cookies

- `session` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
