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

`GET /api/v1/insights/changelog`

How a published changelog entry was read over the past 7, 30 or 90 days, the days named, or since it went live: its readings and readers, where it was read with each place's share, its readings, readers and reactions by period, the reactions given, and what became of its email to subscribers. A draft or a scheduled entry answers its state alone, and another workspace's entry is NOT_FOUND.

Access: A token with changelog:read.

## Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `entryId` | string | Yes | The entry, by its id from GET /changelog-entries. 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). Ignored when from and to name the days. One of: `7d`, `30d`, `90d`, `all`. Default "30d". |
| `from` | date | No | The stretch's first day, as YYYY-MM-DD, sent with to. No day before it went live counts. |
| `to` | date | No | The stretch's last day, as YYYY-MM-DD, sent with from. No day after today counts. |
| `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 |
| --- | --- | --- |
| `state` | string | Where the entry stands: published, or draft or scheduled, which no reader reads yet and answer their state alone. One of: `draft`, `scheduled`, `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. |
| `totals.reactions` | integer | How many reactions it was given: over the stretch, or in the period. |
| `sources` | object[] | Its readings by where it was read, each place listed. |
| `sources.source` | string | Where it was read: board (the public board), widget (the widget) or email (its email). One of: `board`, `widget`, `email`. |
| `sources.views` | integer | How many times it was read: over the stretch, from that place, or in the period. |
| `sources.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. |
| `sources.share` | number or null | The place's share of the readings, as a percentage. Null with none. |
| `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.board` | integer | How many times it was read on the public board in the period. |
| `periods.widget` | integer | How many times it was read in the widget in the period. |
| `periods.email` | integer | How many times it was read from its email 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. |
| `periods.reactions` | integer | How many reactions it was given: over the stretch, or in the period. |
| `reactionsByEmoji` | object[] | The reactions given over the stretch by emoji, the most given first, never who gave them. |
| `reactionsByEmoji.emoji` | string | The emoji given. |
| `reactionsByEmoji.count` | integer | How many reactions with the emoji. |
| `subscriberEmail` | object or null | What became of its email to subscribers. Null when they weren't emailed. |
| `subscriberEmail.sent` | integer | How many subscribers it was sent to. |
| `subscriberEmail.delivered` | integer | How many of those it reached. |
| `subscriberEmail.bounced` | integer | How many of those bounced. |
| `subscriberEmail.complained` | integer | How many called it spam. |
| `subscriberEmail.clicked` | integer | How many followed its link. |
| `subscriberEmail.deliveredRate` | number or null | Delivered of those sent, as a percentage. Null with none sent. |
| `subscriberEmail.clickRate` | number or null | Followed of those sent, as a percentage. Null with none sent. |

## 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 changelog. 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/changelog?entryId=8e2b4c6d-1a3f-4e5b-9c7d-2f4a6b8c0e13&range=7d" \
  -H "Authorization: Bearer $NOTERT_API_TOKEN"
```

## Example response 200

```json
{
  "state": "published",
  "liveDay": "2026-11-02",
  "totals": {
    "views": 412,
    "readers": 268,
    "reactions": 31
  },
  "sources": [
    {
      "source": "board",
      "views": 412,
      "readers": 268,
      "share": 62.5
    }
  ],
  "bucket": "day",
  "periods": [
    {
      "start": "2026-11-02",
      "end": "2026-11-02",
      "board": 9,
      "widget": 4,
      "email": 2,
      "readers": 268,
      "reactions": 31
    }
  ],
  "reactionsByEmoji": [
    {
      "emoji": "🎉",
      "count": 18
    }
  ],
  "subscriberEmail": {
    "sent": 1200,
    "delivered": 1188,
    "bounced": 12,
    "complained": 1,
    "clicked": 240,
    "deliveredRate": 99,
    "clickRate": 20
  }
}
```
