---
title: "What people couldn't find (AI)"
description: "Content gaps for a workspace you own or admin (scope=workspace:<id>, else 403) or your own Guides (scope=personal): searches that found nothing or that nobody…"
canonical_url: https://docs.markdrop.in/api/analytics/what-people-couldn-t-find-ai
last_updated: 2026-11-04
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# What people couldn't find (AI)

`GET https://api.markdrop.in/api/v1/me/analytics/ai/gaps`

Content gaps for a workspace you own or admin (`scope=workspace:<id>`, else `403`) or your own Guides (`scope=personal`): searches that found nothing or that nobody opened, and guide questions Ask AI couldn't answer, over the last 30 days, grouped by Claude Haiku 5.5 into up to 5 `gaps`. Each has `topic`, `count` (counted by Markdrop), `why`, `outline`, `examples` and `markdown` ready to create a page in `create.workspace`. `status` is `thin` under 5 searches and questions. Counts towards your AI limits.

- **Authentication:** API token required: `Authorization: Bearer mdk_…`.
- **Rate limit:** 20 per minute per IP address.
- **MCP tool:** `content_gaps` ([tools](https://docs.markdrop.in/ai/tools))
- **Guide:** [What people couldn't find](https://docs.markdrop.in/analytics/content-gaps)

## Query parameters

- `scope` (string, required): `workspace:<workspace id>` or `personal`. 1–80 characters.
- `fresh` (integer): `1` groups them again instead of using today's copy. From 0 to 1. Default `0`.

## Responses

- `200`: OK.
- `401`: No token, or the token is revoked or mistyped.
- `422`: The request didn't validate. `detail` lists each problem, with where it is (`loc`) and why (`msg`).
- `429`: Too many requests from your IP address. Wait the seconds in `Retry-After`.

## Examples

**curl**

```bash
curl 'https://api.markdrop.in/api/v1/me/analytics/ai/gaps?scope=SCOPE' \
  -H "Authorization: Bearer $MARKDROP_TOKEN"
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/me/analytics/ai/gaps?scope=SCOPE", {
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
  },
});
const data = await res.json();
```

**Python**

```python
import os

import requests

r = requests.get(
    "https://api.markdrop.in/api/v1/me/analytics/ai/gaps?scope=SCOPE",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
)
r.raise_for_status()
print(r.json())
```
