The API and the recipe format
Build on Savorum with its HTTP API, or work with recipes directly through
the open SREF format.
Work with the application
The API reference documents every route, its request and response
shapes, and its validation constraints. It is generated from the
application’s OpenAPI document at commit 119003f.
curl --fail http://127.0.0.1:8080/api/v1/health
Read the API reference
Download OpenAPI JSON for generated
clients and local inspection.
Work with the recipe
SREF describes portable recipe content, independently of Savorum’s
storage and interface. Explore exact quantities, explicit units, source
wording, and the files inside a complete recipe package.
SREF0.5.0Format version
Explore the format
Download a real recipe package and inspect it with an ordinary ZIP tool.
Exports and backups
A recipe export carries the recipe. An instance backup carries the whole
library too: books, tags, notes, ratings, cooking history, and earlier
versions. Pick the one that fits your integration.
Exports and backups guide
Connect to your library
With sign-in enabled, authenticate with browser sessions (browserSession) or personal API tokens (bearerToken via Authorization: Bearer) and select a library with X-Savorum-Library. Cookie
writes also require the session-bound CSRF header.
AI assistants connect over MCP with read-only or full access, and
webhooks notify external services on library changes. Keep local-mode
instances private behind an access-controlled network or proxy.
How the format is tested
SREF’s reference implementation and conformance corpus check the
exchange contract. JSON parsing alone cannot establish that a fraction
is canonical, a reference resolves, a unit has the right meaning, or a
package is safe to read.
The separate recipe corpus exercises difficult real-world material
across the format and application: regional units, partial quantities,
alternatives, authored wording, and assets. Each project has a different
job, with the recipe at the center.