audiences

Recompute an audience

Recompute the members of one audience from its definition and return the refreshed record.

post/api/v1/audiences/{slug}/recompute

Request

  • Base URL: https://api.past.dev
  • URL: https://api.past.dev/api/v1/audiences/{slug}/recompute
  • Auth: HTTP bearer

Path parameters

slugstring required

The slug: 2 to 40 lowercase letters, digits and dashes, with a letter or digit at each end.

Response

The refreshed audience.

slugstring required
namestring required
kind'fixed' | 'rule' | 'default' required
memberCountinteger required

The identities the audience reaches now.

memoryCountinteger required

The memories scoped to this audience.

reachesNobodyboolean required

True for a rule audience that matches no identity.

recomputedAtstring date-time nullable required
createdAtstring date-time required
identitiesstring[] nullable required

The ids of a fixed audience, sorted. Null for the other kinds.

Changes

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