Generated by API Evangelist
Written by API Evangelist tooling for Wikipedia / MediaWiki's API. It is a proposal applied on top of the contract, not a document Wikipedia / MediaWiki publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Wikimedia REST Math API
version: 1.0.0
extends: openapi/wikipedia-math-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/media/math/check/{type}'].post
update:
x-apievangelist-phrasing:
intent: Check and normalize a TeX formula
effect: read
questions:
- How do I check whether a TeX formula is valid and get its normalized form?
- Can I get identifiers found in a formula before rendering it?
- Which formula types can I check, tex or inline-tex?
instructions:
- text: Check the {type} formula {q} for correctness and return the normalized form.
slots:
type: path.type
q: requestBody.q
- text: Validate {q} as a {type} formula and list its identifiers.
slots:
q: requestBody.q
type: path.type
method: generated
generated: '2026-11-18'
- target: $.paths['/media/math/formula/{hash}'].get
update:
x-apievangelist-phrasing:
intent: Get a stored formula by hash
effect: read
questions:
- How do I retrieve a formula I stored earlier by its hash?
- Can I fetch a previously checked formula using its hash?
instructions:
- text: Get the stored formula with hash {hash}.
slots:
hash: path.hash
- text: Show the formula I previously stored under hash {hash}.
slots:
hash: path.hash
method: generated
generated: '2026-11-18'
- target: $.paths['/media/math/render/{format}/{hash}'].get
update:
x-apievangelist-phrasing:
intent: Render a stored formula in a format
effect: read
questions:
- How do I render a stored formula as SVG or MathML?
- Can I get the actual rendered image of a formula by its hash?
instructions:
- text: Render the formula with hash {hash} as {format}.
slots:
hash: path.hash
format: path.format
- text: Get the {format} render of the formula stored under hash {hash}.
slots:
format: path.format
hash: path.hash
method: generated
generated: '2026-11-18'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.