Skip to main content
Version: 26.01

Read values of a big-list property

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?method=segmentation_big_meta

Overview​

Returns the known values of one event segment or user property whose value list is too large to be included in Query Metadata - Read. The list can be narrowed with a search string.

Authentication​

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

Permissions​

Requires Read permission on at least one of the drill, funnels, cohorts, users or formulas features.

Request Parameters​

ParameterTypeRequiredDescription
methodStringYesMust be segmentation_big_meta.
app_idStringYesTarget app ID.
eventStringYesEvent key the property belongs to.
propStringYesProperty name. Use the sg. prefix for an event segment, for example sg.source; any other name is read as a user property.
searchStringNoOnly values that match this text (case-insensitive) are returned.
searchArrJSON String (Array)NoList of texts; values that equal or match any of them are also returned.
optionsJSON String (Object)NoSet filterValidSemver to true to return only values that are valid semantic versions.
no_cacheBooleanNoIf set, the value list is rebuilt from the last 30 days of data instead of using the stored list.
api_keyStringConditionalRequired if auth_token is not provided.
auth_tokenStringConditionalRequired if api_key is not provided.

Examples​

Read values of an event segment​

/o?method=segmentation_big_meta&
app_id=64f5c0d8f4f7ac0012ab3456&
event=purchase&
prop=sg.product

Search values of a user property​

/o?method=segmentation_big_meta&
app_id=64f5c0d8f4f7ac0012ab3456&
event=[CLY]_session&
prop=av&
search=1.2

Response​

Success Response​

[
"1.2.0",
"1.2.1"
]

Response Fields​

FieldTypeDescription
(root array)ArrayProperty values. The number of values is limited by the Drill list_limit setting.

If prop is not provided, the response is an empty array.

Behavior​

  • Values come from a stored list that is refreshed when it is older than one hour or when no_cache is set.
  • Without a stored list, or with no_cache, the refresh looks at the last 30 days of data; otherwise it looks at the days since the last refresh.