# Get a series' report

```http
GET https://trydimmi.com/api/v1/series/{series}/report
```

## Authorization

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

## Path parameters

- `series` (string, required): Id of the series, starting with srs_, such as srs_01jx2m8k4t. Find it with GET /series.

## Query parameters

- `days` (integer): How many days back the daily numbers cover.

## Response 200 (OK)

- `data` (object, required)
  - `active` (integer, required): How many travelers are on the series now.
  - `control` (object)
    - `groups` (object[] | null, required): Entrants and goals reached for the control group and for everyone else.
      - `entered` (integer, required): How many entrants were in the group.
      - `goal` (integer, required): How many of them reached the series' goal.
      - `group` (string, required): Which group: control (held out, sent nothing) or treated (traveled the series).
    - `percent` (integer, required): The share of entrants held out of the series to measure its lift, 0 to 50.
  - `days` (object[] | null, required): Entries and goals reached per day over the period of the report.
    - `day` (string, required): The day these numbers are for, as a date and time at the start of the day.
    - `entered` (integer, required): How many travelers entered the series that day.
    - `goal` (integer, required): How many travelers reached the goal that day.
  - `entered` (integer, required): How many travelers entered the series.
  - `exited` (integer, required): How many travelers left the series before finishing.
  - `finished` (integer, required): How many travelers reached the end of the series.
  - `goal` (integer, required): How many travelers reached the series' goal.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `reasons` (object[] | null, required): Why travelers left, each reason with how many.
    - `count` (integer, required): How many journeys ended for this reason.
    - `reason` (string, required): Why journeys ended, a short lowercase code such as series_stopped or node_removed.
  - `steps` (object, required): Each step's numbers, keyed by the step's id in the series' definition.

## 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/series/{series}/report' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "active": 123,
    "control": {
      "groups": [
        {
          "entered": 123,
          "goal": 123,
          "group": "<string>"
        }
      ],
      "percent": 123
    },
    "days": [
      {
        "day": "2026-11-01T09:30:00Z",
        "entered": 123,
        "goal": 123
      }
    ],
    "entered": 123,
    "exited": 123,
    "finished": 123,
    "goal": 123,
    "object": "<string>",
    "reasons": [
      {
        "count": 123,
        "reason": "<string>"
      }
    ],
    "steps": {
      "<key>": {
        "message": null,
        "outcomes": {
          "<key>": 123
        },
        "paths": {
          "<key>": 123
        },
        "reached": 123,
        "variants": [
          {}
        ],
        "waiting": 123
      }
    }
  }
}
```

---

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