API reference

List usage events

Read back ingested usage events.

GET/v1/usage_events

Reads events back, newest first by default. Always scoped to the app the API key belongs to; there is no cross-app read.

Query parameters

eventNamestring
Filter to one event name.
customerIdstring
Filter to one shop (myshopify domain).
startDatestring
ISO 8601 window start; defaults to 30 days ago.
endDatestring
ISO 8601 window end; defaults to now.
limitinteger
Per page, max 200, default 50.
pageinteger
1-based page number.
sortstring
desc (default) or asc by occurrence time.

Returns

200The page of events plus hasMore.
401Bad or missing X-Api-Key.

On this page