For the complete documentation index, see llms.txt. This page is also available as Markdown.

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).

Aggregated segment consumption metrics for an organisation

get
/audience_segments.consumption
Query parameters
organisation_idstringRequired

The organisation to compute the segment consumption metrics for

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
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?