# Read changelog analytics

```http
GET https://trydimmi.com/api/v1/help-centers/{help_center}/changelog-analytics
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `changelog:read`.

## Path parameters

- `help_center` (string, required): Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers.

## Query parameters

- `days` (integer): How many days back to look, such as 30.

## Response 200 (OK)

- `data` (object, required)
  - `daily` (object[] | null, required): Views of the changelog's updates for each day of the period, as a date and a count.
    - `date` (string, required): The day counted, as a date such as 2026-11-01.
    - `views` (integer, required): How many times updates were viewed that day.
  - `days` (integer, required): How many days the report covers, counting today; between 1 and 90.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `reactions` (integer, required): How many reactions readers left on updates over the period.
  - `since` (string, required): The first day the report covers, as a date such as 2026-11-01.
  - `subscribers` (integer, required): How many people subscribe to the changelog now.
  - `subscribers_joined` (integer, required): How many people subscribed during the period.
  - `subscribers_unsubscribed` (integer, required): How many people unsubscribed during the period.
  - `top_entries` (object[] | null, required): The most read updates of the period, each with its id, title, slug, publish time, views and reactions.
    - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
    - `published_at` (string | null, required): When the update was published. Null when it is not published.
    - `reactions` (integer, required): How many reactions the update got in the reported days.
    - `slug` (string, required): The update's slug, the part of its web address that names it.
    - `title` (string, required): The update's title.
    - `views` (integer, required): How many times the update was viewed in the reported days.
  - `views` (integer, required): Total views of the changelog's updates over the period.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request GET \
  --url 'https://trydimmi.com/api/v1/help-centers/{help_center}/changelog-analytics' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "daily": [
      {
        "date": "<string>",
        "views": 123
      }
    ],
    "days": 123,
    "object": "<string>",
    "reactions": 123,
    "since": "<string>",
    "subscribers": 123,
    "subscribers_joined": 123,
    "subscribers_unsubscribed": 123,
    "top_entries": [
      {
        "id": "<string>",
        "published_at": "2026-11-01T09:30:00Z",
        "reactions": 123,
        "slug": "<string>",
        "title": "<string>",
        "views": 123
      }
    ],
    "views": 123
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
