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

# Borrower Account Events

> Significant events raised against a borrower account

| Property      | Value                       |
| ------------- | --------------------------- |
| Dataset code  | `D05`                       |
| Section code  | `S1` — Customers & Accounts |
| Endpoint path | `/exports/S1/D05`           |
| Cursor field  | `created_at`                |
| Page size     | `1`–`1000` (default `500`)  |
| Availability  | Available (v1.2)            |
| Pagination    | Direct (constant page size) |

Each row is one significant event raised against a borrower account — a channel touch, a status change, or a system event.

## Fields

| Field        | Type   | Description                                                | Notes                                                  |
| ------------ | ------ | ---------------------------------------------------------- | ------------------------------------------------------ |
| `public_id`  | string | Stable per-row identifier.                                 | Native `public_id` on this collection                  |
| `channel`    | string | Channel the event came from (`api`, `portal`, `phone`, …). |                                                        |
| `event`      | string | Event code / name.                                         |                                                        |
| `ip_address` | string | IP address of the actor.                                   | **Masked** — first two octets only (e.g. `157.48.0.0`) |
| `created_at` | string | Event timestamp (ISO-8601).                                | Cursor field                                           |

## Sample row

```json theme={null}
{
  "public_id": "evt_7c1e9a0255d3",
  "channel": "portal",
  "event": "status_changed",
  "ip_address": "157.48.0.0",
  "created_at": "2026-05-24T16:09:47.000Z"
}
```

<Warning>
  `ip_address` is always returned masked to its first two octets. The full address is never exposed by this endpoint.
</Warning>

## Pagination characteristics

This dataset is **direct**. On this collection `lender_id` is stored as a string; the service's type-flexible `$in` handles ObjectId/String parity transparently, so each page returns a constant number of rows until the last page.

## Use cases

* Source-of-record for an `account_event`-style stream into your warehouse.
* Behavioural analytics on portal / IVR engagement.

***

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