---
title: "Export patients with N sessions as CSV"
method: GET
path: "/api/analytics/patients-with-n-sessions/export"
tags: ["analytics"]
---

# Export patients with N sessions as CSV

`GET /api/analytics/patients-with-n-sessions/export`

## Query parameters

- `from_date` string, date, required
- `to_date` string, date, required
- `min_sessions` integer, required
- `exact` boolean
- `type` string, nullable

## Response `200`

Successful Response

- unknown

## 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)
