cURL
curl --request GET \ --url https://api.example.com/v1/cohorts/{id}
Documentation IndexFetch the complete documentation index at: https://docs.hawkings.education/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.hawkings.education/llms.txt
Use this file to discover all available pages before exploring further.
course
units
lessons
students
teachers
const cohort = await hk.cohorts.retrieve("coh_123", { expand: ["lessons", "students"], });