TrackMe API Docs
API ReferenceAdmin: Metrics

User signup growth over time.

Monthly series of `signups` for the last N months. `?months=` defaults to 7 (range 1–24).

GET
/api/v1/admin/dashboard/user-growth

Authorization

bearerAuth
AuthorizationBearer <token>

AdonisJS access-token guard (middleware.auth({ guards: ["api"] })). Send Authorization: Bearer <oat_…> (issued by /auth/register, /auth/login, /auth/social/{google,apple}, or /auth/guest).

In: header

Query Parameters

months?number

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/admin/dashboard/user-growth"
{  "data": {    "series": [      {        "bucket": "2026-05-14",        "count": 18      },      {        "bucket": "2026-05-15",        "count": 24      },      {        "bucket": "2026-05-16",        "count": 31      },      {        "bucket": "2026-05-17",        "count": 22      },      {        "bucket": "2026-05-18",        "count": 27      },      {        "bucket": "2026-05-19",        "count": 35      },      {        "bucket": "2026-05-20",        "count": 41      }    ]  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}
{  "error": {    "code": "AUTH_REQUIRED",    "message": "Authentication is required to access this resource."  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}
{  "error": {    "code": "FORBIDDEN",    "message": "You are not allowed to perform this action."  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}
{  "error": {    "code": "VALIDATION_ERROR",    "message": "One or more fields are invalid.",    "fields": [      {        "path": "email",        "rule": "email",        "message": "Must be a valid email address."      }    ]  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}