---
title: "Upload Student Work"
method: POST
path: "/student-exams/{exam_id}/upload-work"
tags: ["student-exams"]
---

# Upload Student Work

`POST /student-exams/{exam_id}/upload-work`

## 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}/upload-work`
- Auth: OAuth 2 (password, token URL `api/login`)

The student can upload images of their own answers while the exam is ongoing.
Uses base64 encoded content for compatibility with both web and mobile.

## Path parameters

- `exam_id` string, required

## Request body

- FilesUploadRequest
  - `files` RoutersStudentExamsFileUploadRequest[], required
    - `file_content` string, required
    - `file_name` string, required
    - `content_type` 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)
