ibl-data-manager (3.59.0-ai-plus)
API for iblai
Request
Get time spent statistics on a per-course basis.
This endpoint provides a paginated list of courses with the total time spent by users in each course.
Query Parameters: start_date (str, optional): Start date for filtering (ISO format) end_date (str, optional): End date for filtering (ISO format) page (int, optional): Page number for pagination length (int, optional): Number of items per page
Returns: A paginated list of courses with:
- Course identification (ID and name)
- Total time spent (in seconds)
- Formatted time spent (human-readable)
- Percentage of total platform time
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/overview/orgs/{org}/most-active-courses
https://base.manager.iblai.app/api/overview/orgs/{org}/most-active-courses
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/overview/orgs/{org}/most-active-courses?department_id=0&end_date=string&format=json&include_main_platform=true&length=0&page=0&start_date=string' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "data": [ { … } ], "pagination": { "totalItems": 0, "currentPage": 0, "perPage": 0, "totalPages": 0 } }
Request
Get registered user counts over time.
This endpoint provides daily counts of new user registrations 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 registration 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.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/overview/orgs/{org}/registered-users
https://base.manager.iblai.app/api/overview/orgs/{org}/registered-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/overview/orgs/{org}/registered-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/performance/orgs/{org}/courses/{course_id}/grading/average
https://base.manager.iblai.app/api/performance/orgs/{org}/courses/{course_id}/grading/average
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/performance/orgs/{org}/courses/{course_id}/grading/average?department_id=0&format=json&include_main_platform=true' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "data": { "average": 0.1 } }