Skip to main content
POST
/
lesson-plan
/
v1
/
feedback
/
{lesson_plan_id}
Create Lesson Plan Feedback
curl --request POST \
  --url https://api-staging.crazygoldfish.com/lesson-plan/v1/feedback/{lesson_plan_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "rating": 4,
  "comment": "The lesson plan is well-structured and covers all key concepts. However, I suggest adding more interactive activities.",
  "feedback_type": "suggestion",
  "feedback_data": {
    "strengths": [
      "Clear objectives",
      "Good pacing"
    ],
    "improvements": [
      "Add more examples",
      "Include assessment rubric"
    ]
  },
  "step_name": "Introduction",
  "component_name": "Learning Objectives"
}
'
{
  "detail": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "msg": "Feedback created successfully."
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

lesson_plan_id
string<uuid>
required

Unique identifier of the lesson plan

Body

application/json
comment
string
required

Text feedback/comment about the lesson plan

Example:

"The lesson plan is well-structured and covers all key concepts. However, I suggest adding more interactive activities."

feedback_type
enum<string>
required

Type of feedback. Must be one of: general (general feedback), content (content-specific feedback), quality (quality feedback), suggestion (suggestions for improvement)

Available options:
general,
content,
quality,
suggestion
Example:

"suggestion"

rating
integer

Rating from 1 to 5

Required range: 1 <= x <= 5
Example:

4

feedback_data
object

Structured feedback data as a JSON object for additional context

Example:
{
"strengths": ["Clear objectives", "Good pacing"],
"improvements": [
"Add more examples",
"Include assessment rubric"
]
}
step_name
string

Specific step name if feedback is for a particular step in the lesson plan

Example:

"Introduction"

component_name
string

Specific component name if feedback is for a particular component

Example:

"Learning Objectives"

Response

Feedback created successfully.

detail
object[]
required