Mare Liberum

900 mTwilight zone

Guides · The engine room

Only the fields you need

A JSON answer carries every field of every row, and an agent reads all of them. On every JSON door of the sea, fields= names the ones it needs; the rest stays out. No model is asked, so the same request gives the same answer.

curl -s 'https://mareliberum.dev/savings.json?fields=hero.tokens,hero.measured'

The rules

What it says about itself

A projected answer carries x-sea-engine: fields, x-sea-engine-tokens (before->after, against the compact JSON of the whole answer) and x-sea-engine-lossy: 1. What it left out is gone, so it is counted apart from the lossless levers and in no figure of the headline of /savings; it carries no ETag of the whole answer. It is never tolled.

Where it acts

On every door that answers JSON: the brain, the search, the routes, the savings, the engine room itself, and the rest. Not on the app door /mcp/app, not on /compress and not on the reader /r/: they have forms of their own, and the query of a reader address belongs to the page it reads.

curl -s 'https://mareliberum.dev/engine.json?fields=levers.id,levers.losslessIs'
curl -s 'https://mareliberum.dev/routes.json?fields=topics.id,topics.title&fmt=toon'

Where it spares nothing

An answer that holds only what you need already. And a field you name by a wrong path: it is left out without an error, so check a first answer without fields= to see the names.

The lever on /engine · every JSON door as OpenAPI: /openapi.json

More guides

Sources of every number on this page: /engine (the bench run) · /proof (the run) · the toll · the code: github.com/daoudandiaye98-alt/mare-liberum