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

# Deal Views

> Saved deal views (filter/search presets) configured by agents

| Property      | Value                       |
| ------------- | --------------------------- |
| Dataset code  | `D20`                       |
| Section code  | `S3` — Collections Cases    |
| Endpoint path | `/exports/S3/D20`           |
| Cursor field  | `updated_at`                |
| Page size     | `1`–`1000` (default `500`)  |
| Availability  | Available (v1.2)            |
| Pagination    | Direct (constant page size) |

Each row is one saved deal view (a filter/search preset) configured by an agent or admin. Command uses these to recall per-user filters.

## Fields

| Field         | Type           | Description                                          | Notes                            |
| ------------- | -------------- | ---------------------------------------------------- | -------------------------------- |
| `public_id`   | string         | Stable per-row identifier (string-cast Mongo `_id`). | Use as the warehouse primary key |
| `name`        | string         | View name.                                           |                                  |
| `description` | string \| null | Optional description.                                |                                  |
| `is_shared`   | boolean        | `true` if shared across the org.                     |                                  |
| `created_at`  | string         | Record creation timestamp (ISO-8601).                |                                  |
| `updated_at`  | string         | Last-modified timestamp (ISO-8601).                  | Cursor field                     |

## Sample row

```json theme={null}
{
  "public_id": "664b1f5a6b7c8d90a1234400",
  "name": "High-DPD Riyadh",
  "description": "Cases over 60 DPD in the Riyadh region",
  "is_shared": true,
  "created_at": "2026-03-10T09:00:00.000Z",
  "updated_at": "2026-05-15T12:30:00.000Z"
}
```

## Pagination characteristics

This dataset is **direct** — filtered to your tenant by `lender_id` on the collection itself, so each page returns a constant number of rows until the last page.

<Note>
  `D20` is empty in all in-scope tenants at v1.2 ship time. The endpoint works and returns the correct shape — there are simply no rows. The field list is a best-effort draft and may be aligned to confirmed model shapes in a later version if usage picks up.
</Note>

## Use cases

* Backup / migration of saved-search presets.
* Tenancy and configuration audit.

***

<Snippet file="snippets/support-info.mdx" />
