# Submit exam attempt **POST /api/v1/exam/{id}/finish-attempt/{attempt}** Submit student answers for an exam attempt. For STRUCTURED questions, answers are auto-graded immediately. For UNSTRUCTURED questions, the system runs AI analysis and may auto-award scores if responses meet the authenticity threshold set by the admin. ## Servers - Local server: http://localhost:3500 (Local server) - Production server: https://api.echoplain.social (Production server) ## Parameters ### Path parameters - **attempt** (string) UUID of the attempt to submit - **id** () UUID of the exam (for route context) ### Body: application/json (object) Student answers payload containing responses to all questions - **answers** (array[object]) ## Responses ### 200 Exam attempt submitted successfully. Returns grading status for structured and unstructured questions. ### 400 Invalid submission - missing answers, already submitted, or attempt expired ### 404 Attempt not found [Powered by Bump.sh](https://bump.sh)