ibl-data-manager (3.59.0-ai-plus)
API for iblai
Request
Get video engagement metrics for a specific course.
This endpoint provides detailed video engagement statistics for a single course, including view counts, completion rates, and time spent on videos.
Query Parameters: course_id (str): The course ID to get video engagement data for
Returns: Detailed video engagement metrics for the specified course.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/engagement/orgs/{org}/courses/{course_id}/videos/
https://base.manager.iblai.app/api/ai-analytics/engagement/orgs/{org}/courses/{course_id}/videos/
- 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/engagement/orgs/{org}/courses/{course_id}/videos/?department_id=0&format=json&include_main_platform=true' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "data": [ { … } ] }
Request
Get video watch counts over time.
This endpoint provides daily counts of videos watched over a specified time period, with options to filter by course or user.
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) course_id (str, optional): Filter by course ID user_id (str, optional): Filter by username or email
Returns: Daily video watch counts over the specified time period.
Default time range is the last 7 days if no dates are specified.
Access Control:
- Platform admins can access any video watch data
- Learners can access their own video watch data
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/engagement/orgs/{org}/courses/{course_id}/videos/over-time
https://base.manager.iblai.app/api/ai-analytics/engagement/orgs/{org}/courses/{course_id}/videos/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/ai-analytics/engagement/orgs/{org}/courses/{course_id}/videos/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 }
Request
Get a summary of video watch statistics for a specific course.
This endpoint provides a structured summary of video watch data for a course, organized in a tree-like format by course sections and subsections.
Query Parameters: course_id (str): The course ID to get video summary for
Returns: A hierarchical structure of video watch data for the course, including:
- Section and subsection organization
- Video identification and metadata
- Watch counts and completion rates
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/engagement/orgs/{org}/courses/{course_id}/videos/summary
https://base.manager.iblai.app/api/ai-analytics/engagement/orgs/{org}/courses/{course_id}/videos/summary
- 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/engagement/orgs/{org}/courses/{course_id}/videos/summary?department_id=0&format=json&include_main_platform=true' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "data": [ { … } ] }