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

# Database

> Bouncer local sync: searchable entities, `.search()` filters, and operators.

The Bouncer plugin syncs data locally. Use `corsair.bouncer.db.<entity>.search({ data, limit?, offset? })` with the filters listed per entity.

<Info>
  **New to Corsair?** See [database operations](/concepts/database), [data synchronization](/concepts/integrations), and [multi-tenancy](/concepts/multi-tenancy).
</Info>

## Batch Verifications

Path: `bouncer.db.batchVerifications.search`

```ts theme={null}
const rows = await corsair.bouncer.db.batchVerifications.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});
```

### Searchable filters

| Field                | Type     | Operators                                  |
| -------------------- | -------- | ------------------------------------------ |
| `entity_id`          | `string` | equals, contains, startsWith, endsWith, in |
| `batchId`            | `string` | equals, contains, startsWith, endsWith, in |
| `status`             | `string` | equals, contains, startsWith, endsWith, in |
| `quantity`           | `number` | equals, gt, gte, lt, lte, in               |
| `duplicates`         | `number` | equals, gt, gte, lt, lte, in               |
| `processed`          | `number` | equals, gt, gte, lt, lte, in               |
| `credits`            | `number` | equals, gt, gte, lt, lte, in               |
| `statsDeliverable`   | `number` | equals, gt, gte, lt, lte, in               |
| `statsRisky`         | `number` | equals, gt, gte, lt, lte, in               |
| `statsUndeliverable` | `number` | equals, gt, gte, lt, lte, in               |
| `statsUnknown`       | `number` | equals, gt, gte, lt, lte, in               |
| `createdAt`          | `date`   | equals, before, after, between             |
| `startedAt`          | `date`   | equals, before, after, between             |
| `completedAt`        | `date`   | equals, before, after, between             |

*Every `.search()` also accepts `limit` and `offset` for pagination. `.list()` is available on the same path without the `.search` suffix in code — see [database operations](/concepts/database).*

***

## Domain Verifications

Path: `bouncer.db.domainVerifications.search`

```ts theme={null}
const rows = await corsair.bouncer.db.domainVerifications.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});
```

### Searchable filters

| Field       | Type     | Operators                                  |
| ----------- | -------- | ------------------------------------------ |
| `entity_id` | `string` | equals, contains, startsWith, endsWith, in |
| `domain`    | `string` | equals, contains, startsWith, endsWith, in |
| `dnsType`   | `string` | equals, contains, startsWith, endsWith, in |
| `dnsRecord` | `string` | equals, contains, startsWith, endsWith, in |
| `provider`  | `string` | equals, contains, startsWith, endsWith, in |
| `toxic`     | `string` | equals, contains, startsWith, endsWith, in |
| `checkedAt` | `date`   | equals, before, after, between             |

*Every `.search()` also accepts `limit` and `offset` for pagination. `.list()` is available on the same path without the `.search` suffix in code — see [database operations](/concepts/database).*

***

## Email Verifications

Path: `bouncer.db.emailVerifications.search`

```ts theme={null}
const rows = await corsair.bouncer.db.emailVerifications.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});
```

### Searchable filters

| Field        | Type     | Operators                                  |
| ------------ | -------- | ------------------------------------------ |
| `entity_id`  | `string` | equals, contains, startsWith, endsWith, in |
| `email`      | `string` | equals, contains, startsWith, endsWith, in |
| `domainName` | `string` | equals, contains, startsWith, endsWith, in |
| `dnsType`    | `string` | equals, contains, startsWith, endsWith, in |
| `dnsRecord`  | `string` | equals, contains, startsWith, endsWith, in |
| `provider`   | `string` | equals, contains, startsWith, endsWith, in |
| `score`      | `number` | equals, gt, gte, lt, lte, in               |
| `toxic`      | `string` | equals, contains, startsWith, endsWith, in |
| `toxicity`   | `number` | equals, gt, gte, lt, lte, in               |
| `didYouMean` | `string` | equals, contains, startsWith, endsWith, in |
| `retryAfter` | `date`   | equals, before, after, between             |
| `batchId`    | `string` | equals, contains, startsWith, endsWith, in |
| `checkedAt`  | `date`   | equals, before, after, between             |

*Every `.search()` also accepts `limit` and `offset` for pagination. `.list()` is available on the same path without the `.search` suffix in code — see [database operations](/concepts/database).*

***

## Toxicity Jobs

Path: `bouncer.db.toxicityJobs.search`

```ts theme={null}
const rows = await corsair.bouncer.db.toxicityJobs.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});
```

### Searchable filters

| Field       | Type     | Operators                                  |
| ----------- | -------- | ------------------------------------------ |
| `entity_id` | `string` | equals, contains, startsWith, endsWith, in |
| `jobId`     | `string` | equals, contains, startsWith, endsWith, in |
| `status`    | `string` | equals, contains, startsWith, endsWith, in |
| `createdAt` | `date`   | equals, before, after, between             |

*Every `.search()` also accepts `limit` and `offset` for pagination. `.list()` is available on the same path without the `.search` suffix in code — see [database operations](/concepts/database).*

***

## Toxicity Results

Path: `bouncer.db.toxicityResults.search`

```ts theme={null}
const rows = await corsair.bouncer.db.toxicityResults.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});
```

### Searchable filters

| Field       | Type     | Operators                                  |
| ----------- | -------- | ------------------------------------------ |
| `entity_id` | `string` | equals, contains, startsWith, endsWith, in |
| `jobId`     | `string` | equals, contains, startsWith, endsWith, in |
| `email`     | `string` | equals, contains, startsWith, endsWith, in |
| `toxicity`  | `number` | equals, gt, gte, lt, lte, in               |

*Every `.search()` also accepts `limit` and `offset` for pagination. `.list()` is available on the same path without the `.search` suffix in code — see [database operations](/concepts/database).*

***
