Skip to content

ibl-data-manager (4.84.1-ai-plus)

API for iblai

Download OpenAPI description
Languages
Servers
Mock server
https://docs.ibl.ai/_mock/apis/ibl/
https://base.manager.iblai.app/

ai-account

Operations

ai-analytics

Operations

Get total time spent for current user

Request

Returns the total time spent (in seconds) for the current authenticated user. Can be filtered by platform, date range, course ID, URL, mentor UUID, and session UUID.

Query
course_idstringnon-empty

Course ID to filter by (can be partial)

end_datestring(date)

End date for time range (YYYY-MM-DD)

include_main_platformboolean

Whether to include main platform data

Default true
learner_idstringnon-empty

Username to get data for (admin users only)

mentor_uuidstringnon-empty

Mentor UUID to filter by

platformstring or nullnon-empty

Platform name or key to filter by

session_uuidstringnon-empty

Session UUID to filter by

start_datestring(date)

Start date for time range (YYYY-MM-DD)

urlstringnon-empty

URL to filter by (can be partial)

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'

Responses

Bodyapplication/json
total_secondsintegerrequired
Response
application/json
{ "total_seconds": 0 }

analytics_topics_retrieve

Request

Security
PlatformApiKeyAuthentication
Query
date_filterstringnon-empty
  • today - Today only
  • 7d - Last 7 days
  • 30d - Last 30 days
  • 90d - Last 90 days
  • all_time - All time
  • custom - Custom date range
Default "today"
Enum"today""7d""30d""90d""all_time""custom"
end_datestring(date)
granularitystringnon-empty
  • day - day
  • hour - hour
  • week - week
  • month - month
Default "hour"
Enum"day""hour""week""month"
mentor_unique_idstring(uuid)
metricstringnon-empty
  • overview - Overall topic metrics
  • sessions - Sessions over time
  • ratings - Ratings over time
  • highlighted - Highlighted topics
Default "overview"
Enum"overview""sessions""ratings""highlighted"
platform_keystringnon-empty
start_datestring(date)
curl -i -X GET \
  'https://docs.ibl.ai/_mock/apis/ibl/api/analytics/topics/?date_filter=today&end_date=2019-08-24&granularity=day&mentor_unique_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&metric=overview&platform_key=string&start_date=2019-08-24' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Bodyapplication/json
topicsobjectrequired
topics.​all_time_totalintegerrequired

Total count since the beginning of time

topics.​this_monthintegerrequired

Count for current month

topics.​last_monthintegerrequired

Count for previous month

topics.​percentage_changenumber(double)required

Percentage change from last month to this month

sessionsobjectrequired
sessions.​all_time_totalintegerrequired

Total count since the beginning of time

sessions.​this_monthintegerrequired

Count for current month

sessions.​last_monthintegerrequired

Count for previous month

sessions.​percentage_changenumber(double)required

Percentage change from last month to this month

conversationsobjectrequired
conversations.​all_time_totalintegerrequired

Total count since the beginning of time

conversations.​this_monthintegerrequired

Count for current month

conversations.​last_monthintegerrequired

Count for previous month

conversations.​percentage_changenumber(double)required

Percentage change from last month to this month

messagesobjectrequired
messages.​all_time_totalintegerrequired

Total count since the beginning of time

messages.​this_monthintegerrequired

Count for current month

messages.​last_monthintegerrequired

Count for previous month

messages.​percentage_changenumber(double)required

Percentage change from last month to this month

Response
application/json
{ "topics": { "all_time_total": 0, "this_month": 0, "last_month": 0, "percentage_change": 0.1 }, "sessions": { "all_time_total": 0, "this_month": 0, "last_month": 0, "percentage_change": 0.1 }, "conversations": { "all_time_total": 0, "this_month": 0, "last_month": 0, "percentage_change": 0.1 }, "messages": { "all_time_total": 0, "this_month": 0, "last_month": 0, "percentage_change": 0.1 } }

analytics_topics_details_retrieve

Request

Security
PlatformApiKeyAuthentication
Query
date_filterstringnon-empty
  • today - Today only
  • 7d - Last 7 days
  • 30d - Last 30 days
  • 90d - Last 90 days
  • all_time - All time
  • custom - Custom date range
Default "today"
Enum"today""7d""30d""90d""all_time""custom"
end_datestring(date)
limitinteger[ 1 .. 100 ]
Default 20
mentor_unique_idstring(uuid)
pageinteger>= 1
Default 1
platform_keystringnon-empty
searchstring

Search by topic name

start_datestring(date)
curl -i -X GET \
  'https://docs.ibl.ai/_mock/apis/ibl/api/analytics/topics/details/?date_filter=today&end_date=2019-08-24&limit=20&mentor_unique_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&page=1&platform_key=string&search=string&start_date=2019-08-24' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Bodyapplication/json
resultsArray of objects(TopicDetail)required
results[].​namestringrequired
results[].​messagesintegerrequired
results[].​conversationsintegerrequired
results[].​sessionsintegerrequired
results[].​average_ratingstring
results[].​rating_countinteger
paginationobjectrequired
pagination.​property name*anyadditional property
Response
application/json
{ "results": [ {} ], "pagination": { "property1": null, "property2": null } }

ai-bot

Operations

ai-finetuning

Operations

ai-index

Operations

ai-marketing

Operations

ai-media

Operations

ai-mentor

Operations

ai-prompt

Operations

analytics

Operations

career

Operations

catalog

Operations

core

Operations

credentials

Operations

custom-domains

Operations

features

Operations

media

Operations

notifications

Operations

scim

Operations

commerce

Operations

recommendations

Operations

reports

Operations

skills

Operations