POST
/
ai
/
v1
/
lesson-plan
/
metadata
Create and process lesson plan metadata
curl --request POST \
  --url https://api-staging.crazygoldfish.com/ai/v1/lesson-plan/metadata \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form board=3c90c3cc-0d44-4b50-8888-8dd25736052a \
  --form grade=3c90c3cc-0d44-4b50-8888-8dd25736052a \
  --form subject=3c90c3cc-0d44-4b50-8888-8dd25736052a \
  --form 'section=<string>' \
  --form duration_minutes=123 \
  --form 'topic=<string>' \
  --form files=@example-file
{
  "detail": [
    {
      "id": "e2b7c8a2-7c2e-4e8a-9b1e-2c3d4e5f6a7b",
      "message": "Lesson plan metadata processing started successfully."
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data

Response

200
application/json

Lesson plan metadata processing started successfully.

The response is of type object.