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

> Deal-level activity log records

| Property      | Value                                              |
| ------------- | -------------------------------------------------- |
| Dataset code  | `D19`                                              |
| Section code  | `S3` — Collections Cases                           |
| Endpoint path | `/exports/S3/D19`                                  |
| Cursor field  | `created_at`                                       |
| Page size     | `1`–`1000` (default `500`)                         |
| Availability  | Available (v1.2)                                   |
| Pagination    | Via (variable page size — joined through a parent) |

Each row is one record from the deal-level activity log. It is similar to [D17](/api-reference/exports/datasets/d17-borrower-deal-activity-logs) but rolled up at the deal level rather than per-borrower.

## Fields

| Field        | Type           | Description                                          | Notes                            |
| ------------ | -------------- | ---------------------------------------------------- | -------------------------------- |
| `public_id`  | string         | Stable per-row identifier (string-cast Mongo `_id`). | Use as the warehouse primary key |
| `action`     | string         | Action code.                                         |                                  |
| `comment`    | string \| null | Optional comment.                                    |                                  |
| `created_by` | string         | Actor (user id or system tag).                       |                                  |
| `created_at` | string         | Event timestamp (ISO-8601).                          | Cursor field                     |

## Sample row

```json theme={null}
{
  "public_id": "664b1e4f5a6b7c8091203399",
  "action": "note_added",
  "comment": "Left voicemail; will retry tomorrow",
  "created_by": "agent_4471",
  "created_at": "2026-05-22T15:48:21.000Z"
}
```

## Pagination characteristics

This dataset is **via** — it is filtered to your tenant by joining through its parent (`deal_id` → `BorrowerDeals`). On multi-tenant databases a single response may contain **fewer rows than your `limit`** even when more data exists. The cursor still advances correctly — keep paging until `nextCursor` is `null`. See [Pagination → Variable page size](/api-reference/exports/pagination).

## Use cases

* Deal-level event stream.
* Complement to [D17](/api-reference/exports/datasets/d17-borrower-deal-activity-logs) for activity analytics.

***

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