> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getlurk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Audiences

> A group of people that a rule, a view or a pass reads: a list you fill, or a condition that keeps itself up to date.

An audience is a group of people that a rule, a view or a pass reads. `POST /v1/audiences` makes one of two kinds. A **list** is people you add with `POST /v1/audiences/{id}/users`, up to 1,000 at a time. A **condition** audience keeps itself up to date from `conditions`, 1 to 10 of them, and a person is in it when all of them hold.

| Condition | What it says |
| - | - |
| `active` (`days`, `within_days`) | Has events (a device's do not count) on at least `days` different days in the last `within_days` days. |
| `first_seen` (`within_days`) | Lurk first heard of the person in the last `within_days` days. |
| `inactive` (`days`) | Known for longer than `days` days, with no event in the last `days` days. |
| `balance` (`unit`, `gte`) | Holds at least `gte` of the unit. |
| `property_total` (`event`, `property`, `gte`, `within_days`) | The number `property` of the person's `event` events adds up to at least `gte` in the last `within_days` days. Money is in cents. |

* `active`, `inactive` and `property_total` count only events your server sent, never a device's.
* A new condition audience starts empty. The worker fills it with people who match. `refreshed_at` says when its members were last worked out, and a rule sees them as they stood then.
* A project can have 100 condition audiences. Lists are not counted. Past 100, creating another is `validation_failed`.
* The key defaults to a slug of the name and must not be taken. Only a list takes people by hand: a condition audience keeps its own members.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.