BETTERMENU
Studio

Get Recipe Label Configuration

Get fully resolved label configuration, optionally pinned to a historical version.

Accepts ?version_id= to read configuration at a specific version snapshot.

Returns 404 when version_id is supplied but no matching version exists. Returns 500 when the stored version uses a data format that this API version cannot read.

Available only on API versions declaring the recipe_versioning capability. Older versions fall through to the legacy endpoint (no version_id stamping).

GET
/studio/recipes/{recipe_id}/label-configuration

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://loading/studio/recipes/string/label-configuration"
{
  "data": {
    "recipe_id": "string",
    "nutrients": [
      {
        "bmid": "string",
        "official_name": "string",
        "visible": true,
        "display_name": "string",
        "display_name_override": "string",
        "allowed_synonyms": [
          "string"
        ],
        "is_mandatory": true,
        "is_toggleable": true,
        "source": "regulatory_default"
      }
    ],
    "has_custom_configuration": true,
    "created_by": "string",
    "updated_at": "string"
  },
  "meta": {
    "version": "string",
    "request_id": "string",
    "timestamp": "string"
  },
  "version_id": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}