Skip to main content
POST
Create an assignment model answer sheet
Step 3 of 6 in Evaluate an assignment. There is no request body. Save the id it returns: the next call uses it.

Rules

  • The assignment’s status must be 2 (Completed) first. Otherwise this returns 400 Assignment is not extracted yet.
  • An assignment has exactly one model answer sheet. Calling this again returns the same one, so it is safe to retry.
  • A successful call returns 201, not 200.

Next step

Upload assignment model answers or add a rubric

Send the answer key or a rubric, then start extraction.

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 model answer sheet was created, or it already existed.

id
string<uuid>

ID of the model answer sheet.

Example:

"3b27e0be-f9e8-4c4d-977b-b315bfb292ab"

documents
object[]

The answer key files, oldest first. Empty when you score with a rubric only.

rubric
object

The rubric attached to the model answer sheet, or {} when none is attached.

status
enum<integer>

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

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

2