New Endpoint: Analytics API Catalog (May '21 Release)

The Analytics API Catalog is a new endpoint that allows users to programmatically return metadata around the metrics available in the Analytics API. This new endpoint will help users understand what they can query in the Analytics API and when complete data for each metric is available. The endpoint will show what metrics are available for their account as well as the Completed Date for each metric.

Sample Get Request
https://api.yext.com/v2/accounts/me/analytics/catalog?api_key={YOUR_API_KEY}&v=20210415

Sample Output

{
    "meta": {
        "uuid": "6471d2a9-a0bd-4c01-a8b9-04071d75e4a1",
        "errors": []
    },
    "response": {
        "metrics": [
            {
                "id": "FACEBOOK_POST_IMPRESSIONS",
                "completedDate": "2021-03-20"
            },
            {
                "id": "GOOGLE_SEARCH_VIEWS",
                "completedDate": "2021-03-19"
            },
            {
                "id": "ANSWERS_SEARCHES_WITH_CLICKS",
                "completedDate": "2021-03-23"
            },
            {
                "id": "ANSWERS_SEARCHES",
                "completedDate": "2021-03-23"
            },
            {
                "id": "ANSWERS_SEARCHES_WITH_KG_RESULTS",
                "completedDate": "2021-03-23"
            },
            {
                "id": "ANSWERS_CLICKS",
                "completedDate": "2021-03-23"
            },
            {
                "id": "CONVERSION_RATE",
                "completedDate": "2021-03-23"
            }
        ]
    }
}