Skip to main content
GET
/
analytics
/
detail-usage-user
Get Analytics Detailed Usage By User
curl --request GET \
  --url https://production.runalloy.com/analytics/detail-usage-user \
  --header 'Authorization: <authorization>' \
  --header 'x-api-version: <x-api-version>'
{
  "data": {
    "userName": "demo@runalloy.com",
    "userId": "659d28e18c35f07db18fcd8c",
    "userCreatedDate": "2024-01-09T11:07:13.963Z",
    "isDeleted": false,
    "startDate": "2023-12-27",
    "endDate": "2024-12-27",
    "totalActions": 0,
    "data": [
      {
        "month": "Mar-24",
        "userName": "demo@runalloy.com",
        "isDeleted": false,
        "date": "2024-03-10",
        "userId": "659d28e18c35f07db18fcd8c",
        "userCreatedDate": "2024-01-09",
        "apiActions": 0,
        "count": 7,
        "appActions": 7
      },
      {
        "month": "Jun-24",
        "userName": "demo@runalloy.com",
        "isDeleted": false,
        "date": "2024-06-30",
        "userId": "659d28e18c35f07db18fcd8c",
        "userCreatedDate": "2024-01-09",
        "apiActions": 0,
        "count": 2,
        "appActions": 2
      },
      {
        "month": "Aug-24",
        "userName": "demo@runalloy.com",
        "isDeleted": false,
        "date": "2024-08-05",
        "userId": "659d28e18c35f07db18fcd8c",
        "userCreatedDate": "2024-01-09",
        "apiActions": 0,
        "count": 22,
        "appActions": 22
      },
      {
        "month": "Sep-24",
        "userName": "demo@runalloy.com",
        "isDeleted": false,
        "date": "2024-09-29",
        "userId": "659d28e18c35f07db18fcd8c",
        "userCreatedDate": "2024-01-09",
        "apiActions": 0,
        "count": 2,
        "appActions": 2
      }
    ],
    "timePeriod": "current-billing-cycle"
  }
}

Headers

Authorization
string
default:bearer YOUR_API_KEY
required
x-api-version
string
default:2025-09
required

The version of the API to use. The current API version is 2025-09.

Query Parameters

userId
string
required

The ID of the user.

Example:

"y66wqtzdeu94q5xawwjxc"

timePeriod
enum<string>

The time period for usage data.

Available options:
7-days,
30-days,
3-months,
current-billing-cycle
Example:

"7-days"

Response

200 - application/json

Success (Example)

The response is of type any.

I