Skip to main content
GET
Get an assignment
Step 2 of 6 in Evaluate an assignment. Poll this call every 5 seconds until status is 2 (Completed).

Reading the response

marks stays null until extraction completes, then holds the total marks the AI read from the paper.
Instead of polling, register a webhook for assignment_evaluation_question_paper_extraction. See Async jobs and webhooks.

Next step

Get extracted assignment questions

Read the questions the AI found, with their marks.

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"

Response

The assignment.

id
string<uuid>

ID of the assignment.

Example:

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

assignmentName
string

Name of the assignment.

Example:

"Unit 3 English essay"

status
enum<integer>

0 Open, 1 In Progress, 2 Completed, 3 Failed.

Available options:
0,
1,
2,
3
Example:

2

grade
string | null

Grade or class.

Example:

"7"

marks
number<float> | null

Total marks the AI read from the question paper. null until questions are extracted.

Example:

2

section
string | null

Section or division.

Example:

"A"

parentInstituteId
string | null

Your own ID for the parent institute.

Example:

"100"

instituteId
string | null

Your own ID for the school or institute.

Example:

"200"

courseId
string | null

Your own ID for the course.

Example:

"300"

documents
object[]

The question paper files, oldest first.

createdAt
string<date-time>
Example:

"2025-04-06T09:03:42.099207Z"

modifiedAt
string<date-time>
Example:

"2025-04-06T09:06:19.351379Z"