Qumge Tali Grounded Quiz API
Tali Source-Grounded Quiz — Turn one text or Markdown chapter into exactly 10 practice questions with answers, explanations and verifiable source excerpts, plus a printable quiz and separate answer sheet.
Tali Source-Grounded Quiz — Turn one text or Markdown chapter into exactly 10 practice questions with answers, explanations and verifiable source excerpts, plus a printable quiz and separate answer sheet.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/qumge-com:qumge-com-tali-grounded-quiz-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Qumge apps Tali Grounded Quiz API
version: 1.0.0
description: Paid apps your agent can call. Every call is billed from the caller's Qumge balance. Failures (5xx, timeouts) are free. Each app has a monthly cap the user controls, and a per-call ceiling the route declares.
servers:
- url: https://qumge.com/v1/caps
security:
- bearerAuth: []
tags:
- name: tali-grounded-quiz
description: Tali Source-Grounded Quiz — Turn one text or Markdown chapter into exactly 10 practice questions with answers, explanations and verifiable source excerpts, plus a printable quiz and separate answer sheet.
paths:
/tali-grounded-quiz/qumge/invoke:
post:
tags:
- tali-grounded-quiz
summary: Create a 10-question quiz from source text
description: 'One self-contained source and an output language produce exactly ten distinct single-answer questions, four options per question, answers, explanations, verbatim source excerpts and zero-based Unicode character offsets [source_start, source_end). The result includes structured JSON, question-only Markdown and a separate answer sheet. One fixed price is settled only on complete delivery.
Billed per call from the user''s Qumge balance: $0.29 per create_grounded_quiz, never more than $0.29 for one call. A 5xx or a timeout costs nothing.
Reserves the declared amount at submission; settles only after the complete result passes validation; failure or timeout releases the reservation.'
responses:
'200':
description: Terminal job envelope. Complete output is in result; inspect status and receipt, not HTTP status alone.
content:
application/json:
schema:
type: object
required:
- job_id
- status
- receipt
properties:
job_id:
type: string
status:
enum:
- submitting
- acceptance_unknown
- queued
- running
- succeeded
- failed
- expired
receipt:
type: object
properties:
status:
enum:
- reserved
- settled
charged_micro_usd:
type:
- integer
- 'null'
result:
type: object
required:
- title
- language
- question_count
- source_sha256
- questions
- quiz_markdown
- answer_key_markdown
properties:
title:
type: string
maxLength: 200
minLength: 1
language:
enum:
- en
- zh-CN
- ja
- es
- fr
- de
- pt
- ko
- ru
- it
type: string
questions:
type: array
items:
type: object
required:
- id
- question
- options
- correct_option
- explanation
- source_excerpt
- source_start
- source_end
properties:
id:
type: string
pattern: ^q([1-9]|10)$
options:
type: array
items:
type: string
maxLength: 500
minLength: 1
maxItems: 4
minItems: 4
uniqueItems: true
question:
type: string
maxLength: 1000
minLength: 1
source_end:
type: integer
maximum: 20000
minimum: 10
explanation:
type: string
maxLength: 2000
minLength: 1
source_start:
type: integer
maximum: 19999
minimum: 0
correct_option:
type: string
maxLength: 500
minLength: 1
source_excerpt:
type: string
maxLength: 500
minLength: 10
additionalProperties: false
maxItems: 10
minItems: 10
quiz_markdown:
type: string
maxLength: 50000
minLength: 1
source_sha256:
type: string
pattern: ^[a-f0-9]{64}$
question_count:
type: integer
const: 10
answer_key_markdown:
type: string
maxLength: 100000
minLength: 1
additionalProperties: false
next_action:
type: object
error:
type: object
'402':
description: 'Not charged: the user''s balance is out of credit, or this app''s monthly cap is reached.'
content:
application/json:
schema:
$ref: '#/components/schemas/QumgeError'
'403':
description: The app is suspended.
'502':
description: The app could not be reached. Not charged.
'504':
description: The app did not answer in time. Not charged.
'202':
description: 'Accepted only: funds are reserved and no completed delivery is implied. Poll get_cap_job(job_id).'
content:
application/json:
schema:
type: object
required:
- job_id
- status
- receipt
properties:
job_id:
type: string
status:
enum:
- submitting
- acceptance_unknown
- queued
- running
- succeeded
- failed
- expired
receipt:
type: object
properties:
status:
enum:
- reserved
- settled
charged_micro_usd:
type:
- integer
- 'null'
result:
type: object
required:
- title
- language
- question_count
- source_sha256
- questions
- quiz_markdown
- answer_key_markdown
properties:
title:
type: string
maxLength: 200
minLength: 1
language:
enum:
- en
- zh-CN
- ja
- es
- fr
- de
- pt
- ko
- ru
- it
type: string
questions:
type: array
items:
type: object
required:
- id
- question
- options
- correct_option
- explanation
- source_excerpt
- source_start
- source_end
properties:
id:
type: string
pattern: ^q([1-9]|10)$
options:
type: array
items:
type: string
maxLength: 500
minLength: 1
maxItems: 4
minItems: 4
uniqueItems: true
question:
type: string
maxLength: 1000
minLength: 1
source_end:
type: integer
maximum: 20000
minimum: 10
explanation:
type: string
maxLength: 2000
minLength: 1
source_start:
type: integer
maximum: 19999
minimum: 0
correct_option:
type: string
maxLength: 500
minLength: 1
source_excerpt:
type: string
maxLength: 500
minLength: 10
additionalProperties: false
maxItems: 10
minItems: 10
quiz_markdown:
type: string
maxLength: 50000
minLength: 1
source_sha256:
type: string
pattern: ^[a-f0-9]{64}$
question_count:
type: integer
const: 10
answer_key_markdown:
type: string
maxLength: 100000
minLength: 1
additionalProperties: false
next_action:
type: object
error:
type: object
x-qumge-price:
billable: true
lane: standard
unit: create_grounded_quiz
unit_price_micro_usd: 290000
max_per_call_micro_usd: 290000
settles: on_result
x-qumge-final-result-schema:
type: object
required:
- title
- language
- question_count
- source_sha256
- questions
- quiz_markdown
- answer_key_markdown
properties:
title:
type: string
maxLength: 200
minLength: 1
language:
enum:
- en
- zh-CN
- ja
- es
- fr
- de
- pt
- ko
- ru
- it
type: string
questions:
type: array
items:
type: object
required:
- id
- question
- options
- correct_option
- explanation
- source_excerpt
- source_start
- source_end
properties:
id:
type: string
pattern: ^q([1-9]|10)$
options:
type: array
items:
type: string
maxLength: 500
minLength: 1
maxItems: 4
minItems: 4
uniqueItems: true
question:
type: string
maxLength: 1000
minLength: 1
source_end:
type: integer
maximum: 20000
minimum: 10
explanation:
type: string
maxLength: 2000
minLength: 1
source_start:
type: integer
maximum: 19999
minimum: 0
correct_option:
type: string
maxLength: 500
minLength: 1
source_excerpt:
type: string
maxLength: 500
minLength: 10
additionalProperties: false
maxItems: 10
minItems: 10
quiz_markdown:
type: string
maxLength: 50000
minLength: 1
source_sha256:
type: string
pattern: ^[a-f0-9]{64}$
question_count:
type: integer
const: 10
answer_key_markdown:
type: string
maxLength: 100000
minLength: 1
additionalProperties: false
x-qumge-operation: create_grounded_quiz
x-qumge-examples:
source: provider_declared
input:
schema_valid: true
asset_status: not_applicable
asset_urls: []
output:
schema_valid: false
kind: missing
json_url: null
asset_urls: []
checked_at: null
real_delivery: not_tested
notice: Mock outputs illustrate the contract only. Packaged assets are local files, not a provider-delivery or quality test. Placeholder URLs are not runnable inputs.
x-qumge-doc:
title: Create a 10-question quiz from source text
description: One self-contained source and an output language produce exactly ten distinct single-answer questions, four options per question, answers, explanations, verbatim source excerpts and zero-based Unicode character offsets [source_start, source_end). The result includes structured JSON, question-only Markdown and a separate answer sheet. One fixed price is settled only on complete delivery.
when_to_use: Use for chapter revision or a training knowledge check when the caller supplies the complete source text and wants an immediately usable, exportable quiz.
limitations: 'Text/Markdown only, at most 20000 Unicode characters. PDF, OCR, URLs, diagrams, prior account data and exam-board fidelity are not included. Insufficient source material or invalid generation fails rather than delivering fewer questions. Source matching verifies excerpt provenance, not independently proven answer correctness. No public download link or artifact-retention guarantee is needed: results are inline.'
input_schema:
type: object
required:
- source_text
- language
properties:
language:
enum:
- en
- zh-CN
- ja
- es
- fr
- de
- pt
- ko
- ru
- it
type: string
source_text:
type: string
maxLength: 20000
minLength: 1
additionalProperties: false
output_schema:
type: object
required:
- title
- language
- question_count
- source_sha256
- questions
- quiz_markdown
- answer_key_markdown
properties:
title:
type: string
maxLength: 200
minLength: 1
language:
enum:
- en
- zh-CN
- ja
- es
- fr
- de
- pt
- ko
- ru
- it
type: string
questions:
type: array
items:
type: object
required:
- id
- question
- options
- correct_option
- explanation
- source_excerpt
- source_start
- source_end
properties:
id:
type: string
pattern: ^q([1-9]|10)$
options:
type: array
items:
type: string
maxLength: 500
minLength: 1
maxItems: 4
minItems: 4
uniqueItems: true
question:
type: string
maxLength: 1000
minLength: 1
source_end:
type: integer
maximum: 20000
minimum: 10
explanation:
type: string
maxLength: 2000
minLength: 1
source_start:
type: integer
maximum: 19999
minimum: 0
correct_option:
type: string
maxLength: 500
minLength: 1
source_excerpt:
type: string
maxLength: 500
minLength: 10
additionalProperties: false
maxItems: 10
minItems: 10
quiz_markdown:
type: string
maxLength: 50000
minLength: 1
source_sha256:
type: string
pattern: ^[a-f0-9]{64}$
question_count:
type: integer
const: 10
answer_key_markdown:
type: string
maxLength: 100000
minLength: 1
additionalProperties: false
example_input:
language: en
source_text: 'In this synthetic dataset, sample 1 freezes at 10 degrees.
In this synthetic dataset, sample 2 freezes at 20 degrees.
In this synthetic dataset, sample 3 freezes at 30 degrees.
In this synthetic dataset, sample 4 freezes at 40 degrees.
In this synthetic dataset, sample 5 freezes at 50 degrees.
In this synthetic dataset, sample 6 freezes at 60 degrees.
In this synthetic dataset, sample 7 freezes at 70 degrees.
In this synthetic dataset, sample 8 freezes at 80 degrees.
In this synthetic dataset, sample 9 freezes at 90 degrees.
In this synthetic dataset, sample 10 freezes at 100 degrees.'
requestBody:
required: false
content:
application/json:
schema:
type: object
required:
- source_text
- language
properties:
language:
enum:
- en
- zh-CN
- ja
- es
- fr
- de
- pt
- ko
- ru
- it
type: string
source_text:
type: string
maxLength: 20000
minLength: 1
additionalProperties: false
example:
language: en
source_text: 'In this synthetic dataset, sample 1 freezes at 10 degrees.
In this synthetic dataset, sample 2 freezes at 20 degrees.
In this synthetic dataset, sample 3 freezes at 30 degrees.
In this synthetic dataset, sample 4 freezes at 40 degrees.
In this synthetic dataset, sample 5 freezes at 50 degrees.
In this synthetic dataset, sample 6 freezes at 60 degrees.
In this synthetic dataset, sample 7 freezes at 70 degrees.
In this synthetic dataset, sample 8 freezes at 80 degrees.
In this synthetic dataset, sample 9 freezes at 90 degrees.
In this synthetic dataset, sample 10 freezes at 100 degrees.'
operationId: postTaliGroundedQuizQumgeInvoke
x-operation-id-source: derived
components:
schemas:
QumgeError:
type: object
properties:
error:
type: object
properties:
code:
type: string
examples:
- insufficient_balance
- app_cap_reached
- app_suspended
- app_timeout
message:
type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: sk_qumge_…
description: The user's Qumge key. Get one at https://qumge.com/en/gateway/api_keys, or over OAuth from https://qumge.com/.well-known/oauth-protected-resource.