# Get a help article's analytics (https://notert.io/docs/api/reference/get-a-help-article-s-analytics)

`GET /api/v1/insights/help-articles`

How a help article does with its readers: how often it was opened and by how many people over the past 7, 30 or 90 days or since it went live, by period, and how readers answered "Did this answer your question?" with the newest notes of those who said no. A draft answers its answers alone, and an article in the trash or another workspace's is NOT_FOUND.

Access: A token with help:read.

## Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `articleId` | string | Yes | The article, by its id from GET /help-articles. At most 64 characters. |
| `range` | string | No | The stretch to read, back from today: 7d, 30d (the default), 90d or all (since it went live). One of: `7d`, `30d`, `90d`, `all`. Default "30d". |
| `timeZone` | string | No | The IANA time zone its days are counted in, such as Europe/Oslo. UTC by default. At most 64 characters. Default "UTC". |

## Response 200

| Field | Type | Description |
| --- | --- | --- |
| `status` | string | Whether the article is published, or a draft, which no reader opens and answers its answers alone. One of: `draft`, `published`. |
| `liveDay` | date | The day it went live, as YYYY-MM-DD in the time zone asked for. |
| `totals` | object | The whole stretch's sums. |
| `totals.views` | integer | How many times it was read: over the stretch, from that place, or in the period. |
| `totals.readers` | integer | How many people read it, counted over the stretch, the place or the period: a known reader once, an anonymous one once a day. |
| `bucket` | string | What each period counts: a day, or over a longer stretch a week from its Monday, a month or a year, the finest that keeps the stretch to 92 periods. Left out for one not live yet. One of: `day`, `week`, `month`, `year`. |
| `periods` | object[] | Each period of the stretch from the day it went live, oldest first. The first and the last count only their days within the stretch. Left out for one not live yet. |
| `periods.start` | date | The period's first day, as YYYY-MM-DD. |
| `periods.end` | date | The period's last day, as YYYY-MM-DD, the same as its start when each is a day. |
| `periods.views` | integer | How many times it was read: over the stretch, from that place, or in the period. |
| `periods.readers` | integer | How many people read it, counted over the stretch, the place or the period: a known reader once, an anonymous one once a day. |
| `answers` | object | How readers answered "Did this answer your question?" under the article, every answer kept. |
| `answers.total` | integer | How many readers answered "Did this answer your question?". |
| `answers.shares` | object | Each answer's share, as a whole percent, none of nothing. |
| `answers.shares.yes` | integer | The share who answered yes. |
| `answers.shares.partly` | integer | The share who answered partly. |
| `answers.shares.no` | integer | The share who answered no. |
| `answers.latestNotes` | object[] | The newest notes readers who answered no wrote about what they were looking for, at most 10, never who wrote them. |
| `answers.latestNotes.note` | string | What the reader wrote they were looking for, in a customer's words. |
| `answers.latestNotes.answeredAt` | date-time | When they answered. |
| `answers.olderNotes` | integer | How many older notes there are beyond these. |

## Errors

| Status | Code | Message |
| --- | --- | --- |
| 400 | `BAD_REQUEST` | Input validation failed. |
| 401 | `UNAUTHORIZED` | Send a valid API token as a Bearer token. |
| 403 | `HOLDER_NOT_ALLOWED` | The teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. |
| 403 | `INSUFFICIENT_SCOPE` | This API token can't read the help center. Create one that may in the workspace's settings. |
| 403 | `NETWORK_NOT_ALLOWED` | This API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. |
| 404 | `NOT_FOUND` | Not Found. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl "https://app.notert.io/api/v1/insights/help-articles?articleId=4b1c6e2a-9d3f-4a5b-8c7e-1f2a3b4c5d6e&range=7d" \
  -H "Authorization: Bearer $NOTERT_API_TOKEN"
```

## Example response 200

```json
{
  "status": "published",
  "liveDay": "2026-11-02",
  "totals": {
    "views": 412,
    "readers": 268
  },
  "bucket": "day",
  "periods": [
    {
      "start": "2026-11-02",
      "end": "2026-11-02",
      "views": 412,
      "readers": 268
    }
  ],
  "answers": {
    "total": 50,
    "shares": {
      "yes": 72,
      "partly": 18,
      "no": 10
    },
    "latestNotes": [
      {
        "note": "How long a refund takes",
        "answeredAt": "2026-11-18T10:24:00.000Z"
      }
    ],
    "olderNotes": 3
  }
}
```
