Skip to content
Skip to Content
Docs
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)

Range1 <= value <= 100
Default20
cursor?|

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

Response Body

Successful Response

application/json
  1. response

Response for the get-custom-ingredient-audit-trail endpoint.

data*

Audit trail data for a custom ingredient.

meta*

Paginated response metadata.

Example Request
curl -X GET 'https://api.bettermenu.live/studio/custom-ingredients/string/audit-trail'
Example Response
{  "data": {    "custom_ingredient_id": "string",    "events": [      {        "event_type": "custom_ingredient.version_created",        "event_id": "string",        "actor": {          "type": "member",          "id": "string",          "display_name": "string",          "former_member": false,          "is_viewer": false        },        "channel": "studio",        "client": "claude",        "client_id": "string",        "timestamp": "string",        "changed_fields": [          "string"        ],        "version_id": "string"      }    ]  },  "meta": {    "version": "string",    "request_id": "string",    "timestamp": "string",    "cursor": "string",    "has_more": true  }}

Recipe in, FDA-format Nutrition Facts out, with every version kept.

Start freeNo card needed.