Food Log
Decode a meal description with AI
post/api/decode-meal
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/decode-meal
- AuthHTTP bearer
Response
unknown required
Example response
{
"success": true,
"decodedMeal": {
"name": "Protein Oats",
"description": "Oatmeal with protein powder and banana",
"macros": {
"calories": 420,
"protein": 35,
"carbs": 52,
"fat": 8,
"fiber": 6
},
"analysis": "This breakfast is hitting your protein targets while keeping carbs moderate.",
"verdict": "🟢 Great Choice",
"recommendation": "Solid breakfast. Consider reducing banana size post-op.",
"modifications": "Swap banana for blueberries to lower sugar.",
"rewriteCompliant": true,
"ingredients": [
"oats",
"protein powder",
"banana",
"almond milk"
],
"portionSize": "1 cup oats + 1 scoop protein"
}
}Changes
No recorded changes to this operation across all 34 revisions of this API.