---
updatedAt: 2026-07-31T16:56:50.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# UserDB

A UserDB log is generated for each action performed on a UserDB record, such as Read, Add Interests etc.

| Name           | Type      | Description                                                                                                                                                                                                        | Sample Data                            |
| :------------- | :-------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------- |
| IsLastModified | timestamp | Timestamp of when the source log file was last modified in object storage. New in V3, and used to run incremental, de-duplicated transfers so that only files changed since your last successful sync are re-read. | 2026-06-09 14:32:10.000                |
| Id             | string    | Original identifier. A unique ID is generated for each UserDB action fired                                                                                                                                         | "a1b2c3d4e5f6g7h8i9j0"                 |
| UserKey        | string    | Key identifying the user                                                                                                                                                                                           | "ue\_e8be4e08dc0345e1b94157f104a5b2ef" |
| EventCreatedOn | timestamp | Unix timestamp in milliseconds when the event, in this case UserDB action, was performed                                                                                                                           | 1735689600000                          |
| Action         | string    | The action performed to the UserDB record                                                                                                                                                                          | See table below.                       |
| Interest       | json      | Refers to the Interest sent in the [Set Interest API](https://dev.kevel.com/reference/add-interests). Populated when action is "interest"                                                                          | \["Sports Lover", "Finance"]           |
| Custom         | json      | Refers to the Custom Properties sent in the Set [Custom Properties API](https://dev.kevel.com/reference/set-custom-properties-alternative). Populated when action is "custom"                                      | {"age": 25, "gender": "M"}             |
| NetworkId      | string    | Identifier for the network                                                                                                                                                                                         | "12345"                                |

<br />

# Action

The `action` column identifies the type of UserDB write. Possible values:

| Action      | Description                                                    |
| :---------- | :------------------------------------------------------------- |
| cookie      | User record was loaded as the azk cookie (/set endpoint).      |
| consent     | User's consent was added/removed (/consent endpoint).          |
| custom      | Custom Properties sent in the Set User Properties API.         |
| forget      | User record was forgotten (/forgot endpoint).                  |
| interest    | Interest sent in the Set Interest API.                         |
| ip          | IP address was added to user record (/ip endpoint).            |
| retargeting | User record was added to retargeting segment (/rt endpoint).   |
| optout      | User was opted out of UserDB tracking (/optout endpoint).      |
| sync        | User record was synced with a third-party ID (/sync endpoint). |

<br />