ibl-data-manager (3.59.0-ai-plus)
API for iblai
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/analytics/time-spent/user/
https://base.manager.iblai.app/api/analytics/time-spent/user/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/analytics/time-spent/user/?course_id=string&end_date=2019-08-24&include_main_platform=true&learner_id=string&mentor_uuid=string&platform=string&session_uuid=string&start_date=2019-08-24&url=string'
{ "total_seconds": 0 }
Request
Get active user counts over time.
This endpoint provides daily counts of active users (users with known activity) over a specified time period.
Query Parameters: start_date (str, optional): Start date for the time range (ISO format) end_date (str, optional): End date for the time range (ISO format)
Returns: Daily active user counts over the specified time period, with change metrics compared to previous periods.
Default time range is the last 7 days if no dates are specified.
An active user is defined as a user with any activity within the past 30 days.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/audience/orgs/{org}/active-users/over-time
https://base.manager.iblai.app/api/audience/orgs/{org}/active-users/over-time
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/audience/orgs/{org}/active-users/over-time?department_id=0&end_date=string&format=json&include_main_platform=true&start_date=string' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "data": { "property1": null, "property2": null }, "total": 0, "meta": { "total": 0, "change_range": 0, "change_last_seven_days": 0, "change_last_thirty_days": 0, "change_last_seven_days_percent": 0, "change_last_thirty_days_percent": 0, "change_range_percent": 0.1 } }
Request
Get active user counts on a per-course basis.
This endpoint provides counts of active users for each course within the specified date range.
Query Parameters: start_date (str, optional): Start date for filtering (ISO format) end_date (str, optional): End date for filtering (ISO format)
Returns: A list of courses with their active user counts.
Default time range is the last 7 days if no dates are specified.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/audience/orgs/{org}/active-users/per-course
https://base.manager.iblai.app/api/audience/orgs/{org}/active-users/per-course
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/audience/orgs/{org}/active-users/per-course?department_id=0&end_date=string&format=json&include_main_platform=true&start_date=string' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "data": [ { … } ], "total": 0, "meta": { "total": 0, "change_range": 0, "change_last_seven_days": 0, "change_last_thirty_days": 0, "change_last_seven_days_percent": 0, "change_last_thirty_days_percent": 0, "change_range_percent": 0.1 } }