curl -X GET "https://production.runalloy.com/analytics/detail-usage-user?userId={{userId}}" \
-H "Authorization: bearer YOUR_API_KEY" \
-H "x-api-version: 2025-09"
{
"data": {
"userName": "[email protected]",
"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": "[email protected]",
"isDeleted": false,
"date": "2024-03-10",
"userId": "659d28e18c35f07db18fcd8c",
"userCreatedDate": "2024-01-09",
"apiActions": 0,
"count": 7,
"appActions": 7
},
{
"month": "Jun-24",
"userName": "[email protected]",
"isDeleted": false,
"date": "2024-06-30",
"userId": "659d28e18c35f07db18fcd8c",
"userCreatedDate": "2024-01-09",
"apiActions": 0,
"count": 2,
"appActions": 2
},
{
"month": "Aug-24",
"userName": "[email protected]",
"isDeleted": false,
"date": "2024-08-05",
"userId": "659d28e18c35f07db18fcd8c",
"userCreatedDate": "2024-01-09",
"apiActions": 0,
"count": 22,
"appActions": 22
},
{
"month": "Sep-24",
"userName": "[email protected]",
"isDeleted": false,
"date": "2024-09-29",
"userId": "659d28e18c35f07db18fcd8c",
"userCreatedDate": "2024-01-09",
"apiActions": 0,
"count": 2,
"appActions": 2
}
],
"timePeriod": "current-billing-cycle"
}
}Retrieves usage data for a specific user.
curl -X GET "https://production.runalloy.com/analytics/detail-usage-user?userId={{userId}}" \
-H "Authorization: bearer YOUR_API_KEY" \
-H "x-api-version: 2025-09"
{
"data": {
"userName": "[email protected]",
"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": "[email protected]",
"isDeleted": false,
"date": "2024-03-10",
"userId": "659d28e18c35f07db18fcd8c",
"userCreatedDate": "2024-01-09",
"apiActions": 0,
"count": 7,
"appActions": 7
},
{
"month": "Jun-24",
"userName": "[email protected]",
"isDeleted": false,
"date": "2024-06-30",
"userId": "659d28e18c35f07db18fcd8c",
"userCreatedDate": "2024-01-09",
"apiActions": 0,
"count": 2,
"appActions": 2
},
{
"month": "Aug-24",
"userName": "[email protected]",
"isDeleted": false,
"date": "2024-08-05",
"userId": "659d28e18c35f07db18fcd8c",
"userCreatedDate": "2024-01-09",
"apiActions": 0,
"count": 22,
"appActions": 22
},
{
"month": "Sep-24",
"userName": "[email protected]",
"isDeleted": false,
"date": "2024-09-29",
"userId": "659d28e18c35f07db18fcd8c",
"userCreatedDate": "2024-01-09",
"apiActions": 0,
"count": 2,
"appActions": 2
}
],
"timePeriod": "current-billing-cycle"
}
}The version of the API to use. The current API version is 2025-09.
The ID of the user.
"y66wqtzdeu94q5xawwjxc"
The time period for usage data.
7-days, 30-days, 3-months, current-billing-cycle "7-days"
Success (Example)