{ "opencollection": "1.0.0", "info": { "name": "Coveo Activity Activities Raw Metrics 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": "Raw Metrics", "type": "folder" }, "items": [ { "info": { "name": "Lists the Available Metrics for Assignment", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/searchusagemetrics/raw/all", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The organization ID" } ], "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}}" } } }, "docs": "Lists the Available Metrics for Assignment" }, { "info": { "name": "Gets Raw Metric Values for a Specific Month", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/searchusagemetrics/raw/monthly", "params": [ { "name": "minimumQueries", "value": "", "type": "query", "description": "The minimum number of queries required for a search hub to be listed" }, { "name": "month", "value": "Specify '2024-02' for February 2024.", "type": "query", "description": "The month to report for" }, { "name": "organizationId", "value": "", "type": "path", "description": "The organization ID" } ], "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}}" } } }, "docs": "Gets Raw Metric Values for a Specific Month" }, { "info": { "name": "Gets Daily Raw Values for a Specific Search Hub and Metric", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/searchusagemetrics/raw/searchhubs/:searchHub/daily/:metric", "params": [ { "name": "to", "value": "", "type": "query", "description": "The last day to report for" }, { "name": "from", "value": "", "type": "query", "description": "The first day to report for" }, { "name": "metric", "value": "", "type": "path", "description": "The raw metric to report on" }, { "name": "searchHub", "value": "", "type": "path", "description": "The name of the search hub to report on" }, { "name": "organizationId", "value": "", "type": "path", "description": "The organization ID" } ], "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}}" } } }, "docs": "Gets Daily Raw Values for a Specific Search Hub and Metric" }, { "info": { "name": "Gets Monthly Raw Values for a Specific Search Hub and Metric", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/searchusagemetrics/raw/searchhubs/:searchHub/monthly/:metric", "params": [ { "name": "to", "value": "", "type": "query", "description": "The last month to report for" }, { "name": "from", "value": "", "type": "query", "description": "The first month to report for" }, { "name": "metric", "value": "", "type": "path", "description": "The raw metric to report on" }, { "name": "searchHub", "value": "", "type": "path", "description": "The name of the search hub to report on" }, { "name": "organizationId", "value": "", "type": "path", "description": "The organization ID" } ], "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}}" } } }, "docs": "Gets Monthly Raw Values for a Specific Search Hub and Metric" } ] } ], "bundled": true }