Studio
Get Recipe Nutrition
Return total recipe nutrition (batch-level, all ingredients summed) — not per-serving.
reference_weight_grams is the total weight of all ingredients combined; no
per-serving amounts or %DV are included. Pass ?version_id= to read nutrition
at a historical snapshot. Returns 404 if nutrition has not been computed yet; use
computeRecipeNutrition to trigger a manual recompute.
Path Parameters
recipe_id*Recipe Id
Query Parameters
version_id?|
Optional version ULID to pin the response to a historical snapshot. Omit to read the live HEAD on the main branch. 26-character Crockford Base32 (no I, L, O, U).
Response Body
application/json
application/json
curl -X GET "https://api.bettermenu.live/studio/recipes/string/nutrition"{
"data": {
"calculated_at": "string",
"nutrients": [
{
"id": 0,
"bmid": "string",
"name": "string",
"total_amount": 0,
"unit": "string"
}
],
"reference_weight_grams": 0
},
"meta": {
"version": "string",
"request_id": "string",
"timestamp": "string"
},
"version_id": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}