Re-assemble the same paper and mark the submitted ids. Stateless.
const url = 'https://api.utmelab.com/api/v1/papers/example/example/score';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"answers":{"additionalProperty":"example"},"country":"example","include_explanation":true,"seed":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.utmelab.com/api/v1/papers/example/example/score \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "answers": { "additionalProperty": "example" }, "country": "example", "include_explanation": true, "seed": 1 }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Exam code, e.g. JAMB.
Subject slug, e.g. physics.
Request Bodyrequired
Section titled “Request Bodyrequired”object
object
Include answers and explanations with the score. Default: false.
Example generated
{ "answers": { "additionalProperty": "example" }, "country": "example", "include_explanation": true, "seed": 1}Responses
Section titled “Responses”object
object
Why the answer is what it is: teaser, working, and the distractor that catches people.
object
Plain text plus offset marks. text stays searchable as characters;
structure rides in inline as Unicode-scalar offsets, never bytes.
object
One offset mark. Serialised flat with an adjacent kind tag, e.g.
{"start":24,"len":6,"kind":"underline"}.
object
object
object
object
object
object
object
object
Where the figure renders relative to the stem. Data, never inferred.
Length in Unicode scalar values. Zero for an image anchor, which marks an attachment point rather than a span.
Offset in Unicode scalar values from the start of text.
Plain text plus offset marks. text stays searchable as characters;
structure rides in inline as Unicode-scalar offsets, never bytes.
object
One offset mark. Serialised flat with an adjacent kind tag, e.g.
{"start":24,"len":6,"kind":"underline"}.
object
object
object
object
object
object
object
object
Where the figure renders relative to the stem. Data, never inferred.
Length in Unicode scalar values. Zero for an image anchor, which marks an attachment point rather than a span.
Offset in Unicode scalar values from the start of text.
Plain text plus offset marks. text stays searchable as characters;
structure rides in inline as Unicode-scalar offsets, never bytes.
object
One offset mark. Serialised flat with an adjacent kind tag, e.g.
{"start":24,"len":6,"kind":"underline"}.
object
object
object
object
object
object
object
object
Where the figure renders relative to the stem. Data, never inferred.
Length in Unicode scalar values. Zero for an image anchor, which marks an attachment point rather than a span.
Offset in Unicode scalar values from the start of text.
Example
{ "questions": [ { "explanation": { "body": { "inline": [ { "kind": "bold" } ] }, "key_point": { "inline": [ { "kind": "bold" } ] }, "trap": { "inline": [ { "kind": "bold" } ] } } } ]}An API key is missing or invalid.
Stable body returned by HTTP error responses.
object
Example generated
{ "code": "example", "error": "example"}The API key lacks the required scope.
Stable body returned by HTTP error responses.
object
Example generated
{ "code": "example", "error": "example"}No such exam subject
Stable body returned by HTTP error responses.
object
Example generated
{ "code": "example", "error": "example"}The bank cannot fill this paper yet
Stable body returned by HTTP error responses.
object
Example generated
{ "code": "example", "error": "example"}The caller has exceeded the applicable rate limit.
Stable body returned by HTTP error responses.
object
Example generated
{ "code": "example", "error": "example"}The API is temporarily unavailable.
Stable body returned by HTTP error responses.
object
Example generated
{ "code": "example", "error": "example"}