Segment Consumption
Operations related to Segment Consumption, exposing aggregated metrics for the usage dashboard (total and activated segment counts, breakdown by functional type, and monthly segment creation).
Query parameters
organisation_idstringRequired
The organisation to compute the segment consumption metrics for
Responses
200
Success !
application/json
statusstring · enumRequiredPossible values:
400
Error response
application/json
401
Error response
application/json
403
Error response
application/json
404
Error response
application/json
500
Error response
application/json
503
Error response
application/json
get/audience_segments.consumption
GET /v1/audience_segments.consumption?organisation_id=text HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"creation_by_month": [
{
"month": "text",
"count": 0
}
],
"breakdown_by_type": [
{
"type": "AUTOMATION",
"total": 0,
"activated": 0
}
],
"activated_segments": 0,
"total_segments": 0,
"limits": {
"activation_limit": 0,
"technical_limit": 0
}
}
}Last updated
Was this helpful?