Retrieve an event's summary
GET/v1/events/summary
Requires an API key with the events:read scope. About keys and scopes
Works with integration, agent and partner keys. Also available to embed sessions.
Whether an event is arriving and what it looks like, before a segment or journey is built on it: when it last happened, how many happened in the last 30 days (counted up to 100,000, countExact: false past it), the property keys its latest 1,000 events carry with their types and up to five sample values, and what reads it. A custom name never tracked nor defined, or deleted, is a 404. For charts, read the series. An API key always gets the sample values. An embed session gets none unless minted with includeAttributeValues, and none for a key that is a masked attribute.
Query parameters
namestringrequiredThe event name, exactly as it was tracked.
1–128 characters
Header parameters
Kirora-WorkspacestringoptionalPartner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.
pattern
^[A-Za-z0-9._:-]{1,128}$
Returns
Returns 200 OK with an EventSummary in data. Otherwise returns an error; Errors lists every code and which to retry.
namestringrequiredoriginstringrequiredone of
system,standard,customdescriptionstring | nullrequiredThe workspace's description, else Kirora's meaning for a system or standard name.
lastSeenAtstring | nullrequiredWhen the latest event happened; null when none is held: a standard or system name never sent, or every event past retention.
date-time
last30DaysobjectrequiredEvents that happened in the last 30 days.
2 child attributes
countintegerrequiredmin 0
countExactbooleanrequiredFalse when counting stopped at 100,000: the event is busier.
sampleobjectrequiredWhat the latest events of this name look like.
2 child attributes
eventsintegerrequiredHow many of the latest events were sampled, up to 1,000.
min 0
propertiesobject[]requiredThe keys the sampled events carry, most common first.
4 child attributes
keystringrequiredtypesstring[]requiredThe value types seen.
dateis a string written as an ISO-8601 date or date and time, which segment date operators can read; a property whose values are mixed lists each type, such asdateandstring.samples(string | number | boolean)[]requiredUp to five distinct scalar values.
seenInintegerrequiredHow many of the sampled events carry this key.
min 0
usedByobjectrequiredWhat reads this event, up to 50 of each: journeys (trigger, exit conditions, waits and rules in their steps), segments and campaign audiences (event rules), conversion goals, and active workspace goals (any event in the measure, including a cohort's rules).
6 child attributes
journeysobject[]required3 child attributes
idstringrequireduuid
namestringrequiredstatusstringrequiredone of
draft,active,paused,ended
segmentsobject[]required2 child attributes
idstringrequireduuid
namestringrequired
campaignsobject[]required3 child attributes
idstringrequireduuid
namestringrequiredstatusstringrequiredone of
draft,scheduled,sending,testing,sent,cancelled
conversionGoalsobject[]required3 child attributes
idstringrequireduuid
campaignIdstring | nullrequireduuid
journeyIdstring | nullrequireduuid
goalsobject[]requiredActive workspace goals whose measure names the event.
2 child attributes
idstringrequireduuid
namestringrequired
hasMorebooleanrequiredMore use it than are listed: each list stops at 50.