The v1/metrics endpoint in the Clarisights API requires the user to send a GET request with authentication to and returns the list of metrics grouped by channels, associated with that company.

The response would be in this format -
Array<{name: string, value: string}>
For example -
{"metrics": {"facebook": [{"name": "FB: Impressions", "value": "fb_impressions"}]}} 

The name value is the name of the given metric, the way you would see it on the Granular platform.

The value value is the unique identifier of the metric. This is used to specify chosen metrics under the metrics field in the v1/stats endpoint. Please note that cross-channel metrics and metrics of analytics channels are repeated under each advertising channel for which they are available.

For companies which are using the Clarisights platform as well, calculated metrics defined there will also be returned in this endpoint.

Did this answer your question?