get https://api.fastpix.io/v1/data/metrics/comparison
This endpoint lets you to compare multiple metrics across specified dimensions. You can specify the metrics you want to compare in the query parameters, and the response includes the relevant metrics for the specified dimensions.
Key fields in response
- value: The specific metric value calculated based on the applied filters.
- type: The data unit or format type (for example, "number", "milliseconds", "percentage").
- name: The display name of the metric (for example, "Views", "Overall Score").
- metric: The metric field represents the name of the Key Performance Indicator (KPI) being tracked or analyzed. It identifies a specific measurable aspect of the video playback experience, such as buffering time, video start failure rate, or playback quality.
- items: Nested breakdown of related metrics for more detailed analysis.
- measurement: Defines the aggregation type (for example, "avg", "sum", "median", "95th").
How it works
-
Before making a request to this endpoint, call the list dimensions endpoint to obtain all available dimensions that can be used for comparison.
-
Send a
GETrequest to this endpoint with the desired metrics specified in the query parameters. -
You Receive a response containing the comparison values for the specified metrics across the selected dimensions.
Related guide: Compare metrics in dashboard