---
title: "Submit Self Study Open Answer"
method: POST
path: "/knowledge-quiz/my-courses/attempts/{attempt_id}/open-answer"
tags: ["knowledge-quiz"]
---

# Submit Self Study Open Answer

`POST /knowledge-quiz/my-courses/attempts/{attempt_id}/open-answer`

## 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/knowledge-quiz/my-courses/attempts/{attempt_id}/open-answer`
- Auth: OAuth 2 (password, token URL `api/login`)

Submit photos of a handwritten answer for an open question (self-study).

## Path parameters

- `attempt_id` string, required

## Request body

- SubmitOpenAnswerRequest: Request to submit a photographed answer for an open question.
  - `question_id` string, required
  - `photo_urls` string[], required

## Response `200`

Successful Response

- OpenAnswerStatusResponse: Grading state of an open answer (polled by the frontend).
  - `question_id` string, required
  - `grading_status` string, required
  - `points_earned` number
  - `points_max` number
  - `is_correct` boolean
  - `photo_urls` string[]
  - `grading_error` string, nullable
  - `rubric_evaluation` object, nullable
  - `statement` string, nullable
  - `expected_answer` string, nullable
  - `criteria` string[]

## 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)
