BETTERMENU
Studio

Get Custom Ingredient Audit Trail

Return the compliance timeline for a custom ingredient.

Lists typed audit events newest-first — actor, channel, timestamp, and the fields set/changed.

GET
/studio/custom-ingredients/{custom_ingredient_id}/audit-trail

Path Parameters

custom_ingredient_id*Custom Ingredient Id

Query Parameters

limit?Limit

Maximum number of audit events to return (1-100)

Default20
Range1 <= value <= 100
cursor?|

Opaque pagination cursor returned in meta.cursor from a previous response. Omit on the first page.

Response Body

application/json

application/json

curl -X GET "https://api.bettermenu.live/studio/custom-ingredients/string/audit-trail"
{
  "data": {
    "custom_ingredient_id": "string",
    "events": [
      {
        "event_type": "custom_ingredient.version_created",
        "event_id": "string",
        "actor": {
          "type": "member",
          "id": "string"
        },
        "channel": "studio",
        "timestamp": "string",
        "changed_fields": [
          "string"
        ],
        "version_id": "string"
      }
    ]
  },
  "meta": {
    "version": "string",
    "request_id": "string",
    "timestamp": "string",
    "cursor": "string",
    "has_more": true
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
BETTERMENU

FDA-compliant nutrition labels from a recipe, in minutes.

Visit bettermenu.live