> For the complete documentation index, see [llms.txt](https://docs.visualsentinel.com/llms.txt)

# User data model

The User shape in the Visual Sentinel REST API.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (uuid) | No |   |
| `name` | string | No |   |
| `email` | string (email) | No |   |
| `role` | string | No | One of: `OWNER`, `ADMIN`, `MEMBER`, `VIEWER`. |
| `createdAt` | string (date-time) | No |   |

## Used by

- [Get current user](https://docs.visualsentinel.com/reference/authentication.md#get-current-user): `GET /api/auth/me`
- [AuthResponse](https://docs.visualsentinel.com/reference/models/auth-response.md) data model

Generated from the OpenAPI 3.1 specification at [https://docs.visualsentinel.com/openapi.json](https://docs.visualsentinel.com/openapi.json).
