Appearance
Admin API — OpenAPI
The whole Admin API as an OpenAPI 3.1 document:
Use it to generate a typed client for your backend (e.g. openapi-typescript, openapi-generator), or import it into Postman / Insomnia / Bruno to try calls.
Every operation carries an x-scope extension: the scope a key needs for it (none for /sites, /sites/{siteId} and /enums, which any valid key may call).
The document is checked against the service's route table in CI: an endpoint that exists is documented, a documented endpoint exists, and the documented scope is the enforced one.