ibl-data-manager (3.59.0-ai-plus)
API for iblai
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/ai-analytics/overview/orgs/{org}/active-users
https://base.manager.iblai.app/api/ai-analytics/overview/orgs/{org}/active-users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/overview/orgs/{org}/active-users?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 average grade value for platform, course, or user.
This endpoint returns the average grade at different levels:
- Platform level: Average grade across all courses
- Course level: Average grade for a specific course
- Learner level: Average grade for a specific learner
- Course-learner level: Grade for a specific learner in a specific course
Query Parameters: course_id (str, optional): Filter by course ID learner_id (str, optional): Filter by username or email
Returns: The average grade value based on the specified filters.
Access Control:
- Platform admins can access any grade data
- Learners can access their own grade data
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/overview/orgs/{org}/average-grade
https://base.manager.iblai.app/api/ai-analytics/overview/orgs/{org}/average-grade
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/overview/orgs/{org}/average-grade?department_id=0&format=json&include_main_platform=true' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "data": { "average": 0.1 } }
Request
Get course completion summary metrics over time.
This endpoint provides completion statistics across the platform over a specified time period, including daily completion counts and overall metrics.
Query Parameters: start_date (str): Start date for the time range (ISO format) end_date (str): End date for the time range (ISO format)
Returns: Completion data including:
- Daily completion counts over time
- Total unique user count
- Total completion count
- Completion percentage
- Change metrics compared to previous periods
Default time range is the last 7 days if no dates are specified.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/overview/orgs/{org}/courses/completions
https://base.manager.iblai.app/api/ai-analytics/overview/orgs/{org}/courses/completions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/overview/orgs/{org}/courses/completions?department_id=0&end_date=string&format=json&include_main_platform=true&start_date=string' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "data": { "overtime": { … }, "total_user_count": 0, "completed_count": 0, "completed_percent": 0.1 }, "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 } }