Resources usage
This page shows you how to get started using the resources usage mediarithmics API.
Each datamart resource (segments, exports, imports...) that lead to write or read access on mediarithmics platform are tracked and their consumption are measured.
Thanks to this API you can get a report of your datamart consumption that match:
the cost of each query executed on the platform
the amount of data ingested
This API is a mediarithmics Data cube and works similarly as Activities analytics queries API.
Quickstart
POST
https://api.mediarithmics.com/v1/platform_monitoring/resources_usage
Request Body
dimension_filter_clauses*
object
Filters to apply on dimensions before calculating the metric. For more information, see FilterClause.
date_ranges*
array
Periods to analyze. Each date range is an object with a start_date
and an end_date
. See DateRange.
Here is a sample body payload with all the important properties:
Retention
These aggregated stats are kept for two years.
Supported dimensions and metrics
See Dimensions and metrics for the complete list of supported dimensions and metrics.
Learning more about data cubes
This endpoint is a mediarithmics Data cube. You can find documentation on how data cubes work and which data cubes are available in the specific documentation section.
Last updated