List the fields of a custom KPI source
Returns the fields usable in a KPI built on the given source, including the fields of the joined relations. Use each field's path in measures, dimensions, time_field and filters. A field reached through a one-to-many relation (relationCardinality: many) can only be used in filters.
Parameters
Header Parameters
[Authentication] Required API key, in the form {prefix}.{secret}.
"a1b2c3d4.xK9pR2mVn6QwErTyUiOpAsDfGhJkLzXcVbNmQwErTyU""^[a-zA-Z0-9]{8}\\.[A-Za-z0-9_-]+$"Query Parameters
Type of the source, as returned by listCustomKpiSources.
"custom""system"Name of the source schema (schemaName).
"orders"Comma-separated relation names to join, 3 at most (e.g. "contacts,sessions").
Responses
Available fields.
List the fields of a custom KPI source Returns the fields usable in a KPI built on the given source, including the fields of the joined relations. Use each field's path in measures, dimensions, time_field and filters. A field reached through a one-to-many relation (relationCardinality: many) can only be used in filters. GET /v1/custom-stats/kpis/fields listCustomKpiFields Custom KPIs spm-api-key [Authentication] Required API key, in the form {prefix}.{secret}. sourceType Type of the source, as returned by listCustomKpiSources. sourceSchema Name of the source schema (schemaName). relationsChain Comma-separated relation names to join, 3 at most (e.g. "contacts,sessions"). Available fields. Client error - Invalid request or authentication issues Server error - Internal processing failure