Analytics

Get one user's activity

GET/analytics/users/{user_id}/activity

Returns what one user of your organisation did: the last login, the 10 latest deal views with their total, the current bookmarks, the enquiry total and the 5 latest engagements.

Use GET /analytics/reports/users for a row per user. The user must belong to your organisation and not be deleted, else 404. An entrepreneur gets 403 forbidden. Deals are the ones GET /deals lists for you. Bookmarks (the 50 newest) come from the deals store; the rest from the analytics store, which trails live data. Query parameters are ignored. It only reads.

Path parameters

  • user_idstring (uuid)Required#

    The user's id, as id on a row of GET /analytics/reports/users.

Responses

200

The user's activity.

UserActivity
{
  "data": {
    "user_id": "4c1d7a52-9e3b-4f60-8a21-6b5e0d9c3f14",
    "name": "Una Viewer",
    "type": "User",
    "last_login_at": "2026-11-03T08:00:00Z",
    "views": {
      "count": 2,
      "latest": [
        {
          "deal_id": "9f3b6e2a-4c7d-4a1e-9b2f-8d0c1a3e5f70",
          "name": "Series B - Meridian Renewables",
          "viewed_at": "2026-11-04T09:30:15Z"
        },
        {
          "deal_id": "2d8e4b71-6a3c-4f95-b017-5c9a1e7d3b82",
          "name": "Harbour Logistics Fund",
          "viewed_at": "2026-11-02T09:00:00Z"
        }
      ]
    },
    "bookmarked": [
      {
        "deal_id": "9f3b6e2a-4c7d-4a1e-9b2f-8d0c1a3e5f70",
        "name": "Series B - Meridian Renewables",
        "bookmarked_at": "2026-11-07T12:00:00Z"
      }
    ],
    "enquiries": {
      "count": 1
    },
    "latest_engagements": [
      {
        "deal_id": "9f3b6e2a-4c7d-4a1e-9b2f-8d0c1a3e5f70",
        "name": "Series B - Meridian Renewables",
        "sub_type": "enquiry",
        "occurred_at": "2026-11-05T10:00:00Z"
      }
    ]
  }
}
401

Authentication failed. error.code is one of invalid_token, expired, revoked.

Error
403

Authorization failed. error.code is one of org_disabled, ip_blocked, missing_scope, scope_disabled, user_disabled.

Error
404

Resource not found (error.code = not_found).

Error
429

Rate limit exceeded (error.code = rate_limited).

Error

Examples

curl https://your-org-domain/kong/core/api/v2/analytics/users/{user_id}/activity\
  -H "Authorization: Bearer $HELM_API_KEY"\
  -H "Content-Type: application/json"