# The API and the recipe format

Source: https://savorum.app/developers/

> Build on Savorum with its OpenAPI HTTP API, remote MCP assistant connections, signed webhooks, and the open SREF 0.5.0 recipe format.

Build on Savorum with its HTTP API, or work with recipes directly through the open SREF format.

- [Read the API reference](https://api.savorum.app/)
- [Explore the recipe format](https://savorum.app/sref/)

## 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`](https://github.com/savorum/savorum/blob/119003fa46277ea3d0fb50236a1786cebf5a4a6e/api/openapi.json).

```
curl --fail http://127.0.0.1:8080/api/v1/health
```

[Read the API reference](https://api.savorum.app/)

[Download OpenAPI JSON](https://api.savorum.app/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.

[Explore the format](https://savorum.app/sref/)

[Download a real recipe package](https://savorum.app/downloads/baba-ganoush.sref) 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](https://docs.savorum.app/guide/export-and-backup/)

## 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.

- [Get started with the API](https://api.savorum.app/guides/get-started/)
- [AI, privacy, and MCP](https://savorum.app/ai-and-mcp/)
- [Assistant connections (MCP)](https://docs.savorum.app/guide/assistant-connections/)
- [API tokens](https://docs.savorum.app/guide/your-account/)
- [Exports and backups](https://docs.savorum.app/guide/export-and-backup/)
- [Remote access](https://docs.savorum.app/admin/remote-access/)

## 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.
