Batch audience usage rollup

Returns export and campaign usage for a batch of audiences, so a list view can show which ones are in use without a request per row.

Every requested id comes back, in the order requested. An audience with no live export is returned with zero counts and in_use false, which also covers ids that no longer exist, so a missing entry never means "not found".

Usage is only ever reported within one project. API key callers must pass project_id: the gateway strips the X-Project-Id header on this route, so the header does not work here.

Response fields by status. 200: data[] (audience_id, export_count, active_export_count, active_campaign_count, in_use).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
uuid
required

Project ID (UUID) whose audiences to report on.

string
required

Comma-separated audience ids. Duplicates are collapsed. Maximum 500 ids per request.

Responses

400

audience_ids missing, not a comma-separated list of integers, or more than 500 ids; or no project_id.

401

Missing or invalid authentication.

500

Failed to load audience usage.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json