Autosave modes
Every assessment has anautosave setting (configurable by the teacher, with an org-level default):
Read the mode from the assessment object (
assessment.settings.autosave) before starting the session.
Autosaving answers
answers shape is the same AssessmentAnswers object used in the submit endpoint — store it in state and pass it directly.
Implementation pattern
Recording interaction events
Stream learner interaction events to Edpire for analytics, reporting, and future proctoring features.
Example — track answer changes:
change_count in results
When you record answer_change events, Edpire atomically increments a change_count counter on the answer row. This counter is returned in GET /submissions/{id} under each question_results entry:
0 when your integration does not record answer_change events.
Use change_count to identify questions where learners second-guess themselves — a signal of low confidence regardless of whether the final answer is correct.
Implementation pattern
All event requests should go through your backend proxy (same as
/check calls) so your API key is never exposed in the browser.