---
title: "User stats"
icon : "api"
description: "Read a customer-facing stats summary for one user."
---

# User stats

<Endpoint
  method="GET"
  path  ="https://api.envyauth.my.id/api/v3/projects/:project_uuid/users/:identifier/stats"
/>

Returns the same summary the bot's panel **Get Stats** button shows to a customer. Cached server-side per `(project_id, identifier)`.

## Request

```bash
curl https://api.envyauth.my.id/api/v3/projects/<project_uuid>/users/<identifier>/stats \
  -H "Authorization: Bearer YOUR_API_TOKEN"
```

## Response

<CodeGroup tabs={[
  {
    title: '200 OK',
    lang : 'json',
    code : '{\n  "success": true,\n  "data": {\n    "stats": {\n      "user_id":          "uuid",\n      "status":           "active",\n      "total_executions": 259,\n      "total_resets":     2,\n      "last_seen_at":     1748419200,\n      "last_executor":    "Synapse X",\n      "last_place_id":    "606849621",\n      "key_expire":       1761868800,\n      "fingerprint_set":  true,\n      "key":              "<32-char>",\n      "last_reset_at":    1748332800,\n      "banned":           false,\n      "ban_reason":       null,\n      "user_note":        "Premium",\n      "active_sessions":  1\n    }\n  },\n  "requestid": "uuid"\n}',
  },
  {
    title: '404 Not Found',
    lang : 'json',
    code : '{\n  "success": false,\n  "error": "No user matches this identifier in this project",\n  "code":  "NOT_FOUND",\n  "requestid": "uuid"\n}',
  },
]} />

## Fields

| Field | Type | Meaning |
|---|---|---|
| `status` | string | One of `active`, `no_hwid`, `reset`, `banned`. |
| `total_executions` | number | Cumulative count of script executions. |
| `total_resets` | number | Cumulative HWID resets the user has performed. |
| `last_seen_at` | number \| null | Unix seconds of the last successful loader call. |
| `last_executor` | string \| null | Executor label recorded on the last call. |
| `last_place_id` | string \| null | Roblox place ID recorded on the last call. |
| `key_expire` | number \| null | Unix seconds when the key expires. `null` means permanent. |
| `fingerprint_set` | boolean | `true` when the user has a bound HWID. |
| `key` | string | The user's 32-character script key. |
| `last_reset_at` | number \| null | Unix seconds of the last HWID reset. Drives the cooldown timer. |
| `banned` | boolean | Effective ban state. `true` if the user is banned or has a `ban_until` in the future. |
| `ban_reason` | string \| null | Reason stored on the row, if the user is banned. |
| `user_note` | string \| null | Internal note attached to the key on the dashboard. |
| `active_sessions` | number | Count of live sessions the user currently has. |
