POST
/
v1
/
k12
/
generate
/
lesson-plan
curl --request POST \
  --url https://api-staging.crazygoldfish.com/v1/k12/generate/lesson-plan \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: <content-type>' \
  --header 'accept: <accept>' \
  --data '{
  "board": "NCERT",
  "curriculum_framework": "ncf2023",
  "duration": 45,
  "grade": "10",
  "institution_id": "inst789",
  "learning_outcomes": [
    "Students will understand the process of photosynthesis"
  ],
  "subject": "Science",
  "teacher_id": "teacher456",
  "topics": [
    "photosynthesis",
    "cellular respiration"
  ]
}'
{
  "status_code": 202,
  "message": "Lesson plan request submitted successfully",
  "data": {
    "request_id": "unique-request-id"
  },
  "status": "Processing"
}

Authorizations

Authorization
string
header
required

Headers

accept
enum<string>
default:application/json
required

Specifies the format of the response.

Available options:
application/json
Content-Type
enum<string>
default:application/json
required

Specifies the content type of the request body.

Available options:
application/json

Body

application/json

Response

200
application/json

Request accepted for processing.

The response is of type object.