Assemble one subject's mock. Deterministic per seed, answers withheld.
const url = 'https://api.utmelab.com/api/v1/papers/example/example';const options = {method: 'POST', headers: {'X-API-Key': '<X-API-Key>'}};
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 \ --header 'X-API-Key: <X-API-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Exam code, e.g. JAMB.
Subject slug, e.g. physics.
Query Parameters
Section titled “Query Parameters”Deterministic draw. Same seed, same paper. Defaults to 1, as the published contract always has: omitting it stays reproducible.
Country scope. A question whose topic names other countries is out; a topic that names none is in every country. Omitted means no scope filter, so the draw is the whole pool.
Include answers and explanations. Default: false.
Include companion passages for reading comprehension items. Default: false.
Responses
Section titled “Responses”object
Which gate built a paper (D70). Disclosed on the wire: a consumer must be able to tell a balanced mock from a full-length draw.
object
One question as served. Identical to storage except the answer and
working, which are present only when explicitly requested. An answer
in a default payload gets rendered by somebody, eventually, by
accident. verified comes from the verification log, never a stored flag.
object
Present only when explanations were requested.
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.
Lessons that teach the idea assessed by this question.
object
Canonical position of this reference within its parent.
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.
The attached stimulus if requested.
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.
A stimulus this row belongs to. Fetch it, never ignore it: the stem may be unanswerable without it.
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.
The syllabus topic tag for this question when the catalogue provides one.
Example
{ "mode": "blueprint", "sections": [ { "questions": [ { "explanation": { "body": { "inline": [ { "kind": "bold" } ] }, "key_point": { "inline": [ { "kind": "bold" } ] }, "trap": { "inline": [ { "kind": "bold" } ] } }, "options": [ { "text": { "inline": [ { "kind": "bold" } ] } } ], "passage": { "text": { "inline": [ { "kind": "bold" } ] } }, "text": { "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; the body names the gaps
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"}