LiveRecoverVYG Developer Docs
MCPToolsCDP tools

Customer Events

Get a profile's raw event history

cdp_customer_events

Returns a profile's raw event history, scoped to your brand. Filter by event type and an ISO time window, and page with limit/offset or the opaque cursor. Pass a profile itemId from cdp_search_customers.

Read-only and scoped to your brand.

Parameters

NameTypeRequiredDescriptionDefault
profileIdstringYesThe CDP profile id (itemId) from cdp_search_customers.
eventTypestringNoRestrict to a single event type (e.g. view).
fromstringNoISO-8601 inclusive lower bound on event time.
tostringNoISO-8601 inclusive upper bound on event time.
limitnumberNoPage size (1–100).25
offsetnumberNoOffset for offset-based paging.0
cursorstringNoOpaque nextCursor from a previous page, to continue enumerating.

Returns

  • list — the profile's events for the given filters.
  • totalSize, offset, pageSize — paging metadata.
  • nextCursor — pass back as cursor to walk the next page, or null when exhausted.

Example prompts

Show me the events for profile abc123 in the last 7 days
List product_viewed events for that profile

Notes

  • An out-of-scope profile id — or another shop's events on a merged profile — returns an empty list, never another brand's data and never an error.
  • Events are read through the brand-scoped query path, so results always cover your brand only.

On this page