List the event catalogueMenu

List the event catalogue

GET/v1/events/catalog

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.

The workspace's event names, for the data index and for trigger, rule and goal pickers: Kirora's system names, each name the workspace has sent, and each one a person defined before sending it. Each has its origin (system, standard or custom), whether it has events (recorded), its description, when it was last seen, its last 30 days and how many journeys, segments, campaigns and goals read it. The figures are counted at most 15 minutes before meta.countedAt; a name sent for the first time is listed at once. query, origin and recorded filter, and sort orders, across every page. Standard names not yet sent are in GET /events/standard-names. Only the first page has meta.nameUsage: the names counted against the workspace's limit of 1,000, defined ones included; past it a new name is refused with EVENT_NAME_LIMIT_REACHED.

Query parameters

limitintegeroptional

How many items a page holds: 1 to 100, 20 by default.

min > 0 · max 100 · default 20

cursorstringoptional

Where the page starts: the previous page's meta.pagination.nextCursor. Omit it for the first page, and send the same filters with it.

1–2,048 characters

querystringoptional

Only names containing this, ignoring case.

1–128 characters

originstringoptional

Only names of this origin.

one of system, standard, custom

recordedstringoptional

true: only names with events; false: only names without, such as one defined before it was sent.

one of true, false

sortstringoptional

A field ascending, or -field descending; ties go by name. A name with no events sorts last by lastSeenAt either way.

one of -lastSeenAt, lastSeenAt, -last30DaysCount, last30DaysCount, name, -name · default "-lastSeenAt"

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 a list of EventName objects in data, and the next page's cursor in meta (see pagination). Otherwise returns an error; Errors lists every code and which to retry.

namestringrequired
originstringrequired

one of system, standard, custom

recordedbooleanrequired

Whether the workspace has events of it. False for a name defined before it was sent, and for a system name Kirora has not recorded yet.

descriptionstring | nullrequired

The workspace's description, else Kirora's meaning for a system or standard name; null when neither. Plain text.

lastSeenAtstring | nullrequired

When its latest event happened; null when it has none.

date-time

last30DaysCountintegerrequired

Events of it that happened in the last 30 days.

min 0

usedByCountintegerrequired

Journeys, segments, campaigns, conversion goals and active workspace goals that read it; the summary names them.

min 0