Skip to main content
GET
Get an evaluated assignment score
Step 6 of 6 in Evaluate an assignment. Call it once the answer sheet’s status is 2 (Completed).
Every sub-question comes back with three parts: the question, its modelAnswer, and the student’s answer. A question the AI found no answer for has answer: {}.

Where the marks are

For an audio answer, answer.marks stays 0 and answer.text holds the transcript of the recording.
The response has no obtained total. Add up answer.marks across the questions yourself, and compare it with marks on the assignment, which is the paper’s total.
This endpoint returns 400 while grading is still running, with Assignment sheet is not evaluated yet, and 400 with Assignment Answer sheet processing failed, please try again! if it failed. Poll List assignment answer sheets and read status instead.

Evaluate an assignment

The whole flow, with runnable code.

Async jobs and webhooks

Get told when a sheet is graded instead of polling.

Authorizations

Authorization
string
header
required

Access token from Get an access token.

Path Parameters

id
string<uuid>
required

The assignment id returned by Create an assignment. Use it exactly as returned: the lowercase form is the only one the nested paths accept.

Example:

"3c9e1f2a-7b4d-4a8e-9f1c-2d5e6a7b8c9d"

ansSheetId
string<uuid>
required

The answer sheet id returned by Create an assignment answer sheet.

Example:

"6e1d2c3b-4a5f-4e6d-8c7b-9a0f1e2d3c4b"

Response

The evaluated answer sheet. There is no total: add up answer.marks yourself.

id
string<uuid>

ID of the assignment.

Example:

"3c9e1f2a-7b4d-4a8e-9f1c-2d5e6a7b8c9d"

assignmentName
string
Example:

"Unit 3 English essay"

instruction
string | null

Instructions the AI read from the paper.

Example:

"Answer both parts in your own words."

marks
number<float> | null

Total marks on the paper.

Example:

2

grade
string | null
Example:

"7"

courseId
string | null
Example:

"300"

parentQuestions
object[]