Audiences

Recompute record count for an audience

Recomputes the record count for a saved audience based on its current composition — included segments combined by set_logic (union = OR, intersection = AND) minus any excluded_segment_ids (AND NOT). Call after adding or removing segments. Updates audience.record_count. Requires 'discovery' scope.

post/v1/audiences/{id}/count

Request

  • Base URL: https://api.infiniteaudience.ai
  • URL: https://api.infiniteaudience.ai/v1/audiences/{id}/count
  • Auth: HTTP bearer

Path parameters

idstring required

Audience document ID.

Response

Count computed.

audience_idstring
record_countinteger
matched_record_countinteger

Records contributed by matched-subtype segments in this audience's composition. Present only when the composition includes at least one included matched segment; absent for pure-filter or non-matched compositions.

Changes

No recorded changes to this operation across all 1 revision of this API.