Copy Correction
Upload Pdf
Upload a PDF or image file and process it in the background.
Streams the file to a temp file (never loads the full file into RAM), then kicks off a background task that converts pages one-by-one. The frontend polls GET /{session_id}/pdf-upload-status for progress.
upload_mode is per-upload, NOT per-session. A teacher can mix simple and copies-doubles uploads in the same session — each upload carries its own mode, and "copie_double" triggers a smart-split that only processes the pages from THIS batch (the smart-split background task receives the start_index of the first new page).
post/copy-correction/{session_id}/upload-pdf
Request
- Base URL: https://api.excellence-ai.com (the document declares no server; this is the origin it was published from)
- URL: https://api.excellence-ai.com/copy-correction/{session_id}/upload-pdf
- Auth: OAuth 2 (password, token URL api/login)
Path parameters
session_idstring required
Request body multipart/form-data
Response
Successful Response
unknown required
Changes
No operation changes recorded.