Skip to main content

Get flow events catalog

Enterprise

This endpoint is part of Countly Enterprise. To get access, contact sales or compare versions. Existing customers can reach the support portal with questions.

Endpoint

/o/flows?method=events

Overview

Returns internal and custom event lists used in flow setup.

Authentication

Pass api_key or auth_token as a query parameter, or send countly-token as a header. See Authentication.

Permissions

Requires flows Read permission.

Request Parameters

ParameterTypeRequiredDescription
methodStringYesMust be events.
app_idStringYesTarget app ID.
api_keyStringConditionalRequired if auth_token is not provided.
auth_tokenStringConditionalRequired if api_key is not provided.

Examples

/o/flows?
method=events&
app_id=64f5c0d8f4f7ac0012ab3456

Response

Success Response

{
"internal": ["[CLY]_session", "[CLY]_view", "[CLY]_view_update"],
"custom": ["signup", "purchase"]
}

Response Fields

FieldTypeDescription
internalArrayInternal drill events list.
customArrayApp custom event keys excluding internal events.

Error Responses

This endpoint does not define a dedicated structured error payload; error output can vary by failure path.

Behavior

  • Loads app event list from countly.events.
  • Builds internal from plugins.internalDrillEvents and appends [CLY]_view_update.
  • Removes internal events from custom event list before returning.
Implementation details

Configuration Impact

SettingDefaultAffectsUser-visible impact
flows.*Flows feature defaultsFlows analytics query behavior and result shaping.Changes to flows settings can affect returned paths, aggregation behavior, and limits.

Database Collections

CollectionUsed forData touched by this endpoint
countly.eventsEvent catalog and schemaStores app event list/map/segment schema read or updated by this endpoint.