---
title: "Trigger compensation recalculation"
method: POST
path: "/api/cohorts/{cohortId}/compensation/calculate"
tags: ["Cohort Compensation"]
---

# Trigger compensation recalculation

`POST /api/cohorts/{cohortId}/compensation/calculate`

## Request

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

Recalculates per-coach compensation for all assigned coaches in the cohort. Uses confirmed rate snapshot and current group/session data.

## Path parameters

- `cohortId` string, uuid, required

## Response `200`

Calculation completed successfully

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