{ "opencollection": "1.0.0", "info": { "name": "Amplitude Attribution Annotations Event Segmentation API", "version": "2" }, "items": [ { "info": { "name": "Event Segmentation", "type": "folder" }, "items": [ { "info": { "name": "Amplitude Get Event Segmentation", "type": "http" }, "http": { "method": "GET", "url": "https://api2.amplitude.com/api/2/events/segmentation", "params": [ { "name": "e", "value": "", "type": "query", "description": "A JSON-encoded event object with at minimum an event_type field. For funnel analysis, multiple e parameters define each funnel step." }, { "name": "start", "value": "", "type": "query", "description": "The start date in YYYYMMDD format." }, { "name": "end", "value": "", "type": "query", "description": "The end date in YYYYMMDD format." }, { "name": "m", "value": "", "type": "query", "description": "The metric to compute. Options include uniques, totals, pct_dau, average, histogram, sums, value_avg, or formula." }, { "name": "i", "value": "", "type": "query", "description": "Time interval granularity. Use -300000 for real-time, 1 for daily, 7 for weekly, or 30 for monthly." }, { "name": "s", "value": "", "type": "query", "description": "Segment definitions as a JSON-encoded array of segment objects for filtering results." }, { "name": "g", "value": "", "type": "query", "description": "The property to group results by, such as a user property or event property name." }, { "name": "limit", "value": "", "type": "query", "description": "The number of group-by values to return. Default is 100, max is 1000." } ] }, "docs": "Get metrics for an event with segmentation. Returns event totals, unique users, or other metrics broken down by time intervals and optional segment or group-by properties." } ] } ], "bundled": true }