---
title: "Export compensation results as CSV (E13-4)"
method: GET
path: "/api/cohorts/{cohortId}/compensation/calculation/export-csv"
tags: ["Cohort Compensation"]
---

# Export compensation results as CSV (E13-4)

`GET /api/cohorts/{cohortId}/compensation/calculation/export-csv`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/cohorts/{cohortId}/compensation/calculation/export-csv`
- Auth: none declared

Synchronously generates a CSV file containing compensation data for all active coaches
in the cohort, with cohort metadata as a header block and one row per coach.

## Path parameters

- `cohortId` string, uuid, required

## Response `200`

CSV file stream

## Other responses

- `404`: Cohort not found

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
