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

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

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

## Dataset

Path: `datarobot.db.dataset.search`

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

### Searchable filters

| Field | Type | Operators |
| - | - | - |
| `entity_id` | `string` | equals, contains, startsWith, endsWith, in |
| `datasetId` | `string` | equals, contains, startsWith, endsWith, in |
| `name` | `string` | equals, contains, startsWith, endsWith, in |
| `versionId` | `string` | equals, contains, startsWith, endsWith, in |
| `columnCount` | `number` | equals, gt, gte, lt, lte, in |
| `rowCount` | `number` | equals, gt, gte, lt, lte, in |
| `datasetSize` | `number` | equals, gt, gte, lt, lte, in |
| `createdBy` | `string` | equals, contains, startsWith, endsWith, in |
| `creationDate` | `string` | equals, contains, startsWith, endsWith, in |
| `description` | `string` | equals, contains, startsWith, endsWith, in |
| `processingState` | `string` | equals, contains, startsWith, endsWith, in |
| `dataPersisted` | `boolean` | equals |
| `isSnapshot` | `boolean` | equals |
| `isLatestVersion` | `boolean` | equals |
| `uri` | `string` | equals, contains, startsWith, endsWith, 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).*

***

## Deployment

Path: `datarobot.db.deployment.search`

```ts theme={null}
const rows = await corsair.datarobot.db.deployment.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 |
| `label` | `string` | equals, contains, startsWith, endsWith, in |
| `description` | `string` | equals, contains, startsWith, endsWith, in |
| `status` | `string` | equals, contains, startsWith, endsWith, in |
| `createdAt` | `string` | equals, contains, startsWith, endsWith, in |
| `importance` | `string` | equals, contains, startsWith, endsWith, 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).*

***

## Project

Path: `datarobot.db.project.search`

```ts theme={null}
const rows = await corsair.datarobot.db.project.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 |
| `projectName` | `string` | equals, contains, startsWith, endsWith, in |
| `fileName` | `string` | equals, contains, startsWith, endsWith, in |
| `stage` | `string` | equals, contains, startsWith, endsWith, in |
| `target` | `string` | equals, contains, startsWith, endsWith, in |
| `targetType` | `string` | equals, contains, startsWith, endsWith, in |
| `metric` | `string` | equals, contains, startsWith, endsWith, in |
| `created` | `string` | equals, contains, startsWith, endsWith, in |
| `catalogId` | `string` | equals, contains, startsWith, endsWith, in |
| `catalogVersionId` | `string` | equals, contains, startsWith, endsWith, in |
| `holdoutUnlocked` | `boolean` | equals |
| `unsupervisedMode` | `boolean` | equals |
| `useFeatureDiscovery` | `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).*

***

## Use Case

Path: `datarobot.db.useCase.search`

```ts theme={null}
const rows = await corsair.datarobot.db.useCase.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 |
| `name` | `string` | equals, contains, startsWith, endsWith, in |
| `description` | `string` | equals, contains, startsWith, endsWith, in |
| `created` | `string` | equals, contains, startsWith, endsWith, in |
| `createdAt` | `string` | equals, contains, startsWith, endsWith, in |
| `updated` | `string` | equals, contains, startsWith, endsWith, in |
| `updatedAt` | `string` | equals, contains, startsWith, endsWith, in |
| `tenantId` | `string` | equals, contains, startsWith, endsWith, in |
| `role` | `string` | equals, contains, startsWith, endsWith, in |
| `projectsCount` | `number` | equals, gt, gte, lt, lte, in |
| `datasetsCount` | `number` | equals, gt, gte, lt, lte, in |
| `deploymentsCount` | `number` | equals, gt, gte, lt, lte, in |
| `notebooksCount` | `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).*

***

## User

Path: `datarobot.db.user.search`

```ts theme={null}
const rows = await corsair.datarobot.db.user.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 |
| `name` | `string` | equals, contains, startsWith, endsWith, in |
| `userhash` | `string` | equals, contains, startsWith, endsWith, 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).*

***


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