Teacher

Upload Student List

Parse a CSV/XLSX file and return the list of students for preview. Checks for duplicates against existing students and pending students. Does NOT create pending students yet - that happens on confirm.

With use_ai=True, the AI fallback reads the raw rows (capped at 60 lines) instead of the deterministic parser — for exports whose shape we don't recognize.

post/teacher/classes/{class_id}/upload-student-list

Path parameters

class_idstring required

Request body

file_contentstring required
file_namestring required
content_typestring required
use_aiboolean

Response

Successful Response

warningsstring[] required
ai_availableboolean
used_aiboolean

Changes

Changed in 1 of the 3 revisions of this API.3

    • added the new optional request property

      new-optional-request-property

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added