---
title: "Finish Student Exam"
method: POST
path: "/student-exams/{exam_id}/finish"
tags: ["student-exams"]
---

# Finish Student Exam

`POST /student-exams/{exam_id}/finish`

## 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/student-exams/{exam_id}/finish`
- Auth: OAuth 2 (password, token URL `api/login`)

The student finishes the exam. We calculate the total time spent (if started_at is set).

## Path parameters

- `exam_id` string, required

## Response `200`

Successful Response

- SimpleResponse
  - `status` string, required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) - [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) - [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/379e4a57dee8?raw)
