Restart Practice
Abandon the in-progress session for this practice so the next load starts fresh. Marks completed_at directly (no streak credit, no streak side effect).
Resolution order (first match wins):
- body.session_id if provided — abandon that specific row
- Current authenticated user's student_id + module_type
- All incomplete sessions for module_type (dev fallback when no user)
Idempotent — returns {"restarted": false} if nothing was abandoned.
post/api/practice/{problem_set_id}/restart
Request
- Base URL: https://api.tegore.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.tegore.ai/api/practice/{problem_set_id}/restart
- Auth: none declared
Path parameters
problem_set_idstring required
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.