Recipe profiles and ingredient lookup
Retired in release 0.4.281. The four products that had recipe profiles (Fresh pork sausage, Jagdwurst, Bratwurst, Chorizo) and their five profiles are deprecated; they are recipe subjects in recipe knowledge now. On the current release these operations list nothing. They still answer for an older
releaseId.Closed to new writes in API contract 1.45.0. A recipe profile can no longer be drafted, through REST or MCP. See Authoring is closed.
Legacy contract. This page documents the release-bound recipe-profile API and its historical behavior. New recipe authoring uses the independent recipe knowledge API. Existing canonical materials, including MDM/MSM and other genuine
processed_productconcepts, remain in the ontology. A loose recipe subject does not need a canonical finished-product concept.
Meat Ontology owns canonical product meaning and sourced formulation knowledge. Company listings and purchasing conclusions belong to consumers. A recipe match establishes that a published formulation uses an input; it does not establish that a particular company buys it.
Named sausages use the existing processed_product concept type in the single MeatBorsa model.
A recipe_profile is a separate reviewed entity with its own stable UUIDv7, source, evidence class,
confidence, and append-only history. Recipe profiles do not create product identities for regional
formulas, source documents, brands, or missing detail. Collections with kind recipe remain simple
browse sets; they have no ingredient semantics.
Public API
All three operations require taxonomy:read and return taxonomyRelease.
| Operation | Endpoint | Parameters |
|---|---|---|
listRecipeProfiles |
GET /v1/recipe-profiles |
Optional productConceptId, releaseId, limit, cursor |
getRecipeProfile |
GET /v1/recipe-profiles/:id |
Optional releaseId |
findIngredientProducts |
GET /v1/ingredients/:id/products |
Optional releaseId, limit, cursor |
Resolve catalogue names and ingredient phrases with the existing Resolve endpoint. Keep its ambiguity and unsupported-vocabulary decisions; a missing profile does not mean that a product cannot use an ingredient. Callers processing batches can use bounded concurrency with the existing resolver and must respect their service rate limits. This release adds no batch resolver endpoint.
listRecipeProfiles returns active profiles. getRecipeProfile also exposes deprecated profiles
for audit. Unknown concepts/profiles return 404; a known concept without matches returns an empty
list. A release predating recipes returns an empty profile list.
Responses contain the complete profile, its sourceId, evidenceClass, confidence, and published
source metadata. documented means one explicitly described formulation. typical means a sourced
synthesis describing customary use within the stated scope. Neither means all products with that
name have the same composition. Confidence describes the claim's evidential support, not the
probability of a company purchasing that ingredient.
Reverse results group matches under each product. Each match contains recipeProfile,
inputKey, and matchType:
required: the input is required in that profile and has one canonical choice.alternative: a required input has multiple canonical choices; this ingredient is one option.optional: the entire input is optional, including any alternatives within it.
An input with no adequate canonical mapping has conceptIds: [] and a required
unresolvedIngredient name (1–300 characters), for example "Lean pork". It still has its
required/optional status and source-qualified specification. Unresolved inputs never contribute
to canonical ingredient lookup. A row must have either canonical IDs or an unresolved name, never
both. Existing mapped rows retain their shape; consumers must support unresolved rows before
reading releases that contain them. Do not substitute a broader concept to hide a missing mapping.
Each mapped input's conceptIds is one-of. Separate input rows mean ingredients used together.
specification retains source qualifications such as lean content, preparation class, and stated
batch amounts. The API matches base concept identity only; it does not certify that a particular
lot satisfies those qualifications. It does not calculate percentages, yields, quantities of demand,
or ingredient substitutions. otherIngredients preserves unmapped ingredients as text and is not
queried. The profile's scopeNote explains coverage and remaining uncertainty.
Matching is exact by canonical ingredient ID. No IS_A, PART_OF, FABRICATED_FROM, substitution,
name similarity, or indirect recipe expansion is performed. A source saying "pork" is not evidence
for pork trimmings. Profile ingredients do not automatically become resolver species constraints for
the product.
Pagination defaults to 50 and is limited to 200. The cursor binds the operation, filter, and release.
For subsequent pages, pass releaseId from the first response with nextCursor. Reusing a cursor
with another filter or release returns 400. Historical IDs refer to immutable published releases.
Authoring is closed
A recipe is drafted in recipe knowledge: POST /v1/admin/recipe-knowledge/subjects for the food, POST /v1/admin/recipe-knowledge/formulations
for its recipe and POST /v1/admin/recipe-knowledge/assessments for an ingredient fact, each with
taxonomy:knowledge.draft or taxonomy:admin. The MCP tools are draft_recipe_subject,
draft_subject_formulation and draft_ingredient_assessment.
The recipe-profile write path is closed from API contract 1.45.0:
POST /v1/admin/recipe-profilesandPOST /v1/admin/recipe-profiles/:idare no longer part of the contract, the OpenAPI document or the generated client. An authenticated call to either returns410witherror.codeRECIPE_PROFILE_WRITES_CLOSED, whatever the body. Do not retry it; draft the recipe in recipe knowledge.- The MCP tools
draft_recipe_profile,list_recipe_profiles,get_recipe_profileandfind_ingredient_productsare removed. The three read operations stay available over REST for historical releases. - The scope
taxonomy:recipe.draftallows nothing any more. A credential that holds it keeps working for its other scopes.
Until then the Admin Recipes screen and these routes drafted profiles as reviewed claims of an ontology release. That history is unchanged: published profiles stay in their releases, and Admin shows them read-only under Releases → Legacy recipe claims.
Publication still validates recipe profiles that a release carries: unique profile keys, existing processed-product outputs, valid product/commodity ingredient references, and active targets for active profiles. Retiring a referenced ingredient requires retiring or updating affected active profiles in the same release.
Exports containing profiles use format 1.4 with recipeProfiles and its count. Prior releases
retain formats 1.0–1.3 and their original contents. NDJSON uses entityType: recipe_profile.
Release diffs include recipe changes. Consumers must refresh recipe indexes on recipe changes even
when product tags themselves do not require re-resolution.
Starter evidence
Three product concepts and four documented profiles establish a small initial coverage set:
- FAO fresh sausage formulations: two profiles for fresh pork sausage. The first explicitly names trimmings and back fat; the second uses belly and broad lean pork. They share one canonical product identity.
- Wurst Circle Jagdwurst: one profile with fine base and coarse insert. Broad pork and beef wording is preserved alongside named cuts. No trimmings claim.
- Nubassa Bratwurst booklet, page 4: one coarse Bratwurst profile. S II and S V remain source preparation classes attached to broad pork; no unsupported cut or trimmings mapping is introduced.
The source review is recorded as automated Codex curation, not a human expert sign-off. The seed and
immutable publication plan are in data/recipes/; the local receipt records actual verification.
This is a discovery knowledge base, not manufacturing or food-safety instructions.