{ "opencollection": "1.0.0", "info": { "name": "Swetrix Admin Annotations Feature Flags API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-Api-Key", "value": "{{X-Api-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Feature Flags", "type": "folder" }, "items": [ { "info": { "name": "Get Feature Flag Statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.swetrix.com/v1/feature-flag/:id/stats", "params": [ { "name": "id", "value": "", "type": "path", "description": "Feature flag ID" }, { "name": "period", "value": "", "type": "query", "description": "Time period for the query" }, { "name": "from", "value": "", "type": "query", "description": "Custom range start date (YYYY-MM-DD)" }, { "name": "to", "value": "", "type": "query", "description": "Custom range end date (YYYY-MM-DD)" }, { "name": "timezone", "value": "", "type": "query", "description": "IANA timezone name (default Etc/GMT)" } ] }, "docs": "Returns evaluation statistics for a specific feature flag showing how often it was evaluated as true or false." } ] } ], "bundled": true }