---
title: "Journey content engagement daily history (trend)"
method: GET
path: "/api/analytics/content-engagement/history"
tags: ["analytics"]
---

# Journey content engagement daily history (trend)

`GET /api/analytics/content-engagement/history`

Daily engagement series (step and per-content) for trend over time. Optional from_date/to_date filter.

## Query parameters

- `from_date` string, date, nullable — Start date (YYYY-MM-DD), inclusive.
- `to_date` string, date, nullable — End date (YYYY-MM-DD), inclusive.
- `track_code` string, nullable — Scope to a single track.
- `step_code` string, nullable — Scope to a single step.
- `content_id` string, nullable — Scope the content series to a single content.

## Response `200`

Successful Response

- ContentEngagementHistoryResponse — Daily engagement series (step and per-content) for trend over time.
  - `steps` ContentEngagementHistoryStepPoint[], required — Daily step points
    - `snapshot_date` string, date, required — Day of the snapshot
    - `track_code` string, required — Track code
    - `step_code` string, required — Step code
    - `step_title` string, required — Step title
    - `reached` integer, required — Patients for whom the step is unlocked
    - `opened` integer, required — Of reached, how many opened it
    - `completed` integer, required — Of reached, how many completed it
    - `open_rate` number, required — opened / reached, percent
    - `completion_rate` number, required — completed / reached, percent
  - `contents` ContentEngagementHistoryContentPoint[], required — Daily per-content points
    - `snapshot_date` string, date, required — Day of the snapshot
    - `track_code` string, required — Track code
    - `step_code` string, required — Step code
    - `content_id` string, required — Content id
    - `content_title` string, required — Content title
    - `content_type` string, nullable — Content type (video, pdf, questionnaire, ...)
    - `reached` integer, required — Patients to whom the content is shown
    - `completed` integer, required — Of reached, how many completed it
    - `completion_rate` number, required — completed / reached, percent

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corabea/corabea-api/revisions/13c1bce1bdc4/schema)
