# NHI Data Model

### 📖 **Key Concepts**

Cakewalk stores **non-human identities (NHIs)** in a dedicated entity that is separate from the **User** model.

NHIs can include identities such as bots, service accounts and AI agents discovered through supported app integrations.

***

### 🗂️ **NHI Fields**

| Field                | Description                                          | Example             |
| -------------------- | ---------------------------------------------------- | ------------------- |
| **Name**             | Display name returned by the source app integration. | `Slackbot`          |
| **External ID**      | Source-system identifier for the discovered NHI.     | `U08ABC123`         |
| **App**              | Application where the identity was discovered.       | `Slack`             |
| **Discovery Source** | Integration that reported the identity.              | `Slack` integration |
| **Discovered On**    | Date the identity was first discovered in Cakewalk.  | `2026-02-20`        |

***

### 🔗 **Relationship to Users and Apps**

* **Users** represent human identities used for lifecycle governance and approvals.
* **NHIs** represent non-human identities discovered from integrations.
* NHIs are shown in:
  * the NHI table under Users, and
  * the NHI tab in app detail views (when data exists).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getcakewalk.io/concepts/data-models/nhi-data-model.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
