POST
/
ai
/
v1
/
lesson-plan
/
content-generation
/
{lesson_plan_id}
Trigger content generation for a lesson plan.
curl --request POST \
  --url https://api-staging.crazygoldfish.com/ai/v1/lesson-plan/content-generation/{lesson_plan_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "alignment": {
    "materials_options": [
      {
        "name": "Textbook excerpts and supplementary reader sections",
        "description": "Provides authentic prose and drama texts for direct engagement and comprehension."
      },
      {
        "name": "Grammar exercise worksheets",
        "description": "Supports targeted practice in sentence construction and correction aligned with learning outcomes."
      },
      {
        "name": "Vocabulary flashcards and context-based word maps",
        "description": "Enhances understanding of tone, expression, and contextual vocabulary use."
      },
      {
        "name": "Audio recordings of dialogues and plays",
        "description": "Facilitates analysis of tone and expression in drama and oral language practice."
      },
      {
        "name": "Graphic organizers for plot and character analysis",
        "description": "Assists students in organizing narrative elements and deepening comprehension."
      }
    ],
    "instructional_blocks": {
      "closure": {
        "duration": 5,
        "component_options": [
          {
            "name": "Class discussion reflecting on lesson learnings and perspectives",
            "description": "Encourages synthesis of understanding and sharing of diverse viewpoints."
          },
          {
            "name": "Quick formative quiz to review vocabulary and grammar concepts",
            "description": "Checks immediate comprehension and retention through short assessment."
          },
          {
            "name": "Exit ticket requiring students to state one new insight",
            "description": "Promotes self-assessment and reflection on learning."
          }
        ],
        "formative_questions": [
          "What new understanding about character interactions did you gain today?",
          "How confident do you feel about applying sentence correction rules?"
        ]
      },
      "development": {
        "duration": 15,
        "component_options": [
          {
            "name": "Read selected prose and drama excerpts with guided annotation",
            "description": "Supports close reading and interaction with text to identify themes, tone, and character interactions."
          },
          {
            "name": "Conduct grammar mini-lessons with exercises",
            "description": "Provides focused instruction on sentence construction and correction aligned with learning standards."
          },
          {
            "name": "Analyze vocabulary tone and contextual meanings with examples",
            "description": "Helps students interpret expressions and word choices related to emotions and narratives."
          }
        ],
        "formative_questions": [
          "How does the author convey tone through word choice in this passage?",
          "What grammatical errors can you identify in these sentences and how will you correct them?"
        ]
      },
      "introduction": {
        "duration": 10,
        "component_options": [
          {
            "name": "Set context and introduce learning outcomes",
            "description": "Clarify lesson goals explicitly to orient students and activate prior knowledge."
          },
          {
            "name": "Preview key vocabulary and essential questions",
            "description": "Familiarize students with critical terms and questions to focus attention and support comprehension."
          },
          {
            "name": "Engage in warm-up discussion based on prior knowledge",
            "description": "Stimulate thinking by connecting past experiences related to themes and grammar concepts."
          }
        ],
        "formative_questions": [
          "What prior knowledge do you have about the themes in Anne Frank and The Proposal?",
          "Can you explain what makes a sentence grammatically correct?"
        ]
      },
      "guided_practice": {
        "duration": 10,
        "component_options": [
          {
            "name": "Group analysis of character interactions and dialogue",
            "description": "Facilitates peer collaboration to unpack complex character relationships and dialogue meaning."
          },
          {
            "name": "Sentence correction activities paired with peer feedback",
            "description": "Encourages active application of grammar rules and collaborative error correction."
          },
          {
            "name": "Vocabulary games focusing on tone and expression",
            "description": "Engages students interactively to reinforce vocabulary learning in context."
          }
        ],
        "formative_questions": [
          "What clues in the dialogue help us understand character feelings?",
          "How would you correct this sentence to make it grammatically accurate?"
        ]
      },
      "independent_practice": {
        "duration": 15,
        "component_options": [
          {
            "name": "Individual reading and summarizing narrative texts",
            "description": "Allows students to demonstrate comprehension and interpretation independently."
          },
          {
            "name": "Writing a short essay analyzing prose themes and characters",
            "description": "Assesses ability to articulate understanding in written form aligned with objectives."
          },
          {
            "name": "Completing grammar exercises independently",
            "description": "Provides space for self-paced grammar practice and reinforcement."
          }
        ],
        "formative_questions": [
          "Can you summarize the main theme of the text in your own words?",
          "What are the key grammatical rules applied in your writing?"
        ]
      },
      "summative_assessment": {
        "duration": 5,
        "component_options": [
          {
            "name": "Essay writing on themes and character interactions",
            "description": "Assesses deep comprehension and expressive writing skills aligned with learning outcomes."
          },
          {
            "name": "Grammar test focusing on sentence construction and correction",
            "description": "Evaluates mastery of grammatical concepts as applied in writing and editing."
          },
          {
            "name": "Drama excerpt analysis with tone and context explanation",
            "description": "Measures ability to analyze drama dialogue critically and articulate findings."
          },
          {
            "name": "Oral presentation summarizing key narratives and interpretations",
            "description": "Checks oral communication and understanding of literary texts."
          },
          {
            "name": "Group role-play demonstrating character perspectives and dialogue",
            "description": "Assesses application of learning through collaborative, expressive activity."
          }
        ],
        "formative_questions": []
      }
    },
    "instructional_strategies_options": [
      {
        "name": "Guided reading plus think-aloud strategy",
        "description": "Models comprehension and analytical thinking aloud while reading to clarify thought processes."
      },
      {
        "name": "Collaborative group discussions and role-plays",
        "description": "Engages students actively in expressing understanding and perspective-taking through interaction."
      },
      {
        "name": "Error analysis and peer correction exercises",
        "description": "Promotes critical reflection on grammar through collaborative identification and correction of mistakes."
      },
      {
        "name": "Contextual vocabulary teaching through thematic reading",
        "description": "Facilitates deeper vocabulary comprehension tied to themes in texts enhancing retention."
      },
      {
        "name": "Formative questioning with scaffolded prompts",
        "description": "Encourages higher-order thinking through targeted, differentiated questioning during instruction."
      }
    ]
  }
}'
{
  "detail": [
    {
      "id": "78f0974d-d2df-42f4-8c06-073ed43482f5",
      "message": "Content generation initiated successfully."
    }
  ]
}

Path Parameters

lesson_plan_id
string<uuid>
required

UUID of the lesson plan to generate content for.

Body

application/json

Alignment data produced earlier, required to drive content generation.

The body is of type object.

Response

200
application/json

Content generation job enqueued successfully.

The response is of type object.