@iblai/iblai-api 4.14.5-loadtest-ai → 4.14.5-loadtest2-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/sdk_schema.yml CHANGED
@@ -30179,6 +30179,239 @@ paths:
30179
30179
  schema:
30180
30180
  $ref: '#/components/schemas/TimeSpentUpdateResponse'
30181
30181
  description: ''
30182
+ /api/analytics/ratings/:
30183
+ get:
30184
+ operationId: analytics_ratings_retrieve
30185
+ parameters:
30186
+ - in: query
30187
+ name: date_filter
30188
+ schema:
30189
+ enum:
30190
+ - today
30191
+ - 7d
30192
+ - 30d
30193
+ - 90d
30194
+ - all_time
30195
+ - custom
30196
+ type: string
30197
+ default: today
30198
+ minLength: 1
30199
+ description: |-
30200
+ * `today` - Today only
30201
+ * `7d` - Last 7 days
30202
+ * `30d` - Last 30 days
30203
+ * `90d` - Last 90 days
30204
+ * `all_time` - All time
30205
+ * `custom` - Custom date range
30206
+ - in: query
30207
+ name: end_date
30208
+ schema:
30209
+ type: string
30210
+ format: date
30211
+ - in: query
30212
+ name: granularity
30213
+ schema:
30214
+ enum:
30215
+ - day
30216
+ - hour
30217
+ - week
30218
+ - month
30219
+ type: string
30220
+ default: hour
30221
+ minLength: 1
30222
+ description: |-
30223
+ * `day` - day
30224
+ * `hour` - hour
30225
+ * `week` - week
30226
+ * `month` - month
30227
+ - in: query
30228
+ name: mentor_unique_id
30229
+ schema:
30230
+ type: string
30231
+ minLength: 1
30232
+ - in: query
30233
+ name: metric
30234
+ schema:
30235
+ enum:
30236
+ - ratings
30237
+ type: string
30238
+ default: ratings
30239
+ minLength: 1
30240
+ description: '* `ratings` - Ratings over time'
30241
+ - in: query
30242
+ name: platform_key
30243
+ schema:
30244
+ type: string
30245
+ minLength: 1
30246
+ - in: query
30247
+ name: start_date
30248
+ schema:
30249
+ type: string
30250
+ format: date
30251
+ tags:
30252
+ - ai-analytics
30253
+ security:
30254
+ - PlatformApiKeyAuthentication: []
30255
+ responses:
30256
+ '200':
30257
+ content:
30258
+ application/json:
30259
+ schema:
30260
+ $ref: '#/components/schemas/RatingsOvertime'
30261
+ description: ''
30262
+ /api/analytics/sessions/:
30263
+ get:
30264
+ operationId: analytics_sessions_retrieve
30265
+ parameters:
30266
+ - in: query
30267
+ name: date_filter
30268
+ schema:
30269
+ enum:
30270
+ - today
30271
+ - 7d
30272
+ - 30d
30273
+ - 90d
30274
+ - all_time
30275
+ - custom
30276
+ type: string
30277
+ default: today
30278
+ minLength: 1
30279
+ description: |-
30280
+ * `today` - Today only
30281
+ * `7d` - Last 7 days
30282
+ * `30d` - Last 30 days
30283
+ * `90d` - Last 90 days
30284
+ * `all_time` - All time
30285
+ * `custom` - Custom date range
30286
+ - in: query
30287
+ name: end_date
30288
+ schema:
30289
+ type: string
30290
+ format: date
30291
+ - in: query
30292
+ name: granularity
30293
+ schema:
30294
+ enum:
30295
+ - day
30296
+ - hour
30297
+ - week
30298
+ - month
30299
+ type: string
30300
+ default: hour
30301
+ minLength: 1
30302
+ description: |-
30303
+ * `day` - day
30304
+ * `hour` - hour
30305
+ * `week` - week
30306
+ * `month` - month
30307
+ - in: query
30308
+ name: mentor_unique_id
30309
+ schema:
30310
+ type: string
30311
+ minLength: 1
30312
+ - in: query
30313
+ name: metric
30314
+ schema:
30315
+ enum:
30316
+ - sessions
30317
+ type: string
30318
+ default: sessions
30319
+ minLength: 1
30320
+ description: '* `sessions` - Sessions over time'
30321
+ - in: query
30322
+ name: platform_key
30323
+ schema:
30324
+ type: string
30325
+ minLength: 1
30326
+ - in: query
30327
+ name: start_date
30328
+ schema:
30329
+ type: string
30330
+ format: date
30331
+ tags:
30332
+ - ai-analytics
30333
+ security:
30334
+ - PlatformApiKeyAuthentication: []
30335
+ responses:
30336
+ '200':
30337
+ content:
30338
+ application/json:
30339
+ schema:
30340
+ $ref: '#/components/schemas/SessionsChart'
30341
+ description: ''
30342
+ /api/analytics/sessions/details/:
30343
+ get:
30344
+ operationId: analytics_sessions_details_retrieve
30345
+ parameters:
30346
+ - in: query
30347
+ name: date_filter
30348
+ schema:
30349
+ enum:
30350
+ - today
30351
+ - 7d
30352
+ - 30d
30353
+ - 90d
30354
+ - all_time
30355
+ - custom
30356
+ type: string
30357
+ default: today
30358
+ minLength: 1
30359
+ description: |-
30360
+ * `today` - Today only
30361
+ * `7d` - Last 7 days
30362
+ * `30d` - Last 30 days
30363
+ * `90d` - Last 90 days
30364
+ * `all_time` - All time
30365
+ * `custom` - Custom date range
30366
+ - in: query
30367
+ name: end_date
30368
+ schema:
30369
+ type: string
30370
+ format: date
30371
+ - in: query
30372
+ name: limit
30373
+ schema:
30374
+ type: integer
30375
+ maximum: 100
30376
+ minimum: 1
30377
+ default: 50
30378
+ - in: query
30379
+ name: mentor_unique_id
30380
+ schema:
30381
+ type: string
30382
+ minLength: 1
30383
+ - in: query
30384
+ name: page
30385
+ schema:
30386
+ type: integer
30387
+ minimum: 1
30388
+ default: 1
30389
+ - in: query
30390
+ name: platform_key
30391
+ schema:
30392
+ type: string
30393
+ minLength: 1
30394
+ - in: query
30395
+ name: search
30396
+ schema:
30397
+ type: string
30398
+ description: Search by topic name
30399
+ - in: query
30400
+ name: start_date
30401
+ schema:
30402
+ type: string
30403
+ format: date
30404
+ tags:
30405
+ - ai-analytics
30406
+ security:
30407
+ - PlatformApiKeyAuthentication: []
30408
+ responses:
30409
+ '200':
30410
+ content:
30411
+ application/json:
30412
+ schema:
30413
+ $ref: '#/components/schemas/TopicDetails'
30414
+ description: ''
30182
30415
  /api/analytics/time/:
30183
30416
  get:
30184
30417
  operationId: analytics_time_retrieve
@@ -30199,32 +30432,47 @@ paths:
30199
30432
  schema:
30200
30433
  enum:
30201
30434
  - today
30202
- - yesterday
30203
30435
  - 7d
30204
30436
  - 30d
30205
30437
  - 90d
30438
+ - all_time
30206
30439
  - custom
30207
30440
  type: string
30208
30441
  default: today
30209
30442
  minLength: 1
30210
30443
  description: |-
30211
30444
  * `today` - Today only
30212
- * `yesterday` - Yesterday only
30213
30445
  * `7d` - Last 7 days
30214
30446
  * `30d` - Last 30 days
30215
30447
  * `90d` - Last 90 days
30448
+ * `all_time` - All time
30216
30449
  * `custom` - Custom date range
30217
30450
  - in: query
30218
30451
  name: end_date
30219
30452
  schema:
30220
30453
  type: string
30221
30454
  format: date
30455
+ - in: query
30456
+ name: granularity
30457
+ schema:
30458
+ enum:
30459
+ - day
30460
+ - hour
30461
+ - week
30462
+ - month
30463
+ type: string
30464
+ default: hour
30465
+ minLength: 1
30466
+ description: |-
30467
+ * `day` - day
30468
+ * `hour` - hour
30469
+ * `week` - week
30470
+ * `month` - month
30222
30471
  - in: query
30223
30472
  name: mentor_unique_id
30224
30473
  schema:
30225
30474
  type: string
30226
30475
  minLength: 1
30227
- description: Filter by specific mentor unique ID
30228
30476
  - in: query
30229
30477
  name: platform_key
30230
30478
  schema:
@@ -30352,6 +30600,166 @@ paths:
30352
30600
  description: Bad request
30353
30601
  '401':
30354
30602
  description: Unauthorized
30603
+ /api/analytics/topics/:
30604
+ get:
30605
+ operationId: analytics_topics_retrieve
30606
+ parameters:
30607
+ - in: query
30608
+ name: date_filter
30609
+ schema:
30610
+ enum:
30611
+ - today
30612
+ - 7d
30613
+ - 30d
30614
+ - 90d
30615
+ - all_time
30616
+ - custom
30617
+ type: string
30618
+ default: today
30619
+ minLength: 1
30620
+ description: |-
30621
+ * `today` - Today only
30622
+ * `7d` - Last 7 days
30623
+ * `30d` - Last 30 days
30624
+ * `90d` - Last 90 days
30625
+ * `all_time` - All time
30626
+ * `custom` - Custom date range
30627
+ - in: query
30628
+ name: end_date
30629
+ schema:
30630
+ type: string
30631
+ format: date
30632
+ - in: query
30633
+ name: granularity
30634
+ schema:
30635
+ enum:
30636
+ - day
30637
+ - hour
30638
+ - week
30639
+ - month
30640
+ type: string
30641
+ default: hour
30642
+ minLength: 1
30643
+ description: |-
30644
+ * `day` - day
30645
+ * `hour` - hour
30646
+ * `week` - week
30647
+ * `month` - month
30648
+ - in: query
30649
+ name: mentor_unique_id
30650
+ schema:
30651
+ type: string
30652
+ minLength: 1
30653
+ - in: query
30654
+ name: metric
30655
+ schema:
30656
+ enum:
30657
+ - overview
30658
+ - sessions
30659
+ - ratings
30660
+ - highlighted
30661
+ type: string
30662
+ default: overview
30663
+ minLength: 1
30664
+ description: |-
30665
+ * `overview` - Overall topic metrics
30666
+ * `sessions` - Sessions over time
30667
+ * `ratings` - Ratings over time
30668
+ * `highlighted` - Highlighted topics
30669
+ - in: query
30670
+ name: platform_key
30671
+ schema:
30672
+ type: string
30673
+ minLength: 1
30674
+ - in: query
30675
+ name: start_date
30676
+ schema:
30677
+ type: string
30678
+ format: date
30679
+ tags:
30680
+ - ai-analytics
30681
+ security:
30682
+ - PlatformApiKeyAuthentication: []
30683
+ responses:
30684
+ '200':
30685
+ content:
30686
+ application/json:
30687
+ schema:
30688
+ $ref: '#/components/schemas/TopicsOverview'
30689
+ description: ''
30690
+ /api/analytics/topics/details/:
30691
+ get:
30692
+ operationId: analytics_topics_details_retrieve
30693
+ parameters:
30694
+ - in: query
30695
+ name: date_filter
30696
+ schema:
30697
+ enum:
30698
+ - today
30699
+ - 7d
30700
+ - 30d
30701
+ - 90d
30702
+ - all_time
30703
+ - custom
30704
+ type: string
30705
+ default: today
30706
+ minLength: 1
30707
+ description: |-
30708
+ * `today` - Today only
30709
+ * `7d` - Last 7 days
30710
+ * `30d` - Last 30 days
30711
+ * `90d` - Last 90 days
30712
+ * `all_time` - All time
30713
+ * `custom` - Custom date range
30714
+ - in: query
30715
+ name: end_date
30716
+ schema:
30717
+ type: string
30718
+ format: date
30719
+ - in: query
30720
+ name: limit
30721
+ schema:
30722
+ type: integer
30723
+ maximum: 100
30724
+ minimum: 1
30725
+ default: 50
30726
+ - in: query
30727
+ name: mentor_unique_id
30728
+ schema:
30729
+ type: string
30730
+ minLength: 1
30731
+ - in: query
30732
+ name: page
30733
+ schema:
30734
+ type: integer
30735
+ minimum: 1
30736
+ default: 1
30737
+ - in: query
30738
+ name: platform_key
30739
+ schema:
30740
+ type: string
30741
+ minLength: 1
30742
+ - in: query
30743
+ name: search
30744
+ schema:
30745
+ type: string
30746
+ description: Search by topic name
30747
+ - in: query
30748
+ name: start_date
30749
+ schema:
30750
+ type: string
30751
+ format: date
30752
+ tags:
30753
+ - ai-analytics
30754
+ security:
30755
+ - PlatformApiKeyAuthentication: []
30756
+ responses:
30757
+ '200':
30758
+ content:
30759
+ application/json:
30760
+ schema:
30761
+ $ref: '#/components/schemas/TopicDetails'
30762
+ description: ''
30355
30763
  /api/analytics/users/:
30356
30764
  get:
30357
30765
  operationId: analytics_users_retrieve
@@ -30376,6 +30784,7 @@ paths:
30376
30784
  - 7d
30377
30785
  - 30d
30378
30786
  - 90d
30787
+ - all_time
30379
30788
  - custom
30380
30789
  type: string
30381
30790
  default: today
@@ -30385,6 +30794,7 @@ paths:
30385
30794
  * `7d` - Last 7 days
30386
30795
  * `30d` - Last 30 days
30387
30796
  * `90d` - Last 90 days
30797
+ * `all_time` - All time
30388
30798
  * `custom` - Custom date range
30389
30799
  - in: query
30390
30800
  name: end_date
@@ -30395,24 +30805,23 @@ paths:
30395
30805
  name: granularity
30396
30806
  schema:
30397
30807
  enum:
30398
- - hour
30399
30808
  - day
30809
+ - hour
30400
30810
  - week
30401
30811
  - month
30402
30812
  type: string
30403
30813
  default: hour
30404
30814
  minLength: 1
30405
30815
  description: |-
30406
- * `hour` - hour
30407
30816
  * `day` - day
30817
+ * `hour` - hour
30408
30818
  * `week` - week
30409
30819
  * `month` - month
30410
30820
  - in: query
30411
30821
  name: mentor_unique_id
30412
30822
  schema:
30413
30823
  type: string
30414
- format: uuid
30415
- description: Filter by specific mentor unique ID
30824
+ minLength: 1
30416
30825
  - in: query
30417
30826
  name: metric
30418
30827
  schema:
@@ -30548,8 +30957,7 @@ paths:
30548
30957
  name: mentor_unique_id
30549
30958
  schema:
30550
30959
  type: string
30551
- format: uuid
30552
- description: Filter by specific mentor unique ID
30960
+ minLength: 1
30553
30961
  - in: query
30554
30962
  name: page
30555
30963
  schema:
@@ -73175,6 +73583,19 @@ components:
73175
73583
  $ref: '#/components/schemas/LLMQuestion'
73176
73584
  required:
73177
73585
  - questions
73586
+ RatingAverageRecord:
73587
+ type: object
73588
+ description: Serializer for rating average overtime data.
73589
+ properties:
73590
+ date:
73591
+ type: string
73592
+ value:
73593
+ type: number
73594
+ format: double
73595
+ description: Average rating value for this time period
73596
+ required:
73597
+ - date
73598
+ - value
73178
73599
  RatingEnum:
73179
73600
  enum:
73180
73601
  - 1
@@ -73194,6 +73615,18 @@ components:
73194
73615
  required:
73195
73616
  - time
73196
73617
  - total_ratings
73618
+ RatingsOvertime:
73619
+ type: object
73620
+ properties:
73621
+ metric:
73622
+ type: string
73623
+ points:
73624
+ type: array
73625
+ items:
73626
+ $ref: '#/components/schemas/RatingAverageRecord'
73627
+ required:
73628
+ - metric
73629
+ - points
73197
73630
  RbacBaseRole:
73198
73631
  type: object
73199
73632
  description: Serializer for roles.
@@ -74461,6 +74894,17 @@ components:
74461
74894
  - time
74462
74895
  - type
74463
74896
  - url
74897
+ SessionChartPoint:
74898
+ type: object
74899
+ properties:
74900
+ date:
74901
+ type: string
74902
+ format: date-time
74903
+ value:
74904
+ type: integer
74905
+ required:
74906
+ - date
74907
+ - value
74464
74908
  SessionDetail:
74465
74909
  type: object
74466
74910
  properties:
@@ -74503,6 +74947,18 @@ components:
74503
74947
  - memory
74504
74948
  - session_id
74505
74949
  - updated_at
74950
+ SessionsChart:
74951
+ type: object
74952
+ properties:
74953
+ metric:
74954
+ type: string
74955
+ points:
74956
+ type: array
74957
+ items:
74958
+ $ref: '#/components/schemas/SessionChartPoint'
74959
+ required:
74960
+ - metric
74961
+ - points
74506
74962
  ShareableMentorLink:
74507
74963
  type: object
74508
74964
  properties:
@@ -75837,6 +76293,39 @@ components:
75837
76293
  - category
75838
76294
  - id
75839
76295
  - name
76296
+ TopicDetail:
76297
+ type: object
76298
+ properties:
76299
+ topic_id:
76300
+ type: integer
76301
+ name:
76302
+ type: string
76303
+ messages:
76304
+ type: integer
76305
+ conversations:
76306
+ type: integer
76307
+ average_rating:
76308
+ type: string
76309
+ rating_count:
76310
+ type: integer
76311
+ required:
76312
+ - conversations
76313
+ - messages
76314
+ - name
76315
+ - topic_id
76316
+ TopicDetails:
76317
+ type: object
76318
+ properties:
76319
+ results:
76320
+ type: array
76321
+ items:
76322
+ $ref: '#/components/schemas/TopicDetail'
76323
+ pagination:
76324
+ type: object
76325
+ additionalProperties: {}
76326
+ required:
76327
+ - pagination
76328
+ - results
75840
76329
  TopicModel:
75841
76330
  type: object
75842
76331
  properties:
@@ -75902,6 +76391,51 @@ components:
75902
76391
  required:
75903
76392
  - conversation_count
75904
76393
  - name
76394
+ TopicsOverview:
76395
+ type: object
76396
+ description: Dashboard KPI overview for topics.
76397
+ properties:
76398
+ topics:
76399
+ allOf:
76400
+ - $ref: '#/components/schemas/TopicsOverviewMetric'
76401
+ description: Topic metrics including all-time, monthly counts and percentage
76402
+ change
76403
+ conversations:
76404
+ allOf:
76405
+ - $ref: '#/components/schemas/TopicsOverviewMetric'
76406
+ description: Conversation metrics including all-time, monthly counts and
76407
+ percentage change
76408
+ messages:
76409
+ allOf:
76410
+ - $ref: '#/components/schemas/TopicsOverviewMetric'
76411
+ description: Message metrics including all-time, monthly counts and percentage
76412
+ change
76413
+ required:
76414
+ - conversations
76415
+ - messages
76416
+ - topics
76417
+ TopicsOverviewMetric:
76418
+ type: object
76419
+ description: Serializer for individual topic overview metrics.
76420
+ properties:
76421
+ all_time_total:
76422
+ type: integer
76423
+ description: Total count since the beginning of time
76424
+ this_month:
76425
+ type: integer
76426
+ description: Count for current month
76427
+ last_month:
76428
+ type: integer
76429
+ description: Count for previous month
76430
+ percentage_change:
76431
+ type: number
76432
+ format: double
76433
+ description: Percentage change from last month to this month
76434
+ required:
76435
+ - all_time_total
76436
+ - last_month
76437
+ - percentage_change
76438
+ - this_month
75905
76439
  Trace:
75906
76440
  type: object
75907
76441
  properties:
package/src/index.ts CHANGED
@@ -527,8 +527,10 @@ export type { ProviderBreakdown } from './models/ProviderBreakdown';
527
527
  export type { QuestionCardTag } from './models/QuestionCardTag';
528
528
  export type { QuestionRequest } from './models/QuestionRequest';
529
529
  export type { QuestionResponse } from './models/QuestionResponse';
530
+ export type { RatingAverageRecord } from './models/RatingAverageRecord';
530
531
  export { RatingEnum } from './models/RatingEnum';
531
532
  export type { RatingRecord } from './models/RatingRecord';
533
+ export type { RatingsOvertime } from './models/RatingsOvertime';
532
534
  export type { RbacBaseRole } from './models/RbacBaseRole';
533
535
  export type { RbacGroup } from './models/RbacGroup';
534
536
  export type { RbacPlatform } from './models/RbacPlatform';
@@ -587,9 +589,11 @@ export type { SendResponse } from './models/SendResponse';
587
589
  export type { SentimentSummary } from './models/SentimentSummary';
588
590
  export { ServiceEnum } from './models/ServiceEnum';
589
591
  export type { SessionBrowserScreenshot } from './models/SessionBrowserScreenshot';
592
+ export type { SessionChartPoint } from './models/SessionChartPoint';
590
593
  export type { SessionDetail } from './models/SessionDetail';
591
594
  export type { SessionMemoryAttachment } from './models/SessionMemoryAttachment';
592
595
  export type { SessionMemoryStorage } from './models/SessionMemoryStorage';
596
+ export type { SessionsChart } from './models/SessionsChart';
593
597
  export type { ShareableMentorLink } from './models/ShareableMentorLink';
594
598
  export type { ShellLogs } from './models/ShellLogs';
595
599
  export type { Skill } from './models/Skill';
@@ -656,8 +660,12 @@ export type { TokenProxyUser } from './models/TokenProxyUser';
656
660
  export type { TonesView } from './models/TonesView';
657
661
  export type { ToolCategory } from './models/ToolCategory';
658
662
  export type { ToolResponse } from './models/ToolResponse';
663
+ export type { TopicDetail } from './models/TopicDetail';
664
+ export type { TopicDetails } from './models/TopicDetails';
659
665
  export type { TopicModel } from './models/TopicModel';
660
666
  export type { TopicRecord } from './models/TopicRecord';
667
+ export type { TopicsOverview } from './models/TopicsOverview';
668
+ export type { TopicsOverviewMetric } from './models/TopicsOverviewMetric';
661
669
  export type { TopicStatistics } from './models/TopicStatistics';
662
670
  export type { TopicStatisticsResponse } from './models/TopicStatisticsResponse';
663
671
  export type { TopicSummaryView } from './models/TopicSummaryView';