Skip to main content

POST /api/v1/track-answer

Track a learning event and update all relevant cognitive analytics.

Request

Headers

Example Request

Response

boolean
Operation success status
object
float
Mastery probability before this attempt
float
Updated mastery probability after this attempt
float
Change in mastery (after - before)
boolean
Whether learning plateau was detected
integer
Total attempts for this skill
integer
Total correct attempts for this skill

Example Response

What Happens Under the Hood

1

BKT Update

Bayesian Knowledge Tracing updates mastery probability based on the answer
2

Velocity Calculation

Learning velocity is calculated from mastery change
3

Plateau Check

System checks for learning plateau indicators
4

Efficiency Analysis

Cognitive efficiency metrics are updated
5

Return Results

Updated analytics are returned to the caller

Status Codes

Get Predictions

Retrieve score predictions based on tracked data

Learning Velocity

Get detailed velocity analytics