George Mihai API

George Mihai's portfolio for programs and agents: a read-only JSON API, a search, Markdown copies and feeds. Public, with no key or sign-in.

What there is

georgemihai.com is George Mihai's portfolio: his work, research publications and essays. Everything on it can be read by a program, without a browser: a JSON API, a search, a Markdown copy of every page, and feeds.

All of it is public and read-only. There is no sign-up, no key and no authentication: send a GET request.

curl https://georgemihai.com/api/v1

The JSON API

Base address https://georgemihai.com/api/v1. Every answer is application/json; charset=utf-8, open to any origin (CORS), with an ETag; send If-None-Match to get 304 Not Modified when nothing changed. Answers are kept by the CDN for five minutes.

The essays come from the blog as it is now; if the blog does not answer within a second and a half, from the site's last build ("source": "build").

Examples

Every work, then one of them:

curl https://georgemihai.com/api/v1/works
curl https://georgemihai.com/api/v1/works/poiesis-lab

The essays in English, and a search over everything:

curl "https://georgemihai.com/api/v1/essays?lang=en"
curl "https://georgemihai.com/api/v1/search?q=airport+research"

A page as Markdown, by its address with .md or by asking for it:

curl https://georgemihai.com/work/poiesis-lab.md
curl -H "Accept: text/markdown" https://georgemihai.com/research

Search for agents

GET https://georgemihai.com/.well-known/search?q={query} searches every page and essay with keywords or a question, in English or Romanian, and answers in Markdown: the best matches (eight at most), each with its address, where it comes from, an essay's language and a passage around the words. /api/v1/search gives the same results as JSON.

curl "https://georgemihai.com/.well-known/search?q=adaptive+interfaces"

Every page names it in its head (the agent: tags) and in the front matter of its Markdown copy.

Every page as Markdown

Add .md to a page's address, or send Accept: text/markdown: https://georgemihai.com/home.md, https://georgemihai.com/work.md, https://georgemihai.com/work/{name}.md, https://georgemihai.com/research.md, this page at https://georgemihai.com/developers.md.

The blog too: an essay at https://georgemihai.com/blog/{slug}.md (or its address with Accept: text/markdown) is its title, author, date, language, topic and whole text; https://georgemihai.com/blog/index.md lists every essay, and a topic's or the author's page answers in Markdown the same way.

https://georgemihai.com/llms.txt lists every page with a line each; https://georgemihai.com/llms-full.txt is every page in one file; https://georgemihai.com/sitemap.xml and https://georgemihai.com/blog/sitemap.xml name every address.

Feeds

The essays as RSS, the newest first: https://georgemihai.com/blog/rss/.

Tools in the browser

In a browser that offers WebMCP (navigator.modelContext), every page registers read-only tools for an agent working in it: list_work, read_work, list_publications, search_site and open_page. They read the same Markdown copies and search; nothing is sent anywhere.

https://georgemihai.com/.well-known/poppy.json (Personal Agent Protocol) declares the site website-only: an agent browses it as any signed-out visitor.

Errors

Errors are RFC 9457 Problem Details, application/problem+json, with type, title, status, detail and instance, and two members of the site's own: hint, where to go next, and links (llms.txt, the sitemap, the search and this page). A client that prefers text/markdown gets the same in Markdown, and the Markdown search keeps Markdown unless JSON is asked for. A missing page asked for with Accept: text/markdown or Accept: application/json gets a 404 in that format; a browser keeps the site's own page.

curl -i -H "Accept: application/json" https://georgemihai.com/no-such-page

404 Not found

No page, work, topic or resource at that address.

400 Bad request

A search without q, or lang other than en or ro.

405 Method not allowed

Anything but GET or HEAD (and OPTIONS on the API). The answer's Allow header says which.

502 The blog did not answer

A blog page's Markdown copy could not be made in time. Try again after the Retry-After seconds.

Versions and deprecation

The API's version is in its path, /api/v1, and in info.version of openapi.json (1.0.0). Within v1, changes only add: new resources, new fields. A change that would break a client (a field removed or renamed, a different meaning) comes as /api/v2, and v1 stays for at least six months after that. During those months every v1 answer carries a Deprecation header (RFC 9745), a Sunset header with its last day (RFC 8594), and a Link to v2's documentation; this page says so too.

There is no API key, no quota and no documented rate limit, and the answers carry no rate-limit headers. The hosting platform can still refuse a flood of requests: on 429 or 503, back off and wait the Retry-After seconds when it is given. Please keep to a few requests a second; answers are cached for five minutes.

Contact

George Mihai, hi@georgemihai.com. His code is on GitHub. The site's content may be quoted and cited, not used for training (robots.txt: search=yes, ai-input=yes, ai-train=no).