API for iblai
- Get Content Details
ibl-data-manager (4.84.1-ai-plus)
Request
Retrieve aggregated analytics for catalog content (courses, programs, pathways, skills).
Returns both summary statistics and paginated list of content items with individual analytics. When a platform_key is provided, results are filtered to show only content consumed by learners associated with that platform.
Metrics supported:
courseorcourses: Course analytics with time spentprogramorprograms: Program analyticspathwayorpathways: Pathway analyticsskillorskills: Skill analytics
Platform Filtering:
- Without platform_key: Shows global analytics across all platforms
- With platform_key: Shows analytics filtered by platform learners only
Time Spent Analytics:
- Platform-level: Total time spent across all content and average per learner
- Course-level: Total time spent per course and average per enrolled learner
- Time values are provided in seconds for precision
- Overtime: Time series data showing platform time spent over last 7 days (courses only, and include_overtime=true)
External Content:
- Content not owned by the requesting platform but used by its learners is marked as "external"
- External content has limited metadata exposure for privacy
today- Today only7d- Last 7 days30d- Last 30 days90d- Last 90 daysall_time- All timecustom- Custom date range
day- dayhour- hourweek- weekmonth- month
The type of content to retrieve (course, program, pathway, skill)
course- coursecourses- coursesprogram- programprograms- programspathway- pathwaypathways- pathwaysskill- skillskills- skills
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/analytics/content/
- https://base.manager.iblai.app/api/analytics/content/
- 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/content/?date_filter=today&end_date=2019-08-24&granularity=day&include_overtime=false&limit=20&mentor_unique_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&metric=course&page=1&platform_key=string&start_date=2019-08-24' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "metric": "string", "summary": { "totals": { … }, "averages": { … }, "overtime": [ … ] }, "pagination": { "count": 0, "next": "string", "previous": "string", "current_page": 0, "total_pages": 0 }, "results": [ { … } ] }
today- Today only7d- Last 7 days30d- Last 30 days90d- Last 90 daysall_time- All timecustom- Custom date range
Content type to fetch (course, program, pathway, skill)
course- coursecourses- coursesprogram- programprograms- programspathway- pathwaypathways- pathwaysskill- skillskills- skills
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/analytics/content/details/{content_id}/
- https://base.manager.iblai.app/api/analytics/content/details/{content_id}/
- 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/content/details/{content_id}/?date_filter=today&end_date=2019-08-24&limit=10&mentor_unique_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&metric=course&page=1&platform_key=string&search=string&start_date=2019-08-24&time_metric=string' \
-H 'Authorization: YOUR_API_KEY_HERE'Serializer for the content information block.
Serializer for summary data in the content details endpoint.
Total counts related to the content item
Average values related to the content item
Serializer for pagination information in content details response.
Date the learner enrolled in the content
{ "content_info": { "id": "string", "name": "string", "type": "string", "slug": "string", "platform": "string", "external": true, "metadata": { … } }, "summary": { "totals": { … }, "averages": { … }, "time_series": { … } }, "pagination": { "count": 0, "next": "string", "previous": "string", "current_page": 0, "total_pages": 0 }, "learners": [ { … } ] }
today- Today only7d- Last 7 days30d- Last 30 days90d- Last 90 daysall_time- All timecustom- Custom date range
day- dayhour- hourweek- weekmonth- month
conversations- Conversations over timeheadline- Headline metrics for conversations (avg messages per conversation, avg rating)
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/analytics/conversations/
- https://base.manager.iblai.app/api/analytics/conversations/
- 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/conversations/?date_filter=today&end_date=2019-08-24&granularity=day&mentor_unique_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&metric=conversations&platform_key=string&start_date=2019-08-24' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "metric": "string", "points": [ { … } ] }