Retrieve an event's summaryMenu

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

namestringrequired

The event name, exactly as it was tracked.

1–128 characters

Header parameters

Kirora-Workspacestringoptional

Partner 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.

namestringrequired
originstringrequired

one of system, standard, custom

descriptionstring | nullrequired

The workspace's description, else Kirora's meaning for a system or standard name.

lastSeenAtstring | nullrequired

When the latest event happened; null when none is held: a standard or system name never sent, or every event past retention.

date-time

last30Daysobjectrequired

Events that happened in the last 30 days.

2 child attributes
countintegerrequired

min 0

countExactbooleanrequired

False when counting stopped at 100,000: the event is busier.

sampleobjectrequired

What the latest events of this name look like.

2 child attributes
eventsintegerrequired

How many of the latest events were sampled, up to 1,000.

min 0

propertiesobject[]required

The keys the sampled events carry, most common first.

4 child attributes
keystringrequired
typesstring[]required

The value types seen. date is 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 as date and string.

samples(string | number | boolean)[]required

Up to five distinct scalar values.

seenInintegerrequired

How many of the sampled events carry this key.

min 0

usedByobjectrequired

What 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[]required
3 child attributes
idstringrequired

uuid

namestringrequired
statusstringrequired

one of draft, active, paused, ended

segmentsobject[]required
2 child attributes
idstringrequired

uuid

namestringrequired
campaignsobject[]required
3 child attributes
idstringrequired

uuid

namestringrequired
statusstringrequired

one of draft, scheduled, sending, testing, sent, cancelled

conversionGoalsobject[]required
3 child attributes
idstringrequired

uuid

campaignIdstring | nullrequired

uuid

journeyIdstring | nullrequired

uuid

goalsobject[]required

Active workspace goals whose measure names the event.

2 child attributes
idstringrequired

uuid

namestringrequired
hasMorebooleanrequired

More use it than are listed: each list stops at 50.