BETTERMENU
Studio

List Recipe Servings

List servings — discover what servings exist for a recipe.

Use this to answer: "does this recipe have a serving?", "list servings", "what servings are configured?"

Returns all computed servings for the recipe.

Related endpoints:

  • getRecipeServing — get a single serving by ID
  • setRecipeServing — create or replace the serving (⑦)
GET
/studio/recipes/{recipe_id}/servings

Authorization

BearerAuth
AuthorizationBearer <token>

JWT Bearer token authentication

In: header

Path Parameters

recipe_id*string

Unique recipe identifier

Response Body

application/json

application/json

curl -X GET "https://loading/studio/recipes/string/servings"
{
  "data": [
    {
      "id": "string",
      "serving_size": {
        "household_measure": "string",
        "metric_amount": "string",
        "metric_unit": "string",
        "servings_per_container": "string"
      },
      "dual_column_status": "string",
      "has_per_serving_nutrition_facts": true,
      "has_per_container_nutrition_facts": true
    }
  ],
  "meta": {
    "version": "string",
    "request_id": "string",
    "timestamp": "string"
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}