/v1/answer-keys/{id}
Path Parameters
- Type: stringidmin length:1max length:64required
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/v1/answer-keys/{id}
curl /v1/answer-keys/ank_0196f2a0-4c1e-7a00-8000-000000000002 \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"createdAt": "2026-03-02T09:30:00.000Z",
"engine": null,
"errorCode": null,
"object": "job",
"externalId": "seed-publisher-worksheet-0001",
"id": "ank_0196f2a0-4c1e-7a00-8000-000000000002",
"kind": "answer_key",
"result": {
"basedOnId": "ank_0196f2a0-4c1e-7a00-8000-000000000001",
"confirmed": true,
"markingPrompt": "You mark one Year 9 maths answer against the model answer and the criteria. Give whole marks only.",
"questions": [
{
"acceptedAnswers": [
"18.0"
],
"answerKind": "short",
"checkType": "numeric",
"criteria": "1 mark for 18.",
"expected": "18",
"label": "1(c)",
"maxMarks": 1,
"modelAnswer": "12 ÷ 2/3 = 12 × 3/2 = 18",
"options": [],
"page": 1,
"prompt": "Work out 12 ÷ 2/3.",
"questionId": "1c",
"tolerance": 0
},
{
"acceptedAnswers": [],
"answerKind": "drawn",
"checkType": "model",
"criteria": "1 mark: a straight line close to most points. 1 mark: about as many points above as below.",
"expected": null,
"label": "3(a)",
"maxMarks": 2,
"modelAnswer": "A straight line through the middle of the points, rising left to right.",
"options": [],
"page": 2,
"prompt": "Draw a line of best fit on the scatter plot.",
"questionId": "3a",
"tolerance": null
}
],
"solutions": {
"fileId": "fil_0196f2a0-4c1e-7a00-8000-000000000003",
"pageIds": [
"pag_0196f2a0-4c1e-7a00-8000-000000000003",
"pag_0196f2a0-4c1e-7a00-8000-000000000004"
]
},
"title": "Using lines of best fit",
"usage": {
"costUsd": 0
},
"worksheet": {
"fileId": "fil_0196f2a0-4c1e-7a00-8000-000000000002",
"pageIds": [
"pag_0196f2a0-4c1e-7a00-8000-000000000005",
"pag_0196f2a0-4c1e-7a00-8000-000000000006"
]
}
},
"status": "succeeded"
}