---
title: "After the questionnaire: the result page per variant and page"
method: GET
path: "/api/analytics/experiments/result-pages"
tags: ["experiments"]
---

# After the questionnaire: the result page per variant and page

`GET /api/analytics/experiments/result-pages`

## Request

- Base URL: `https://api.corabea.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.corabea.it/api/analytics/experiments/result-pages`
- Auth: HTTP bearer

The A/B experiments of both areas together, or of one (`context=onboarding`: new users; `existing_patient`: existing accounts), for the counted assignments answered on the Europe/Rome days `from`-`to` (default: the first experiment's start to today): who saw the result page (answers linked to an account), pressed «Prenota la call» or «Percorso gratuito», and reached the home after the click, per variant key, in total and per page (code S01-S41, G01-G05 and a readable name), most viewed first. Aggregate counts only.

## Query parameters

- `from` string, date, nullable: First day (YYYY-MM-DD), Europe/Rome
- `to` string, date, nullable: Last day included (YYYY-MM-DD), Europe/Rome
- `context` string, nullable: New users or existing accounts only

## Response `200`

Successful Response

- ResultPagesResponse
  - `period` ResultPagesPeriod, required
    - `from` string, date, required: First day, Europe/Rome
    - `to` string, date, required: Last day included, Europe/Rome
  - `counted_until` string, date-time, required: Clicks and home visits count up to here (each experiment up to its stop)
  - `experiments` string[], required: Keys of the experiments counted
  - `variants` VariantResultPages[], required: Per variant key, the experiments together
    - `key` string, required
    - `name` string, required
    - `is_control` boolean, required
    - `offers_not_ready` boolean, required: The variant's result page shows «non mi sento pronto/a»
    - `assigned` integer, required: Counted assignments whose answers fall in the period
    - `totals` ResultPageCounts, required
      - `views` integer, required: People whose answers are linked to an account: they saw the result page
      - `clicks` integer, required: Of them, who pressed a button (once, whichever came first)
      - `home` integer, required: Of them, who reached the home after their first click
      - `buttons` ResultPageButton[], required
        - `choice` 'book_call' | 'not_ready', required: book_call (Prenota la call) or not_ready (Percorso gratuito)
        - `clicks` integer, required: People who saw the page and pressed this button
        - `home` integer, required: Of them, who reached the home after pressing it
    - `pages` ResultPageRow[], required: Pages seen in the period, most viewed first
      - `views` integer, required: People whose answers are linked to an account: they saw the result page
      - `clicks` integer, required: Of them, who pressed a button (once, whichever came first)
      - `home` integer, required: Of them, who reached the home after their first click
      - `buttons` ResultPageButton[], required
        - `choice` 'book_call' | 'not_ready', required: book_call (Prenota la call) or not_ready (Percorso gratuito)
        - `clicks` integer, required: People who saw the page and pressed this button
        - `home` integer, required: Of them, who reached the home after pressing it
      - `code` string, required: Opaque page code, S01-S41 or G01-G05
      - `label` string, required: Readable name, e.g. 'S02 · Anoressia × Evitante'

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-19** `27dea3c63553`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/corabea/apis/corabea-api/changes/api/analytics/experiments/result-pages/get.md)

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/corabea/apis/corabea-api/revisions/4a8dd89893b8?raw)
