# IdentityActivity

The IdentityActivity type of the TypeScript SDK, which accounts.listIdentitiesByActivity take or answer.

```ts
type IdentityActivity = {
  activityDay: string | null
  id: string
  primaryAddress: string | null
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `activityDay` | `string` \| `null` | The UTC date (YYYY-MM-DD) of the identity's latest recorded client activity; null means no recorded activity. Show it as returned, not converted to a local timezone |
| `id` | `string` | Identity ULID |
| `primaryAddress` | `string` \| `null` | The identity's primary address, or null for one without |

## Used by

| Method | What it does |
| --- | --- |
| [`accounts.listIdentitiesByActivity`](/docs/sdks/typescript/accounts/list-identities-by-activity) | List an account's identities by recent activity |
