POST
/
lesson-plan
/
v1
/
instructional-framework-builder
/
{lesson_plan_id}
Trigger content generation for a lesson plan.
curl --request POST \
  --url https://api-staging.crazygoldfish.com/lesson-plan/v1/instructional-framework-builder/{lesson_plan_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "alignment": {
    "materials_options": [
      {
        "ai_recommendations": [
          {
            "name": "Community Role Cards",
            "description": "Visual cards depicting various community roles help clarify roles and responsibilities."
          },
          {
            "name": "Environmental Care Kits",
            "description": "Hands-on kits with composting and waste management tools facilitate practical learning."
          },
          {
            "name": "Festival Storybooks",
            "description": "Books illustrating community celebrations support understanding of shared traditions."
          }
        ],
        "additional_recommendations": [
          {
            "name": "Storytelling Props",
            "description": "Props for role-play enhance engagement in community role activities."
          },
          {
            "name": "Local Institution Photos",
            "description": "Images of schools, hospitals, and markets provide real-life context for community institutions."
          }
        ]
      }
    ],
    "instructional_strategies_options": [
      {
        "ai_recommendations": [
          {
            "name": "Role-Play Activities",
            "description": "Engages students actively to understand community roles and teamwork."
          },
          {
            "name": "Group Discussions",
            "description": "Facilitates strategic questioning and sharing of perspectives."
          },
          {
            "name": "Hands-on Environmental Projects",
            "description": "Applies learning through practical composting or clean-up tasks."
          }
        ],
        "additional_recommendations": [
          {
            "name": "Storytelling Sessions",
            "description": "Promotes empathy and social understanding through narrative."
          },
          {
            "name": "Interactive Q&A",
            "description": "Encourages student participation and formative assessment through questioning."
          }
        ]
      }
    ],
    "instructional_blocks": {
      "introduction": {
        "component_options": [
          {
            "name": "Storytelling on Community Roles",
            "description": "Introduces community members and roles using relatable stories."
          },
          {
            "name": "Visual Presentation of Community",
            "description": "Shows images and videos illustrating community settings."
          }
        ],
        "formative_questions": [
          "What community roles do you see in your family?",
          "Can you name someone who helps in your school?"
        ],
        "duration": 10
      },
      "development": {
        "component_options": [
          {
            "name": "Role-Play of Community Helpers",
            "description": "Students act out roles to understand responsibilities."
          },
          {
            "name": "Discussion on Cooperation",
            "description": "Guided talk about working together during festivals and community events."
          }
        ],
        "formative_questions": [
          "How do people help each other during festivals?",
          "Why is teamwork important in our community?"
        ],
        "duration": 15
      },
      "guided_practice": {
        "component_options": [
          {
            "name": "Group Composting Activity",
            "description": "Students participate in composting to learn environmental care."
          },
          {
            "name": "Waste Sorting Exercise",
            "description": "Hands-on sorting of recyclable and non-recyclable materials."
          }
        ],
        "formative_questions": [
          "What materials can we compost?",
          "How does composting help the soil?"
        ],
        "duration": 15
      },
      "independent_practice": {
        "component_options": [
          {
            "name": "Community Institution Mapping",
            "description": "Students create maps highlighting local institutions and their functions."
          },
          {
            "name": "Celebration Sharing Session",
            "description": "Students share stories about festivals and traditions."
          }
        ],
        "formative_questions": [
          "Which community institutions do you visit often?",
          "How do festivals make you feel part of the community?"
        ],
        "duration": 10
      },
      "closure": {
        "component_options": [
          {
            "name": "Group Reflection",
            "description": "Students discuss what they learned about community roles and care."
          },
          {
            "name": "Question and Answer Review",
            "description": "Teacher-led Q&A to summarize key concepts."
          }
        ],
        "formative_questions": [
          "What is one important role in your community?",
          "How can you help keep your neighborhood clean?"
        ],
        "duration": 5
      },
      "summative_assessment": {
        "component_options": [
          {
            "name": "Matching Roles to Responsibilities",
            "description": "Students match community members to their roles."
          },
          {
            "name": "Explain Importance of Cooperation",
            "description": "Oral or written explanation of teamwork in community events."
          },
          {
            "name": "Demonstrate Composting Benefits",
            "description": "Students describe or show composting process and its impact."
          },
          {
            "name": "List Community Institutions and Functions",
            "description": "Students list institutions and explain their roles."
          },
          {
            "name": "Discuss Shared Traditions",
            "description": "Students talk about how celebrations foster belonging."
          }
        ],
        "formative_questions": [],
        "duration": 5
      }
    }
  }
}'
{
  "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

Community-focused alignment data required to drive content generation. Includes recommended materials, instructional strategies, and detailed instructional blocks.

alignment
object
required

Alignment details that specify materials, strategies, and instructional blocks.

Response

Content generation job enqueued successfully.

detail
object[]