lessons

Save Lesson

Save a generated lesson to the database. Creates Lesson + LessonVersion records.

post/api/lessons/save

Request

  • Base URL: https://api.tegore.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.tegore.ai/api/lessons/save
  • Auth: none declared

Request body

organization_idstring required
lesson_typestring required
titlestring required
descriptionstring required
grade_levelstring nullable
key_examplestring nullable
intent_dataobject required
pedagogy_dataobject required
stepsobject[] required
system_promptstring required

Response

Successful Response

successboolean required
lesson_idstring nullable
idstring nullable
version_numberinteger nullable
errorstring nullable

Changes

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