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

# Pattern matching

> Use pattern matching to filter and query data across Neuron API endpoints.

Many Neuron API endpoints support **pattern matching** to help you filter and query data efficiently without fetching everything.

## Query parameters

Use the `filter` query parameter with a pattern expression:

```text theme={null}
GET /v1/resources?filter=name:starts_with:acme
```

## Supported operators

| Operator      | Description         | Example                        |
| ------------- | ------------------- | ------------------------------ |
| `eq`          | Exact match         | `status:eq:active`             |
| `neq`         | Not equal           | `status:neq:archived`          |
| `starts_with` | Prefix match        | `name:starts_with:acme`        |
| `contains`    | Substring match     | `description:contains:payment` |
| `gt` / `lt`   | Greater / less than | `amount:gt:100`                |
| `in`          | Match any of a list | `type:in:invoice,receipt`      |

## Combining filters

Chain multiple filters using `&`:

```text theme={null}
GET /v1/resources?filter=status:eq:active&filter=type:in:invoice,receipt
```

## Wildcards

Use `*` as a wildcard in string patterns:

```text theme={null}
GET /v1/resources?filter=name:contains:acme*corp
```
