audiences

Read one audience

Return one audience by slug, with its member count, memory count and definition. The slug project returns the default audience.

get/api/v1/audiences/{slug}

Request

  • Base URL: https://api.past.dev
  • URL: https://api.past.dev/api/v1/audiences/{slug}
  • 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 requested 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.