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

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

The RevAI plugin syncs data locally. Use `corsair.revai.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>

## Job

Path: `revai.db.job.search`

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

### Searchable filters

| Field | Type | Operators |
| - | - | - |
| `entity_id` | `string` | equals, contains, startsWith, endsWith, in |
| `id` | `string` | equals, contains, startsWith, endsWith, in |
| `created_on` | `date` | equals, before, after, between |
| `completed_on` | `date` | equals, before, after, between |
| `name` | `string` | equals, contains, startsWith, endsWith, in |
| `metadata` | `string` | equals, contains, startsWith, endsWith, in |
| `media_url` | `string` | equals, contains, startsWith, endsWith, in |
| `callback_url` | `string` | equals, contains, startsWith, endsWith, in |
| `language` | `string` | equals, contains, startsWith, endsWith, in |
| `transcriber` | `string` | equals, contains, startsWith, endsWith, in |
| `failure` | `string` | equals, contains, startsWith, endsWith, in |
| `failure_detail` | `string` | equals, contains, startsWith, endsWith, in |
| `duration_seconds` | `number` | equals, gt, gte, lt, lte, in |
| `stream_duration_seconds` | `number` | equals, gt, gte, lt, lte, in |
| `delete_after_seconds` | `number` | equals, gt, gte, lt, lte, in |
| `skip_diarization` | `boolean` | equals |
| `skip_postprocessing` | `boolean` | equals |
| `skip_punctuation` | `boolean` | equals |
| `remove_disfluencies` | `boolean` | equals |
| `remove_atmospherics` | `boolean` | equals |
| `filter_profanity` | `boolean` | equals |
| `custom_vocabulary_id` | `string` | equals, contains, startsWith, endsWith, in |
| `speaker_channels_count` | `number` | equals, gt, gte, lt, lte, in |
| `enable_multilingual` | `boolean` | equals |

*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).*

***


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