BETTERMENU
Studio

Get Recipe Ingredients

Get all ingredients in a recipe in order with their resolved names, quantities, and positions.

The top-level version_id mirrors the recipe's HEAD ULID on the main branch — clients can pass it back as If-Match on the next mutation for optimistic concurrency. Accepts ?version_id= to read ingredients at a specific historical version snapshot.

Available only on API versions declaring the recipe_versioning capability. Requests without this capability receive a 404.

Related endpoints:

  • setRecipeIngredients — save pre-resolved ingredients directly
GET
/studio/recipes/{recipe_id}/ingredients

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/ingredients"
{
  "data": [
    {
      "id": "string",
      "original_text": "string",
      "parsed_quantity": 0,
      "parsed_unit": "string",
      "parsed_ingredient_name": "string",
      "selected_ingredient_id": "string",
      "selected_ingredient_name": "string",
      "metric_quantity_g": 0
    }
  ],
  "meta": {
    "version": "string",
    "request_id": "string",
    "timestamp": "string"
  },
  "version_id": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}