POST - Lesson Plan Finalize Metadata
This API allows authenticated users to trigger the finalization metadata process for a lesson plan.
How to Use:
- Call this endpoint with the finalized metadata payload, including subject matter and learning standards.
- The API validates the lesson plan ID, checks metadata step status, and ensures alignment is not already in progress or completed.
- On success, the system updates metadata, triggers the alignment process asynchronously, and returns a success message.
Example Scenario: A teacher submits finalized metadata for a lesson plan.
- The system validates the request and workflow state.
- If valid, metadata is saved and alignment starts.
- The teacher receives confirmation that alignment has been initiated.
POST
/
lesson-plan
/
v1
/
finalize-metadata
/
{lesson_plan_id}
Trigger Lesson Plan Alignment
curl --request POST \
--url https://api-staging.crazygoldfish.com/lesson-plan/v1/finalize-metadata/{lesson_plan_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"subject_matter": {
"topics_to_be_covered": {
"topic": {
"ai_recommendations": [
"Community Roles and Responsibilities: Understanding the various roles people play in families, schools, and neighborhoods, such as teachers, students, caretakers, and volunteers.",
"Cooperation and Teamwork in Communities: Exploring how people work together during festivals, celebrations, and times of need to build strong community bonds.",
"Caring for the Environment and Neighborhood: Learning ways to take care of nature, manage waste responsibly, and improve soil quality through practices like composting.",
"Community Institutions and Their Functions: Examining the importance of local institutions such as schools, hospitals, banks, and markets in daily community life.",
"Celebrations and Shared Traditions: Discussing how communal events and festivals promote social interaction and a sense of belonging among community members."
],
"additional_recommendations": [
"Incorporate storytelling and role-play activities to help students understand community roles and cooperation.",
"Include practical activities such as community clean-up drives or planting trees to connect learning with real-life environmental care."
]
}
},
"key_concepts_and_subconcepts": {
"concepts": {
"ai_recommendations": [
"Community Roles and Responsibilities: teachers, students, caretakers, and volunteers",
"Cooperation and Teamwork in Communities: working together during festivals, celebrations, and times of need",
"Caring for the Environment and Neighborhood: managing waste responsibly and improving soil quality through composting",
"Community Institutions and Their Functions: schools, hospitals, banks, and markets",
"Celebrations and Shared Traditions: communal events and festivals promote social interaction and a sense of belonging"
],
"additional_recommendations": [
"Community Roles and Responsibilities: bus drivers' role in schools",
"Cooperation and Teamwork in Communities: supporting each other in times of need",
"Caring for the Environment and Neighborhood: leaves buried in a pit become manure and improve soil quality",
"Community Institutions and Their Functions: importance of community institutes in daily life",
"Celebrations and Shared Traditions: eating together during community feasts"
]
}
},
"prerequisite_knowledge": {
"prerequisite": {
"ai_recommendations": [
"Basic understanding of family and school members and their roles.",
"Familiarity with simple cooperation and teamwork activities in school settings.",
"Knowledge of common festivals and celebrations in community contexts.",
"Awareness of environmental care such as waste disposal and planting.",
"Recognition of community helpers and local institutions like schools and hospitals."
],
"additional_recommendations": [
"Use stories about family and school to illustrate roles and responsibilities.",
"Engage students in simple group activities emphasizing cooperation.",
"Include exercises identifying festivals and community events.",
"Introduce basic environmental care practices through hands-on tasks.",
"Discuss the functions of familiar community institutions in daily life."
]
}
}
},
"learning_standards": {
"learning_outcomes": {
"outcomes": {
"ai_recommendations": [
"Community Roles and Responsibilities: Understanding the various roles people play in families, schools, and neighborhoods, such as teachers, students, caretakers, and volunteers.",
"Cooperation and Teamwork in Communities: Exploring how people work together during festivals, celebrations, and times of need to build strong community bonds.",
"Caring for the Environment and Neighborhood: Learning ways to take care of nature, manage waste responsibly, and improve soil quality through practices like composting.",
"Community Institutions and Their Functions: Examining the importance of local institutions such as schools, hospitals, banks, and markets in daily community life.",
"Celebrations and Shared Traditions: Discussing how communal events and festivals promote social interaction and a sense of belonging among community members."
],
"additional_recommendations": [
"Incorporate storytelling and role-play activities to help students understand community roles and cooperation.",
"Include practical activities such as community clean-up drives or planting trees to connect learning with real-life environmental care."
]
}
},
"smart_learning_objectives": {
"objects": {
"ai_recommendations": [
"Students will identify and describe at least four different community roles (e.g., teacher, student, caretaker, volunteer) within families, schools, or neighborhoods within 15 minutes. (Remembering)",
"Students will explain the importance of cooperation and teamwork during community festivals and celebrations by participating in a role-play activity within 20 minutes. (Understanding)",
"Students will demonstrate responsible environmental care by participating in a group composting or waste management activity and explaining its benefits within 25 minutes. (Applying)",
"Students will list and describe the functions of at least three local community institutions such as schools, hospitals, and markets within 15 minutes. (Remembering)",
"Students will discuss how communal celebrations and shared traditions promote social interaction and a sense of belonging through a storytelling session within 20 minutes. (Understanding)"
],
"additional_recommendations": [
"Use storytelling and role-play activities to help students internalize community roles and cooperation concepts.",
"Organize practical environmental activities like clean-up drives or tree planting to connect lessons with real-life experiences."
]
}
},
"competencies": {
"competency_list": [
{
"name": "Community Roles and Responsibilities (C-8.1)",
"description": "Understanding the various roles people play in families, schools, and neighborhoods, including teachers, students, caretakers, and volunteers."
},
{
"name": "Cooperation and Teamwork in Communities (C-8.2)",
"description": "Exploring how individuals work together during festivals, celebrations, and times of need to build strong community bonds."
},
{
"name": "Environmental Care and Waste Management (C-8.3)",
"description": "Learning methods to care for the environment, manage waste responsibly, and improve soil quality through practices like composting."
},
{
"name": "Community Institutions and Their Functions (C-8.4)",
"description": "Examining the importance of local institutions such as schools, hospitals, banks, and markets in everyday community life."
},
{
"name": "Celebrations and Shared Traditions (C-8.5)",
"description": "Discussing how communal events and festivals promote social interaction and foster a sense of belonging among community members."
}
]
}
}
}
EOF{
"detail": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"message": "Lesson plan alignment initiated successfully."
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.crazygoldfish.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique identifier of the lesson plan to align.
Example:
"4340132f-50fa-4877-9ffa-e9b7ee59d51f"
Body
application/json
Response
Lesson plan alignment initiated successfully.
Show child attributes
Show child attributes
Was this page helpful?
Previous
GET - Lesson Plan Finalize Metadata
This API allows authenticated users to retrieve the status and details of lesson plan finalization for a specific lesson plan.
**How to Use:**
1. Call this endpoint with the lesson plan ID as the path parameter.
2. The API checks the finalize metadata process for that lesson plan and returns current status plus relevant details.
3. On success, the response includes pending, in-progress, or completed state and related output details.
**Example Scenario:**
A teacher checks finalization status for a lesson plan.
- The request is validated with the provided lesson plan ID.
- The system returns current status and processing details.
- The teacher tracks progress and reviews finalization results.
Next
⌘I
Trigger Lesson Plan Alignment
curl --request POST \
--url https://api-staging.crazygoldfish.com/lesson-plan/v1/finalize-metadata/{lesson_plan_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"subject_matter": {
"topics_to_be_covered": {
"topic": {
"ai_recommendations": [
"Community Roles and Responsibilities: Understanding the various roles people play in families, schools, and neighborhoods, such as teachers, students, caretakers, and volunteers.",
"Cooperation and Teamwork in Communities: Exploring how people work together during festivals, celebrations, and times of need to build strong community bonds.",
"Caring for the Environment and Neighborhood: Learning ways to take care of nature, manage waste responsibly, and improve soil quality through practices like composting.",
"Community Institutions and Their Functions: Examining the importance of local institutions such as schools, hospitals, banks, and markets in daily community life.",
"Celebrations and Shared Traditions: Discussing how communal events and festivals promote social interaction and a sense of belonging among community members."
],
"additional_recommendations": [
"Incorporate storytelling and role-play activities to help students understand community roles and cooperation.",
"Include practical activities such as community clean-up drives or planting trees to connect learning with real-life environmental care."
]
}
},
"key_concepts_and_subconcepts": {
"concepts": {
"ai_recommendations": [
"Community Roles and Responsibilities: teachers, students, caretakers, and volunteers",
"Cooperation and Teamwork in Communities: working together during festivals, celebrations, and times of need",
"Caring for the Environment and Neighborhood: managing waste responsibly and improving soil quality through composting",
"Community Institutions and Their Functions: schools, hospitals, banks, and markets",
"Celebrations and Shared Traditions: communal events and festivals promote social interaction and a sense of belonging"
],
"additional_recommendations": [
"Community Roles and Responsibilities: bus drivers' role in schools",
"Cooperation and Teamwork in Communities: supporting each other in times of need",
"Caring for the Environment and Neighborhood: leaves buried in a pit become manure and improve soil quality",
"Community Institutions and Their Functions: importance of community institutes in daily life",
"Celebrations and Shared Traditions: eating together during community feasts"
]
}
},
"prerequisite_knowledge": {
"prerequisite": {
"ai_recommendations": [
"Basic understanding of family and school members and their roles.",
"Familiarity with simple cooperation and teamwork activities in school settings.",
"Knowledge of common festivals and celebrations in community contexts.",
"Awareness of environmental care such as waste disposal and planting.",
"Recognition of community helpers and local institutions like schools and hospitals."
],
"additional_recommendations": [
"Use stories about family and school to illustrate roles and responsibilities.",
"Engage students in simple group activities emphasizing cooperation.",
"Include exercises identifying festivals and community events.",
"Introduce basic environmental care practices through hands-on tasks.",
"Discuss the functions of familiar community institutions in daily life."
]
}
}
},
"learning_standards": {
"learning_outcomes": {
"outcomes": {
"ai_recommendations": [
"Community Roles and Responsibilities: Understanding the various roles people play in families, schools, and neighborhoods, such as teachers, students, caretakers, and volunteers.",
"Cooperation and Teamwork in Communities: Exploring how people work together during festivals, celebrations, and times of need to build strong community bonds.",
"Caring for the Environment and Neighborhood: Learning ways to take care of nature, manage waste responsibly, and improve soil quality through practices like composting.",
"Community Institutions and Their Functions: Examining the importance of local institutions such as schools, hospitals, banks, and markets in daily community life.",
"Celebrations and Shared Traditions: Discussing how communal events and festivals promote social interaction and a sense of belonging among community members."
],
"additional_recommendations": [
"Incorporate storytelling and role-play activities to help students understand community roles and cooperation.",
"Include practical activities such as community clean-up drives or planting trees to connect learning with real-life environmental care."
]
}
},
"smart_learning_objectives": {
"objects": {
"ai_recommendations": [
"Students will identify and describe at least four different community roles (e.g., teacher, student, caretaker, volunteer) within families, schools, or neighborhoods within 15 minutes. (Remembering)",
"Students will explain the importance of cooperation and teamwork during community festivals and celebrations by participating in a role-play activity within 20 minutes. (Understanding)",
"Students will demonstrate responsible environmental care by participating in a group composting or waste management activity and explaining its benefits within 25 minutes. (Applying)",
"Students will list and describe the functions of at least three local community institutions such as schools, hospitals, and markets within 15 minutes. (Remembering)",
"Students will discuss how communal celebrations and shared traditions promote social interaction and a sense of belonging through a storytelling session within 20 minutes. (Understanding)"
],
"additional_recommendations": [
"Use storytelling and role-play activities to help students internalize community roles and cooperation concepts.",
"Organize practical environmental activities like clean-up drives or tree planting to connect lessons with real-life experiences."
]
}
},
"competencies": {
"competency_list": [
{
"name": "Community Roles and Responsibilities (C-8.1)",
"description": "Understanding the various roles people play in families, schools, and neighborhoods, including teachers, students, caretakers, and volunteers."
},
{
"name": "Cooperation and Teamwork in Communities (C-8.2)",
"description": "Exploring how individuals work together during festivals, celebrations, and times of need to build strong community bonds."
},
{
"name": "Environmental Care and Waste Management (C-8.3)",
"description": "Learning methods to care for the environment, manage waste responsibly, and improve soil quality through practices like composting."
},
{
"name": "Community Institutions and Their Functions (C-8.4)",
"description": "Examining the importance of local institutions such as schools, hospitals, banks, and markets in everyday community life."
},
{
"name": "Celebrations and Shared Traditions (C-8.5)",
"description": "Discussing how communal events and festivals promote social interaction and foster a sense of belonging among community members."
}
]
}
}
}
EOF{
"detail": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"message": "Lesson plan alignment initiated successfully."
}
]
}