> ## 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.

# GET - Retrieve Additional Lesson Plan Enrichment Blocks

>  This API allows authenticated users to retrieve the additional enrichment blocks of a lesson plan by its ID. 

 **How to Use:**

 
 1. Call `GET /lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}` with the lesson plan ID. 
 2. The API validates the lesson plan ID and ensures content generation is finalized. 
 3. If the additional block generation is completed, the system returns the lesson plan details including additional blocks. 

 **Example Scenario:**

 A teacher wants to view the additional blocks added to a lesson plan: 
 - They call this API with the lesson plan ID. 
 - The system validates the lesson plan and content generation status. 
 - If valid and completed, the system returns the lesson plan details including all additional blocks. 
 - The teacher reviews the additional blocks for further planning or sharing. 



## OpenAPI

````yaml GET /lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}
openapi: 3.0.1
info:
  title: Evaluation Report API
  description: An API for retrieving evaluation reports.
  version: 1.0.0
servers:
  - url: https://api-staging.crazygoldfish.com
    description: SandBox endpoint
  - url: https://api.crazygoldfish.com
    description: Prod End Point
security: []
paths:
  /lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}:
    get:
      summary: Retrieve the additional blocks of a lesson plan by its ID.
      description: >-
        Returns the lesson plan details along with any additional blocks (such
        as Reflection and Feedback or Emotional and Social Development) for the
        specified lesson plan ID.
      parameters:
        - name: lesson_plan_id
          in: path
          required: true
          description: UUID of the lesson plan whose additional blocks are being requested.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Lesson plan additional blocks retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                        description: Unique identifier of the lesson plan.
                      board:
                        type: object
                        description: Board details for the lesson plan.
                        properties:
                          id:
                            type: string
                            format: uuid
                          name:
                            type: string
                      grade:
                        type: object
                        description: Grade details for the lesson plan.
                        properties:
                          id:
                            type: string
                            format: uuid
                          name:
                            type: string
                      section:
                        type: string
                        description: Optional class section.
                      subject:
                        type: object
                        description: Subject details for the lesson plan.
                        properties:
                          id:
                            type: string
                            format: uuid
                          name:
                            type: string
                      status:
                        type: string
                        description: Current status of the lesson plan.
                      duration_minutes:
                        type: integer
                        description: Total duration of the lesson plan in minutes.
                      topic:
                        type: string
                        description: Topic of the lesson plan.
                      documents:
                        type: array
                        description: List of document URLs associated with the lesson plan.
                        items:
                          type: string
                          format: uri
                      audio_url:
                        type: string
                        format: uri
                        description: Optional audio URL for the lesson plan.
                      subject_matter:
                        type: object
                        description: >-
                          Key subject-matter details including topics, key
                          concepts, and prerequisites.
                      learning_standards:
                        type: object
                        description: Learning outcomes, SMART objectives, and competencies.
                      alignment:
                        type: object
                        description: >-
                          Instructional alignment details (materials,
                          strategies, instructional blocks).
                      content_generation:
                        type: object
                        description: >-
                          Generated content blocks for the lesson plan such as
                          introduction, development, practice, closure, and
                          assessment.
                        properties:
                          introduction_block:
                            type: object
                          development_block:
                            type: object
                          guided_practice_block:
                            type: object
                          independent_practice_block:
                            type: object
                          closure_block:
                            type: object
                          assessment_block:
                            type: object
                      additional_blocks:
                        type: array
                        description: >-
                          Array of additional enrichment blocks added to the
                          lesson plan.
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                              description: >-
                                Name of the additional block (e.g., Reflection
                                and Feedback).
                            description:
                              type: string
                              description: >-
                                Detailed instructional guidance for the
                                additional block.
                          required:
                            - name
                            - description
                    required:
                      - id
                      - board
                      - grade
                      - subject
                      - status
                      - duration_minutes
                      - topic
                      - additional_blocks
              example:
                data:
                  id: 658fcb13-0304-46cd-8c3d-0776ec4506f8
                  board:
                    id: 087c80b0-ac25-40ee-8657-28b694882ba8
                    name: CBSE
                  grade:
                    id: 65955148-e106-461b-a9a6-e0c3294f6734
                    name: Grade 10
                  section: null
                  subject:
                    id: abf49127-253c-4dc9-9bf5-eb66360e5592
                    name: Mathematics
                  status: Completed
                  duration_minutes: 50
                  topic: Real Numbers
                  documents: []
                  audio_url: null
                  subject_matter:
                    topics_to_be_covered: {}
                    key_concepts_and_subconcepts: {}
                    prerequisite_knowledge: {}
                  learning_standards: {}
                  alignment: {}
                  content_generation: {}
                  additional_blocks:
                    - name: Reflection and Feedback
                      description: >-
                        In this 20-minute block, students individually reflect
                        on their understanding of Euclid's division algorithm,
                        the Fundamental Theorem of Arithmetic, and proofs of
                        irrationality. Prompts include: 'Why is prime
                        factorization unique?' and 'How does Euclid's division
                        algorithm help in divisibility problems?'. The teacher
                        circulates to provide feedback, uses a formative quiz
                        for quick checks, and encourages students to share their
                        reasoning with peers.
                    - name: Emotional and Social Development
                      description: >-
                        In this 20-minute session, small groups collaboratively
                        solve number theory problems. Roles such as questioner
                        and explainer promote social interaction and critical
                        thinking. The teacher encourages respectful discussion,
                        models positive feedback, and guides reflection on
                        teamwork and empathy, helping students build identity,
                        belonging, and autonomy.
        '400':
          description: >-
            Lesson plan content generation not finalized or additional block
            retrieval failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
              examples:
                notFinalized:
                  summary: Content generation not finalized
                  value:
                    detail:
                      - msg: Lesson plan content generation is not finalized!
                failed:
                  summary: Additional block retrieval failed
                  value:
                    detail:
                      - msg: Some error message from backend.
        '404':
          description: Lesson plan not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
              example:
                detail:
                  - msg: Lesson plan not found.
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
              example:
                detail:
                  - msg: Unexpected error occurred.
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````