# Labels on monitor events

Every change a monitor reports says what its pages are, so a program can route an event without fetching anything.

Every `monitor.changed` event carries labels for what changed:

| Event | Where the labels are |
|---|---|
| A query monitor found new results | On each entry of `data.new_results`: `topic`, `page_type`, `source_hint`, `label_confidence` |
| A page monitor found the page changed | On `data`: `topic`, `page_type`, `source_hint`, `label_confidence` |

They are the labels an [extracted page](https://millionshort.com/docs/extract/labels) carries, with the same slugs: 24 topics, 23 page types, and the [sources](https://millionshort.com/docs/search/sources).

## Where each label comes from

- **A page event** carries the labels of the page as it is now.
- **A new search result** carries the `topic` and `page_type` the search gave it where it gave them, and otherwise ones read from its title and snippet. Its `source_hint` is the source it came from.
- A label that is a known fact rather than a reading has a `null` confidence. Any label can be `null`, as on Extract.

Labels are free and never fail a check.

## Using them

- Send health pages to one queue and everything else to another, by `topic`.
- Tell a news article from a forum thread about the same subject, by `page_type`.
- Decide where to search for more of the same, by `source_hint`.

To narrow what a query monitor watches in the first place, put page types and topics in its `filters`, as on a [search](https://millionshort.com/docs/search/topics-and-page-types). The fields of an event are listed under [Parameters](https://millionshort.com/docs/monitor/parameters#events).
