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

# Submit Open Answer

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

Submit photos of a handwritten answer for an open question.
Grading runs asynchronously; poll the open-answers endpoint for the result.

## 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/2a0c1636fd3b?raw)
