> ## 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 - Lesson Plan Metadata by ID

> 
Retrieves metadata for a specific lesson plan by its ID. This endpoint returns details such as board, grade, section, subject, status, duration, topic, subject matter, and learning standards.

**How to Use:**
 1. Call `GET /lesson-plan/v1/metadata/{lessonPlanId}` with the lesson plan ID.
 2. On success, you receive lesson plan metadata in the response.
 3. If the lesson plan is not found, a 404 error is returned. If processing failed, a 400 error with the failure message is returned.



## OpenAPI

````yaml GET /lesson-plan/v1/metadata/{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/metadata/{lesson_plan_id}:
    get:
      summary: Retrieve the metadata of a lesson plan by its ID.
      description: >-
        Returns detailed metadata for a lesson plan wrapped in a top-level
        `data` object, including board, grade, subject, status, duration, topic,
        documents, audio, subject matter, learning standards, and competencies.
      parameters:
        - name: lesson_plan_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Unique identifier of the lesson plan.
      responses:
        '200':
          description: Lesson plan metadata 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
                        properties:
                          id:
                            type: string
                            format: uuid
                            description: Unique identifier of the board.
                          name:
                            type: string
                            description: Name of the board.
                      grade:
                        type: object
                        properties:
                          id:
                            type: string
                            format: uuid
                            description: Unique identifier of the grade.
                          name:
                            type: string
                            description: Name of the grade.
                      section:
                        type: string
                        description: Section of the lesson plan.
                      subject:
                        type: object
                        properties:
                          id:
                            type: string
                            format: uuid
                            description: Unique identifier of the subject.
                          name:
                            type: string
                            description: Name of the subject.
                      status:
                        type: string
                        description: Current status of the lesson plan.
                      duration_minutes:
                        type: integer
                        description: Duration of the lesson plan in minutes.
                      topic:
                        type: string
                        description: Topic of the lesson plan.
                      documents:
                        type: array
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              description: URL of the document.
                            file_type:
                              type: string
                              description: Type of the document file.
                      audio:
                        type: string
                        description: URL of the audio file.
                      subject_matter:
                        type: object
                        properties:
                          topics_to_be_covered:
                            type: object
                            properties:
                              topic:
                                type: object
                                properties:
                                  ai_recommendations:
                                    type: array
                                    items:
                                      type: string
                                  additional_recommendations:
                                    type: array
                                    items:
                                      type: string
                          key_concepts_and_subconcepts:
                            type: object
                            properties:
                              concepts:
                                type: object
                                properties:
                                  ai_recommendations:
                                    type: array
                                    items:
                                      type: string
                                  additional_recommendations:
                                    type: array
                                    items:
                                      type: string
                          prerequisite_knowledge:
                            type: object
                            properties:
                              prerequisite:
                                type: object
                                properties:
                                  ai_recommendations:
                                    type: array
                                    items:
                                      type: string
                                  additional_recommendations:
                                    type: array
                                    items:
                                      type: string
                      learning_standards:
                        type: object
                        properties:
                          learning_outcomes:
                            type: object
                            properties:
                              outcomes:
                                type: object
                                properties:
                                  ai_recommendations:
                                    type: array
                                    items:
                                      type: string
                                  additional_recommendations:
                                    type: array
                                    items:
                                      type: string
                          smart_learning_objectives:
                            type: object
                            properties:
                              objects:
                                type: object
                                properties:
                                  ai_recommendations:
                                    type: array
                                    items:
                                      type: string
                                  additional_recommendations:
                                    type: array
                                    items:
                                      type: string
                          competencies:
                            type: object
                            properties:
                              competency_list:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    name:
                                      type: string
                                    description:
                                      type: string
        '400':
          description: Lesson plan step failed or validation error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                example:
                  detail:
                    - msg: Lesson plan step failed.
        '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: Internal server error.
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````