@iblai/iblai-api 4.404.0-ai → 4.405.0-ai

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -110,7 +110,7 @@ class CancelablePromise {
110
110
 
111
111
  const OpenAPI = {
112
112
  BASE: 'https://base.manager.iblai.app',
113
- VERSION: '4.404.0-ai-plus',
113
+ VERSION: '4.405.0-ai-plus',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
@@ -16969,7 +16969,7 @@ class AiMentorService{/**
16969
16969
  * List a mentor's agent memories.
16970
16970
  * @returns any No response body
16971
16971
  * @throws ApiError
16972
- */static aiMentorOrgsAgentsAgentMemoriesRetrieve({mentorId,org}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/agents/{mentor_id}/agent-memories/',path:{'mentor_id':mentorId,'org':org}});}/**
16972
+ */static aiMentorOrgsAgentsAgentMemoriesRetrieve({mentorId,org,endDate,startDate}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/agents/{mentor_id}/agent-memories/',path:{'mentor_id':mentorId,'org':org},query:{'end_date':endDate,'start_date':startDate}});}/**
16973
16973
  * Create a curated agent memory.
16974
16974
  * @returns any No response body
16975
16975
  * @throws ApiError
@@ -16985,7 +16985,7 @@ class AiMentorService{/**
16985
16985
  * List all active memory categories for a mentor.
16986
16986
  * @returns any No response body
16987
16987
  * @throws ApiError
16988
- */static aiMentorOrgsAgentsMemoryCategoriesRetrieve({mentorId,org}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/agents/{mentor_id}/memory-categories/',path:{'mentor_id':mentorId,'org':org}});}/**
16988
+ */static aiMentorOrgsAgentsMemoryCategoriesRetrieve({mentorId,org,endDate,startDate}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/agents/{mentor_id}/memory-categories/',path:{'mentor_id':mentorId,'org':org},query:{'end_date':endDate,'start_date':startDate}});}/**
16989
16989
  * Create a new memory category.
16990
16990
  * @returns any No response body
16991
16991
  * @throws ApiError
@@ -17475,7 +17475,7 @@ class AiMentorService{/**
17475
17475
  * List a mentor's agent memories.
17476
17476
  * @returns any No response body
17477
17477
  * @throws ApiError
17478
- */static aiMentorOrgsMentorsAgentMemoriesRetrieve({mentorId,org}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/mentors/{mentor_id}/agent-memories/',path:{'mentor_id':mentorId,'org':org}});}/**
17478
+ */static aiMentorOrgsMentorsAgentMemoriesRetrieve({mentorId,org,endDate,startDate}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/mentors/{mentor_id}/agent-memories/',path:{'mentor_id':mentorId,'org':org},query:{'end_date':endDate,'start_date':startDate}});}/**
17479
17479
  * @deprecated
17480
17480
  * **Deprecated — use `/api/ai-mentor/orgs/{org}/agents/{mentor_id}/agent-memories/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/agents/{mentor_id}/agent-memories/` (`mentor` → `agent`) and will be removed in a future release.
17481
17481
  *
@@ -17503,7 +17503,7 @@ class AiMentorService{/**
17503
17503
  * List all active memory categories for a mentor.
17504
17504
  * @returns any No response body
17505
17505
  * @throws ApiError
17506
- */static aiMentorOrgsMentorsMemoryCategoriesRetrieve({mentorId,org}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/mentors/{mentor_id}/memory-categories/',path:{'mentor_id':mentorId,'org':org}});}/**
17506
+ */static aiMentorOrgsMentorsMemoryCategoriesRetrieve({mentorId,org,endDate,startDate}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/mentors/{mentor_id}/memory-categories/',path:{'mentor_id':mentorId,'org':org},query:{'end_date':endDate,'start_date':startDate}});}/**
17507
17507
  * @deprecated
17508
17508
  * **Deprecated — use `/api/ai-mentor/orgs/{org}/agents/{mentor_id}/memory-categories/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/agents/{mentor_id}/memory-categories/` (`mentor` → `agent`) and will be removed in a future release.
17509
17509
  *
package/dist/index.esm.js CHANGED
@@ -108,7 +108,7 @@ class CancelablePromise {
108
108
 
109
109
  const OpenAPI = {
110
110
  BASE: 'https://base.manager.iblai.app',
111
- VERSION: '4.404.0-ai-plus',
111
+ VERSION: '4.405.0-ai-plus',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
@@ -16967,7 +16967,7 @@ class AiMentorService{/**
16967
16967
  * List a mentor's agent memories.
16968
16968
  * @returns any No response body
16969
16969
  * @throws ApiError
16970
- */static aiMentorOrgsAgentsAgentMemoriesRetrieve({mentorId,org}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/agents/{mentor_id}/agent-memories/',path:{'mentor_id':mentorId,'org':org}});}/**
16970
+ */static aiMentorOrgsAgentsAgentMemoriesRetrieve({mentorId,org,endDate,startDate}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/agents/{mentor_id}/agent-memories/',path:{'mentor_id':mentorId,'org':org},query:{'end_date':endDate,'start_date':startDate}});}/**
16971
16971
  * Create a curated agent memory.
16972
16972
  * @returns any No response body
16973
16973
  * @throws ApiError
@@ -16983,7 +16983,7 @@ class AiMentorService{/**
16983
16983
  * List all active memory categories for a mentor.
16984
16984
  * @returns any No response body
16985
16985
  * @throws ApiError
16986
- */static aiMentorOrgsAgentsMemoryCategoriesRetrieve({mentorId,org}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/agents/{mentor_id}/memory-categories/',path:{'mentor_id':mentorId,'org':org}});}/**
16986
+ */static aiMentorOrgsAgentsMemoryCategoriesRetrieve({mentorId,org,endDate,startDate}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/agents/{mentor_id}/memory-categories/',path:{'mentor_id':mentorId,'org':org},query:{'end_date':endDate,'start_date':startDate}});}/**
16987
16987
  * Create a new memory category.
16988
16988
  * @returns any No response body
16989
16989
  * @throws ApiError
@@ -17473,7 +17473,7 @@ class AiMentorService{/**
17473
17473
  * List a mentor's agent memories.
17474
17474
  * @returns any No response body
17475
17475
  * @throws ApiError
17476
- */static aiMentorOrgsMentorsAgentMemoriesRetrieve({mentorId,org}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/mentors/{mentor_id}/agent-memories/',path:{'mentor_id':mentorId,'org':org}});}/**
17476
+ */static aiMentorOrgsMentorsAgentMemoriesRetrieve({mentorId,org,endDate,startDate}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/mentors/{mentor_id}/agent-memories/',path:{'mentor_id':mentorId,'org':org},query:{'end_date':endDate,'start_date':startDate}});}/**
17477
17477
  * @deprecated
17478
17478
  * **Deprecated — use `/api/ai-mentor/orgs/{org}/agents/{mentor_id}/agent-memories/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/agents/{mentor_id}/agent-memories/` (`mentor` → `agent`) and will be removed in a future release.
17479
17479
  *
@@ -17501,7 +17501,7 @@ class AiMentorService{/**
17501
17501
  * List all active memory categories for a mentor.
17502
17502
  * @returns any No response body
17503
17503
  * @throws ApiError
17504
- */static aiMentorOrgsMentorsMemoryCategoriesRetrieve({mentorId,org}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/mentors/{mentor_id}/memory-categories/',path:{'mentor_id':mentorId,'org':org}});}/**
17504
+ */static aiMentorOrgsMentorsMemoryCategoriesRetrieve({mentorId,org,endDate,startDate}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/mentors/{mentor_id}/memory-categories/',path:{'mentor_id':mentorId,'org':org},query:{'end_date':endDate,'start_date':startDate}});}/**
17505
17505
  * @deprecated
17506
17506
  * **Deprecated — use `/api/ai-mentor/orgs/{org}/agents/{mentor_id}/memory-categories/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/agents/{mentor_id}/memory-categories/` (`mentor` → `agent`) and will be removed in a future release.
17507
17507
  *
package/dist/index.umd.js CHANGED
@@ -114,7 +114,7 @@
114
114
 
115
115
  const OpenAPI = {
116
116
  BASE: 'https://base.manager.iblai.app',
117
- VERSION: '4.404.0-ai-plus',
117
+ VERSION: '4.405.0-ai-plus',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -16973,7 +16973,7 @@
16973
16973
  * List a mentor's agent memories.
16974
16974
  * @returns any No response body
16975
16975
  * @throws ApiError
16976
- */static aiMentorOrgsAgentsAgentMemoriesRetrieve({mentorId,org}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/agents/{mentor_id}/agent-memories/',path:{'mentor_id':mentorId,'org':org}});}/**
16976
+ */static aiMentorOrgsAgentsAgentMemoriesRetrieve({mentorId,org,endDate,startDate}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/agents/{mentor_id}/agent-memories/',path:{'mentor_id':mentorId,'org':org},query:{'end_date':endDate,'start_date':startDate}});}/**
16977
16977
  * Create a curated agent memory.
16978
16978
  * @returns any No response body
16979
16979
  * @throws ApiError
@@ -16989,7 +16989,7 @@
16989
16989
  * List all active memory categories for a mentor.
16990
16990
  * @returns any No response body
16991
16991
  * @throws ApiError
16992
- */static aiMentorOrgsAgentsMemoryCategoriesRetrieve({mentorId,org}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/agents/{mentor_id}/memory-categories/',path:{'mentor_id':mentorId,'org':org}});}/**
16992
+ */static aiMentorOrgsAgentsMemoryCategoriesRetrieve({mentorId,org,endDate,startDate}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/agents/{mentor_id}/memory-categories/',path:{'mentor_id':mentorId,'org':org},query:{'end_date':endDate,'start_date':startDate}});}/**
16993
16993
  * Create a new memory category.
16994
16994
  * @returns any No response body
16995
16995
  * @throws ApiError
@@ -17479,7 +17479,7 @@
17479
17479
  * List a mentor's agent memories.
17480
17480
  * @returns any No response body
17481
17481
  * @throws ApiError
17482
- */static aiMentorOrgsMentorsAgentMemoriesRetrieve({mentorId,org}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/mentors/{mentor_id}/agent-memories/',path:{'mentor_id':mentorId,'org':org}});}/**
17482
+ */static aiMentorOrgsMentorsAgentMemoriesRetrieve({mentorId,org,endDate,startDate}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/mentors/{mentor_id}/agent-memories/',path:{'mentor_id':mentorId,'org':org},query:{'end_date':endDate,'start_date':startDate}});}/**
17483
17483
  * @deprecated
17484
17484
  * **Deprecated — use `/api/ai-mentor/orgs/{org}/agents/{mentor_id}/agent-memories/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/agents/{mentor_id}/agent-memories/` (`mentor` → `agent`) and will be removed in a future release.
17485
17485
  *
@@ -17507,7 +17507,7 @@
17507
17507
  * List all active memory categories for a mentor.
17508
17508
  * @returns any No response body
17509
17509
  * @throws ApiError
17510
- */static aiMentorOrgsMentorsMemoryCategoriesRetrieve({mentorId,org}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/mentors/{mentor_id}/memory-categories/',path:{'mentor_id':mentorId,'org':org}});}/**
17510
+ */static aiMentorOrgsMentorsMemoryCategoriesRetrieve({mentorId,org,endDate,startDate}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/mentors/{mentor_id}/memory-categories/',path:{'mentor_id':mentorId,'org':org},query:{'end_date':endDate,'start_date':startDate}});}/**
17511
17511
  * @deprecated
17512
17512
  * **Deprecated — use `/api/ai-mentor/orgs/{org}/agents/{mentor_id}/memory-categories/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/agents/{mentor_id}/memory-categories/` (`mentor` → `agent`) and will be removed in a future release.
17513
17513
  *
@@ -30,4 +30,16 @@ export type ContentAverages = {
30
30
  * Average time spent per learner in seconds (courses only)
31
31
  */
32
32
  time_per_learner?: number;
33
+ /**
34
+ * Average completion rate for completions within the window
35
+ */
36
+ period_completion_rate?: number;
37
+ /**
38
+ * Average rating for reviews within the window (course/program)
39
+ */
40
+ period_average_rating?: number;
41
+ /**
42
+ * Average time per learner within the window (courses only)
43
+ */
44
+ period_time_per_learner?: number;
33
45
  };
@@ -11,4 +11,12 @@ export type ContentSummary = {
11
11
  * Time spent over time data (courses only, when include_overtime=true)
12
12
  */
13
13
  overtime?: Array<OvertimeDataPoint>;
14
+ /**
15
+ * Start of the selected date_filter window (inclusive)
16
+ */
17
+ period_start_date?: string;
18
+ /**
19
+ * End of the selected date_filter window (inclusive)
20
+ */
21
+ period_end_date?: string;
14
22
  };
@@ -86,4 +86,20 @@ export type ContentTotals = {
86
86
  * Number of learners with skills
87
87
  */
88
88
  learners_with_skills?: number;
89
+ /**
90
+ * Enrollments created within the selected date_filter window
91
+ */
92
+ period_total_enrollments?: number;
93
+ /**
94
+ * Active enrollments created within the window
95
+ */
96
+ period_active_enrollments?: number;
97
+ /**
98
+ * Distinct learners who enrolled within the window
99
+ */
100
+ period_total_learners?: number;
101
+ /**
102
+ * Time spent in seconds within the window (courses only)
103
+ */
104
+ period_total_time_spent?: number;
89
105
  };
@@ -5,4 +5,14 @@ export type CurrentUsersResponse = {
5
5
  metric?: string;
6
6
  count: number;
7
7
  change: number;
8
+ /**
9
+ * Distinct active users within the selected date_filter window
10
+ */
11
+ period_count?: number;
12
+ /**
13
+ * Change vs the preceding window of equal length
14
+ */
15
+ period_change?: number;
16
+ period_start_date?: string;
17
+ period_end_date?: string;
8
18
  };
@@ -19,4 +19,12 @@ export type TopicsOverview = {
19
19
  * Message metrics including all-time, monthly counts and percentage change
20
20
  */
21
21
  messages: TopicsOverviewMetric;
22
+ /**
23
+ * Start of the selected date_filter window (inclusive)
24
+ */
25
+ period_start_date?: string;
26
+ /**
27
+ * End of the selected date_filter window (inclusive)
28
+ */
29
+ period_end_date?: string;
22
30
  };
@@ -18,4 +18,16 @@ export type TopicsOverviewMetric = {
18
18
  * Percentage change from last month to this month
19
19
  */
20
20
  percentage_change: number;
21
+ /**
22
+ * Count within the selected date_filter window
23
+ */
24
+ period_total?: number;
25
+ /**
26
+ * Count within the preceding window of equal length
27
+ */
28
+ period_previous?: number;
29
+ /**
30
+ * Percentage change from the previous window to the selected window
31
+ */
32
+ period_percentage_change?: number;
21
33
  };
@@ -485,9 +485,17 @@ export declare class AiMentorService {
485
485
  * @returns any No response body
486
486
  * @throws ApiError
487
487
  */
488
- static aiMentorOrgsAgentsAgentMemoriesRetrieve({ mentorId, org, }: {
488
+ static aiMentorOrgsAgentsAgentMemoriesRetrieve({ mentorId, org, endDate, startDate, }: {
489
489
  mentorId: string;
490
490
  org: string;
491
+ /**
492
+ * Filter memories created before this ISO date
493
+ */
494
+ endDate?: string;
495
+ /**
496
+ * Filter memories created after this ISO date
497
+ */
498
+ startDate?: string;
491
499
  }): CancelablePromise<any>;
492
500
  /**
493
501
  * Create a curated agent memory.
@@ -523,9 +531,17 @@ export declare class AiMentorService {
523
531
  * @returns any No response body
524
532
  * @throws ApiError
525
533
  */
526
- static aiMentorOrgsAgentsMemoryCategoriesRetrieve({ mentorId, org, }: {
534
+ static aiMentorOrgsAgentsMemoryCategoriesRetrieve({ mentorId, org, endDate, startDate, }: {
527
535
  mentorId: string;
528
536
  org: string;
537
+ /**
538
+ * Filter categories created before this ISO date
539
+ */
540
+ endDate?: string;
541
+ /**
542
+ * Filter categories created after this ISO date
543
+ */
544
+ startDate?: string;
529
545
  }): CancelablePromise<any>;
530
546
  /**
531
547
  * Create a new memory category.
@@ -1685,9 +1701,17 @@ export declare class AiMentorService {
1685
1701
  * @returns any No response body
1686
1702
  * @throws ApiError
1687
1703
  */
1688
- static aiMentorOrgsMentorsAgentMemoriesRetrieve({ mentorId, org, }: {
1704
+ static aiMentorOrgsMentorsAgentMemoriesRetrieve({ mentorId, org, endDate, startDate, }: {
1689
1705
  mentorId: string;
1690
1706
  org: string;
1707
+ /**
1708
+ * Filter memories created before this ISO date
1709
+ */
1710
+ endDate?: string;
1711
+ /**
1712
+ * Filter memories created after this ISO date
1713
+ */
1714
+ startDate?: string;
1691
1715
  }): CancelablePromise<any>;
1692
1716
  /**
1693
1717
  * @deprecated
@@ -1735,9 +1759,17 @@ export declare class AiMentorService {
1735
1759
  * @returns any No response body
1736
1760
  * @throws ApiError
1737
1761
  */
1738
- static aiMentorOrgsMentorsMemoryCategoriesRetrieve({ mentorId, org, }: {
1762
+ static aiMentorOrgsMentorsMemoryCategoriesRetrieve({ mentorId, org, endDate, startDate, }: {
1739
1763
  mentorId: string;
1740
1764
  org: string;
1765
+ /**
1766
+ * Filter categories created before this ISO date
1767
+ */
1768
+ endDate?: string;
1769
+ /**
1770
+ * Filter categories created after this ISO date
1771
+ */
1772
+ startDate?: string;
1741
1773
  }): CancelablePromise<any>;
1742
1774
  /**
1743
1775
  * @deprecated
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.404.0-ai",
3
+ "version": "4.405.0-ai",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
package/sdk_schema.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ibl-data-manager
4
- version: 4.404.0-ai-plus
4
+ version: 4.405.0-ai-plus
5
5
  description: API for iblai
6
6
  paths:
7
7
  /api/ai-account/connected-services/callback/:
@@ -15008,6 +15008,11 @@ paths:
15008
15008
  operationId: ai_mentor_orgs_agents_agent_memories_retrieve
15009
15009
  description: List a mentor's agent memories.
15010
15010
  parameters:
15011
+ - in: query
15012
+ name: end_date
15013
+ schema:
15014
+ type: string
15015
+ description: Filter memories created before this ISO date
15011
15016
  - in: path
15012
15017
  name: mentor_id
15013
15018
  schema:
@@ -15018,6 +15023,11 @@ paths:
15018
15023
  schema:
15019
15024
  type: string
15020
15025
  required: true
15026
+ - in: query
15027
+ name: start_date
15028
+ schema:
15029
+ type: string
15030
+ description: Filter memories created after this ISO date
15021
15031
  tags:
15022
15032
  - ai-mentor
15023
15033
  security:
@@ -15104,6 +15114,11 @@ paths:
15104
15114
  operationId: ai_mentor_orgs_agents_memory_categories_retrieve
15105
15115
  description: List all active memory categories for a mentor.
15106
15116
  parameters:
15117
+ - in: query
15118
+ name: end_date
15119
+ schema:
15120
+ type: string
15121
+ description: Filter categories created before this ISO date
15107
15122
  - in: path
15108
15123
  name: mentor_id
15109
15124
  schema:
@@ -15114,6 +15129,11 @@ paths:
15114
15129
  schema:
15115
15130
  type: string
15116
15131
  required: true
15132
+ - in: query
15133
+ name: start_date
15134
+ schema:
15135
+ type: string
15136
+ description: Filter categories created after this ISO date
15117
15137
  tags:
15118
15138
  - ai-mentor
15119
15139
  security:
@@ -18929,6 +18949,11 @@ paths:
18929
18949
 
18930
18950
  List a mentor's agent memories.
18931
18951
  parameters:
18952
+ - in: query
18953
+ name: end_date
18954
+ schema:
18955
+ type: string
18956
+ description: Filter memories created before this ISO date
18932
18957
  - in: path
18933
18958
  name: mentor_id
18934
18959
  schema:
@@ -18939,6 +18964,11 @@ paths:
18939
18964
  schema:
18940
18965
  type: string
18941
18966
  required: true
18967
+ - in: query
18968
+ name: start_date
18969
+ schema:
18970
+ type: string
18971
+ description: Filter memories created after this ISO date
18942
18972
  tags:
18943
18973
  - ai-mentor
18944
18974
  security:
@@ -19041,6 +19071,11 @@ paths:
19041
19071
 
19042
19072
  List all active memory categories for a mentor.
19043
19073
  parameters:
19074
+ - in: query
19075
+ name: end_date
19076
+ schema:
19077
+ type: string
19078
+ description: Filter categories created before this ISO date
19044
19079
  - in: path
19045
19080
  name: mentor_id
19046
19081
  schema:
@@ -19051,6 +19086,11 @@ paths:
19051
19086
  schema:
19052
19087
  type: string
19053
19088
  required: true
19089
+ - in: query
19090
+ name: start_date
19091
+ schema:
19092
+ type: string
19093
+ description: Filter categories created after this ISO date
19054
19094
  tags:
19055
19095
  - ai-mentor
19056
19096
  security:
@@ -54880,17 +54920,17 @@ paths:
54880
54920
  get:
54881
54921
  operationId: analytics_users_retrieve
54882
54922
  description: "\n User Analytics API - Comprehensive user activity metrics\
54883
- \ and trends.\n \n Provides real-time and historical user analytics\
54923
+ \ and trends.\n\n Provides real-time and historical user analytics\
54884
54924
  \ including:\n - Currently active users (last hour)\n - Active\
54885
54925
  \ users over time periods (7d, 30d, 90d)\n - Registered user counts\
54886
54926
  \ and growth\n - Time series charts with customizable granularity\n\
54887
- \ \n **Key Features:**\n - Real-time active user counting\n\
54888
- \ - Percentage change calculations vs previous periods\n - Flexible\
54927
+ \n **Key Features:**\n - Real-time active user counting\n \
54928
+ \ - Percentage change calculations vs previous periods\n - Flexible\
54889
54929
  \ date filtering and granularity\n - Platform and agent-specific filtering\n\
54890
- \ - Forward-filled time series data\n \n **Supported\
54891
- \ Metrics:**\n - `currently_active`: Users active in last hour\n \
54892
- \ - `active_users`: Unique users in specified period\n - `registered_users`:\
54893
- \ Total and new user counts\n "
54930
+ \ - Forward-filled time series data\n\n **Supported Metrics:**\n\
54931
+ \ - `currently_active`: Users active in last hour\n - `active_users`:\
54932
+ \ Unique users in specified period\n - `registered_users`: Total and\
54933
+ \ new user counts\n "
54894
54934
  parameters:
54895
54935
  - in: query
54896
54936
  name: date_filter
@@ -55030,7 +55070,7 @@ paths:
55030
55070
  get:
55031
55071
  operationId: analytics_users_details_retrieve
55032
55072
  description: "\n User Details API - Comprehensive user activity details\
55033
- \ with search and filtering.\n \n Provides detailed user information\
55073
+ \ with search and filtering.\n\n Provides detailed user information\
55034
55074
  \ including:\n - User contact information (username, email, full name)\n\
55035
55075
  \ - Activity metrics (message count, last activity)\n - Search\
55036
55076
  \ functionality across multiple fields\n - Flexible date range filtering\n\
@@ -55041,7 +55081,7 @@ paths:
55041
55081
  \ data analysis\n - User aggregation across platforms/agents\n\n \
55042
55082
  \ **Search Capabilities:**\n - Username matching\n - Email\
55043
55083
  \ address matching\n - Full name search\n - User ID lookup\n\
55044
- \ - Partial string matching (case-insensitive)\n \n **Export\
55084
+ \ - Partial string matching (case-insensitive)\n\n **Export\
55045
55085
  \ Options:**\n - JSON response (default)\n - CSV export (?export=csv)\n\
55046
55086
  \ - Includes all user fields in export\n "
55047
55087
  parameters:
@@ -102034,6 +102074,18 @@ components:
102034
102074
  type: number
102035
102075
  format: double
102036
102076
  description: Average time spent per learner in seconds (courses only)
102077
+ period_completion_rate:
102078
+ type: number
102079
+ format: double
102080
+ description: Average completion rate for completions within the window
102081
+ period_average_rating:
102082
+ type: number
102083
+ format: double
102084
+ description: Average rating for reviews within the window (course/program)
102085
+ period_time_per_learner:
102086
+ type: number
102087
+ format: double
102088
+ description: Average time per learner within the window (courses only)
102037
102089
  ContentDetailsContentInfo:
102038
102090
  type: object
102039
102091
  description: Serializer for the content information block.
@@ -102356,6 +102408,14 @@ components:
102356
102408
  items:
102357
102409
  $ref: '#/components/schemas/OvertimeDataPoint'
102358
102410
  description: Time spent over time data (courses only, when include_overtime=true)
102411
+ period_start_date:
102412
+ type: string
102413
+ format: date
102414
+ description: Start of the selected date_filter window (inclusive)
102415
+ period_end_date:
102416
+ type: string
102417
+ format: date
102418
+ description: End of the selected date_filter window (inclusive)
102359
102419
  required:
102360
102420
  - averages
102361
102421
  - totals
@@ -102426,6 +102486,18 @@ components:
102426
102486
  learners_with_skills:
102427
102487
  type: integer
102428
102488
  description: Number of learners with skills
102489
+ period_total_enrollments:
102490
+ type: integer
102491
+ description: Enrollments created within the selected date_filter window
102492
+ period_active_enrollments:
102493
+ type: integer
102494
+ description: Active enrollments created within the window
102495
+ period_total_learners:
102496
+ type: integer
102497
+ description: Distinct learners who enrolled within the window
102498
+ period_total_time_spent:
102499
+ type: integer
102500
+ description: Time spent in seconds within the window (courses only)
102429
102501
  required:
102430
102502
  - total_enrollments
102431
102503
  - total_learners
@@ -105132,6 +105204,18 @@ components:
105132
105204
  type: integer
105133
105205
  change:
105134
105206
  type: integer
105207
+ period_count:
105208
+ type: integer
105209
+ description: Distinct active users within the selected date_filter window
105210
+ period_change:
105211
+ type: integer
105212
+ description: Change vs the preceding window of equal length
105213
+ period_start_date:
105214
+ type: string
105215
+ format: date
105216
+ period_end_date:
105217
+ type: string
105218
+ format: date
105135
105219
  required:
105136
105220
  - change
105137
105221
  - count
@@ -133134,6 +133218,14 @@ components:
133134
133218
  - $ref: '#/components/schemas/TopicsOverviewMetric'
133135
133219
  description: Message metrics including all-time, monthly counts and percentage
133136
133220
  change
133221
+ period_start_date:
133222
+ type: string
133223
+ format: date
133224
+ description: Start of the selected date_filter window (inclusive)
133225
+ period_end_date:
133226
+ type: string
133227
+ format: date
133228
+ description: End of the selected date_filter window (inclusive)
133137
133229
  required:
133138
133230
  - conversations
133139
133231
  - messages
@@ -133156,6 +133248,17 @@ components:
133156
133248
  type: number
133157
133249
  format: double
133158
133250
  description: Percentage change from last month to this month
133251
+ period_total:
133252
+ type: integer
133253
+ description: Count within the selected date_filter window
133254
+ period_previous:
133255
+ type: integer
133256
+ description: Count within the preceding window of equal length
133257
+ period_percentage_change:
133258
+ type: number
133259
+ format: double
133260
+ description: Percentage change from the previous window to the selected
133261
+ window
133159
133262
  required:
133160
133263
  - all_time_total
133161
133264
  - last_month
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '4.404.0-ai-plus',
24
+ VERSION: '4.405.0-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -34,5 +34,17 @@ export type ContentAverages = {
34
34
  * Average time spent per learner in seconds (courses only)
35
35
  */
36
36
  time_per_learner?: number;
37
+ /**
38
+ * Average completion rate for completions within the window
39
+ */
40
+ period_completion_rate?: number;
41
+ /**
42
+ * Average rating for reviews within the window (course/program)
43
+ */
44
+ period_average_rating?: number;
45
+ /**
46
+ * Average time per learner within the window (courses only)
47
+ */
48
+ period_time_per_learner?: number;
37
49
  };
38
50
 
@@ -15,5 +15,13 @@ export type ContentSummary = {
15
15
  * Time spent over time data (courses only, when include_overtime=true)
16
16
  */
17
17
  overtime?: Array<OvertimeDataPoint>;
18
+ /**
19
+ * Start of the selected date_filter window (inclusive)
20
+ */
21
+ period_start_date?: string;
22
+ /**
23
+ * End of the selected date_filter window (inclusive)
24
+ */
25
+ period_end_date?: string;
18
26
  };
19
27
 
@@ -90,5 +90,21 @@ export type ContentTotals = {
90
90
  * Number of learners with skills
91
91
  */
92
92
  learners_with_skills?: number;
93
+ /**
94
+ * Enrollments created within the selected date_filter window
95
+ */
96
+ period_total_enrollments?: number;
97
+ /**
98
+ * Active enrollments created within the window
99
+ */
100
+ period_active_enrollments?: number;
101
+ /**
102
+ * Distinct learners who enrolled within the window
103
+ */
104
+ period_total_learners?: number;
105
+ /**
106
+ * Time spent in seconds within the window (courses only)
107
+ */
108
+ period_total_time_spent?: number;
93
109
  };
94
110
 
@@ -9,5 +9,15 @@ export type CurrentUsersResponse = {
9
9
  metric?: string;
10
10
  count: number;
11
11
  change: number;
12
+ /**
13
+ * Distinct active users within the selected date_filter window
14
+ */
15
+ period_count?: number;
16
+ /**
17
+ * Change vs the preceding window of equal length
18
+ */
19
+ period_change?: number;
20
+ period_start_date?: string;
21
+ period_end_date?: string;
12
22
  };
13
23
 
@@ -23,5 +23,13 @@ export type TopicsOverview = {
23
23
  * Message metrics including all-time, monthly counts and percentage change
24
24
  */
25
25
  messages: TopicsOverviewMetric;
26
+ /**
27
+ * Start of the selected date_filter window (inclusive)
28
+ */
29
+ period_start_date?: string;
30
+ /**
31
+ * End of the selected date_filter window (inclusive)
32
+ */
33
+ period_end_date?: string;
26
34
  };
27
35
 
@@ -22,5 +22,17 @@ export type TopicsOverviewMetric = {
22
22
  * Percentage change from last month to this month
23
23
  */
24
24
  percentage_change: number;
25
+ /**
26
+ * Count within the selected date_filter window
27
+ */
28
+ period_total?: number;
29
+ /**
30
+ * Count within the preceding window of equal length
31
+ */
32
+ period_previous?: number;
33
+ /**
34
+ * Percentage change from the previous window to the selected window
35
+ */
36
+ period_percentage_change?: number;
25
37
  };
26
38
 
@@ -688,9 +688,19 @@ export class AiMentorService {
688
688
  public static aiMentorOrgsAgentsAgentMemoriesRetrieve({
689
689
  mentorId,
690
690
  org,
691
+ endDate,
692
+ startDate,
691
693
  }: {
692
694
  mentorId: string,
693
695
  org: string,
696
+ /**
697
+ * Filter memories created before this ISO date
698
+ */
699
+ endDate?: string,
700
+ /**
701
+ * Filter memories created after this ISO date
702
+ */
703
+ startDate?: string,
694
704
  }): CancelablePromise<any> {
695
705
  return __request(OpenAPI, {
696
706
  method: 'GET',
@@ -699,6 +709,10 @@ export class AiMentorService {
699
709
  'mentor_id': mentorId,
700
710
  'org': org,
701
711
  },
712
+ query: {
713
+ 'end_date': endDate,
714
+ 'start_date': startDate,
715
+ },
702
716
  });
703
717
  }
704
718
  /**
@@ -778,9 +792,19 @@ export class AiMentorService {
778
792
  public static aiMentorOrgsAgentsMemoryCategoriesRetrieve({
779
793
  mentorId,
780
794
  org,
795
+ endDate,
796
+ startDate,
781
797
  }: {
782
798
  mentorId: string,
783
799
  org: string,
800
+ /**
801
+ * Filter categories created before this ISO date
802
+ */
803
+ endDate?: string,
804
+ /**
805
+ * Filter categories created after this ISO date
806
+ */
807
+ startDate?: string,
784
808
  }): CancelablePromise<any> {
785
809
  return __request(OpenAPI, {
786
810
  method: 'GET',
@@ -789,6 +813,10 @@ export class AiMentorService {
789
813
  'mentor_id': mentorId,
790
814
  'org': org,
791
815
  },
816
+ query: {
817
+ 'end_date': endDate,
818
+ 'start_date': startDate,
819
+ },
792
820
  });
793
821
  }
794
822
  /**
@@ -3303,9 +3331,19 @@ export class AiMentorService {
3303
3331
  public static aiMentorOrgsMentorsAgentMemoriesRetrieve({
3304
3332
  mentorId,
3305
3333
  org,
3334
+ endDate,
3335
+ startDate,
3306
3336
  }: {
3307
3337
  mentorId: string,
3308
3338
  org: string,
3339
+ /**
3340
+ * Filter memories created before this ISO date
3341
+ */
3342
+ endDate?: string,
3343
+ /**
3344
+ * Filter memories created after this ISO date
3345
+ */
3346
+ startDate?: string,
3309
3347
  }): CancelablePromise<any> {
3310
3348
  return __request(OpenAPI, {
3311
3349
  method: 'GET',
@@ -3314,6 +3352,10 @@ export class AiMentorService {
3314
3352
  'mentor_id': mentorId,
3315
3353
  'org': org,
3316
3354
  },
3355
+ query: {
3356
+ 'end_date': endDate,
3357
+ 'start_date': startDate,
3358
+ },
3317
3359
  });
3318
3360
  }
3319
3361
  /**
@@ -3405,9 +3447,19 @@ export class AiMentorService {
3405
3447
  public static aiMentorOrgsMentorsMemoryCategoriesRetrieve({
3406
3448
  mentorId,
3407
3449
  org,
3450
+ endDate,
3451
+ startDate,
3408
3452
  }: {
3409
3453
  mentorId: string,
3410
3454
  org: string,
3455
+ /**
3456
+ * Filter categories created before this ISO date
3457
+ */
3458
+ endDate?: string,
3459
+ /**
3460
+ * Filter categories created after this ISO date
3461
+ */
3462
+ startDate?: string,
3411
3463
  }): CancelablePromise<any> {
3412
3464
  return __request(OpenAPI, {
3413
3465
  method: 'GET',
@@ -3416,6 +3468,10 @@ export class AiMentorService {
3416
3468
  'mentor_id': mentorId,
3417
3469
  'org': org,
3418
3470
  },
3471
+ query: {
3472
+ 'end_date': endDate,
3473
+ 'start_date': startDate,
3474
+ },
3419
3475
  });
3420
3476
  }
3421
3477
  /**