{ "opencollection": "1.0.0", "info": { "name": "Coveo Activity Activities Statistics API - Version 14 API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://platform.cloud.coveo.com/oauth/authorize", "accessTokenUrl": "https://platform.cloud.coveo.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Statistics API - Version 14", "type": "folder" }, "items": [ { "info": { "name": "Get Metrics Combined with Dimensions for a Date Range", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/v14/stats/combinedData", "params": [ { "name": "m", "value": "", "type": "query", "description": "The metrics to fetch." }, { "name": "from", "value": "", "type": "query", "description": "The beginning date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'" }, { "name": "to", "value": "", "type": "query", "description": "The end date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'" }, { "name": "tz", "value": "", "type": "query", "description": "Timezone used for calculations." }, { "name": "d", "value": "", "type": "query", "description": "Timezone used for calculations." }, { "name": "f", "value": "", "type": "query", "description": "The filter that will be applied to the events dimensions. Multiple filter parameters are joined with the AND operator." }, { "name": "fm", "value": "", "type": "query", "description": "The filter that will be applied to the metrics. Multiple filter parameters are joined with the AND operator." }, { "name": "s", "value": "", "type": "query", "description": "The field to order the results by. It must be a dimension, metric or custom dimension that was specified in the 'm' or the 'd' parameter." }, { "name": "p", "value": "", "type": "query", "description": "The response's page to access, starting at 1." }, { "name": "n", "value": "", "type": "query", "description": "The number of result to include in a page." }, { "name": "asc", "value": "", "type": "query", "description": "Whether to sort by ascending order." }, { "name": "includeMetadata", "value": "", "type": "query", "description": "Whether to include metadata regarding the results (total count and unique counts, if applicable)." }, { "name": "format", "value": "", "type": "query", "description": "The format of the response. Default is JSON." }, { "name": "bindOnLastSearch", "value": "", "type": "query", "description": "bindOnLastSearch" }, { "name": "org", "value": "", "type": "query", "description": "The name of the organization (Coveo Cloud V2 only)" } ] }, "docs": "This endpoint is deprecated and will be removed on October 1st, 2024.\nThere is one value of each metric for every possible dimension combination." }, { "info": { "name": "Get Trends of a Metric Combined with Dimensions for a Date Range", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/v14/stats/trends", "params": [ { "name": "m", "value": "", "type": "query", "description": "The metrics to fetch." }, { "name": "from", "value": "", "type": "query", "description": "The beginning date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'" }, { "name": "to", "value": "", "type": "query", "description": "The end date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'" }, { "name": "previousFrom", "value": "", "type": "query", "description": "The beginning date of the previous date range, when reporting trends. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'. If not specified, it will be the 'from' date minus the duration of the 'from'-'to' date range." }, { "name": "previousTo", "value": "", "type": "query", "description": "The end date of the previous date range, when reporting trends. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'. If not specified, it will be the 'to' date minus the duration of the 'from'-'to' date range." }, { "name": "tz", "value": "", "type": "query", "description": "Timezone used for calculations." }, { "name": "d", "value": "", "type": "query", "description": "Timezone used for calculations." }, { "name": "f", "value": "", "type": "query", "description": "The filter that will be applied to the events dimensions. Multiple filter parameters are joined with the AND operator." }, { "name": "fm", "value": "", "type": "query", "description": "The filter that will be applied to the metrics. Multiple filter parameters are joined with the AND operator." }, { "name": "s", "value": "", "type": "query", "description": "The field to order the results by. It must be a dimension, metric or custom dimension that was specified in the 'm' or the 'd' parameter." }, { "name": "p", "value": "", "type": "query", "description": "The response's page to access, starting at 1." }, { "name": "n", "value": "", "type": "query", "description": "The number of result to include in a page." }, { "name": "asc", "value": "", "type": "query", "description": "Whether to sort by ascending order." }, { "name": "includeMetadata", "value": "", "type": "query", "description": "Whether to include metadata regarding the results (total count and unique counts, if applicable)." }, { "name": "format", "value": "", "type": "query", "description": "The format of the response. Default is JSON." }, { "name": "bindOnLastSearch", "value": "", "type": "query", "description": "bindOnLastSearch" }, { "name": "t", "value": "", "type": "query", "description": "The trends to caculate." }, { "name": "org", "value": "", "type": "query", "description": "The name of the organization (Coveo Cloud V2 only)" } ] }, "docs": "This endpoint is deprecated and will be removed on October 1st, 2024.\nThere is one value of each metric for every possible dimension combination." }, { "info": { "name": "Get Global Data for Each Metric for a Date Range", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/v14/stats/globalData", "params": [ { "name": "m", "value": "", "type": "query", "description": "The metrics to fetch." }, { "name": "from", "value": "", "type": "query", "description": "The beginning date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'" }, { "name": "to", "value": "", "type": "query", "description": "The end date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'" }, { "name": "tz", "value": "", "type": "query", "description": "Timezone used for calculations." }, { "name": "d", "value": "", "type": "query", "description": "The dimensions to fetch. Required when the Activity metric is requested as it has to be based on a dimension." }, { "name": "f", "value": "", "type": "query", "description": "The filter that will be applied to the events dimensions. Multiple filter parameters are joined with the AND operator." }, { "name": "i", "value": "", "type": "query", "description": "The interval on which data will be grouped. Default value is DAY." }, { "name": "bindOnLastSearch", "value": "", "type": "query", "description": "bindOnLastSearch" }, { "name": "org", "value": "", "type": "query", "description": "The name of the organization (Coveo Cloud V2 only)" } ] }, "docs": "This endpoint is deprecated and will be removed on October 1st, 2024.\nGlobal data contain the total, the daily peak and the daily average." }, { "info": { "name": "Get Graph Data Points for the Metrics for a Date Range", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/v14/stats/graphDataPoints", "params": [ { "name": "m", "value": "", "type": "query", "description": "The metrics to fetch." }, { "name": "from", "value": "", "type": "query", "description": "The beginning date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'" }, { "name": "to", "value": "", "type": "query", "description": "The end date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'" }, { "name": "tz", "value": "", "type": "query", "description": "Timezone used for calculations." }, { "name": "f", "value": "", "type": "query", "description": "The filter that will be applied to the events dimensions. Multiple filter parameters are joined with the AND operator." }, { "name": "i", "value": "", "type": "query", "description": "The interval on which data will be grouped. Default value is DAY." }, { "name": "bindOnLastSearch", "value": "", "type": "query", "description": "bindOnLastSearch" }, { "name": "org", "value": "", "type": "query", "description": "The name of the organization (Coveo Cloud V2 only)" } ] }, "docs": "This endpoint is deprecated and will be removed on October 1st, 2024.\nThere is one data point per interval per metric. The interval can be specified with the 'i' query parameter." }, { "info": { "name": "Health Check for the Statistics Service", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/v14/stats/monitoring/health" }, "docs": "This endpoint is deprecated and will be removed on October 1st, 2024." }, { "info": { "name": "Get the Statistics Service Status", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/v14/stats/status" }, "docs": "This endpoint is deprecated and will be removed on October 1st, 2024." }, { "info": { "name": "Get the Details of the Visits Matching the Specified Criteria", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/v14/stats/visits", "params": [ { "name": "from", "value": "", "type": "query", "description": "The beginning date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'" }, { "name": "to", "value": "", "type": "query", "description": "The end date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'" }, { "name": "tz", "value": "", "type": "query", "description": "Timezone used for calculations." }, { "name": "d", "value": "", "type": "query", "description": "The dimensions to fetch." }, { "name": "f", "value": "", "type": "query", "description": "The filter that will be applied to the events dimensions. Multiple filter parameters are joined with the AND operator." }, { "name": "fn", "value": "", "type": "query", "description": "The filter that will be applied to dimensions to exclude events from the results. Multiple filter parameters are joined with the AND operator." }, { "name": "s", "value": "", "type": "query", "description": "The field to order the results by. It must be a dimension, metric or custom dimension that was specified in the 'm' or the 'd' parameter." }, { "name": "p", "value": "", "type": "query", "description": "The response's page to access, starting at 1." }, { "name": "n", "value": "", "type": "query", "description": "The number of result to include in a page." }, { "name": "asc", "value": "", "type": "query", "description": "Whether to sort by ascending order." }, { "name": "includeMetadata", "value": "", "type": "query", "description": "Whether to include metadata regarding the results (total count and unique counts, if applicable)." }, { "name": "org", "value": "", "type": "query", "description": "The name of the organization (Coveo Cloud V2 only)" } ] }, "docs": "This endpoint is deprecated and will be removed on October 1st, 2024." }, { "info": { "name": "Force a Visit View Update", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/v14/stats/visits", "params": [ { "name": "org", "value": "", "type": "query", "description": "The name of the organization (Coveo Cloud V2 only)" } ] }, "docs": "This endpoint is deprecated and will be removed on October 1st, 2024.\nGlobal data contain the total, the daily peak and the daily average." } ] } ], "bundled": true }