Events API

Your account's event stream. 2 ops: list_events, get_event.

Your account's event stream.

List events · POST /api/v1/list_events · scope events:read or GET …?input=

The organization's event log, newest first: every platform event (meal.logged, meal.updated, meal.reviewed, meal.deleted, product.submitted…) with its payload (ids and flags, never food or symptom text), subject, source and time. Filter by type (exact, or a prefix ending in a dot such as "meal.") and subject. Use it to see what changed recently or to catch up (pass after_id to read forward).

curl -X POST https://getgutlog.com/api/v1/list_events \  -H "Authorization: Bearer gutlog_…"

Get event · POST /api/v1/get_event · scope events:read or GET …?input=

One event from the organization's event log by id, with its payload and how each internal consumer handled it (done, failed with the error, dead after its retries).

curl -X POST https://getgutlog.com/api/v1/get_event \  -H "Authorization: Bearer gutlog_…" \  -H "Content-Type: application/json" \  -d '{"id":1}'