> ## 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.

# Concepts

> The words Lurk uses, in the order you meet them: event, rule, unit, receipt, person, project, key, audience, view, hold and proposal.

Lurk has a few words, and each means one thing. They come in the order data flows: an **event** comes in, a **rule** decides, a **unit** changes, and a **receipt** keeps the record. Each term below links to the page that explains it.

## The flow

### Event

Something a person did in your app, named `thing.happened`, like `checkin.scanned` or `order.paid`. Your app sends it with `POST /v1/events`. An event nobody listens for is still recorded. [Events](https://docs.getlurk.com/events.md)

### Rule

A rule says **when** an event happens, **if** conditions hold, at most how many times (**limit**), and what to **do**. It is the only thing that decides. A rule can also have a budget that caps what it gives in a day, week or month. [Rules](https://docs.getlurk.com/rules.md)

### Draft, live and paused

A rule is a **draft** until a person takes it **live**. A draft listens to nothing. A **paused** rule has stopped, and its balances stay as they are. A key or an agent can create and preview a draft, but a person takes it live. [Going live](https://docs.getlurk.com/guides/going-live.md)

### Unit

Anything a person has: points like Beans, progress like a level or a streak, a badge, a perk. A unit has a group (`points`, `progress`, `badge` or `perk`) and **switches** that say what it can do, such as going down, having a cap or expiring. [Units](https://docs.getlurk.com/units.md)

### Receipt

One change in the **Activity** ledger: who it happened to, which rule, person or agent made it, what changed and the balance after. Activity never deletes. An undo writes a new receipt that reverses the first. [Activity](https://docs.getlurk.com/activity.md#what-a-receipt-says)

### Skipped

A rule heard an event and did nothing: a limit was reached, a budget ran out, a condition was false or a supply is gone. The answer to the event says why. It is not an error. [Skipped is an answer](https://docs.getlurk.com/activity.md#skipped-is-an-answer)

## Who and where

### Person

Whoever you send as `user` on an event: your own ID or an email. Lurk makes the person the first time it sees the ID. The API and its paths say `user` where the docs say person. A person has balances, a status and a profile, and belongs to one project. [People](https://docs.getlurk.com/guides/people.md#who-a-person-is)

### Organization and project

An **organization** is your company. It holds **projects**, usually Production for real users and Staging for building and testing. Each project has its own people, units, rules, receipts and keys. [Projects and keys](https://docs.getlurk.com/projects-and-keys.md)

### Key

A bearer token that belongs to one project. A **project key** (`lurk_sk_`) is for your server and the SDKs. An **agent key** (`lurk_ak_`) is for one coding agent, and what it does carries the agent's name. A key is shown once. [Keys](https://docs.getlurk.com/projects-and-keys.md#keys)

### Audience

A group of people that a rule can read in its conditions. It is either a **list** you add people to or a **condition** that works itself out from what people do. [Audiences](https://docs.getlurk.com/guides/people.md#audiences)

### View

A saved, read-only question about your project, such as a count, a chart over time or a ranked list. Your server reads the answer by key. A view is typed data, never SQL. [Views](https://docs.getlurk.com/views.md)

## What waits for a person

### Hold

A change a rule parked for a person to look at, because it was above the rule's `hold_over` amount. Nothing changes for the person until someone gives it or refuses it. [Held changes](https://docs.getlurk.com/guides/going-live.md#held-changes)

### Proposal

A change that a project key, an agent or Lurky suggests, which a person approves or declines. When a key or an agent tries something that needs a person, it gets `approval_required` and a `next_step`. A proposal waits 7 days. After that it reads as `expired` and nobody can decide it: ask again. [What waits for a person](https://docs.getlurk.com/guides/going-live.md#what-waits-for-a-person-and-why)

## Where to go next

* [Quickstart](https://docs.getlurk.com/quickstart.md): send your first event.
* [Build with an agent](https://docs.getlurk.com/build-with-an-agent.md): let a coding agent draft the rules.
* [Rate limits](https://docs.getlurk.com/rate-limits.md): how fast you can call Lurk.


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