# User

Type: object

Schema: [User](https://api.prompteasy.eu/docs/api/models/user/index.md)

- `id` (optional)
  Type: integer
  
  Example:
  
  ```json
  1
  ```

- `name` (optional)
  Type: string
  
  Example:
  
  ```json
  "John Doe"
  ```

- `email` (optional)
  Type: string
  
  Example:
  
  ```json
  "foo@bar.invalid"
  ```

- `email_verified_at` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2025-12-02T18:24:52+00:00"
  ```

- `user_level` (optional)
  Type: string
  
  Example:
  
  ```json
  "moderator"
  ```

- `superadmin_capabilities` (optional)
  Type: array; nullable
  
  Granular capabilities array for superadmin users (operative, finance, legal)
  
  Example:
  
  ```json
  [
    "operative",
    "finance",
    "legal"
  ]
  ```
  
  Items:
    Type: string
    
    enum: ["operative","finance","legal"]

- `created_at` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2025-12-02T18:24:52+00:00"
  ```

- `updated_at` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2025-12-02T18:24:52+00:00"
  ```

- `tenant_id` (optional)
  Type: integer
  
  Example:
  
  ```json
  1
  ```

- `last_active_at` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2025-12-02T18:24:52+00:00"
  ```

- `aup_accepted_at` (optional)
  Type: string, date-time; nullable
  
  Example:
  
  ```json
  "2026-08-15T12:00:00+00:00"
  ```

- `aup_version_number` (optional)
  Type: integer; nullable
  
  Example:
  
  ```json
  1
  ```

- `tokens` (optional)
  Type: array
  
  In some cases superadmin can see user tokens
  
  Items:
    Reference: [TokenInfo](https://api.prompteasy.eu/docs/api/models/tokeninfo/index.md); Type: object