Cohort Compensation

Get compensation configuration for a cohort

Returns the compensation config, resolved rates (global merged with overrides), and the cohort's modality profile — which modalities are enabled, which 1:1 session types and durations are configured, and whether in-person events exist. The modality profile (MED-731) is used by the Configure Compensation modal to filter rate rows down to only the ones relevant to this cohort.

get/api/cohorts/{cohortId}/compensation

Request

  • Base URL
    https://api.production.yourmedley.com
  • Auth
    none declared

Path parameters

cohortIdstring uuid required

Response

Compensation config retrieved

configobject nullable
resolved_ratesobject nullable
cohort_modalitiesstring[]
session_duration_minutesinteger nullable
configured_one_on_one_session_typesstring[]

1:1 session types actually configured on the cohort (MED-731). Drives which 1:1 SDA rows appear in the Configure Compensation modal.

configured_one_on_one_durationsinteger[]

1:1 session durations (minutes) configured on the cohort. Unused durations are hidden in the modal.

has_in_person_eventsboolean

True when the cohort has at least one in_person_booster event. Gates the In-Person Half/Full Day rate rows.

Changes

No recorded changes to this operation across all 1 revision of this API.