POST
/
placements
Create Placement
curl --request POST \
  --url https://ella.navgurukul.org/api/placements \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "confidence": "high",
  "highlight": "Raj spoke confidently about his favorite books and showed good grammar.",
  "interests": [
    "reading",
    "comics"
  ],
  "level": "A2",
  "level_label": "Finding My Voice",
  "transcript_json": [
    {
      "speaker": "assistant",
      "text": "Hi! Do you like reading?"
    },
    {
      "speaker": "user",
      "text": "Yes, I like reading comic books."
    }
  ]
}
'
{
  "id": "<string>",
  "level": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "level_label": "<string>",
  "confidence": "<string>",
  "highlight": "<string>"
}

Authorizations

Authorization
string
header
default:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1N2U0NDg0NC04YWRiLTQyNTgtYWI4Mi05MWNmNDUxZTQ4OGEiLCJleHAiOjIwOTY4Njg2Njh9._oyjz0enX_sLYvidUm4EUMq5oTNUpxZmowoxIf5J7dc
required

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

Body

application/json
level
string
required
level_label
string | null
confidence
string | null
highlight
string | null
transcript_json
unknown
interests
string[] | null

Response

Successful Response

id
string
required
level
string
required
created_at
string<date-time>
required
level_label
string | null
confidence
string | null
highlight
string | null