cURL
curl --request POST \ --url https://api.example.com/v1/lessons \ --header 'Content-Type: application/json' \ --data ' { "cohort_id": "<string>", "unit_id": "<string>", "name": "<string>", "type": {}, "position": 123, "evaluable": true, "optional": true, "metadata": {} } '
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.
reading
video
practice
assessment
const lesson = await hk.lessons.create({ cohort_id: "coh_123", name: "The postulates of special relativity", type: "reading", });