{ "opencollection": "1.0.0", "info": { "name": "GrowthBook REST AnalyticsExplorations metrics API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "metrics", "type": "folder" }, "items": [ { "info": { "name": "Get all metrics", "type": "http" }, "http": { "method": "GET", "url": "https://api.growthbook.io/api/v1/metrics", "params": [ { "name": "limit", "value": "", "type": "query", "description": "The number of items to return" }, { "name": "offset", "value": "", "type": "query", "description": "How many items to skip (use in conjunction with limit for pagination)" }, { "name": "projectId", "value": "", "type": "query", "description": "Filter by project id" }, { "name": "datasourceId", "value": "", "type": "query", "description": "Filter by Data Source" } ] }, "docs": "Get all metrics" }, { "info": { "name": "Create a single metric", "type": "http" }, "http": { "method": "POST", "url": "https://api.growthbook.io/api/v1/metrics", "body": { "type": "json", "data": "{}" } }, "docs": "Create a single metric" }, { "info": { "name": "Get a single metric", "type": "http" }, "http": { "method": "GET", "url": "https://api.growthbook.io/api/v1/metrics/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the requested resource" } ] }, "docs": "Get a single metric" }, { "info": { "name": "Update a metric", "type": "http" }, "http": { "method": "PUT", "url": "https://api.growthbook.io/api/v1/metrics/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the requested resource" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a metric" }, { "info": { "name": "Deletes a metric", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.growthbook.io/api/v1/metrics/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the requested resource" } ] }, "docs": "Deletes a metric" } ] } ], "bundled": true }