Skip to main content

Get your cohort

GET /api/v1/cohorts/my-cohort

Get cohort leaderboard

GET /api/v1/cohorts/my-cohort/leaderboard

Get active challenges

GET /api/v1/cohorts/my-cohort/challenges

Submit a challenge

POST /api/v1/cohorts/challenges/{id}/submit
{
  "code": "...",
  "notes": "Optimised the retrieval step using MMR reranking"
}

Get peer reviews

GET /api/v1/cohorts/my-cohort/peer-reviews

Complete a peer review

POST /api/v1/cohorts/peer-reviews/{id}/complete
{
  "feedback": "Good use of context managers. Consider handling the case where the API returns an empty list.",
  "score": 84
}

Get cohort health score

GET /api/v1/cohorts/my-cohort/health
{
  "data": {
    "health_score": 78.5,
    "standup_rate": 0.85,
    "review_completion_rate": 0.90,
    "challenge_rate": 0.60,
    "active_member_rate": 1.0,
    "week_of": "2026-03-03"
  }
}