@iblai/iblai-api 4.338.0-ai → 4.338.1-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.338.0-ai-plus',
113
+ VERSION: '4.338.1-ai-plus',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
@@ -9992,7 +9992,7 @@ class AiAnalyticsService {
9992
9992
  *
9993
9993
  * **Platform & Mentor Filtered:**
9994
9994
  * ```
9995
- * # Get total costs for a specific platform and mentor
9995
+ * # Get total costs for a specific platform and agent
9996
9996
  * GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
9997
9997
  * ```
9998
9998
  *
@@ -10089,7 +10089,7 @@ class AiAnalyticsService {
10089
10089
  * **Shared optional filters**
10090
10090
  * - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
10091
10091
  * - platform_key – tenant isolation
10092
- * - mentor_unique_id – filter to one mentor
10092
+ * - mentor_unique_id – filter to one agent
10093
10093
  * - username – filter to a learner
10094
10094
  * - provider / llm_model – filter to LLM provider / model
10095
10095
  * - all_time – true → lifetime totals
@@ -10200,14 +10200,14 @@ class AiAnalyticsService {
10200
10200
  * - Flexible filtering by username and/or platform_key
10201
10201
  * - Essential metrics: total cost, sessions, usage period
10202
10202
  * - Provider breakdown (OpenAI, Anthropic, etc.)
10203
- * - Top mentors/actions by cost
10203
+ * - Top agents/actions by cost
10204
10204
  * - Clean, invoice-ready format
10205
10205
  *
10206
10206
  * **Query Parameters:**
10207
10207
  * - username: Filter by specific username (optional)
10208
10208
  * - platform_key: Filter by platform (optional, but required for platform admins)
10209
10209
  * - start_date, end_date: billing period (defaults to last 30 days)
10210
- * - include_breakdown: show provider/mentor details (default: true)
10210
+ * - include_breakdown: show provider/agent details (default: true)
10211
10211
  *
10212
10212
  * **Permission Logic:**
10213
10213
  * - Platform admins: Must include platform_key matching their permission scope
@@ -10688,7 +10688,7 @@ class AiAnalyticsService {
10688
10688
  * - Day of week patterns (0=Sunday through 6=Saturday)
10689
10689
  * - Hour of day activity levels (0-23)
10690
10690
  * - Flexible date range filtering
10691
- * - Platform and mentor-specific filtering
10691
+ * - Platform and agent-specific filtering
10692
10692
  * - Message count aggregation
10693
10693
  *
10694
10694
  * **Data Structure:**
@@ -10768,7 +10768,7 @@ class AiAnalyticsService {
10768
10768
  });
10769
10769
  }
10770
10770
  /**
10771
- * Returns topics overview analytics for a given platform and mentor.
10771
+ * Returns topics overview analytics for a given platform and agent.
10772
10772
  *
10773
10773
  * Permission Required:
10774
10774
  * - Platform Admin
@@ -10802,7 +10802,7 @@ class AiAnalyticsService {
10802
10802
  });
10803
10803
  }
10804
10804
  /**
10805
- * Returns topic details Analytics for a given platform and mentor.
10805
+ * Returns topic details Analytics for a given platform and agent.
10806
10806
  *
10807
10807
  * Permission Required:
10808
10808
  * - Platform Admin
@@ -10919,7 +10919,7 @@ class AiAnalyticsService {
10919
10919
  * - Real-time active user counting
10920
10920
  * - Percentage change calculations vs previous periods
10921
10921
  * - Flexible date filtering and granularity
10922
- * - Platform and mentor-specific filtering
10922
+ * - Platform and agent-specific filtering
10923
10923
  * - Forward-filled time series data
10924
10924
  *
10925
10925
  * **Supported Metrics:**
@@ -10974,10 +10974,10 @@ class AiAnalyticsService {
10974
10974
  * **Key Features:**
10975
10975
  * - Full-text search across username, email, name, and user ID
10976
10976
  * - Date range filtering for activity periods
10977
- * - Platform and mentor-specific filtering
10977
+ * - Platform and agent-specific filtering
10978
10978
  * - Comprehensive pagination with metadata
10979
10979
  * - CSV export for data analysis
10980
- * - User aggregation across platforms/mentors
10980
+ * - User aggregation across platforms/agents
10981
10981
  *
10982
10982
  * **Search Capabilities:**
10983
10983
  * - Username matching
@@ -25326,7 +25326,7 @@ class AnalyticsService {
25326
25326
  *
25327
25327
  * **Platform & Mentor Filtered:**
25328
25328
  * ```
25329
- * # Get total costs for a specific platform and mentor
25329
+ * # Get total costs for a specific platform and agent
25330
25330
  * GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
25331
25331
  * ```
25332
25332
  *
@@ -25423,7 +25423,7 @@ class AnalyticsService {
25423
25423
  * **Shared optional filters**
25424
25424
  * - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
25425
25425
  * - platform_key – tenant isolation
25426
- * - mentor_unique_id – filter to one mentor
25426
+ * - mentor_unique_id – filter to one agent
25427
25427
  * - username – filter to a learner
25428
25428
  * - provider / llm_model – filter to LLM provider / model
25429
25429
  * - all_time – true → lifetime totals
@@ -25534,14 +25534,14 @@ class AnalyticsService {
25534
25534
  * - Flexible filtering by username and/or platform_key
25535
25535
  * - Essential metrics: total cost, sessions, usage period
25536
25536
  * - Provider breakdown (OpenAI, Anthropic, etc.)
25537
- * - Top mentors/actions by cost
25537
+ * - Top agents/actions by cost
25538
25538
  * - Clean, invoice-ready format
25539
25539
  *
25540
25540
  * **Query Parameters:**
25541
25541
  * - username: Filter by specific username (optional)
25542
25542
  * - platform_key: Filter by platform (optional, but required for platform admins)
25543
25543
  * - start_date, end_date: billing period (defaults to last 30 days)
25544
- * - include_breakdown: show provider/mentor details (default: true)
25544
+ * - include_breakdown: show provider/agent details (default: true)
25545
25545
  *
25546
25546
  * **Permission Logic:**
25547
25547
  * - Platform admins: Must include platform_key matching their permission scope
@@ -25910,7 +25910,7 @@ class AnalyticsService {
25910
25910
  * - Day of week patterns (0=Sunday through 6=Saturday)
25911
25911
  * - Hour of day activity levels (0-23)
25912
25912
  * - Flexible date range filtering
25913
- * - Platform and mentor-specific filtering
25913
+ * - Platform and agent-specific filtering
25914
25914
  * - Message count aggregation
25915
25915
  *
25916
25916
  * **Data Structure:**
@@ -25950,7 +25950,7 @@ class AnalyticsService {
25950
25950
  });
25951
25951
  }
25952
25952
  /**
25953
- * Returns topics overview analytics for a given platform and mentor.
25953
+ * Returns topics overview analytics for a given platform and agent.
25954
25954
  *
25955
25955
  * Permission Required:
25956
25956
  * - Platform Admin
@@ -25984,7 +25984,7 @@ class AnalyticsService {
25984
25984
  });
25985
25985
  }
25986
25986
  /**
25987
- * Returns topic details Analytics for a given platform and mentor.
25987
+ * Returns topic details Analytics for a given platform and agent.
25988
25988
  *
25989
25989
  * Permission Required:
25990
25990
  * - Platform Admin
@@ -26033,7 +26033,7 @@ class AnalyticsService {
26033
26033
  * - Real-time active user counting
26034
26034
  * - Percentage change calculations vs previous periods
26035
26035
  * - Flexible date filtering and granularity
26036
- * - Platform and mentor-specific filtering
26036
+ * - Platform and agent-specific filtering
26037
26037
  * - Forward-filled time series data
26038
26038
  *
26039
26039
  * **Supported Metrics:**
@@ -26088,10 +26088,10 @@ class AnalyticsService {
26088
26088
  * **Key Features:**
26089
26089
  * - Full-text search across username, email, name, and user ID
26090
26090
  * - Date range filtering for activity periods
26091
- * - Platform and mentor-specific filtering
26091
+ * - Platform and agent-specific filtering
26092
26092
  * - Comprehensive pagination with metadata
26093
26093
  * - CSV export for data analysis
26094
- * - User aggregation across platforms/mentors
26094
+ * - User aggregation across platforms/agents
26095
26095
  *
26096
26096
  * **Search Capabilities:**
26097
26097
  * - Username matching
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.338.0-ai-plus',
111
+ VERSION: '4.338.1-ai-plus',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
@@ -9990,7 +9990,7 @@ class AiAnalyticsService {
9990
9990
  *
9991
9991
  * **Platform & Mentor Filtered:**
9992
9992
  * ```
9993
- * # Get total costs for a specific platform and mentor
9993
+ * # Get total costs for a specific platform and agent
9994
9994
  * GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
9995
9995
  * ```
9996
9996
  *
@@ -10087,7 +10087,7 @@ class AiAnalyticsService {
10087
10087
  * **Shared optional filters**
10088
10088
  * - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
10089
10089
  * - platform_key – tenant isolation
10090
- * - mentor_unique_id – filter to one mentor
10090
+ * - mentor_unique_id – filter to one agent
10091
10091
  * - username – filter to a learner
10092
10092
  * - provider / llm_model – filter to LLM provider / model
10093
10093
  * - all_time – true → lifetime totals
@@ -10198,14 +10198,14 @@ class AiAnalyticsService {
10198
10198
  * - Flexible filtering by username and/or platform_key
10199
10199
  * - Essential metrics: total cost, sessions, usage period
10200
10200
  * - Provider breakdown (OpenAI, Anthropic, etc.)
10201
- * - Top mentors/actions by cost
10201
+ * - Top agents/actions by cost
10202
10202
  * - Clean, invoice-ready format
10203
10203
  *
10204
10204
  * **Query Parameters:**
10205
10205
  * - username: Filter by specific username (optional)
10206
10206
  * - platform_key: Filter by platform (optional, but required for platform admins)
10207
10207
  * - start_date, end_date: billing period (defaults to last 30 days)
10208
- * - include_breakdown: show provider/mentor details (default: true)
10208
+ * - include_breakdown: show provider/agent details (default: true)
10209
10209
  *
10210
10210
  * **Permission Logic:**
10211
10211
  * - Platform admins: Must include platform_key matching their permission scope
@@ -10686,7 +10686,7 @@ class AiAnalyticsService {
10686
10686
  * - Day of week patterns (0=Sunday through 6=Saturday)
10687
10687
  * - Hour of day activity levels (0-23)
10688
10688
  * - Flexible date range filtering
10689
- * - Platform and mentor-specific filtering
10689
+ * - Platform and agent-specific filtering
10690
10690
  * - Message count aggregation
10691
10691
  *
10692
10692
  * **Data Structure:**
@@ -10766,7 +10766,7 @@ class AiAnalyticsService {
10766
10766
  });
10767
10767
  }
10768
10768
  /**
10769
- * Returns topics overview analytics for a given platform and mentor.
10769
+ * Returns topics overview analytics for a given platform and agent.
10770
10770
  *
10771
10771
  * Permission Required:
10772
10772
  * - Platform Admin
@@ -10800,7 +10800,7 @@ class AiAnalyticsService {
10800
10800
  });
10801
10801
  }
10802
10802
  /**
10803
- * Returns topic details Analytics for a given platform and mentor.
10803
+ * Returns topic details Analytics for a given platform and agent.
10804
10804
  *
10805
10805
  * Permission Required:
10806
10806
  * - Platform Admin
@@ -10917,7 +10917,7 @@ class AiAnalyticsService {
10917
10917
  * - Real-time active user counting
10918
10918
  * - Percentage change calculations vs previous periods
10919
10919
  * - Flexible date filtering and granularity
10920
- * - Platform and mentor-specific filtering
10920
+ * - Platform and agent-specific filtering
10921
10921
  * - Forward-filled time series data
10922
10922
  *
10923
10923
  * **Supported Metrics:**
@@ -10972,10 +10972,10 @@ class AiAnalyticsService {
10972
10972
  * **Key Features:**
10973
10973
  * - Full-text search across username, email, name, and user ID
10974
10974
  * - Date range filtering for activity periods
10975
- * - Platform and mentor-specific filtering
10975
+ * - Platform and agent-specific filtering
10976
10976
  * - Comprehensive pagination with metadata
10977
10977
  * - CSV export for data analysis
10978
- * - User aggregation across platforms/mentors
10978
+ * - User aggregation across platforms/agents
10979
10979
  *
10980
10980
  * **Search Capabilities:**
10981
10981
  * - Username matching
@@ -25324,7 +25324,7 @@ class AnalyticsService {
25324
25324
  *
25325
25325
  * **Platform & Mentor Filtered:**
25326
25326
  * ```
25327
- * # Get total costs for a specific platform and mentor
25327
+ * # Get total costs for a specific platform and agent
25328
25328
  * GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
25329
25329
  * ```
25330
25330
  *
@@ -25421,7 +25421,7 @@ class AnalyticsService {
25421
25421
  * **Shared optional filters**
25422
25422
  * - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
25423
25423
  * - platform_key – tenant isolation
25424
- * - mentor_unique_id – filter to one mentor
25424
+ * - mentor_unique_id – filter to one agent
25425
25425
  * - username – filter to a learner
25426
25426
  * - provider / llm_model – filter to LLM provider / model
25427
25427
  * - all_time – true → lifetime totals
@@ -25532,14 +25532,14 @@ class AnalyticsService {
25532
25532
  * - Flexible filtering by username and/or platform_key
25533
25533
  * - Essential metrics: total cost, sessions, usage period
25534
25534
  * - Provider breakdown (OpenAI, Anthropic, etc.)
25535
- * - Top mentors/actions by cost
25535
+ * - Top agents/actions by cost
25536
25536
  * - Clean, invoice-ready format
25537
25537
  *
25538
25538
  * **Query Parameters:**
25539
25539
  * - username: Filter by specific username (optional)
25540
25540
  * - platform_key: Filter by platform (optional, but required for platform admins)
25541
25541
  * - start_date, end_date: billing period (defaults to last 30 days)
25542
- * - include_breakdown: show provider/mentor details (default: true)
25542
+ * - include_breakdown: show provider/agent details (default: true)
25543
25543
  *
25544
25544
  * **Permission Logic:**
25545
25545
  * - Platform admins: Must include platform_key matching their permission scope
@@ -25908,7 +25908,7 @@ class AnalyticsService {
25908
25908
  * - Day of week patterns (0=Sunday through 6=Saturday)
25909
25909
  * - Hour of day activity levels (0-23)
25910
25910
  * - Flexible date range filtering
25911
- * - Platform and mentor-specific filtering
25911
+ * - Platform and agent-specific filtering
25912
25912
  * - Message count aggregation
25913
25913
  *
25914
25914
  * **Data Structure:**
@@ -25948,7 +25948,7 @@ class AnalyticsService {
25948
25948
  });
25949
25949
  }
25950
25950
  /**
25951
- * Returns topics overview analytics for a given platform and mentor.
25951
+ * Returns topics overview analytics for a given platform and agent.
25952
25952
  *
25953
25953
  * Permission Required:
25954
25954
  * - Platform Admin
@@ -25982,7 +25982,7 @@ class AnalyticsService {
25982
25982
  });
25983
25983
  }
25984
25984
  /**
25985
- * Returns topic details Analytics for a given platform and mentor.
25985
+ * Returns topic details Analytics for a given platform and agent.
25986
25986
  *
25987
25987
  * Permission Required:
25988
25988
  * - Platform Admin
@@ -26031,7 +26031,7 @@ class AnalyticsService {
26031
26031
  * - Real-time active user counting
26032
26032
  * - Percentage change calculations vs previous periods
26033
26033
  * - Flexible date filtering and granularity
26034
- * - Platform and mentor-specific filtering
26034
+ * - Platform and agent-specific filtering
26035
26035
  * - Forward-filled time series data
26036
26036
  *
26037
26037
  * **Supported Metrics:**
@@ -26086,10 +26086,10 @@ class AnalyticsService {
26086
26086
  * **Key Features:**
26087
26087
  * - Full-text search across username, email, name, and user ID
26088
26088
  * - Date range filtering for activity periods
26089
- * - Platform and mentor-specific filtering
26089
+ * - Platform and agent-specific filtering
26090
26090
  * - Comprehensive pagination with metadata
26091
26091
  * - CSV export for data analysis
26092
- * - User aggregation across platforms/mentors
26092
+ * - User aggregation across platforms/agents
26093
26093
  *
26094
26094
  * **Search Capabilities:**
26095
26095
  * - Username matching
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.338.0-ai-plus',
117
+ VERSION: '4.338.1-ai-plus',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -9996,7 +9996,7 @@
9996
9996
  *
9997
9997
  * **Platform & Mentor Filtered:**
9998
9998
  * ```
9999
- * # Get total costs for a specific platform and mentor
9999
+ * # Get total costs for a specific platform and agent
10000
10000
  * GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
10001
10001
  * ```
10002
10002
  *
@@ -10093,7 +10093,7 @@
10093
10093
  * **Shared optional filters**
10094
10094
  * - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
10095
10095
  * - platform_key – tenant isolation
10096
- * - mentor_unique_id – filter to one mentor
10096
+ * - mentor_unique_id – filter to one agent
10097
10097
  * - username – filter to a learner
10098
10098
  * - provider / llm_model – filter to LLM provider / model
10099
10099
  * - all_time – true → lifetime totals
@@ -10204,14 +10204,14 @@
10204
10204
  * - Flexible filtering by username and/or platform_key
10205
10205
  * - Essential metrics: total cost, sessions, usage period
10206
10206
  * - Provider breakdown (OpenAI, Anthropic, etc.)
10207
- * - Top mentors/actions by cost
10207
+ * - Top agents/actions by cost
10208
10208
  * - Clean, invoice-ready format
10209
10209
  *
10210
10210
  * **Query Parameters:**
10211
10211
  * - username: Filter by specific username (optional)
10212
10212
  * - platform_key: Filter by platform (optional, but required for platform admins)
10213
10213
  * - start_date, end_date: billing period (defaults to last 30 days)
10214
- * - include_breakdown: show provider/mentor details (default: true)
10214
+ * - include_breakdown: show provider/agent details (default: true)
10215
10215
  *
10216
10216
  * **Permission Logic:**
10217
10217
  * - Platform admins: Must include platform_key matching their permission scope
@@ -10692,7 +10692,7 @@
10692
10692
  * - Day of week patterns (0=Sunday through 6=Saturday)
10693
10693
  * - Hour of day activity levels (0-23)
10694
10694
  * - Flexible date range filtering
10695
- * - Platform and mentor-specific filtering
10695
+ * - Platform and agent-specific filtering
10696
10696
  * - Message count aggregation
10697
10697
  *
10698
10698
  * **Data Structure:**
@@ -10772,7 +10772,7 @@
10772
10772
  });
10773
10773
  }
10774
10774
  /**
10775
- * Returns topics overview analytics for a given platform and mentor.
10775
+ * Returns topics overview analytics for a given platform and agent.
10776
10776
  *
10777
10777
  * Permission Required:
10778
10778
  * - Platform Admin
@@ -10806,7 +10806,7 @@
10806
10806
  });
10807
10807
  }
10808
10808
  /**
10809
- * Returns topic details Analytics for a given platform and mentor.
10809
+ * Returns topic details Analytics for a given platform and agent.
10810
10810
  *
10811
10811
  * Permission Required:
10812
10812
  * - Platform Admin
@@ -10923,7 +10923,7 @@
10923
10923
  * - Real-time active user counting
10924
10924
  * - Percentage change calculations vs previous periods
10925
10925
  * - Flexible date filtering and granularity
10926
- * - Platform and mentor-specific filtering
10926
+ * - Platform and agent-specific filtering
10927
10927
  * - Forward-filled time series data
10928
10928
  *
10929
10929
  * **Supported Metrics:**
@@ -10978,10 +10978,10 @@
10978
10978
  * **Key Features:**
10979
10979
  * - Full-text search across username, email, name, and user ID
10980
10980
  * - Date range filtering for activity periods
10981
- * - Platform and mentor-specific filtering
10981
+ * - Platform and agent-specific filtering
10982
10982
  * - Comprehensive pagination with metadata
10983
10983
  * - CSV export for data analysis
10984
- * - User aggregation across platforms/mentors
10984
+ * - User aggregation across platforms/agents
10985
10985
  *
10986
10986
  * **Search Capabilities:**
10987
10987
  * - Username matching
@@ -25330,7 +25330,7 @@
25330
25330
  *
25331
25331
  * **Platform & Mentor Filtered:**
25332
25332
  * ```
25333
- * # Get total costs for a specific platform and mentor
25333
+ * # Get total costs for a specific platform and agent
25334
25334
  * GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
25335
25335
  * ```
25336
25336
  *
@@ -25427,7 +25427,7 @@
25427
25427
  * **Shared optional filters**
25428
25428
  * - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
25429
25429
  * - platform_key – tenant isolation
25430
- * - mentor_unique_id – filter to one mentor
25430
+ * - mentor_unique_id – filter to one agent
25431
25431
  * - username – filter to a learner
25432
25432
  * - provider / llm_model – filter to LLM provider / model
25433
25433
  * - all_time – true → lifetime totals
@@ -25538,14 +25538,14 @@
25538
25538
  * - Flexible filtering by username and/or platform_key
25539
25539
  * - Essential metrics: total cost, sessions, usage period
25540
25540
  * - Provider breakdown (OpenAI, Anthropic, etc.)
25541
- * - Top mentors/actions by cost
25541
+ * - Top agents/actions by cost
25542
25542
  * - Clean, invoice-ready format
25543
25543
  *
25544
25544
  * **Query Parameters:**
25545
25545
  * - username: Filter by specific username (optional)
25546
25546
  * - platform_key: Filter by platform (optional, but required for platform admins)
25547
25547
  * - start_date, end_date: billing period (defaults to last 30 days)
25548
- * - include_breakdown: show provider/mentor details (default: true)
25548
+ * - include_breakdown: show provider/agent details (default: true)
25549
25549
  *
25550
25550
  * **Permission Logic:**
25551
25551
  * - Platform admins: Must include platform_key matching their permission scope
@@ -25914,7 +25914,7 @@
25914
25914
  * - Day of week patterns (0=Sunday through 6=Saturday)
25915
25915
  * - Hour of day activity levels (0-23)
25916
25916
  * - Flexible date range filtering
25917
- * - Platform and mentor-specific filtering
25917
+ * - Platform and agent-specific filtering
25918
25918
  * - Message count aggregation
25919
25919
  *
25920
25920
  * **Data Structure:**
@@ -25954,7 +25954,7 @@
25954
25954
  });
25955
25955
  }
25956
25956
  /**
25957
- * Returns topics overview analytics for a given platform and mentor.
25957
+ * Returns topics overview analytics for a given platform and agent.
25958
25958
  *
25959
25959
  * Permission Required:
25960
25960
  * - Platform Admin
@@ -25988,7 +25988,7 @@
25988
25988
  });
25989
25989
  }
25990
25990
  /**
25991
- * Returns topic details Analytics for a given platform and mentor.
25991
+ * Returns topic details Analytics for a given platform and agent.
25992
25992
  *
25993
25993
  * Permission Required:
25994
25994
  * - Platform Admin
@@ -26037,7 +26037,7 @@
26037
26037
  * - Real-time active user counting
26038
26038
  * - Percentage change calculations vs previous periods
26039
26039
  * - Flexible date filtering and granularity
26040
- * - Platform and mentor-specific filtering
26040
+ * - Platform and agent-specific filtering
26041
26041
  * - Forward-filled time series data
26042
26042
  *
26043
26043
  * **Supported Metrics:**
@@ -26092,10 +26092,10 @@
26092
26092
  * **Key Features:**
26093
26093
  * - Full-text search across username, email, name, and user ID
26094
26094
  * - Date range filtering for activity periods
26095
- * - Platform and mentor-specific filtering
26095
+ * - Platform and agent-specific filtering
26096
26096
  * - Comprehensive pagination with metadata
26097
26097
  * - CSV export for data analysis
26098
- * - User aggregation across platforms/mentors
26098
+ * - User aggregation across platforms/agents
26099
26099
  *
26100
26100
  * **Search Capabilities:**
26101
26101
  * - Username matching
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Mentor cost breakdown.
2
+ * Agent cost breakdown.
3
3
  */
4
4
  export type MentorBreakdown = {
5
5
  mentor: string;
@@ -130,7 +130,7 @@ export type NotificationTemplateDetail = {
130
130
  */
131
131
  readonly available_context: string;
132
132
  /**
133
- * Default prompt message for AI mentor notifications
133
+ * Default prompt message for AI agent notifications
134
134
  */
135
135
  proactive_prompt_message?: string | null;
136
136
  /**
@@ -174,7 +174,7 @@ export type NotificationTemplateDetail = {
174
174
  */
175
175
  periodic_timezone?: string;
176
176
  /**
177
- * List of mentor configurations: [{"unique_id": "uuid", "prompt": "...", "name": "..."}]
177
+ * List of agent configurations: [{"unique_id": "uuid", "prompt": "...", "name": "..."}]
178
178
  */
179
179
  periodic_mentors?: Array<Record<string, any>>;
180
180
  /**
@@ -130,7 +130,7 @@ export type PatchedNotificationTemplateDetail = {
130
130
  */
131
131
  readonly available_context?: string;
132
132
  /**
133
- * Default prompt message for AI mentor notifications
133
+ * Default prompt message for AI agent notifications
134
134
  */
135
135
  proactive_prompt_message?: string | null;
136
136
  /**
@@ -174,7 +174,7 @@ export type PatchedNotificationTemplateDetail = {
174
174
  */
175
175
  periodic_timezone?: string;
176
176
  /**
177
- * List of mentor configurations: [{"unique_id": "uuid", "prompt": "...", "name": "..."}]
177
+ * List of agent configurations: [{"unique_id": "uuid", "prompt": "...", "name": "..."}]
178
178
  */
179
179
  periodic_mentors?: Array<Record<string, any>>;
180
180
  /**
@@ -4496,7 +4496,7 @@ export declare class AiAnalyticsService {
4496
4496
  *
4497
4497
  * **Platform & Mentor Filtered:**
4498
4498
  * ```
4499
- * # Get total costs for a specific platform and mentor
4499
+ * # Get total costs for a specific platform and agent
4500
4500
  * GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
4501
4501
  * ```
4502
4502
  *
@@ -4620,7 +4620,7 @@ export declare class AiAnalyticsService {
4620
4620
  * **Shared optional filters**
4621
4621
  * - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
4622
4622
  * - platform_key – tenant isolation
4623
- * - mentor_unique_id – filter to one mentor
4623
+ * - mentor_unique_id – filter to one agent
4624
4624
  * - username – filter to a learner
4625
4625
  * - provider / llm_model – filter to LLM provider / model
4626
4626
  * - all_time – true → lifetime totals
@@ -4686,7 +4686,7 @@ export declare class AiAnalyticsService {
4686
4686
  * * `provider` - Group by provider
4687
4687
  * * `llm_model` - Group by LLM model
4688
4688
  * * `username` - Group by username
4689
- * * `mentor` - Group by mentor
4689
+ * * `mentor` - Group by agent
4690
4690
  * * `platform` - Group by platform
4691
4691
  * * `action` - Group by actions
4692
4692
  */
@@ -4730,14 +4730,14 @@ export declare class AiAnalyticsService {
4730
4730
  * - Flexible filtering by username and/or platform_key
4731
4731
  * - Essential metrics: total cost, sessions, usage period
4732
4732
  * - Provider breakdown (OpenAI, Anthropic, etc.)
4733
- * - Top mentors/actions by cost
4733
+ * - Top agents/actions by cost
4734
4734
  * - Clean, invoice-ready format
4735
4735
  *
4736
4736
  * **Query Parameters:**
4737
4737
  * - username: Filter by specific username (optional)
4738
4738
  * - platform_key: Filter by platform (optional, but required for platform admins)
4739
4739
  * - start_date, end_date: billing period (defaults to last 30 days)
4740
- * - include_breakdown: show provider/mentor details (default: true)
4740
+ * - include_breakdown: show provider/agent details (default: true)
4741
4741
  *
4742
4742
  * **Permission Logic:**
4743
4743
  * - Platform admins: Must include platform_key matching their permission scope
@@ -4795,7 +4795,7 @@ export declare class AiAnalyticsService {
4795
4795
  */
4796
4796
  endDate?: string;
4797
4797
  /**
4798
- * Whether to include provider and mentor breakdown
4798
+ * Whether to include provider and agent breakdown
4799
4799
  */
4800
4800
  includeBreakdown?: boolean;
4801
4801
  /**
@@ -4869,7 +4869,7 @@ export declare class AiAnalyticsService {
4869
4869
  includeEdxProgress?: boolean;
4870
4870
  mentorUniqueId?: string;
4871
4871
  /**
4872
- * Comma-separated sections to return: courses, programs, pathways, agents, skills, credentials, time_spent. `agents` is an alias for the agent (mentor) section. Defaults to courses when omitted.
4872
+ * Comma-separated sections to return: courses, programs, pathways, agents, skills, credentials, time_spent. `agents` is an alias for the agent section. Defaults to courses when omitted.
4873
4873
  */
4874
4874
  metrics?: string;
4875
4875
  /**
@@ -5242,7 +5242,7 @@ export declare class AiAnalyticsService {
5242
5242
  * - Day of week patterns (0=Sunday through 6=Saturday)
5243
5243
  * - Hour of day activity levels (0-23)
5244
5244
  * - Flexible date range filtering
5245
- * - Platform and mentor-specific filtering
5245
+ * - Platform and agent-specific filtering
5246
5246
  * - Message count aggregation
5247
5247
  *
5248
5248
  * **Data Structure:**
@@ -5327,7 +5327,7 @@ export declare class AiAnalyticsService {
5327
5327
  username?: string;
5328
5328
  }): CancelablePromise<TimeSpentPerUserResponse>;
5329
5329
  /**
5330
- * Returns topics overview analytics for a given platform and mentor.
5330
+ * Returns topics overview analytics for a given platform and agent.
5331
5331
  *
5332
5332
  * Permission Required:
5333
5333
  * - Platform Admin
@@ -5369,7 +5369,7 @@ export declare class AiAnalyticsService {
5369
5369
  usergroupIds?: Array<number> | null;
5370
5370
  }): CancelablePromise<TopicsOverview>;
5371
5371
  /**
5372
- * Returns topic details Analytics for a given platform and mentor.
5372
+ * Returns topic details Analytics for a given platform and agent.
5373
5373
  *
5374
5374
  * Permission Required:
5375
5375
  * - Platform Admin
@@ -5456,7 +5456,7 @@ export declare class AiAnalyticsService {
5456
5456
  includeEdxProgress?: boolean;
5457
5457
  mentorUniqueId?: string;
5458
5458
  /**
5459
- * Comma-separated sections to return: courses, programs, pathways, agents, skills, credentials, time_spent. `agents` is an alias for the agent (mentor) section. Defaults to courses when omitted.
5459
+ * Comma-separated sections to return: courses, programs, pathways, agents, skills, credentials, time_spent. `agents` is an alias for the agent section. Defaults to courses when omitted.
5460
5460
  */
5461
5461
  metrics?: string;
5462
5462
  /**
@@ -5493,7 +5493,7 @@ export declare class AiAnalyticsService {
5493
5493
  * - Real-time active user counting
5494
5494
  * - Percentage change calculations vs previous periods
5495
5495
  * - Flexible date filtering and granularity
5496
- * - Platform and mentor-specific filtering
5496
+ * - Platform and agent-specific filtering
5497
5497
  * - Forward-filled time series data
5498
5498
  *
5499
5499
  * **Supported Metrics:**
@@ -5551,10 +5551,10 @@ export declare class AiAnalyticsService {
5551
5551
  * **Key Features:**
5552
5552
  * - Full-text search across username, email, name, and user ID
5553
5553
  * - Date range filtering for activity periods
5554
- * - Platform and mentor-specific filtering
5554
+ * - Platform and agent-specific filtering
5555
5555
  * - Comprehensive pagination with metadata
5556
5556
  * - CSV export for data analysis
5557
- * - User aggregation across platforms/mentors
5557
+ * - User aggregation across platforms/agents
5558
5558
  *
5559
5559
  * **Search Capabilities:**
5560
5560
  * - Username matching
@@ -172,7 +172,7 @@ export declare class AnalyticsService {
172
172
  *
173
173
  * **Platform & Mentor Filtered:**
174
174
  * ```
175
- * # Get total costs for a specific platform and mentor
175
+ * # Get total costs for a specific platform and agent
176
176
  * GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
177
177
  * ```
178
178
  *
@@ -296,7 +296,7 @@ export declare class AnalyticsService {
296
296
  * **Shared optional filters**
297
297
  * - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
298
298
  * - platform_key – tenant isolation
299
- * - mentor_unique_id – filter to one mentor
299
+ * - mentor_unique_id – filter to one agent
300
300
  * - username – filter to a learner
301
301
  * - provider / llm_model – filter to LLM provider / model
302
302
  * - all_time – true → lifetime totals
@@ -362,7 +362,7 @@ export declare class AnalyticsService {
362
362
  * * `provider` - Group by provider
363
363
  * * `llm_model` - Group by LLM model
364
364
  * * `username` - Group by username
365
- * * `mentor` - Group by mentor
365
+ * * `mentor` - Group by agent
366
366
  * * `platform` - Group by platform
367
367
  * * `action` - Group by actions
368
368
  */
@@ -406,14 +406,14 @@ export declare class AnalyticsService {
406
406
  * - Flexible filtering by username and/or platform_key
407
407
  * - Essential metrics: total cost, sessions, usage period
408
408
  * - Provider breakdown (OpenAI, Anthropic, etc.)
409
- * - Top mentors/actions by cost
409
+ * - Top agents/actions by cost
410
410
  * - Clean, invoice-ready format
411
411
  *
412
412
  * **Query Parameters:**
413
413
  * - username: Filter by specific username (optional)
414
414
  * - platform_key: Filter by platform (optional, but required for platform admins)
415
415
  * - start_date, end_date: billing period (defaults to last 30 days)
416
- * - include_breakdown: show provider/mentor details (default: true)
416
+ * - include_breakdown: show provider/agent details (default: true)
417
417
  *
418
418
  * **Permission Logic:**
419
419
  * - Platform admins: Must include platform_key matching their permission scope
@@ -471,7 +471,7 @@ export declare class AnalyticsService {
471
471
  */
472
472
  endDate?: string;
473
473
  /**
474
- * Whether to include provider and mentor breakdown
474
+ * Whether to include provider and agent breakdown
475
475
  */
476
476
  includeBreakdown?: boolean;
477
477
  /**
@@ -807,7 +807,7 @@ export declare class AnalyticsService {
807
807
  * - Day of week patterns (0=Sunday through 6=Saturday)
808
808
  * - Hour of day activity levels (0-23)
809
809
  * - Flexible date range filtering
810
- * - Platform and mentor-specific filtering
810
+ * - Platform and agent-specific filtering
811
811
  * - Message count aggregation
812
812
  *
813
813
  * **Data Structure:**
@@ -845,7 +845,7 @@ export declare class AnalyticsService {
845
845
  usergroupIds?: Array<number> | null;
846
846
  }): CancelablePromise<AccessTimesHeatmap>;
847
847
  /**
848
- * Returns topics overview analytics for a given platform and mentor.
848
+ * Returns topics overview analytics for a given platform and agent.
849
849
  *
850
850
  * Permission Required:
851
851
  * - Platform Admin
@@ -887,7 +887,7 @@ export declare class AnalyticsService {
887
887
  usergroupIds?: Array<number> | null;
888
888
  }): CancelablePromise<TopicsOverview>;
889
889
  /**
890
- * Returns topic details Analytics for a given platform and mentor.
890
+ * Returns topic details Analytics for a given platform and agent.
891
891
  *
892
892
  * Permission Required:
893
893
  * - Platform Admin
@@ -934,7 +934,7 @@ export declare class AnalyticsService {
934
934
  * - Real-time active user counting
935
935
  * - Percentage change calculations vs previous periods
936
936
  * - Flexible date filtering and granularity
937
- * - Platform and mentor-specific filtering
937
+ * - Platform and agent-specific filtering
938
938
  * - Forward-filled time series data
939
939
  *
940
940
  * **Supported Metrics:**
@@ -992,10 +992,10 @@ export declare class AnalyticsService {
992
992
  * **Key Features:**
993
993
  * - Full-text search across username, email, name, and user ID
994
994
  * - Date range filtering for activity periods
995
- * - Platform and mentor-specific filtering
995
+ * - Platform and agent-specific filtering
996
996
  * - Comprehensive pagination with metadata
997
997
  * - CSV export for data analysis
998
- * - User aggregation across platforms/mentors
998
+ * - User aggregation across platforms/agents
999
999
  *
1000
1000
  * **Search Capabilities:**
1001
1001
  * - Username matching
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.338.0-ai",
3
+ "version": "4.338.1-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.338.0-ai-plus
4
+ version: 4.338.1-ai-plus
5
5
  description: API for iblai
6
6
  paths:
7
7
  /api/ai-account/connected-services/callback/:
@@ -50917,7 +50917,7 @@ paths:
50917
50917
 
50918
50918
  **Platform & Mentor Filtered:**
50919
50919
  ```
50920
- # Get total costs for a specific platform and mentor
50920
+ # Get total costs for a specific platform and agent
50921
50921
  GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
50922
50922
  ```
50923
50923
 
@@ -51229,7 +51229,7 @@ paths:
51229
51229
  **Shared optional filters**
51230
51230
  - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
51231
51231
  - platform_key – tenant isolation
51232
- - mentor_unique_id – filter to one mentor
51232
+ - mentor_unique_id – filter to one agent
51233
51233
  - username – filter to a learner
51234
51234
  - provider / llm_model – filter to LLM provider / model
51235
51235
  - all_time – true → lifetime totals
@@ -51329,7 +51329,7 @@ paths:
51329
51329
  * `provider` - Group by provider
51330
51330
  * `llm_model` - Group by LLM model
51331
51331
  * `username` - Group by username
51332
- * `mentor` - Group by mentor
51332
+ * `mentor` - Group by agent
51333
51333
  * `platform` - Group by platform
51334
51334
  * `action` - Group by actions
51335
51335
  required: true
@@ -51425,14 +51425,14 @@ paths:
51425
51425
  - Flexible filtering by username and/or platform_key
51426
51426
  - Essential metrics: total cost, sessions, usage period
51427
51427
  - Provider breakdown (OpenAI, Anthropic, etc.)
51428
- - Top mentors/actions by cost
51428
+ - Top agents/actions by cost
51429
51429
  - Clean, invoice-ready format
51430
51430
 
51431
51431
  **Query Parameters:**
51432
51432
  - username: Filter by specific username (optional)
51433
51433
  - platform_key: Filter by platform (optional, but required for platform admins)
51434
51434
  - start_date, end_date: billing period (defaults to last 30 days)
51435
- - include_breakdown: show provider/mentor details (default: true)
51435
+ - include_breakdown: show provider/agent details (default: true)
51436
51436
 
51437
51437
  **Permission Logic:**
51438
51438
  - Platform admins: Must include platform_key matching their permission scope
@@ -51493,7 +51493,7 @@ paths:
51493
51493
  schema:
51494
51494
  type: boolean
51495
51495
  default: true
51496
- description: Whether to include provider and mentor breakdown
51496
+ description: Whether to include provider and agent breakdown
51497
51497
  - in: query
51498
51498
  name: platform_key
51499
51499
  schema:
@@ -51666,7 +51666,7 @@ paths:
51666
51666
  type: string
51667
51667
  description: 'Comma-separated sections to return: courses, programs, pathways,
51668
51668
  agents, skills, credentials, time_spent. `agents` is an alias for the agent
51669
- (mentor) section. Defaults to courses when omitted.'
51669
+ section. Defaults to courses when omitted.'
51670
51670
  - in: query
51671
51671
  name: overtime
51672
51672
  schema:
@@ -52562,7 +52562,7 @@ paths:
52562
52562
  \ behavior analysis\n - Support scheduling optimization\n \n\
52563
52563
  \ **Key Features:**\n - Day of week patterns (0=Sunday through\
52564
52564
  \ 6=Saturday)\n - Hour of day activity levels (0-23)\n - Flexible\
52565
- \ date range filtering\n - Platform and mentor-specific filtering\n\
52565
+ \ date range filtering\n - Platform and agent-specific filtering\n\
52566
52566
  \ - Message count aggregation\n \n **Data Structure:**\n\
52567
52567
  \ - `day_of_week`: 0-6 (Sunday-Saturday)\n - `hour`: 0-23 (24-hour\
52568
52568
  \ format)\n - `value`: Message count for that time slot\n "
@@ -52754,7 +52754,7 @@ paths:
52754
52754
  get:
52755
52755
  operationId: analytics_topics_retrieve
52756
52756
  description: |-
52757
- Returns topics overview analytics for a given platform and mentor.
52757
+ Returns topics overview analytics for a given platform and agent.
52758
52758
 
52759
52759
  Permission Required:
52760
52760
  - Platform Admin
@@ -52856,7 +52856,7 @@ paths:
52856
52856
  get:
52857
52857
  operationId: analytics_topics_details_retrieve
52858
52858
  description: |-
52859
- Returns topic details Analytics for a given platform and mentor.
52859
+ Returns topic details Analytics for a given platform and agent.
52860
52860
 
52861
52861
  Permission Required:
52862
52862
  - Platform Admin
@@ -53031,7 +53031,7 @@ paths:
53031
53031
  type: string
53032
53032
  description: 'Comma-separated sections to return: courses, programs, pathways,
53033
53033
  agents, skills, credentials, time_spent. `agents` is an alias for the agent
53034
- (mentor) section. Defaults to courses when omitted.'
53034
+ section. Defaults to courses when omitted.'
53035
53035
  - in: query
53036
53036
  name: overtime
53037
53037
  schema:
@@ -53155,7 +53155,7 @@ paths:
53155
53155
  \ and growth\n - Time series charts with customizable granularity\n\
53156
53156
  \ \n **Key Features:**\n - Real-time active user counting\n\
53157
53157
  \ - Percentage change calculations vs previous periods\n - Flexible\
53158
- \ date filtering and granularity\n - Platform and mentor-specific filtering\n\
53158
+ \ date filtering and granularity\n - Platform and agent-specific filtering\n\
53159
53159
  \ - Forward-filled time series data\n \n **Supported\
53160
53160
  \ Metrics:**\n - `currently_active`: Users active in last hour\n \
53161
53161
  \ - `active_users`: Unique users in specified period\n - `registered_users`:\
@@ -53305,10 +53305,10 @@ paths:
53305
53305
  \ functionality across multiple fields\n - Flexible date range filtering\n\
53306
53306
  \ - CSV export capability\n\n **Key Features:**\n - Full-text\
53307
53307
  \ search across username, email, name, and user ID\n - Date range filtering\
53308
- \ for activity periods\n - Platform and mentor-specific filtering\n\
53308
+ \ for activity periods\n - Platform and agent-specific filtering\n\
53309
53309
  \ - Comprehensive pagination with metadata\n - CSV export for\
53310
- \ data analysis\n - User aggregation across platforms/mentors\n\n \
53311
- \ **Search Capabilities:**\n - Username matching\n - Email\
53310
+ \ data analysis\n - User aggregation across platforms/agents\n\n \
53311
+ \ **Search Capabilities:**\n - Username matching\n - Email\
53312
53312
  \ address matching\n - Full name search\n - User ID lookup\n\
53313
53313
  \ - Partial string matching (case-insensitive)\n \n **Export\
53314
53314
  \ Options:**\n - JSON response (default)\n - CSV export (?export=csv)\n\
@@ -108706,7 +108706,7 @@ components:
108706
108706
  - timestamp
108707
108707
  MentorBreakdown:
108708
108708
  type: object
108709
- description: Mentor cost breakdown.
108709
+ description: Agent cost breakdown.
108710
108710
  properties:
108711
108711
  mentor:
108712
108712
  type: string
@@ -111665,7 +111665,7 @@ components:
111665
111665
  proactive_prompt_message:
111666
111666
  type: string
111667
111667
  nullable: true
111668
- description: Default prompt message for AI mentor notifications
111668
+ description: Default prompt message for AI agent notifications
111669
111669
  periodic_config:
111670
111670
  type: string
111671
111671
  readOnly: true
@@ -111723,7 +111723,7 @@ components:
111723
111723
  type: object
111724
111724
  additionalProperties: {}
111725
111725
  writeOnly: true
111726
- description: 'List of mentor configurations: [{"unique_id": "uuid", "prompt":
111726
+ description: 'List of agent configurations: [{"unique_id": "uuid", "prompt":
111727
111727
  "...", "name": "..."}]'
111728
111728
  policy_config:
111729
111729
  type: string
@@ -117397,7 +117397,7 @@ components:
117397
117397
  proactive_prompt_message:
117398
117398
  type: string
117399
117399
  nullable: true
117400
- description: Default prompt message for AI mentor notifications
117400
+ description: Default prompt message for AI agent notifications
117401
117401
  periodic_config:
117402
117402
  type: string
117403
117403
  readOnly: true
@@ -117455,7 +117455,7 @@ components:
117455
117455
  type: object
117456
117456
  additionalProperties: {}
117457
117457
  writeOnly: true
117458
- description: 'List of mentor configurations: [{"unique_id": "uuid", "prompt":
117458
+ description: 'List of agent configurations: [{"unique_id": "uuid", "prompt":
117459
117459
  "...", "name": "..."}]'
117460
117460
  policy_config:
117461
117461
  type: string
@@ -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.338.0-ai-plus',
24
+ VERSION: '4.338.1-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -3,7 +3,7 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
  /**
6
- * Mentor cost breakdown.
6
+ * Agent cost breakdown.
7
7
  */
8
8
  export type MentorBreakdown = {
9
9
  mentor: string;
@@ -134,7 +134,7 @@ export type NotificationTemplateDetail = {
134
134
  */
135
135
  readonly available_context: string;
136
136
  /**
137
- * Default prompt message for AI mentor notifications
137
+ * Default prompt message for AI agent notifications
138
138
  */
139
139
  proactive_prompt_message?: string | null;
140
140
  /**
@@ -178,7 +178,7 @@ export type NotificationTemplateDetail = {
178
178
  */
179
179
  periodic_timezone?: string;
180
180
  /**
181
- * List of mentor configurations: [{"unique_id": "uuid", "prompt": "...", "name": "..."}]
181
+ * List of agent configurations: [{"unique_id": "uuid", "prompt": "...", "name": "..."}]
182
182
  */
183
183
  periodic_mentors?: Array<Record<string, any>>;
184
184
  /**
@@ -134,7 +134,7 @@ export type PatchedNotificationTemplateDetail = {
134
134
  */
135
135
  readonly available_context?: string;
136
136
  /**
137
- * Default prompt message for AI mentor notifications
137
+ * Default prompt message for AI agent notifications
138
138
  */
139
139
  proactive_prompt_message?: string | null;
140
140
  /**
@@ -178,7 +178,7 @@ export type PatchedNotificationTemplateDetail = {
178
178
  */
179
179
  periodic_timezone?: string;
180
180
  /**
181
- * List of mentor configurations: [{"unique_id": "uuid", "prompt": "...", "name": "..."}]
181
+ * List of agent configurations: [{"unique_id": "uuid", "prompt": "...", "name": "..."}]
182
182
  */
183
183
  periodic_mentors?: Array<Record<string, any>>;
184
184
  /**
@@ -7470,7 +7470,7 @@ export class AiAnalyticsService {
7470
7470
  *
7471
7471
  * **Platform & Mentor Filtered:**
7472
7472
  * ```
7473
- * # Get total costs for a specific platform and mentor
7473
+ * # Get total costs for a specific platform and agent
7474
7474
  * GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
7475
7475
  * ```
7476
7476
  *
@@ -7635,7 +7635,7 @@ export class AiAnalyticsService {
7635
7635
  * **Shared optional filters**
7636
7636
  * - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
7637
7637
  * - platform_key – tenant isolation
7638
- * - mentor_unique_id – filter to one mentor
7638
+ * - mentor_unique_id – filter to one agent
7639
7639
  * - username – filter to a learner
7640
7640
  * - provider / llm_model – filter to LLM provider / model
7641
7641
  * - all_time – true → lifetime totals
@@ -7716,7 +7716,7 @@ export class AiAnalyticsService {
7716
7716
  * * `provider` - Group by provider
7717
7717
  * * `llm_model` - Group by LLM model
7718
7718
  * * `username` - Group by username
7719
- * * `mentor` - Group by mentor
7719
+ * * `mentor` - Group by agent
7720
7720
  * * `platform` - Group by platform
7721
7721
  * * `action` - Group by actions
7722
7722
  */
@@ -7785,14 +7785,14 @@ export class AiAnalyticsService {
7785
7785
  * - Flexible filtering by username and/or platform_key
7786
7786
  * - Essential metrics: total cost, sessions, usage period
7787
7787
  * - Provider breakdown (OpenAI, Anthropic, etc.)
7788
- * - Top mentors/actions by cost
7788
+ * - Top agents/actions by cost
7789
7789
  * - Clean, invoice-ready format
7790
7790
  *
7791
7791
  * **Query Parameters:**
7792
7792
  * - username: Filter by specific username (optional)
7793
7793
  * - platform_key: Filter by platform (optional, but required for platform admins)
7794
7794
  * - start_date, end_date: billing period (defaults to last 30 days)
7795
- * - include_breakdown: show provider/mentor details (default: true)
7795
+ * - include_breakdown: show provider/agent details (default: true)
7796
7796
  *
7797
7797
  * **Permission Logic:**
7798
7798
  * - Platform admins: Must include platform_key matching their permission scope
@@ -7857,7 +7857,7 @@ export class AiAnalyticsService {
7857
7857
  */
7858
7858
  endDate?: string,
7859
7859
  /**
7860
- * Whether to include provider and mentor breakdown
7860
+ * Whether to include provider and agent breakdown
7861
7861
  */
7862
7862
  includeBreakdown?: boolean,
7863
7863
  /**
@@ -7965,7 +7965,7 @@ export class AiAnalyticsService {
7965
7965
  includeEdxProgress?: boolean,
7966
7966
  mentorUniqueId?: string,
7967
7967
  /**
7968
- * Comma-separated sections to return: courses, programs, pathways, agents, skills, credentials, time_spent. `agents` is an alias for the agent (mentor) section. Defaults to courses when omitted.
7968
+ * Comma-separated sections to return: courses, programs, pathways, agents, skills, credentials, time_spent. `agents` is an alias for the agent section. Defaults to courses when omitted.
7969
7969
  */
7970
7970
  metrics?: string,
7971
7971
  /**
@@ -8544,7 +8544,7 @@ export class AiAnalyticsService {
8544
8544
  * - Day of week patterns (0=Sunday through 6=Saturday)
8545
8545
  * - Hour of day activity levels (0-23)
8546
8546
  * - Flexible date range filtering
8547
- * - Platform and mentor-specific filtering
8547
+ * - Platform and agent-specific filtering
8548
8548
  * - Message count aggregation
8549
8549
  *
8550
8550
  * **Data Structure:**
@@ -8686,7 +8686,7 @@ export class AiAnalyticsService {
8686
8686
  });
8687
8687
  }
8688
8688
  /**
8689
- * Returns topics overview analytics for a given platform and mentor.
8689
+ * Returns topics overview analytics for a given platform and agent.
8690
8690
  *
8691
8691
  * Permission Required:
8692
8692
  * - Platform Admin
@@ -8752,7 +8752,7 @@ export class AiAnalyticsService {
8752
8752
  });
8753
8753
  }
8754
8754
  /**
8755
- * Returns topic details Analytics for a given platform and mentor.
8755
+ * Returns topic details Analytics for a given platform and agent.
8756
8756
  *
8757
8757
  * Permission Required:
8758
8758
  * - Platform Admin
@@ -8880,7 +8880,7 @@ export class AiAnalyticsService {
8880
8880
  includeEdxProgress?: boolean,
8881
8881
  mentorUniqueId?: string,
8882
8882
  /**
8883
- * Comma-separated sections to return: courses, programs, pathways, agents, skills, credentials, time_spent. `agents` is an alias for the agent (mentor) section. Defaults to courses when omitted.
8883
+ * Comma-separated sections to return: courses, programs, pathways, agents, skills, credentials, time_spent. `agents` is an alias for the agent section. Defaults to courses when omitted.
8884
8884
  */
8885
8885
  metrics?: string,
8886
8886
  /**
@@ -8943,7 +8943,7 @@ export class AiAnalyticsService {
8943
8943
  * - Real-time active user counting
8944
8944
  * - Percentage change calculations vs previous periods
8945
8945
  * - Flexible date filtering and granularity
8946
- * - Platform and mentor-specific filtering
8946
+ * - Platform and agent-specific filtering
8947
8947
  * - Forward-filled time series data
8948
8948
  *
8949
8949
  * **Supported Metrics:**
@@ -9030,10 +9030,10 @@ export class AiAnalyticsService {
9030
9030
  * **Key Features:**
9031
9031
  * - Full-text search across username, email, name, and user ID
9032
9032
  * - Date range filtering for activity periods
9033
- * - Platform and mentor-specific filtering
9033
+ * - Platform and agent-specific filtering
9034
9034
  * - Comprehensive pagination with metadata
9035
9035
  * - CSV export for data analysis
9036
- * - User aggregation across platforms/mentors
9036
+ * - User aggregation across platforms/agents
9037
9037
  *
9038
9038
  * **Search Capabilities:**
9039
9039
  * - Username matching
@@ -242,7 +242,7 @@ export class AnalyticsService {
242
242
  *
243
243
  * **Platform & Mentor Filtered:**
244
244
  * ```
245
- * # Get total costs for a specific platform and mentor
245
+ * # Get total costs for a specific platform and agent
246
246
  * GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
247
247
  * ```
248
248
  *
@@ -407,7 +407,7 @@ export class AnalyticsService {
407
407
  * **Shared optional filters**
408
408
  * - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
409
409
  * - platform_key – tenant isolation
410
- * - mentor_unique_id – filter to one mentor
410
+ * - mentor_unique_id – filter to one agent
411
411
  * - username – filter to a learner
412
412
  * - provider / llm_model – filter to LLM provider / model
413
413
  * - all_time – true → lifetime totals
@@ -488,7 +488,7 @@ export class AnalyticsService {
488
488
  * * `provider` - Group by provider
489
489
  * * `llm_model` - Group by LLM model
490
490
  * * `username` - Group by username
491
- * * `mentor` - Group by mentor
491
+ * * `mentor` - Group by agent
492
492
  * * `platform` - Group by platform
493
493
  * * `action` - Group by actions
494
494
  */
@@ -557,14 +557,14 @@ export class AnalyticsService {
557
557
  * - Flexible filtering by username and/or platform_key
558
558
  * - Essential metrics: total cost, sessions, usage period
559
559
  * - Provider breakdown (OpenAI, Anthropic, etc.)
560
- * - Top mentors/actions by cost
560
+ * - Top agents/actions by cost
561
561
  * - Clean, invoice-ready format
562
562
  *
563
563
  * **Query Parameters:**
564
564
  * - username: Filter by specific username (optional)
565
565
  * - platform_key: Filter by platform (optional, but required for platform admins)
566
566
  * - start_date, end_date: billing period (defaults to last 30 days)
567
- * - include_breakdown: show provider/mentor details (default: true)
567
+ * - include_breakdown: show provider/agent details (default: true)
568
568
  *
569
569
  * **Permission Logic:**
570
570
  * - Platform admins: Must include platform_key matching their permission scope
@@ -629,7 +629,7 @@ export class AnalyticsService {
629
629
  */
630
630
  endDate?: string,
631
631
  /**
632
- * Whether to include provider and mentor breakdown
632
+ * Whether to include provider and agent breakdown
633
633
  */
634
634
  includeBreakdown?: boolean,
635
635
  /**
@@ -1151,7 +1151,7 @@ export class AnalyticsService {
1151
1151
  * - Day of week patterns (0=Sunday through 6=Saturday)
1152
1152
  * - Hour of day activity levels (0-23)
1153
1153
  * - Flexible date range filtering
1154
- * - Platform and mentor-specific filtering
1154
+ * - Platform and agent-specific filtering
1155
1155
  * - Message count aggregation
1156
1156
  *
1157
1157
  * **Data Structure:**
@@ -1216,7 +1216,7 @@ export class AnalyticsService {
1216
1216
  });
1217
1217
  }
1218
1218
  /**
1219
- * Returns topics overview analytics for a given platform and mentor.
1219
+ * Returns topics overview analytics for a given platform and agent.
1220
1220
  *
1221
1221
  * Permission Required:
1222
1222
  * - Platform Admin
@@ -1282,7 +1282,7 @@ export class AnalyticsService {
1282
1282
  });
1283
1283
  }
1284
1284
  /**
1285
- * Returns topic details Analytics for a given platform and mentor.
1285
+ * Returns topic details Analytics for a given platform and agent.
1286
1286
  *
1287
1287
  * Permission Required:
1288
1288
  * - Platform Admin
@@ -1355,7 +1355,7 @@ export class AnalyticsService {
1355
1355
  * - Real-time active user counting
1356
1356
  * - Percentage change calculations vs previous periods
1357
1357
  * - Flexible date filtering and granularity
1358
- * - Platform and mentor-specific filtering
1358
+ * - Platform and agent-specific filtering
1359
1359
  * - Forward-filled time series data
1360
1360
  *
1361
1361
  * **Supported Metrics:**
@@ -1442,10 +1442,10 @@ export class AnalyticsService {
1442
1442
  * **Key Features:**
1443
1443
  * - Full-text search across username, email, name, and user ID
1444
1444
  * - Date range filtering for activity periods
1445
- * - Platform and mentor-specific filtering
1445
+ * - Platform and agent-specific filtering
1446
1446
  * - Comprehensive pagination with metadata
1447
1447
  * - CSV export for data analysis
1448
- * - User aggregation across platforms/mentors
1448
+ * - User aggregation across platforms/agents
1449
1449
  *
1450
1450
  * **Search Capabilities:**
1451
1451
  * - Username matching