Properties
| Name | Type | Description |
|---|---|---|
| text | object | Text to encode. Provide this or `texts`, not both. |
| texts | object | Multiple texts, joined as one document. Provide this or `text`, not both. Each item and the joined total are still bounded by the same character cap as `text`. |
| reader | object | Your reader model (e.g. 'claude', 'gemini', 'qwen2.5-vl', 'gpt-4o'). If omitted, inferred from the 'X-Reader-Model' request header or the User-Agent; an unidentified caller is treated as pixel-billed |
| substrate | string | 'auto' (default; picks the cheapest legible substrate for `reader`) | 'text' | 'glyph'. |
| verbatim | object | Set true if this text must stay exact (code, hashes, quotes) — auto then never picks glyph, which paraphrases. None auto-detects fenced code blocks. |
| tier | object | Glyph density tier override for substrate='glyph': '6x' | '10x' | '15x'. Ignored for substrate='auto' — the picker's own tier is used there so the claimed token estimate always matches the rendered ar |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/glyphapi-dev/json-schema/glyphapi-dev-encode-in-schema.json",
"title": "EncodeIn",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/glyphapi-dev-openapi.json#/components/schemas/EncodeIn",
"properties": {
"text": {
"anyOf": [
{
"type": "string",
"maxLength": 40000
},
{
"type": "null"
}
],
"title": "Text",
"description": "Text to encode. Provide this or `texts`, not both."
},
"texts": {
"anyOf": [
{
"items": {
"type": "string",
"maxLength": 40000
},
"type": "array",
"maxItems": 50
},
{
"type": "null"
}
],
"title": "Texts",
"description": "Multiple texts, joined as one document. Provide this or `text`, not both. Each item and the joined total are still bounded by the same character cap as `text`."
},
"reader": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reader",
"description": "Your reader model (e.g. 'claude', 'gemini', 'qwen2.5-vl', 'gpt-4o'). If omitted, inferred from the 'X-Reader-Model' request header or the User-Agent; an unidentified caller is treated as pixel-billed (text)."
},
"substrate": {
"type": "string",
"title": "Substrate",
"description": "'auto' (default; picks the cheapest legible substrate for `reader`) | 'text' | 'glyph'.",
"default": "auto"
},
"verbatim": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Verbatim",
"description": "Set true if this text must stay exact (code, hashes, quotes) — auto then never picks glyph, which paraphrases. None auto-detects fenced code blocks."
},
"tier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Tier",
"description": "Glyph density tier override for substrate='glyph': '6x' | '10x' | '15x'. Ignored for substrate='auto' — the picker's own tier is used there so the claimed token estimate always matches the rendered artifact."
}
},
"type": "object"
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/glyphapi-dev-encode-in"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.