@iblai/iblai-api 4.489.0-ai → 4.490.0-core

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.
Files changed (1277) hide show
  1. package/dist/index.cjs.js +17761 -41623
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +17762 -41601
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +17761 -41623
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +2 -624
  8. package/dist/types/models/{PlatformApplicationNoteKindEnum.d.ts → KindEnum.d.ts} +1 -1
  9. package/dist/types/models/Pagination.d.ts +11 -16
  10. package/dist/types/models/PatchedPlacementAssessmentUpdate.d.ts +2 -2
  11. package/dist/types/models/PatchedPlatformApplicationNote.d.ts +2 -2
  12. package/dist/types/models/PlacementAssessment.d.ts +2 -2
  13. package/dist/types/models/PlatformApplicationNote.d.ts +2 -2
  14. package/dist/types/models/{SourceBf5Enum.d.ts → SourceEnum.d.ts} +1 -1
  15. package/dist/types/services/AiAnalyticsService.d.ts +243 -5598
  16. package/dist/types/services/AnalyticsService.d.ts +4 -746
  17. package/dist/types/services/SearchService.d.ts +71 -1116
  18. package/dist/types/services/V1RbacService.d.ts +0 -10
  19. package/package.json +1 -1
  20. package/sdk_schema.yml +38664 -104373
  21. package/src/core/OpenAPI.ts +1 -1
  22. package/src/index.ts +2 -624
  23. package/src/models/{PlatformApplicationNoteKindEnum.ts → KindEnum.ts} +1 -1
  24. package/src/models/Pagination.ts +11 -16
  25. package/src/models/PatchedPlacementAssessmentUpdate.ts +2 -2
  26. package/src/models/PatchedPlatformApplicationNote.ts +2 -2
  27. package/src/models/PlacementAssessment.ts +2 -2
  28. package/src/models/PlatformApplicationNote.ts +2 -2
  29. package/src/models/{SourceBf5Enum.ts → SourceEnum.ts} +1 -1
  30. package/src/services/AiAnalyticsService.ts +5482 -14262
  31. package/src/services/AnalyticsService.ts +189 -1283
  32. package/src/services/SearchService.ts +749 -2243
  33. package/src/services/V1RbacService.ts +0 -24
  34. package/dist/types/models/AIGeneratedImage.d.ts +0 -20
  35. package/dist/types/models/AIUserProfileMemoryRelation.d.ts +0 -4
  36. package/dist/types/models/AIUserProfileRequest.d.ts +0 -4
  37. package/dist/types/models/AccessEnum.d.ts +0 -8
  38. package/dist/types/models/AccessTimesHeatmap.d.ts +0 -5
  39. package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +0 -13
  40. package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +0 -13
  41. package/dist/types/models/ActionBreakdown.d.ts +0 -10
  42. package/dist/types/models/ActionTakenEnum.d.ts +0 -12
  43. package/dist/types/models/AddMentorToDisclaimer.d.ts +0 -12
  44. package/dist/types/models/AdminIntegrationCredential.d.ts +0 -17
  45. package/dist/types/models/AgentChannel.d.ts +0 -26
  46. package/dist/types/models/AgentChannelCreate.d.ts +0 -24
  47. package/dist/types/models/AgentChannelTransportEnum.d.ts +0 -8
  48. package/dist/types/models/AgentSkill.d.ts +0 -35
  49. package/dist/types/models/AgentSkillResource.d.ts +0 -17
  50. package/dist/types/models/AlignMentorBubbleEnum.d.ts +0 -8
  51. package/dist/types/models/AnalyticsOverview.d.ts +0 -7
  52. package/dist/types/models/Answer.d.ts +0 -11
  53. package/dist/types/models/Artifact.d.ts +0 -78
  54. package/dist/types/models/ArtifactList.d.ts +0 -56
  55. package/dist/types/models/ArtifactVersion.d.ts +0 -63
  56. package/dist/types/models/AssumedKnowledge.d.ts +0 -4
  57. package/dist/types/models/AssumedKnowledgeLevel.d.ts +0 -4
  58. package/dist/types/models/AudioToTextRequest.d.ts +0 -15
  59. package/dist/types/models/AudioToTextResponse.d.ts +0 -3
  60. package/dist/types/models/AuthModeEnum.d.ts +0 -12
  61. package/dist/types/models/AuthScopeEnum.d.ts +0 -10
  62. package/dist/types/models/AuthTypeEnum.d.ts +0 -10
  63. package/dist/types/models/BaseFinanceResponse.d.ts +0 -37
  64. package/dist/types/models/BillingPeriod.d.ts +0 -8
  65. package/dist/types/models/Breakdown.d.ts +0 -11
  66. package/dist/types/models/CallAuthenticationRequest.d.ts +0 -17
  67. package/dist/types/models/CallAuthenticationResponse.d.ts +0 -21
  68. package/dist/types/models/CallConfiguration.d.ts +0 -38
  69. package/dist/types/models/CallConfigurationModeEnum.d.ts +0 -8
  70. package/dist/types/models/ChannelAllowEntry.d.ts +0 -8
  71. package/dist/types/models/ChannelAllowEntryCreate.d.ts +0 -6
  72. package/dist/types/models/ChannelAllowEntrySourceEnum.d.ts +0 -10
  73. package/dist/types/models/ChannelCatalogEntry.d.ts +0 -16
  74. package/dist/types/models/ChannelCredential.d.ts +0 -22
  75. package/dist/types/models/ChannelCredentialCreate.d.ts +0 -6
  76. package/dist/types/models/ChannelEnum.d.ts +0 -18
  77. package/dist/types/models/ChannelIdentity.d.ts +0 -10
  78. package/dist/types/models/ChannelIdentityPreview.d.ts +0 -12
  79. package/dist/types/models/ChannelIdentityRedeem.d.ts +0 -6
  80. package/dist/types/models/ChannelPairingRequest.d.ts +0 -9
  81. package/dist/types/models/ChannelPairingRequestStatusEnum.d.ts +0 -12
  82. package/dist/types/models/ChatCompletionRequest.d.ts +0 -27
  83. package/dist/types/models/ChatHistory.d.ts +0 -20
  84. package/dist/types/models/ChatHistoryFilterData.d.ts +0 -9
  85. package/dist/types/models/ChatHistoryFilterUser.d.ts +0 -6
  86. package/dist/types/models/ChatHistoryItem.d.ts +0 -6
  87. package/dist/types/models/ChatHistorySessionId.d.ts +0 -3
  88. package/dist/types/models/ChatPrivacyModeEnum.d.ts +0 -10
  89. package/dist/types/models/ChatRunTracker.d.ts +0 -43
  90. package/dist/types/models/ChatRunTrackerStatusEnum.d.ts +0 -10
  91. package/dist/types/models/ChatSessionActivity.d.ts +0 -15
  92. package/dist/types/models/ChatSessionRequest.d.ts +0 -29
  93. package/dist/types/models/ChatSessionResponse.d.ts +0 -24
  94. package/dist/types/models/CheckDocumentTrainingStatus.d.ts +0 -10
  95. package/dist/types/models/ClassifierTestRequest.d.ts +0 -8
  96. package/dist/types/models/ClassifierTestResponse.d.ts +0 -9
  97. package/dist/types/models/ClawConfigGetResponse.d.ts +0 -19
  98. package/dist/types/models/ClawInstance.d.ts +0 -51
  99. package/dist/types/models/ClawInstanceStatusEnum.d.ts +0 -10
  100. package/dist/types/models/ClawMentorConfig.d.ts +0 -27
  101. package/dist/types/models/ClawModelProvider.d.ts +0 -40
  102. package/dist/types/models/ClawRpcError.d.ts +0 -7
  103. package/dist/types/models/ClawTypeEnum.d.ts +0 -10
  104. package/dist/types/models/ComparisonInfo.d.ts +0 -29
  105. package/dist/types/models/ConnectedService.d.ts +0 -30
  106. package/dist/types/models/ConversationChartPoint.d.ts +0 -4
  107. package/dist/types/models/ConversationDetailResponse.d.ts +0 -4
  108. package/dist/types/models/ConversationListItem.d.ts +0 -35
  109. package/dist/types/models/ConversationListResponse.d.ts +0 -6
  110. package/dist/types/models/ConversationMessage.d.ts +0 -13
  111. package/dist/types/models/ConversationRating.d.ts +0 -6
  112. package/dist/types/models/ConversationSummary.d.ts +0 -5
  113. package/dist/types/models/ConversationVolume.d.ts +0 -4
  114. package/dist/types/models/Conversations.d.ts +0 -115
  115. package/dist/types/models/ConversationsChart.d.ts +0 -5
  116. package/dist/types/models/Cost.d.ts +0 -3
  117. package/dist/types/models/CostPerTenant.d.ts +0 -6
  118. package/dist/types/models/CourseCreationTask.d.ts +0 -38
  119. package/dist/types/models/CourseCreationTaskFile.d.ts +0 -7
  120. package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +0 -16
  121. package/dist/types/models/CourseRecommendation.d.ts +0 -49
  122. package/dist/types/models/CrawlerPatternTypeEnum.d.ts +0 -8
  123. package/dist/types/models/CreateXblock.d.ts +0 -37
  124. package/dist/types/models/CredentialRequest.d.ts +0 -14
  125. package/dist/types/models/CronDelivery.d.ts +0 -12
  126. package/dist/types/models/CronDeliveryModeEnum.d.ts +0 -10
  127. package/dist/types/models/CronJobCreate.d.ts +0 -22
  128. package/dist/types/models/CronJobListResponse.d.ts +0 -10
  129. package/dist/types/models/CronJobResponse.d.ts +0 -28
  130. package/dist/types/models/CronPayload.d.ts +0 -19
  131. package/dist/types/models/CronPayloadKindEnum.d.ts +0 -8
  132. package/dist/types/models/CronRunAction.d.ts +0 -7
  133. package/dist/types/models/CronRunActionModeEnum.d.ts +0 -8
  134. package/dist/types/models/CronRunLogEntry.d.ts +0 -25
  135. package/dist/types/models/CronRunLogEntryStatusEnum.d.ts +0 -10
  136. package/dist/types/models/CronRunResult.d.ts +0 -8
  137. package/dist/types/models/CronRunsResponse.d.ts +0 -10
  138. package/dist/types/models/CronSchedule.d.ts +0 -17
  139. package/dist/types/models/CronScheduleKindEnum.d.ts +0 -10
  140. package/dist/types/models/CronStatusResponse.d.ts +0 -14
  141. package/dist/types/models/CrontabSchedule.d.ts +0 -22
  142. package/dist/types/models/CurrentUsersResponse.d.ts +0 -18
  143. package/dist/types/models/CustomInstructionResponse.d.ts +0 -13
  144. package/dist/types/models/DataTypeEnum.d.ts +0 -10
  145. package/dist/types/models/Dataset.d.ts +0 -13
  146. package/dist/types/models/DatasetCreate.d.ts +0 -8
  147. package/dist/types/models/DatasetItem.d.ts +0 -20
  148. package/dist/types/models/DatasetItemBulkCreateResponse.d.ts +0 -5
  149. package/dist/types/models/DatasetItemCreate.d.ts +0 -10
  150. package/dist/types/models/DatasetItemInput.d.ts +0 -7
  151. package/dist/types/models/DatasetItemUpdate.d.ts +0 -10
  152. package/dist/types/models/DatasetItemUpdateStatusEnum.d.ts +0 -8
  153. package/dist/types/models/DatasetRunItem.d.ts +0 -16
  154. package/dist/types/models/DateRange.d.ts +0 -4
  155. package/dist/types/models/DeleteXblock.d.ts +0 -9
  156. package/dist/types/models/DeliveryStatusEnum.d.ts +0 -12
  157. package/dist/types/models/DeployStateEnum.d.ts +0 -14
  158. package/dist/types/models/Disclaimer.d.ts +0 -17
  159. package/dist/types/models/DisclaimerAgreement.d.ts +0 -13
  160. package/dist/types/models/DisclaimerScopeEnum.d.ts +0 -8
  161. package/dist/types/models/DmPolicyEnum.d.ts +0 -10
  162. package/dist/types/models/Document.d.ts +0 -41
  163. package/dist/types/models/DocumentFacet.d.ts +0 -17
  164. package/dist/types/models/DocumentFromPoolRequest.d.ts +0 -10
  165. package/dist/types/models/DocumentSearchResponse.d.ts +0 -35
  166. package/dist/types/models/DocumentSettingsResponse.d.ts +0 -3
  167. package/dist/types/models/DomainAttach.d.ts +0 -14
  168. package/dist/types/models/EdxCourse.d.ts +0 -12
  169. package/dist/types/models/EffectiveDmPolicyEnum.d.ts +0 -10
  170. package/dist/types/models/ElevenlabsCustomVoice.d.ts +0 -4
  171. package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +0 -10
  172. package/dist/types/models/EmailPromptDetail.d.ts +0 -13
  173. package/dist/types/models/EmailPromptList.d.ts +0 -11
  174. package/dist/types/models/EmailPromptSummary.d.ts +0 -5
  175. package/dist/types/models/EnforcementEnum.d.ts +0 -8
  176. package/dist/types/models/Entity.d.ts +0 -13
  177. package/dist/types/models/EntityTypeEnum.d.ts +0 -10
  178. package/dist/types/models/Error.d.ts +0 -3
  179. package/dist/types/models/ExperimentCreate.d.ts +0 -8
  180. package/dist/types/models/ExternalProxyInvoke.d.ts +0 -19
  181. package/dist/types/models/ExternalProxyServiceDetail.d.ts +0 -23
  182. package/dist/types/models/ExternalProxyServiceList.d.ts +0 -14
  183. package/dist/types/models/ExternalServiceInfo.d.ts +0 -6
  184. package/dist/types/models/FailureCategoryEnum.d.ts +0 -28
  185. package/dist/types/models/FallbackLLM.d.ts +0 -47
  186. package/dist/types/models/FallbackLLMCreate.d.ts +0 -37
  187. package/dist/types/models/FallbackLLMUpdate.d.ts +0 -33
  188. package/dist/types/models/FeedbackModeEnum.d.ts +0 -10
  189. package/dist/types/models/FileTypeEnum.d.ts +0 -10
  190. package/dist/types/models/FileUploadURLRequest.d.ts +0 -21
  191. package/dist/types/models/FileUploadURLResponse.d.ts +0 -25
  192. package/dist/types/models/FinanceDetailsResponse.d.ts +0 -13
  193. package/dist/types/models/FinanceFilters.d.ts +0 -15
  194. package/dist/types/models/FreeUsageCount.d.ts +0 -3
  195. package/dist/types/models/GradeResult.d.ts +0 -42
  196. package/dist/types/models/GradeResultDetail.d.ts +0 -71
  197. package/dist/types/models/GradeResultMentor.d.ts +0 -4
  198. package/dist/types/models/GradeResultPlatform.d.ts +0 -3
  199. package/dist/types/models/GradeResultStudent.d.ts +0 -5
  200. package/dist/types/models/GraderCriterion.d.ts +0 -15
  201. package/dist/types/models/GradingModeEnum.d.ts +0 -8
  202. package/dist/types/models/GrantMentorAccessRequest.d.ts +0 -9
  203. package/dist/types/models/GreetingMethodEnum.d.ts +0 -8
  204. package/dist/types/models/GuidedPrompt.d.ts +0 -4
  205. package/dist/types/models/GuidedPromptsResponse.d.ts +0 -5
  206. package/dist/types/models/HeygenAvatarCreate.d.ts +0 -9
  207. package/dist/types/models/HeygenAvatarCreateTypeEnum.d.ts +0 -8
  208. package/dist/types/models/HeygenMarketingVideoDetail.d.ts +0 -8
  209. package/dist/types/models/HeygenMarketingVideoList.d.ts +0 -6
  210. package/dist/types/models/HeygenStreamingSession.d.ts +0 -12
  211. package/dist/types/models/HeygenStreamingTask.d.ts +0 -10
  212. package/dist/types/models/HeygenTemplateRequest.d.ts +0 -5
  213. package/dist/types/models/HeygenTemplateResponseSingle.d.ts +0 -6
  214. package/dist/types/models/HeygenTtsPreview.d.ts +0 -7
  215. package/dist/types/models/HeygenVideoCreate.d.ts +0 -14
  216. package/dist/types/models/HeygenVideoCreateTypeEnum.d.ts +0 -8
  217. package/dist/types/models/HeygenVideoDetail.d.ts +0 -8
  218. package/dist/types/models/HeygenVideoRequest.d.ts +0 -5
  219. package/dist/types/models/HeygenVoiceClone.d.ts +0 -9
  220. package/dist/types/models/HostingProject.d.ts +0 -46
  221. package/dist/types/models/HumanSupportTicket.d.ts +0 -23
  222. package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +0 -10
  223. package/dist/types/models/InputQuestion.d.ts +0 -6
  224. package/dist/types/models/IntegrationCredential.d.ts +0 -25
  225. package/dist/types/models/IntegrationCredentialSchema.d.ts +0 -6
  226. package/dist/types/models/IntegrationCredentialSchemaV2.d.ts +0 -10
  227. package/dist/types/models/InterfaceEnum.d.ts +0 -8
  228. package/dist/types/models/IntervalTypeEnum.d.ts +0 -12
  229. package/dist/types/models/IntialQuestionAnswer.d.ts +0 -3
  230. package/dist/types/models/InvalidQueryParameters.d.ts +0 -3
  231. package/dist/types/models/InvoiceReportResponse.d.ts +0 -13
  232. package/dist/types/models/JobRun.d.ts +0 -11
  233. package/dist/types/models/JudgeRecord.d.ts +0 -19
  234. package/dist/types/models/LLMCredentialRequest.d.ts +0 -14
  235. package/dist/types/models/LLMCredentialResponse.d.ts +0 -10
  236. package/dist/types/models/LLMCredentialSchema.d.ts +0 -6
  237. package/dist/types/models/LLMJudge.d.ts +0 -10
  238. package/dist/types/models/LLMModelForTenant.d.ts +0 -6
  239. package/dist/types/models/LLMModelRegistryMinimal.d.ts +0 -15
  240. package/dist/types/models/LLMProviderMinimal.d.ts +0 -14
  241. package/dist/types/models/LLMQuestion.d.ts +0 -15
  242. package/dist/types/models/LLMResponse.d.ts +0 -18
  243. package/dist/types/models/LLMTracesListResponse.d.ts +0 -5
  244. package/dist/types/models/LanguagesView.d.ts +0 -5
  245. package/dist/types/models/LinkCourseRequest.d.ts +0 -3
  246. package/dist/types/models/LinkCourseResponse.d.ts +0 -5
  247. package/dist/types/models/LinkedViaEnum.d.ts +0 -8
  248. package/dist/types/models/LlmProviderEnum.d.ts +0 -12
  249. package/dist/types/models/LlmUsageAnalyticsResponse.d.ts +0 -8
  250. package/dist/types/models/MCPServer.d.ts +0 -82
  251. package/dist/types/models/MCPServerConnection.d.ts +0 -43
  252. package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +0 -10
  253. package/dist/types/models/MCPServerMentorAuthScopeWrite.d.ts +0 -19
  254. package/dist/types/models/MCPServerOAuthClientWrite.d.ts +0 -15
  255. package/dist/types/models/MCPServerOauthFind.d.ts +0 -13
  256. package/dist/types/models/MCPServerPreferenceWrite.d.ts +0 -6
  257. package/dist/types/models/MCPServerSessionPreferenceWrite.d.ts +0 -7
  258. package/dist/types/models/MCPServerTransportEnum.d.ts +0 -8
  259. package/dist/types/models/MaskedIntegrationCredential.d.ts +0 -25
  260. package/dist/types/models/MaskedLLMCredential.d.ts +0 -10
  261. package/dist/types/models/McpServerConfig.d.ts +0 -17
  262. package/dist/types/models/McpServerConfigTransportEnum.d.ts +0 -8
  263. package/dist/types/models/McpServerCreate.d.ts +0 -8
  264. package/dist/types/models/McpServerEntry.d.ts +0 -8
  265. package/dist/types/models/McpServerListResponse.d.ts +0 -4
  266. package/dist/types/models/MemoryComponentData.d.ts +0 -5
  267. package/dist/types/models/MemoryComponentDataKindEnum.d.ts +0 -10
  268. package/dist/types/models/MemoryComponentMemory.d.ts +0 -4
  269. package/dist/types/models/MemoryComponentMemoryDetail.d.ts +0 -10
  270. package/dist/types/models/MemoryComponentResponse.d.ts +0 -5
  271. package/dist/types/models/MemoryProgress.d.ts +0 -8
  272. package/dist/types/models/MemoryStatusRequestView.d.ts +0 -6
  273. package/dist/types/models/MemoryStatusView.d.ts +0 -34
  274. package/dist/types/models/Mentor.d.ts +0 -299
  275. package/dist/types/models/MentorAudience.d.ts +0 -5
  276. package/dist/types/models/MentorAuditLogEntry.d.ts +0 -47
  277. package/dist/types/models/MentorBreakdown.d.ts +0 -9
  278. package/dist/types/models/MentorCategory.d.ts +0 -9
  279. package/dist/types/models/MentorCategoryCreate.d.ts +0 -11
  280. package/dist/types/models/MentorCategoryGroup.d.ts +0 -11
  281. package/dist/types/models/MentorCategoryGroupCreate.d.ts +0 -11
  282. package/dist/types/models/MentorCreate.d.ts +0 -281
  283. package/dist/types/models/MentorCustomVoice.d.ts +0 -4
  284. package/dist/types/models/MentorCustomVoiceResponse.d.ts +0 -4
  285. package/dist/types/models/MentorData.d.ts +0 -7
  286. package/dist/types/models/MentorDetailAnalytics.d.ts +0 -6
  287. package/dist/types/models/MentorEval.d.ts +0 -11
  288. package/dist/types/models/MentorEvalQuestion.d.ts +0 -5
  289. package/dist/types/models/MentorEvalQuestionRequest.d.ts +0 -4
  290. package/dist/types/models/MentorEvalReport.d.ts +0 -10
  291. package/dist/types/models/MentorEvalRequest.d.ts +0 -8
  292. package/dist/types/models/MentorFacet.d.ts +0 -17
  293. package/dist/types/models/MentorFork.d.ts +0 -5
  294. package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +0 -102
  295. package/dist/types/models/MentorFromTemplateWithSettingRequestVoiceProviderEnum.d.ts +0 -10
  296. package/dist/types/models/MentorGraderConfig.d.ts +0 -24
  297. package/dist/types/models/MentorMemorySettingsRequest.d.ts +0 -6
  298. package/dist/types/models/MentorMemorySettingsResponse.d.ts +0 -6
  299. package/dist/types/models/MentorMetadata.d.ts +0 -5
  300. package/dist/types/models/MentorScenario.d.ts +0 -6
  301. package/dist/types/models/MentorScenarioPrompt.d.ts +0 -5
  302. package/dist/types/models/MentorSearchResponse.d.ts +0 -35
  303. package/dist/types/models/MentorSession.d.ts +0 -4
  304. package/dist/types/models/MentorSettings.d.ts +0 -174
  305. package/dist/types/models/MentorSettingsPublic.d.ts +0 -115
  306. package/dist/types/models/MentorSettingsRequest.d.ts +0 -151
  307. package/dist/types/models/MentorSettingsRequestVoiceProviderEnum.d.ts +0 -12
  308. package/dist/types/models/MentorSkillAssignment.d.ts +0 -12
  309. package/dist/types/models/MentorSummary.d.ts +0 -5
  310. package/dist/types/models/MentorType.d.ts +0 -5
  311. package/dist/types/models/MentorUserSetting.d.ts +0 -4
  312. package/dist/types/models/MentorVisibilityEnum.d.ts +0 -10
  313. package/dist/types/models/MentorWizard.d.ts +0 -4
  314. package/dist/types/models/MessageStatistics.d.ts +0 -5
  315. package/dist/types/models/MessageView.d.ts +0 -12
  316. package/dist/types/models/MessageViewRequest.d.ts +0 -19
  317. package/dist/types/models/MessageViewUpdatResponse.d.ts +0 -3
  318. package/dist/types/models/Metadata.d.ts +0 -5
  319. package/dist/types/models/MetricChange.d.ts +0 -4
  320. package/dist/types/models/MetricInfo.d.ts +0 -5
  321. package/dist/types/models/ModalityEnum.d.ts +0 -10
  322. package/dist/types/models/ModelCost.d.ts +0 -4
  323. package/dist/types/models/ModerationLog.d.ts +0 -21
  324. package/dist/types/models/NestedArtifact.d.ts +0 -61
  325. package/dist/types/models/NewUserSpendCapDefault.d.ts +0 -19
  326. package/dist/types/models/NoChatMessagesFound.d.ts +0 -3
  327. package/dist/types/models/OAuthProvider.d.ts +0 -24
  328. package/dist/types/models/OAuthService.d.ts +0 -18
  329. package/dist/types/models/OAuthStartResponse.d.ts +0 -3
  330. package/dist/types/models/OauthCredentialsMasked.d.ts +0 -10
  331. package/dist/types/models/Observation.d.ts +0 -31
  332. package/dist/types/models/OfflineDocument.d.ts +0 -19
  333. package/dist/types/models/OverrideStatusEnum.d.ts +0 -10
  334. package/dist/types/models/OvertimeData.d.ts +0 -13
  335. package/dist/types/models/PageContent.d.ts +0 -6
  336. package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +0 -7
  337. package/dist/types/models/PaginatedAgentChannels.d.ts +0 -7
  338. package/dist/types/models/PaginatedAgentSkillList.d.ts +0 -7
  339. package/dist/types/models/PaginatedAgentSkillResourceList.d.ts +0 -7
  340. package/dist/types/models/PaginatedArtifactListList.d.ts +0 -7
  341. package/dist/types/models/PaginatedArtifactVersionList.d.ts +0 -7
  342. package/dist/types/models/PaginatedChannelAllowEntries.d.ts +0 -7
  343. package/dist/types/models/PaginatedChannelCatalog.d.ts +0 -7
  344. package/dist/types/models/PaginatedChannelCredentials.d.ts +0 -7
  345. package/dist/types/models/PaginatedChannelIdentities.d.ts +0 -7
  346. package/dist/types/models/PaginatedChannelPairingRequests.d.ts +0 -7
  347. package/dist/types/models/PaginatedChatRunTrackerList.d.ts +0 -7
  348. package/dist/types/models/PaginatedChatSessionActivityList.d.ts +0 -6
  349. package/dist/types/models/PaginatedClawInstanceList.d.ts +0 -7
  350. package/dist/types/models/PaginatedClawModelProviderList.d.ts +0 -7
  351. package/dist/types/models/PaginatedConversationsList.d.ts +0 -7
  352. package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +0 -7
  353. package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +0 -7
  354. package/dist/types/models/PaginatedDatasetItemList.d.ts +0 -7
  355. package/dist/types/models/PaginatedDatasetList.d.ts +0 -7
  356. package/dist/types/models/PaginatedDisclaimerAgreementList.d.ts +0 -7
  357. package/dist/types/models/PaginatedDisclaimerList.d.ts +0 -7
  358. package/dist/types/models/PaginatedEdxCourseList.d.ts +0 -7
  359. package/dist/types/models/PaginatedEmailPromptListList.d.ts +0 -7
  360. package/dist/types/models/PaginatedGradeResultList.d.ts +0 -7
  361. package/dist/types/models/PaginatedGraderCriterionList.d.ts +0 -7
  362. package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +0 -7
  363. package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +0 -7
  364. package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +0 -7
  365. package/dist/types/models/PaginatedJobRunList.d.ts +0 -7
  366. package/dist/types/models/PaginatedJudgeList.d.ts +0 -7
  367. package/dist/types/models/PaginatedMCPServerConnectionList.d.ts +0 -7
  368. package/dist/types/models/PaginatedMCPServerList.d.ts +0 -7
  369. package/dist/types/models/PaginatedMentorAuditLogEntryList.d.ts +0 -7
  370. package/dist/types/models/PaginatedMentorList.d.ts +0 -7
  371. package/dist/types/models/PaginatedMentorSkillAssignmentList.d.ts +0 -7
  372. package/dist/types/models/PaginatedModerationLogList.d.ts +0 -7
  373. package/dist/types/models/PaginatedObservationList.d.ts +0 -7
  374. package/dist/types/models/PaginatedOfflineDocumentList.d.ts +0 -7
  375. package/dist/types/models/PaginatedPeriodicAgentList.d.ts +0 -7
  376. package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +0 -7
  377. package/dist/types/models/PaginatedPrivacyFlagList.d.ts +0 -7
  378. package/dist/types/models/PaginatedProjectList.d.ts +0 -7
  379. package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +0 -7
  380. package/dist/types/models/PaginatedRunList.d.ts +0 -7
  381. package/dist/types/models/PaginatedScoreConfigList.d.ts +0 -7
  382. package/dist/types/models/PaginatedScoreList.d.ts +0 -7
  383. package/dist/types/models/PaginatedTicketMessageList.d.ts +0 -7
  384. package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +0 -7
  385. package/dist/types/models/PaginatedTraceList.d.ts +0 -7
  386. package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +0 -7
  387. package/dist/types/models/PaginatedVeoVideoListList.d.ts +0 -7
  388. package/dist/types/models/PaginatedVoiceList.d.ts +0 -7
  389. package/dist/types/models/PaginatedWorkflowList.d.ts +0 -7
  390. package/dist/types/models/PatchedAgentChannelUpdate.d.ts +0 -26
  391. package/dist/types/models/PatchedAgentSkill.d.ts +0 -35
  392. package/dist/types/models/PatchedAgentSkillResource.d.ts +0 -17
  393. package/dist/types/models/PatchedArtifact.d.ts +0 -78
  394. package/dist/types/models/PatchedCallConfiguration.d.ts +0 -38
  395. package/dist/types/models/PatchedChannelCredentialUpdate.d.ts +0 -11
  396. package/dist/types/models/PatchedClawConfigPatchRequest.d.ts +0 -14
  397. package/dist/types/models/PatchedClawInstance.d.ts +0 -51
  398. package/dist/types/models/PatchedClawMentorConfig.d.ts +0 -27
  399. package/dist/types/models/PatchedClawModelProvider.d.ts +0 -40
  400. package/dist/types/models/PatchedConversations.d.ts +0 -115
  401. package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +0 -7
  402. package/dist/types/models/PatchedCredentialRequest.d.ts +0 -14
  403. package/dist/types/models/PatchedCronJobPatch.d.ts +0 -24
  404. package/dist/types/models/PatchedDisclaimer.d.ts +0 -17
  405. package/dist/types/models/PatchedFallbackLLMUpdate.d.ts +0 -33
  406. package/dist/types/models/PatchedGradeResultOverride.d.ts +0 -15
  407. package/dist/types/models/PatchedGraderCriterion.d.ts +0 -15
  408. package/dist/types/models/PatchedHumanSupportTicket.d.ts +0 -23
  409. package/dist/types/models/PatchedLLMCredentialRequest.d.ts +0 -14
  410. package/dist/types/models/PatchedMCPServer.d.ts +0 -82
  411. package/dist/types/models/PatchedMCPServerConnection.d.ts +0 -43
  412. package/dist/types/models/PatchedMcpServerUpdate.d.ts +0 -8
  413. package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +0 -11
  414. package/dist/types/models/PatchedMentorCreate.d.ts +0 -281
  415. package/dist/types/models/PatchedMentorGraderConfig.d.ts +0 -24
  416. package/dist/types/models/PatchedMentorSkillAssignment.d.ts +0 -12
  417. package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +0 -69
  418. package/dist/types/models/PatchedProject.d.ts +0 -53
  419. package/dist/types/models/PatchedPrompt.d.ts +0 -22
  420. package/dist/types/models/PatchedTenantChatPrivacyConfig.d.ts +0 -11
  421. package/dist/types/models/PatchedTicketMessage.d.ts +0 -10
  422. package/dist/types/models/PatchedUserMentorMemoryUpdate.d.ts +0 -7
  423. package/dist/types/models/PatchedWorkflow.d.ts +0 -65
  424. package/dist/types/models/PeriodInfo.d.ts +0 -21
  425. package/dist/types/models/PeriodicAgent.d.ts +0 -70
  426. package/dist/types/models/PeriodicAgentCreate.d.ts +0 -69
  427. package/dist/types/models/PeriodicAgentLog.d.ts +0 -11
  428. package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +0 -10
  429. package/dist/types/models/PeriodicAgentStatistics.d.ts +0 -7
  430. package/dist/types/models/PeriodicTask.d.ts +0 -21
  431. package/dist/types/models/PhiActionEnum.d.ts +0 -12
  432. package/dist/types/models/PieChartData.d.ts +0 -5
  433. package/dist/types/models/PieChartSegment.d.ts +0 -4
  434. package/dist/types/models/PinnedMessageCreate.d.ts +0 -9
  435. package/dist/types/models/PinnedMessageRequest.d.ts +0 -6
  436. package/dist/types/models/PlatformPrompt.d.ts +0 -34
  437. package/dist/types/models/PlatformPromptResponse.d.ts +0 -16
  438. package/dist/types/models/PredictiveAnalyticsRequest.d.ts +0 -4
  439. package/dist/types/models/PredictiveAnalyticsResponse.d.ts +0 -4
  440. package/dist/types/models/PreviousAgentStatusEnum.d.ts +0 -12
  441. package/dist/types/models/PrivacyActionEnum.d.ts +0 -12
  442. package/dist/types/models/PrivacyFlag.d.ts +0 -35
  443. package/dist/types/models/PrivacyFlagSourceEnum.d.ts +0 -16
  444. package/dist/types/models/Project.d.ts +0 -53
  445. package/dist/types/models/ProjectMentor.d.ts +0 -11
  446. package/dist/types/models/Prompt.d.ts +0 -22
  447. package/dist/types/models/PromptCategory.d.ts +0 -7
  448. package/dist/types/models/PromptFacet.d.ts +0 -17
  449. package/dist/types/models/PromptSearchResponse.d.ts +0 -35
  450. package/dist/types/models/PromptVisibilityEnum.d.ts +0 -10
  451. package/dist/types/models/ProviderBreakdown.d.ts +0 -8
  452. package/dist/types/models/ProviderEnum.d.ts +0 -14
  453. package/dist/types/models/ProvisionModeEnum.d.ts +0 -8
  454. package/dist/types/models/QuestionCardTag.d.ts +0 -8
  455. package/dist/types/models/QuestionRequest.d.ts +0 -15
  456. package/dist/types/models/QuestionResponse.d.ts +0 -10
  457. package/dist/types/models/RailEnum.d.ts +0 -8
  458. package/dist/types/models/RatingAverageRecord.d.ts +0 -10
  459. package/dist/types/models/RatingEnum.d.ts +0 -8
  460. package/dist/types/models/RatingRecord.d.ts +0 -4
  461. package/dist/types/models/RatingsOvertime.d.ts +0 -5
  462. package/dist/types/models/RecentlyAccessedMentor.d.ts +0 -11
  463. package/dist/types/models/RecommendationTypeEnum.d.ts +0 -8
  464. package/dist/types/models/RecommendedCoursesResponse.d.ts +0 -33
  465. package/dist/types/models/RelatedText.d.ts +0 -3
  466. package/dist/types/models/RemoveMentorFromDisclaimer.d.ts +0 -12
  467. package/dist/types/models/ReorderChildren.d.ts +0 -13
  468. package/dist/types/models/RequestDataVariable.d.ts +0 -14
  469. package/dist/types/models/ResourceScrappedData.d.ts +0 -13
  470. package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +0 -12
  471. package/dist/types/models/ResponseDataVariable.d.ts +0 -14
  472. package/dist/types/models/RetreiverTrainViewRequest.d.ts +0 -10
  473. package/dist/types/models/RetreiverTrainViewResponse.d.ts +0 -6
  474. package/dist/types/models/RetrieveTask.d.ts +0 -3
  475. package/dist/types/models/RetrieverDocumentEmbedding.d.ts +0 -42
  476. package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +0 -70
  477. package/dist/types/models/RetrieverRequestSearch.d.ts +0 -10
  478. package/dist/types/models/RetrieverRequestSearchDocument.d.ts +0 -10
  479. package/dist/types/models/RetrieverResponseSearch.d.ts +0 -7
  480. package/dist/types/models/ReuestDataVariableList.d.ts +0 -4
  481. package/dist/types/models/Run.d.ts +0 -22
  482. package/dist/types/models/RunDetailResponse.d.ts +0 -20
  483. package/dist/types/models/RunMentorEval.d.ts +0 -3
  484. package/dist/types/models/ScanWebhookRequest.d.ts +0 -6
  485. package/dist/types/models/ScanWebhookResponse.d.ts +0 -3
  486. package/dist/types/models/ScopeC1dEnum.d.ts +0 -8
  487. package/dist/types/models/Score.d.ts +0 -18
  488. package/dist/types/models/ScoreConfig.d.ts +0 -12
  489. package/dist/types/models/ScoreConfigCategory.d.ts +0 -7
  490. package/dist/types/models/ScoreConfigCreate.d.ts +0 -13
  491. package/dist/types/models/ScoreCreate.d.ts +0 -14
  492. package/dist/types/models/ScoreCreateResponse.d.ts +0 -9
  493. package/dist/types/models/SeedMentorsView.d.ts +0 -3
  494. package/dist/types/models/Segment.d.ts +0 -5
  495. package/dist/types/models/SellableItem.d.ts +0 -14
  496. package/dist/types/models/SellableItemPaywall.d.ts +0 -9
  497. package/dist/types/models/SellableItemsResponse.d.ts +0 -13
  498. package/dist/types/models/SentimentSummary.d.ts +0 -4
  499. package/dist/types/models/ServiceTypeEnum.d.ts +0 -10
  500. package/dist/types/models/SessionBrowserScreenshot.d.ts +0 -8
  501. package/dist/types/models/SessionChartPoint.d.ts +0 -4
  502. package/dist/types/models/SessionDetail.d.ts +0 -6
  503. package/dist/types/models/SessionDisableChathistoryRequest.d.ts +0 -9
  504. package/dist/types/models/SessionDisableChathistoryResponse.d.ts +0 -7
  505. package/dist/types/models/SessionMemoryStorage.d.ts +0 -6
  506. package/dist/types/models/SessionSummary.d.ts +0 -15
  507. package/dist/types/models/SessionSummaryMentor.d.ts +0 -6
  508. package/dist/types/models/SessionsChart.d.ts +0 -5
  509. package/dist/types/models/SetCurrentVersionRequest.d.ts +0 -3
  510. package/dist/types/models/ShareableMentorLink.d.ts +0 -8
  511. package/dist/types/models/SharedSessionUpdateRequest.d.ts +0 -3
  512. package/dist/types/models/SharedSessionUpdateResponse.d.ts +0 -3
  513. package/dist/types/models/SharedSystemPromptConsumer.d.ts +0 -9
  514. package/dist/types/models/SharedSystemPromptRequest.d.ts +0 -10
  515. package/dist/types/models/SharedSystemPromptResponse.d.ts +0 -6
  516. package/dist/types/models/SharedSystemPromptTarget.d.ts +0 -10
  517. package/dist/types/models/ShellLogs.d.ts +0 -3
  518. package/dist/types/models/SkillTypeEnum.d.ts +0 -8
  519. package/dist/types/models/SpacedRepetitionLearningPath.d.ts +0 -3
  520. package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +0 -5
  521. package/dist/types/models/SpendCap.d.ts +0 -37
  522. package/dist/types/models/SpendCapScopeEnum.d.ts +0 -12
  523. package/dist/types/models/SpendCapStatusItem.d.ts +0 -13
  524. package/dist/types/models/SpendCapStatusSummary.d.ts +0 -17
  525. package/dist/types/models/SpendCapStatusSummaryStatusEnum.d.ts +0 -10
  526. package/dist/types/models/StarMentor.d.ts +0 -11
  527. package/dist/types/models/StarterPrompts693Enum.d.ts +0 -12
  528. package/dist/types/models/StarterPromptsDd8Enum.d.ts +0 -12
  529. package/dist/types/models/Status869Enum.d.ts +0 -10
  530. package/dist/types/models/Step.d.ts +0 -9
  531. package/dist/types/models/StepStatusEnum.d.ts +0 -10
  532. package/dist/types/models/StopGenerationRequest.d.ts +0 -9
  533. package/dist/types/models/StripeCheckoutSessionCreate.d.ts +0 -10
  534. package/dist/types/models/StripeCheckoutSessionCreateModeEnum.d.ts +0 -10
  535. package/dist/types/models/StripeConnectStart.d.ts +0 -3
  536. package/dist/types/models/StripeConnectStartResponse.d.ts +0 -3
  537. package/dist/types/models/StripeConnectedAccount.d.ts +0 -36
  538. package/dist/types/models/StripeConnectedAccountSourceEnum.d.ts +0 -8
  539. package/dist/types/models/StripeCustomerCreate.d.ts +0 -8
  540. package/dist/types/models/StripePaymentLinkCreate.d.ts +0 -6
  541. package/dist/types/models/StripePaywallAccessResponse.d.ts +0 -9
  542. package/dist/types/models/StripePaywallCheckout.d.ts +0 -9
  543. package/dist/types/models/StripePaywallCheckoutResponse.d.ts +0 -19
  544. package/dist/types/models/StripePriceCreate.d.ts +0 -10
  545. package/dist/types/models/StripeProductCreate.d.ts +0 -9
  546. package/dist/types/models/SttProviderEnum.d.ts +0 -14
  547. package/dist/types/models/StudentChatMessage.d.ts +0 -9
  548. package/dist/types/models/StylesView.d.ts +0 -4
  549. package/dist/types/models/Subject.d.ts +0 -5
  550. package/dist/types/models/Summary.d.ts +0 -9
  551. package/dist/types/models/TagsView.d.ts +0 -5
  552. package/dist/types/models/TargetSystemEnum.d.ts +0 -12
  553. package/dist/types/models/TaskModeEnum.d.ts +0 -8
  554. package/dist/types/models/TaskTypeEnum.d.ts +0 -8
  555. package/dist/types/models/TaskView.d.ts +0 -3
  556. package/dist/types/models/TemplateMentor.d.ts +0 -9
  557. package/dist/types/models/TenantChatPrivacyConfig.d.ts +0 -11
  558. package/dist/types/models/TenantMentorTraces.d.ts +0 -6
  559. package/dist/types/models/ThemeEnum.d.ts +0 -8
  560. package/dist/types/models/TicketMessage.d.ts +0 -10
  561. package/dist/types/models/TokenEndpointAuthMethodEnum.d.ts +0 -10
  562. package/dist/types/models/TonesView.d.ts +0 -4
  563. package/dist/types/models/ToolCategory.d.ts +0 -5
  564. package/dist/types/models/ToolResponse.d.ts +0 -17
  565. package/dist/types/models/TopicDetail.d.ts +0 -8
  566. package/dist/types/models/TopicDetails.d.ts +0 -5
  567. package/dist/types/models/TopicModel.d.ts +0 -3
  568. package/dist/types/models/TopicRecord.d.ts +0 -4
  569. package/dist/types/models/TopicStatistics.d.ts +0 -7
  570. package/dist/types/models/TopicStatisticsResponse.d.ts +0 -6
  571. package/dist/types/models/TopicSummaryView.d.ts +0 -4
  572. package/dist/types/models/TopicsOverview.d.ts +0 -30
  573. package/dist/types/models/TopicsOverviewMetric.d.ts +0 -33
  574. package/dist/types/models/Trace.d.ts +0 -17
  575. package/dist/types/models/TrainDocumentViewRequest.d.ts +0 -90
  576. package/dist/types/models/TrainDocumentViewResponse.d.ts +0 -15
  577. package/dist/types/models/TrainingStatusEnum.d.ts +0 -12
  578. package/dist/types/models/Transport755Enum.d.ts +0 -6
  579. package/dist/types/models/TrendEntry.d.ts +0 -4
  580. package/dist/types/models/TriggerRequest.d.ts +0 -5
  581. package/dist/types/models/TriggerResponse.d.ts +0 -6
  582. package/dist/types/models/TtsProviderEnum.d.ts +0 -12
  583. package/dist/types/models/UiModeEnum.d.ts +0 -8
  584. package/dist/types/models/UpdateXblock.d.ts +0 -17
  585. package/dist/types/models/UseMainCreds.d.ts +0 -3
  586. package/dist/types/models/UserAllChatMemoryView.d.ts +0 -35
  587. package/dist/types/models/UserCatalogItemMemoryView.d.ts +0 -16
  588. package/dist/types/models/UserChatByPeriod.d.ts +0 -4
  589. package/dist/types/models/UserChatFeedback.d.ts +0 -24
  590. package/dist/types/models/UserChatFeedbackByMessage.d.ts +0 -23
  591. package/dist/types/models/UserChatFeedbackCount.d.ts +0 -4
  592. package/dist/types/models/UserChatFeedbackCreateRequest.d.ts +0 -3
  593. package/dist/types/models/UserChatHistoryFilterData.d.ts +0 -10
  594. package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +0 -6
  595. package/dist/types/models/UserChatMemoryStatusView.d.ts +0 -34
  596. package/dist/types/models/UserChatMemoryUpdateView.d.ts +0 -10
  597. package/dist/types/models/UserChatPrivacySettings.d.ts +0 -18
  598. package/dist/types/models/UserCountRecord.d.ts +0 -4
  599. package/dist/types/models/UserDefaultMentor.d.ts +0 -19
  600. package/dist/types/models/UserDetail.d.ts +0 -8
  601. package/dist/types/models/UserEdxMemory.d.ts +0 -17
  602. package/dist/types/models/UserMemoryContextRequest.d.ts +0 -13
  603. package/dist/types/models/UserMemoryContextResponse.d.ts +0 -40
  604. package/dist/types/models/UserMentorMemoryCreate.d.ts +0 -7
  605. package/dist/types/models/UserMetric.d.ts +0 -4
  606. package/dist/types/models/UserMetricsResponse.d.ts +0 -7
  607. package/dist/types/models/UserReportListResponse.d.ts +0 -6
  608. package/dist/types/models/UserSentimentCountView.d.ts +0 -4
  609. package/dist/types/models/UserTrendByPeriod.d.ts +0 -5
  610. package/dist/types/models/V2GlobalMentorSearchResponse.d.ts +0 -29
  611. package/dist/types/models/V2PersonalizedMentorsResponse.d.ts +0 -29
  612. package/dist/types/models/V2RecommendationResponse.d.ts +0 -65
  613. package/dist/types/models/VectorResult.d.ts +0 -10
  614. package/dist/types/models/VeoVideoDetail.d.ts +0 -10
  615. package/dist/types/models/VeoVideoList.d.ts +0 -6
  616. package/dist/types/models/VeoVideoRequest.d.ts +0 -5
  617. package/dist/types/models/VersionNestedArtifact.d.ts +0 -62
  618. package/dist/types/models/VideoCaption.d.ts +0 -3
  619. package/dist/types/models/VirtualMachineEgressEnum.d.ts +0 -12
  620. package/dist/types/models/Voice.d.ts +0 -9
  621. package/dist/types/models/VoiceProviderEefEnum.d.ts +0 -12
  622. package/dist/types/models/WakeModeEnum.d.ts +0 -8
  623. package/dist/types/models/WakeRequest.d.ts +0 -8
  624. package/dist/types/models/WakeResponse.d.ts +0 -14
  625. package/dist/types/models/WebResource.d.ts +0 -9
  626. package/dist/types/models/WebResourceCard.d.ts +0 -7
  627. package/dist/types/models/WebResourcesQuery.d.ts +0 -3
  628. package/dist/types/models/WelcomeHeadingStyle5edEnum.d.ts +0 -8
  629. package/dist/types/models/WelcomeHeadingStyleFafEnum.d.ts +0 -8
  630. package/dist/types/models/Workflow.d.ts +0 -65
  631. package/dist/types/models/XblockResult.d.ts +0 -9
  632. package/dist/types/models/XblockTypeEnum.d.ts +0 -16
  633. package/dist/types/services/AiAccountService.d.ts +0 -1041
  634. package/dist/types/services/AiIndexService.d.ts +0 -355
  635. package/dist/types/services/AiMarketingService.d.ts +0 -38
  636. package/dist/types/services/AiMediaService.d.ts +0 -247
  637. package/dist/types/services/AiMentorService.d.ts +0 -12028
  638. package/dist/types/services/AiPromptService.d.ts +0 -1046
  639. package/dist/types/services/AiProxyService.d.ts +0 -37
  640. package/dist/types/services/AiSearchService.d.ts +0 -819
  641. package/dist/types/services/IntegrationCredentialsService.d.ts +0 -30
  642. package/dist/types/services/V1AgentsService.d.ts +0 -423
  643. package/dist/types/services/V1AnalyticsService.d.ts +0 -1318
  644. package/dist/types/services/V1AuditLogsService.d.ts +0 -46
  645. package/dist/types/services/V1ChannelsService.d.ts +0 -198
  646. package/dist/types/services/V1ChatService.d.ts +0 -23
  647. package/dist/types/services/V1ConfigurationsService.d.ts +0 -41
  648. package/dist/types/services/V1DisclaimersService.d.ts +0 -314
  649. package/dist/types/services/V1FeaturesService.d.ts +0 -20
  650. package/dist/types/services/V1LlmsService.d.ts +0 -45
  651. package/dist/types/services/V1MemsearchStatusService.d.ts +0 -15
  652. package/dist/types/services/V1NotificationsService.d.ts +0 -81
  653. package/dist/types/services/V1OrganizationService.d.ts +0 -27
  654. package/dist/types/services/V1ProjectsService.d.ts +0 -160
  655. package/dist/types/services/V1SessionsService.d.ts +0 -271
  656. package/src/models/AIGeneratedImage.ts +0 -25
  657. package/src/models/AIUserProfileMemoryRelation.ts +0 -9
  658. package/src/models/AIUserProfileRequest.ts +0 -9
  659. package/src/models/AccessEnum.ts +0 -12
  660. package/src/models/AccessTimesHeatmap.ts +0 -10
  661. package/src/models/AccessibleMentorsByEmailRequest.ts +0 -18
  662. package/src/models/AccessibleMentorsByEmailResponse.ts +0 -18
  663. package/src/models/ActionBreakdown.ts +0 -15
  664. package/src/models/ActionTakenEnum.ts +0 -16
  665. package/src/models/AddMentorToDisclaimer.ts +0 -17
  666. package/src/models/AdminIntegrationCredential.ts +0 -22
  667. package/src/models/AgentChannel.ts +0 -31
  668. package/src/models/AgentChannelCreate.ts +0 -29
  669. package/src/models/AgentChannelTransportEnum.ts +0 -12
  670. package/src/models/AgentSkill.ts +0 -40
  671. package/src/models/AgentSkillResource.ts +0 -22
  672. package/src/models/AlignMentorBubbleEnum.ts +0 -12
  673. package/src/models/AnalyticsOverview.ts +0 -12
  674. package/src/models/Answer.ts +0 -16
  675. package/src/models/Artifact.ts +0 -83
  676. package/src/models/ArtifactList.ts +0 -61
  677. package/src/models/ArtifactVersion.ts +0 -68
  678. package/src/models/AssumedKnowledge.ts +0 -9
  679. package/src/models/AssumedKnowledgeLevel.ts +0 -9
  680. package/src/models/AudioToTextRequest.ts +0 -20
  681. package/src/models/AudioToTextResponse.ts +0 -8
  682. package/src/models/AuthModeEnum.ts +0 -16
  683. package/src/models/AuthScopeEnum.ts +0 -14
  684. package/src/models/AuthTypeEnum.ts +0 -14
  685. package/src/models/BaseFinanceResponse.ts +0 -42
  686. package/src/models/BillingPeriod.ts +0 -13
  687. package/src/models/Breakdown.ts +0 -16
  688. package/src/models/CallAuthenticationRequest.ts +0 -22
  689. package/src/models/CallAuthenticationResponse.ts +0 -26
  690. package/src/models/CallConfiguration.ts +0 -43
  691. package/src/models/CallConfigurationModeEnum.ts +0 -12
  692. package/src/models/ChannelAllowEntry.ts +0 -13
  693. package/src/models/ChannelAllowEntryCreate.ts +0 -11
  694. package/src/models/ChannelAllowEntrySourceEnum.ts +0 -14
  695. package/src/models/ChannelCatalogEntry.ts +0 -21
  696. package/src/models/ChannelCredential.ts +0 -27
  697. package/src/models/ChannelCredentialCreate.ts +0 -11
  698. package/src/models/ChannelEnum.ts +0 -22
  699. package/src/models/ChannelIdentity.ts +0 -15
  700. package/src/models/ChannelIdentityPreview.ts +0 -17
  701. package/src/models/ChannelIdentityRedeem.ts +0 -11
  702. package/src/models/ChannelPairingRequest.ts +0 -14
  703. package/src/models/ChannelPairingRequestStatusEnum.ts +0 -16
  704. package/src/models/ChatCompletionRequest.ts +0 -32
  705. package/src/models/ChatHistory.ts +0 -25
  706. package/src/models/ChatHistoryFilterData.ts +0 -14
  707. package/src/models/ChatHistoryFilterUser.ts +0 -11
  708. package/src/models/ChatHistoryItem.ts +0 -11
  709. package/src/models/ChatHistorySessionId.ts +0 -8
  710. package/src/models/ChatPrivacyModeEnum.ts +0 -14
  711. package/src/models/ChatRunTracker.ts +0 -48
  712. package/src/models/ChatRunTrackerStatusEnum.ts +0 -14
  713. package/src/models/ChatSessionActivity.ts +0 -20
  714. package/src/models/ChatSessionRequest.ts +0 -34
  715. package/src/models/ChatSessionResponse.ts +0 -29
  716. package/src/models/CheckDocumentTrainingStatus.ts +0 -15
  717. package/src/models/ClassifierTestRequest.ts +0 -13
  718. package/src/models/ClassifierTestResponse.ts +0 -14
  719. package/src/models/ClawConfigGetResponse.ts +0 -24
  720. package/src/models/ClawInstance.ts +0 -56
  721. package/src/models/ClawInstanceStatusEnum.ts +0 -14
  722. package/src/models/ClawMentorConfig.ts +0 -32
  723. package/src/models/ClawModelProvider.ts +0 -45
  724. package/src/models/ClawRpcError.ts +0 -12
  725. package/src/models/ClawTypeEnum.ts +0 -14
  726. package/src/models/ComparisonInfo.ts +0 -34
  727. package/src/models/ConnectedService.ts +0 -35
  728. package/src/models/ConversationChartPoint.ts +0 -9
  729. package/src/models/ConversationDetailResponse.ts +0 -9
  730. package/src/models/ConversationListItem.ts +0 -40
  731. package/src/models/ConversationListResponse.ts +0 -11
  732. package/src/models/ConversationMessage.ts +0 -18
  733. package/src/models/ConversationRating.ts +0 -11
  734. package/src/models/ConversationSummary.ts +0 -10
  735. package/src/models/ConversationVolume.ts +0 -9
  736. package/src/models/Conversations.ts +0 -120
  737. package/src/models/ConversationsChart.ts +0 -10
  738. package/src/models/Cost.ts +0 -8
  739. package/src/models/CostPerTenant.ts +0 -11
  740. package/src/models/CourseCreationTask.ts +0 -43
  741. package/src/models/CourseCreationTaskFile.ts +0 -12
  742. package/src/models/CourseCreationTaskStatusEnum.ts +0 -20
  743. package/src/models/CourseRecommendation.ts +0 -54
  744. package/src/models/CrawlerPatternTypeEnum.ts +0 -12
  745. package/src/models/CreateXblock.ts +0 -42
  746. package/src/models/CredentialRequest.ts +0 -19
  747. package/src/models/CronDelivery.ts +0 -17
  748. package/src/models/CronDeliveryModeEnum.ts +0 -14
  749. package/src/models/CronJobCreate.ts +0 -27
  750. package/src/models/CronJobListResponse.ts +0 -15
  751. package/src/models/CronJobResponse.ts +0 -33
  752. package/src/models/CronPayload.ts +0 -24
  753. package/src/models/CronPayloadKindEnum.ts +0 -12
  754. package/src/models/CronRunAction.ts +0 -12
  755. package/src/models/CronRunActionModeEnum.ts +0 -12
  756. package/src/models/CronRunLogEntry.ts +0 -30
  757. package/src/models/CronRunLogEntryStatusEnum.ts +0 -14
  758. package/src/models/CronRunResult.ts +0 -13
  759. package/src/models/CronRunsResponse.ts +0 -15
  760. package/src/models/CronSchedule.ts +0 -22
  761. package/src/models/CronScheduleKindEnum.ts +0 -14
  762. package/src/models/CronStatusResponse.ts +0 -19
  763. package/src/models/CrontabSchedule.ts +0 -27
  764. package/src/models/CurrentUsersResponse.ts +0 -23
  765. package/src/models/CustomInstructionResponse.ts +0 -18
  766. package/src/models/DataTypeEnum.ts +0 -14
  767. package/src/models/Dataset.ts +0 -18
  768. package/src/models/DatasetCreate.ts +0 -13
  769. package/src/models/DatasetItem.ts +0 -25
  770. package/src/models/DatasetItemBulkCreateResponse.ts +0 -10
  771. package/src/models/DatasetItemCreate.ts +0 -15
  772. package/src/models/DatasetItemInput.ts +0 -12
  773. package/src/models/DatasetItemUpdate.ts +0 -15
  774. package/src/models/DatasetItemUpdateStatusEnum.ts +0 -12
  775. package/src/models/DatasetRunItem.ts +0 -21
  776. package/src/models/DateRange.ts +0 -9
  777. package/src/models/DeleteXblock.ts +0 -14
  778. package/src/models/DeliveryStatusEnum.ts +0 -16
  779. package/src/models/DeployStateEnum.ts +0 -18
  780. package/src/models/Disclaimer.ts +0 -22
  781. package/src/models/DisclaimerAgreement.ts +0 -18
  782. package/src/models/DisclaimerScopeEnum.ts +0 -12
  783. package/src/models/DmPolicyEnum.ts +0 -14
  784. package/src/models/Document.ts +0 -46
  785. package/src/models/DocumentFacet.ts +0 -22
  786. package/src/models/DocumentFromPoolRequest.ts +0 -15
  787. package/src/models/DocumentSearchResponse.ts +0 -40
  788. package/src/models/DocumentSettingsResponse.ts +0 -8
  789. package/src/models/DomainAttach.ts +0 -19
  790. package/src/models/EdxCourse.ts +0 -17
  791. package/src/models/EffectiveDmPolicyEnum.ts +0 -14
  792. package/src/models/ElevenlabsCustomVoice.ts +0 -9
  793. package/src/models/ElevenlabsCustomVoiceResponse.ts +0 -15
  794. package/src/models/EmailPromptDetail.ts +0 -18
  795. package/src/models/EmailPromptList.ts +0 -16
  796. package/src/models/EmailPromptSummary.ts +0 -10
  797. package/src/models/EnforcementEnum.ts +0 -12
  798. package/src/models/Entity.ts +0 -18
  799. package/src/models/EntityTypeEnum.ts +0 -14
  800. package/src/models/Error.ts +0 -8
  801. package/src/models/ExperimentCreate.ts +0 -13
  802. package/src/models/ExternalProxyInvoke.ts +0 -24
  803. package/src/models/ExternalProxyServiceDetail.ts +0 -28
  804. package/src/models/ExternalProxyServiceList.ts +0 -19
  805. package/src/models/ExternalServiceInfo.ts +0 -11
  806. package/src/models/FailureCategoryEnum.ts +0 -32
  807. package/src/models/FallbackLLM.ts +0 -52
  808. package/src/models/FallbackLLMCreate.ts +0 -42
  809. package/src/models/FallbackLLMUpdate.ts +0 -38
  810. package/src/models/FeedbackModeEnum.ts +0 -14
  811. package/src/models/FileTypeEnum.ts +0 -14
  812. package/src/models/FileUploadURLRequest.ts +0 -26
  813. package/src/models/FileUploadURLResponse.ts +0 -30
  814. package/src/models/FinanceDetailsResponse.ts +0 -18
  815. package/src/models/FinanceFilters.ts +0 -20
  816. package/src/models/FreeUsageCount.ts +0 -8
  817. package/src/models/GradeResult.ts +0 -47
  818. package/src/models/GradeResultDetail.ts +0 -76
  819. package/src/models/GradeResultMentor.ts +0 -9
  820. package/src/models/GradeResultPlatform.ts +0 -8
  821. package/src/models/GradeResultStudent.ts +0 -10
  822. package/src/models/GraderCriterion.ts +0 -20
  823. package/src/models/GradingModeEnum.ts +0 -12
  824. package/src/models/GrantMentorAccessRequest.ts +0 -14
  825. package/src/models/GreetingMethodEnum.ts +0 -12
  826. package/src/models/GuidedPrompt.ts +0 -9
  827. package/src/models/GuidedPromptsResponse.ts +0 -10
  828. package/src/models/HeygenAvatarCreate.ts +0 -14
  829. package/src/models/HeygenAvatarCreateTypeEnum.ts +0 -12
  830. package/src/models/HeygenMarketingVideoDetail.ts +0 -13
  831. package/src/models/HeygenMarketingVideoList.ts +0 -11
  832. package/src/models/HeygenStreamingSession.ts +0 -17
  833. package/src/models/HeygenStreamingTask.ts +0 -15
  834. package/src/models/HeygenTemplateRequest.ts +0 -10
  835. package/src/models/HeygenTemplateResponseSingle.ts +0 -11
  836. package/src/models/HeygenTtsPreview.ts +0 -12
  837. package/src/models/HeygenVideoCreate.ts +0 -19
  838. package/src/models/HeygenVideoCreateTypeEnum.ts +0 -12
  839. package/src/models/HeygenVideoDetail.ts +0 -13
  840. package/src/models/HeygenVideoRequest.ts +0 -10
  841. package/src/models/HeygenVoiceClone.ts +0 -14
  842. package/src/models/HostingProject.ts +0 -51
  843. package/src/models/HumanSupportTicket.ts +0 -28
  844. package/src/models/HumanSupportTicketStatusEnum.ts +0 -14
  845. package/src/models/InputQuestion.ts +0 -11
  846. package/src/models/IntegrationCredential.ts +0 -30
  847. package/src/models/IntegrationCredentialSchema.ts +0 -11
  848. package/src/models/IntegrationCredentialSchemaV2.ts +0 -15
  849. package/src/models/InterfaceEnum.ts +0 -12
  850. package/src/models/IntervalTypeEnum.ts +0 -16
  851. package/src/models/IntialQuestionAnswer.ts +0 -8
  852. package/src/models/InvalidQueryParameters.ts +0 -8
  853. package/src/models/InvoiceReportResponse.ts +0 -18
  854. package/src/models/JobRun.ts +0 -16
  855. package/src/models/JudgeRecord.ts +0 -24
  856. package/src/models/LLMCredentialRequest.ts +0 -19
  857. package/src/models/LLMCredentialResponse.ts +0 -15
  858. package/src/models/LLMCredentialSchema.ts +0 -11
  859. package/src/models/LLMJudge.ts +0 -15
  860. package/src/models/LLMModelForTenant.ts +0 -11
  861. package/src/models/LLMModelRegistryMinimal.ts +0 -20
  862. package/src/models/LLMProviderMinimal.ts +0 -19
  863. package/src/models/LLMQuestion.ts +0 -20
  864. package/src/models/LLMResponse.ts +0 -23
  865. package/src/models/LLMTracesListResponse.ts +0 -10
  866. package/src/models/LanguagesView.ts +0 -10
  867. package/src/models/LinkCourseRequest.ts +0 -8
  868. package/src/models/LinkCourseResponse.ts +0 -10
  869. package/src/models/LinkedViaEnum.ts +0 -12
  870. package/src/models/LlmProviderEnum.ts +0 -16
  871. package/src/models/LlmUsageAnalyticsResponse.ts +0 -13
  872. package/src/models/MCPServer.ts +0 -87
  873. package/src/models/MCPServerConnection.ts +0 -48
  874. package/src/models/MCPServerConnectionScopeEnum.ts +0 -14
  875. package/src/models/MCPServerMentorAuthScopeWrite.ts +0 -24
  876. package/src/models/MCPServerOAuthClientWrite.ts +0 -20
  877. package/src/models/MCPServerOauthFind.ts +0 -18
  878. package/src/models/MCPServerPreferenceWrite.ts +0 -11
  879. package/src/models/MCPServerSessionPreferenceWrite.ts +0 -12
  880. package/src/models/MCPServerTransportEnum.ts +0 -12
  881. package/src/models/MaskedIntegrationCredential.ts +0 -30
  882. package/src/models/MaskedLLMCredential.ts +0 -15
  883. package/src/models/McpServerConfig.ts +0 -22
  884. package/src/models/McpServerConfigTransportEnum.ts +0 -12
  885. package/src/models/McpServerCreate.ts +0 -13
  886. package/src/models/McpServerEntry.ts +0 -13
  887. package/src/models/McpServerListResponse.ts +0 -9
  888. package/src/models/MemoryComponentData.ts +0 -10
  889. package/src/models/MemoryComponentDataKindEnum.ts +0 -14
  890. package/src/models/MemoryComponentMemory.ts +0 -9
  891. package/src/models/MemoryComponentMemoryDetail.ts +0 -15
  892. package/src/models/MemoryComponentResponse.ts +0 -10
  893. package/src/models/MemoryProgress.ts +0 -13
  894. package/src/models/MemoryStatusRequestView.ts +0 -11
  895. package/src/models/MemoryStatusView.ts +0 -39
  896. package/src/models/Mentor.ts +0 -304
  897. package/src/models/MentorAudience.ts +0 -10
  898. package/src/models/MentorAuditLogEntry.ts +0 -52
  899. package/src/models/MentorBreakdown.ts +0 -14
  900. package/src/models/MentorCategory.ts +0 -14
  901. package/src/models/MentorCategoryCreate.ts +0 -16
  902. package/src/models/MentorCategoryGroup.ts +0 -16
  903. package/src/models/MentorCategoryGroupCreate.ts +0 -16
  904. package/src/models/MentorCreate.ts +0 -286
  905. package/src/models/MentorCustomVoice.ts +0 -9
  906. package/src/models/MentorCustomVoiceResponse.ts +0 -9
  907. package/src/models/MentorData.ts +0 -12
  908. package/src/models/MentorDetailAnalytics.ts +0 -11
  909. package/src/models/MentorEval.ts +0 -16
  910. package/src/models/MentorEvalQuestion.ts +0 -10
  911. package/src/models/MentorEvalQuestionRequest.ts +0 -9
  912. package/src/models/MentorEvalReport.ts +0 -15
  913. package/src/models/MentorEvalRequest.ts +0 -13
  914. package/src/models/MentorFacet.ts +0 -22
  915. package/src/models/MentorFork.ts +0 -10
  916. package/src/models/MentorFromTemplateWithSettingRequest.ts +0 -107
  917. package/src/models/MentorFromTemplateWithSettingRequestVoiceProviderEnum.ts +0 -14
  918. package/src/models/MentorGraderConfig.ts +0 -29
  919. package/src/models/MentorMemorySettingsRequest.ts +0 -11
  920. package/src/models/MentorMemorySettingsResponse.ts +0 -11
  921. package/src/models/MentorMetadata.ts +0 -10
  922. package/src/models/MentorScenario.ts +0 -11
  923. package/src/models/MentorScenarioPrompt.ts +0 -10
  924. package/src/models/MentorSearchResponse.ts +0 -40
  925. package/src/models/MentorSession.ts +0 -9
  926. package/src/models/MentorSettings.ts +0 -179
  927. package/src/models/MentorSettingsPublic.ts +0 -120
  928. package/src/models/MentorSettingsRequest.ts +0 -156
  929. package/src/models/MentorSettingsRequestVoiceProviderEnum.ts +0 -16
  930. package/src/models/MentorSkillAssignment.ts +0 -17
  931. package/src/models/MentorSummary.ts +0 -10
  932. package/src/models/MentorType.ts +0 -10
  933. package/src/models/MentorUserSetting.ts +0 -9
  934. package/src/models/MentorVisibilityEnum.ts +0 -14
  935. package/src/models/MentorWizard.ts +0 -9
  936. package/src/models/MessageStatistics.ts +0 -10
  937. package/src/models/MessageView.ts +0 -17
  938. package/src/models/MessageViewRequest.ts +0 -24
  939. package/src/models/MessageViewUpdatResponse.ts +0 -8
  940. package/src/models/Metadata.ts +0 -10
  941. package/src/models/MetricChange.ts +0 -9
  942. package/src/models/MetricInfo.ts +0 -10
  943. package/src/models/ModalityEnum.ts +0 -14
  944. package/src/models/ModelCost.ts +0 -9
  945. package/src/models/ModerationLog.ts +0 -26
  946. package/src/models/NestedArtifact.ts +0 -66
  947. package/src/models/NewUserSpendCapDefault.ts +0 -24
  948. package/src/models/NoChatMessagesFound.ts +0 -8
  949. package/src/models/OAuthProvider.ts +0 -29
  950. package/src/models/OAuthService.ts +0 -23
  951. package/src/models/OAuthStartResponse.ts +0 -8
  952. package/src/models/OauthCredentialsMasked.ts +0 -15
  953. package/src/models/Observation.ts +0 -36
  954. package/src/models/OfflineDocument.ts +0 -24
  955. package/src/models/OverrideStatusEnum.ts +0 -14
  956. package/src/models/OvertimeData.ts +0 -18
  957. package/src/models/PageContent.ts +0 -11
  958. package/src/models/PaginatedAIGeneratedImageList.ts +0 -12
  959. package/src/models/PaginatedAgentChannels.ts +0 -12
  960. package/src/models/PaginatedAgentSkillList.ts +0 -12
  961. package/src/models/PaginatedAgentSkillResourceList.ts +0 -12
  962. package/src/models/PaginatedArtifactListList.ts +0 -12
  963. package/src/models/PaginatedArtifactVersionList.ts +0 -12
  964. package/src/models/PaginatedChannelAllowEntries.ts +0 -12
  965. package/src/models/PaginatedChannelCatalog.ts +0 -12
  966. package/src/models/PaginatedChannelCredentials.ts +0 -12
  967. package/src/models/PaginatedChannelIdentities.ts +0 -12
  968. package/src/models/PaginatedChannelPairingRequests.ts +0 -12
  969. package/src/models/PaginatedChatRunTrackerList.ts +0 -12
  970. package/src/models/PaginatedChatSessionActivityList.ts +0 -11
  971. package/src/models/PaginatedClawInstanceList.ts +0 -12
  972. package/src/models/PaginatedClawModelProviderList.ts +0 -12
  973. package/src/models/PaginatedConversationsList.ts +0 -12
  974. package/src/models/PaginatedCourseCreationTaskFileList.ts +0 -12
  975. package/src/models/PaginatedCourseCreationTaskList.ts +0 -12
  976. package/src/models/PaginatedDatasetItemList.ts +0 -12
  977. package/src/models/PaginatedDatasetList.ts +0 -12
  978. package/src/models/PaginatedDisclaimerAgreementList.ts +0 -12
  979. package/src/models/PaginatedDisclaimerList.ts +0 -12
  980. package/src/models/PaginatedEdxCourseList.ts +0 -12
  981. package/src/models/PaginatedEmailPromptListList.ts +0 -12
  982. package/src/models/PaginatedGradeResultList.ts +0 -12
  983. package/src/models/PaginatedGraderCriterionList.ts +0 -12
  984. package/src/models/PaginatedHeygenMarketingVideoListList.ts +0 -12
  985. package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +0 -12
  986. package/src/models/PaginatedHumanSupportTicketList.ts +0 -12
  987. package/src/models/PaginatedJobRunList.ts +0 -12
  988. package/src/models/PaginatedJudgeList.ts +0 -12
  989. package/src/models/PaginatedMCPServerConnectionList.ts +0 -12
  990. package/src/models/PaginatedMCPServerList.ts +0 -12
  991. package/src/models/PaginatedMentorAuditLogEntryList.ts +0 -12
  992. package/src/models/PaginatedMentorList.ts +0 -12
  993. package/src/models/PaginatedMentorSkillAssignmentList.ts +0 -12
  994. package/src/models/PaginatedModerationLogList.ts +0 -12
  995. package/src/models/PaginatedObservationList.ts +0 -12
  996. package/src/models/PaginatedOfflineDocumentList.ts +0 -12
  997. package/src/models/PaginatedPeriodicAgentList.ts +0 -12
  998. package/src/models/PaginatedPeriodicAgentLogList.ts +0 -12
  999. package/src/models/PaginatedPrivacyFlagList.ts +0 -12
  1000. package/src/models/PaginatedProjectList.ts +0 -12
  1001. package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +0 -12
  1002. package/src/models/PaginatedRunList.ts +0 -12
  1003. package/src/models/PaginatedScoreConfigList.ts +0 -12
  1004. package/src/models/PaginatedScoreList.ts +0 -12
  1005. package/src/models/PaginatedTicketMessageList.ts +0 -12
  1006. package/src/models/PaginatedTopicStatisticsResponse.ts +0 -12
  1007. package/src/models/PaginatedTraceList.ts +0 -12
  1008. package/src/models/PaginatedUserEdxMemoryList.ts +0 -12
  1009. package/src/models/PaginatedVeoVideoListList.ts +0 -12
  1010. package/src/models/PaginatedVoiceList.ts +0 -12
  1011. package/src/models/PaginatedWorkflowList.ts +0 -12
  1012. package/src/models/PatchedAgentChannelUpdate.ts +0 -31
  1013. package/src/models/PatchedAgentSkill.ts +0 -40
  1014. package/src/models/PatchedAgentSkillResource.ts +0 -22
  1015. package/src/models/PatchedArtifact.ts +0 -83
  1016. package/src/models/PatchedCallConfiguration.ts +0 -43
  1017. package/src/models/PatchedChannelCredentialUpdate.ts +0 -16
  1018. package/src/models/PatchedClawConfigPatchRequest.ts +0 -19
  1019. package/src/models/PatchedClawInstance.ts +0 -56
  1020. package/src/models/PatchedClawMentorConfig.ts +0 -32
  1021. package/src/models/PatchedClawModelProvider.ts +0 -45
  1022. package/src/models/PatchedConversations.ts +0 -120
  1023. package/src/models/PatchedCourseCreationTaskFile.ts +0 -12
  1024. package/src/models/PatchedCredentialRequest.ts +0 -19
  1025. package/src/models/PatchedCronJobPatch.ts +0 -29
  1026. package/src/models/PatchedDisclaimer.ts +0 -22
  1027. package/src/models/PatchedFallbackLLMUpdate.ts +0 -38
  1028. package/src/models/PatchedGradeResultOverride.ts +0 -20
  1029. package/src/models/PatchedGraderCriterion.ts +0 -20
  1030. package/src/models/PatchedHumanSupportTicket.ts +0 -28
  1031. package/src/models/PatchedLLMCredentialRequest.ts +0 -19
  1032. package/src/models/PatchedMCPServer.ts +0 -87
  1033. package/src/models/PatchedMCPServerConnection.ts +0 -48
  1034. package/src/models/PatchedMcpServerUpdate.ts +0 -13
  1035. package/src/models/PatchedMentorCategoryGroupCreate.ts +0 -16
  1036. package/src/models/PatchedMentorCreate.ts +0 -286
  1037. package/src/models/PatchedMentorGraderConfig.ts +0 -29
  1038. package/src/models/PatchedMentorSkillAssignment.ts +0 -17
  1039. package/src/models/PatchedPeriodicAgentCreate.ts +0 -74
  1040. package/src/models/PatchedProject.ts +0 -58
  1041. package/src/models/PatchedPrompt.ts +0 -27
  1042. package/src/models/PatchedTenantChatPrivacyConfig.ts +0 -16
  1043. package/src/models/PatchedTicketMessage.ts +0 -15
  1044. package/src/models/PatchedUserMentorMemoryUpdate.ts +0 -12
  1045. package/src/models/PatchedWorkflow.ts +0 -70
  1046. package/src/models/PeriodInfo.ts +0 -26
  1047. package/src/models/PeriodicAgent.ts +0 -75
  1048. package/src/models/PeriodicAgentCreate.ts +0 -74
  1049. package/src/models/PeriodicAgentLog.ts +0 -16
  1050. package/src/models/PeriodicAgentLogStatusEnum.ts +0 -14
  1051. package/src/models/PeriodicAgentStatistics.ts +0 -12
  1052. package/src/models/PeriodicTask.ts +0 -26
  1053. package/src/models/PhiActionEnum.ts +0 -16
  1054. package/src/models/PieChartData.ts +0 -10
  1055. package/src/models/PieChartSegment.ts +0 -9
  1056. package/src/models/PinnedMessageCreate.ts +0 -14
  1057. package/src/models/PinnedMessageRequest.ts +0 -11
  1058. package/src/models/PlatformPrompt.ts +0 -39
  1059. package/src/models/PlatformPromptResponse.ts +0 -21
  1060. package/src/models/PredictiveAnalyticsRequest.ts +0 -9
  1061. package/src/models/PredictiveAnalyticsResponse.ts +0 -9
  1062. package/src/models/PreviousAgentStatusEnum.ts +0 -16
  1063. package/src/models/PrivacyActionEnum.ts +0 -16
  1064. package/src/models/PrivacyFlag.ts +0 -40
  1065. package/src/models/PrivacyFlagSourceEnum.ts +0 -20
  1066. package/src/models/Project.ts +0 -58
  1067. package/src/models/ProjectMentor.ts +0 -16
  1068. package/src/models/Prompt.ts +0 -27
  1069. package/src/models/PromptCategory.ts +0 -12
  1070. package/src/models/PromptFacet.ts +0 -22
  1071. package/src/models/PromptSearchResponse.ts +0 -40
  1072. package/src/models/PromptVisibilityEnum.ts +0 -14
  1073. package/src/models/ProviderBreakdown.ts +0 -13
  1074. package/src/models/ProviderEnum.ts +0 -18
  1075. package/src/models/ProvisionModeEnum.ts +0 -12
  1076. package/src/models/QuestionCardTag.ts +0 -13
  1077. package/src/models/QuestionRequest.ts +0 -20
  1078. package/src/models/QuestionResponse.ts +0 -15
  1079. package/src/models/RailEnum.ts +0 -12
  1080. package/src/models/RatingAverageRecord.ts +0 -15
  1081. package/src/models/RatingEnum.ts +0 -12
  1082. package/src/models/RatingRecord.ts +0 -9
  1083. package/src/models/RatingsOvertime.ts +0 -10
  1084. package/src/models/RecentlyAccessedMentor.ts +0 -16
  1085. package/src/models/RecommendationTypeEnum.ts +0 -12
  1086. package/src/models/RecommendedCoursesResponse.ts +0 -38
  1087. package/src/models/RelatedText.ts +0 -8
  1088. package/src/models/RemoveMentorFromDisclaimer.ts +0 -17
  1089. package/src/models/ReorderChildren.ts +0 -18
  1090. package/src/models/RequestDataVariable.ts +0 -19
  1091. package/src/models/ResourceScrappedData.ts +0 -18
  1092. package/src/models/ResourceScrappedDataStatusEnum.ts +0 -16
  1093. package/src/models/ResponseDataVariable.ts +0 -19
  1094. package/src/models/RetreiverTrainViewRequest.ts +0 -15
  1095. package/src/models/RetreiverTrainViewResponse.ts +0 -11
  1096. package/src/models/RetrieveTask.ts +0 -8
  1097. package/src/models/RetrieverDocumentEmbedding.ts +0 -47
  1098. package/src/models/RetrieverDocumentEmbeddingRequest.ts +0 -75
  1099. package/src/models/RetrieverRequestSearch.ts +0 -15
  1100. package/src/models/RetrieverRequestSearchDocument.ts +0 -15
  1101. package/src/models/RetrieverResponseSearch.ts +0 -12
  1102. package/src/models/ReuestDataVariableList.ts +0 -9
  1103. package/src/models/Run.ts +0 -27
  1104. package/src/models/RunDetailResponse.ts +0 -25
  1105. package/src/models/RunMentorEval.ts +0 -8
  1106. package/src/models/ScanWebhookRequest.ts +0 -11
  1107. package/src/models/ScanWebhookResponse.ts +0 -8
  1108. package/src/models/ScopeC1dEnum.ts +0 -12
  1109. package/src/models/Score.ts +0 -23
  1110. package/src/models/ScoreConfig.ts +0 -17
  1111. package/src/models/ScoreConfigCategory.ts +0 -12
  1112. package/src/models/ScoreConfigCreate.ts +0 -18
  1113. package/src/models/ScoreCreate.ts +0 -19
  1114. package/src/models/ScoreCreateResponse.ts +0 -14
  1115. package/src/models/SeedMentorsView.ts +0 -8
  1116. package/src/models/Segment.ts +0 -10
  1117. package/src/models/SellableItem.ts +0 -19
  1118. package/src/models/SellableItemPaywall.ts +0 -14
  1119. package/src/models/SellableItemsResponse.ts +0 -18
  1120. package/src/models/SentimentSummary.ts +0 -9
  1121. package/src/models/ServiceTypeEnum.ts +0 -14
  1122. package/src/models/SessionBrowserScreenshot.ts +0 -13
  1123. package/src/models/SessionChartPoint.ts +0 -9
  1124. package/src/models/SessionDetail.ts +0 -11
  1125. package/src/models/SessionDisableChathistoryRequest.ts +0 -14
  1126. package/src/models/SessionDisableChathistoryResponse.ts +0 -12
  1127. package/src/models/SessionMemoryStorage.ts +0 -11
  1128. package/src/models/SessionSummary.ts +0 -20
  1129. package/src/models/SessionSummaryMentor.ts +0 -11
  1130. package/src/models/SessionsChart.ts +0 -10
  1131. package/src/models/SetCurrentVersionRequest.ts +0 -8
  1132. package/src/models/ShareableMentorLink.ts +0 -13
  1133. package/src/models/SharedSessionUpdateRequest.ts +0 -8
  1134. package/src/models/SharedSessionUpdateResponse.ts +0 -8
  1135. package/src/models/SharedSystemPromptConsumer.ts +0 -14
  1136. package/src/models/SharedSystemPromptRequest.ts +0 -15
  1137. package/src/models/SharedSystemPromptResponse.ts +0 -11
  1138. package/src/models/SharedSystemPromptTarget.ts +0 -15
  1139. package/src/models/ShellLogs.ts +0 -8
  1140. package/src/models/SkillTypeEnum.ts +0 -12
  1141. package/src/models/SpacedRepetitionLearningPath.ts +0 -8
  1142. package/src/models/SpacedRepetitionQuestionStats.ts +0 -10
  1143. package/src/models/SpendCap.ts +0 -42
  1144. package/src/models/SpendCapScopeEnum.ts +0 -16
  1145. package/src/models/SpendCapStatusItem.ts +0 -18
  1146. package/src/models/SpendCapStatusSummary.ts +0 -22
  1147. package/src/models/SpendCapStatusSummaryStatusEnum.ts +0 -14
  1148. package/src/models/StarMentor.ts +0 -16
  1149. package/src/models/StarterPrompts693Enum.ts +0 -16
  1150. package/src/models/StarterPromptsDd8Enum.ts +0 -16
  1151. package/src/models/Status869Enum.ts +0 -14
  1152. package/src/models/Step.ts +0 -14
  1153. package/src/models/StepStatusEnum.ts +0 -14
  1154. package/src/models/StopGenerationRequest.ts +0 -14
  1155. package/src/models/StripeCheckoutSessionCreate.ts +0 -15
  1156. package/src/models/StripeCheckoutSessionCreateModeEnum.ts +0 -14
  1157. package/src/models/StripeConnectStart.ts +0 -8
  1158. package/src/models/StripeConnectStartResponse.ts +0 -8
  1159. package/src/models/StripeConnectedAccount.ts +0 -41
  1160. package/src/models/StripeConnectedAccountSourceEnum.ts +0 -12
  1161. package/src/models/StripeCustomerCreate.ts +0 -13
  1162. package/src/models/StripePaymentLinkCreate.ts +0 -11
  1163. package/src/models/StripePaywallAccessResponse.ts +0 -14
  1164. package/src/models/StripePaywallCheckout.ts +0 -14
  1165. package/src/models/StripePaywallCheckoutResponse.ts +0 -24
  1166. package/src/models/StripePriceCreate.ts +0 -15
  1167. package/src/models/StripeProductCreate.ts +0 -14
  1168. package/src/models/SttProviderEnum.ts +0 -18
  1169. package/src/models/StudentChatMessage.ts +0 -14
  1170. package/src/models/StylesView.ts +0 -9
  1171. package/src/models/Subject.ts +0 -10
  1172. package/src/models/Summary.ts +0 -14
  1173. package/src/models/TagsView.ts +0 -10
  1174. package/src/models/TargetSystemEnum.ts +0 -16
  1175. package/src/models/TaskModeEnum.ts +0 -12
  1176. package/src/models/TaskTypeEnum.ts +0 -12
  1177. package/src/models/TaskView.ts +0 -8
  1178. package/src/models/TemplateMentor.ts +0 -14
  1179. package/src/models/TenantChatPrivacyConfig.ts +0 -16
  1180. package/src/models/TenantMentorTraces.ts +0 -11
  1181. package/src/models/ThemeEnum.ts +0 -12
  1182. package/src/models/TicketMessage.ts +0 -15
  1183. package/src/models/TokenEndpointAuthMethodEnum.ts +0 -14
  1184. package/src/models/TonesView.ts +0 -9
  1185. package/src/models/ToolCategory.ts +0 -10
  1186. package/src/models/ToolResponse.ts +0 -22
  1187. package/src/models/TopicDetail.ts +0 -13
  1188. package/src/models/TopicDetails.ts +0 -10
  1189. package/src/models/TopicModel.ts +0 -8
  1190. package/src/models/TopicRecord.ts +0 -9
  1191. package/src/models/TopicStatistics.ts +0 -12
  1192. package/src/models/TopicStatisticsResponse.ts +0 -11
  1193. package/src/models/TopicSummaryView.ts +0 -9
  1194. package/src/models/TopicsOverview.ts +0 -35
  1195. package/src/models/TopicsOverviewMetric.ts +0 -38
  1196. package/src/models/Trace.ts +0 -22
  1197. package/src/models/TrainDocumentViewRequest.ts +0 -95
  1198. package/src/models/TrainDocumentViewResponse.ts +0 -20
  1199. package/src/models/TrainingStatusEnum.ts +0 -16
  1200. package/src/models/Transport755Enum.ts +0 -10
  1201. package/src/models/TrendEntry.ts +0 -9
  1202. package/src/models/TriggerRequest.ts +0 -10
  1203. package/src/models/TriggerResponse.ts +0 -11
  1204. package/src/models/TtsProviderEnum.ts +0 -16
  1205. package/src/models/UiModeEnum.ts +0 -12
  1206. package/src/models/UpdateXblock.ts +0 -22
  1207. package/src/models/UseMainCreds.ts +0 -8
  1208. package/src/models/UserAllChatMemoryView.ts +0 -40
  1209. package/src/models/UserCatalogItemMemoryView.ts +0 -21
  1210. package/src/models/UserChatByPeriod.ts +0 -9
  1211. package/src/models/UserChatFeedback.ts +0 -29
  1212. package/src/models/UserChatFeedbackByMessage.ts +0 -28
  1213. package/src/models/UserChatFeedbackCount.ts +0 -9
  1214. package/src/models/UserChatFeedbackCreateRequest.ts +0 -8
  1215. package/src/models/UserChatHistoryFilterData.ts +0 -15
  1216. package/src/models/UserChatMemoryStatusRequestView.ts +0 -11
  1217. package/src/models/UserChatMemoryStatusView.ts +0 -39
  1218. package/src/models/UserChatMemoryUpdateView.ts +0 -15
  1219. package/src/models/UserChatPrivacySettings.ts +0 -23
  1220. package/src/models/UserCountRecord.ts +0 -9
  1221. package/src/models/UserDefaultMentor.ts +0 -24
  1222. package/src/models/UserDetail.ts +0 -13
  1223. package/src/models/UserEdxMemory.ts +0 -22
  1224. package/src/models/UserMemoryContextRequest.ts +0 -18
  1225. package/src/models/UserMemoryContextResponse.ts +0 -45
  1226. package/src/models/UserMentorMemoryCreate.ts +0 -12
  1227. package/src/models/UserMetric.ts +0 -9
  1228. package/src/models/UserMetricsResponse.ts +0 -12
  1229. package/src/models/UserReportListResponse.ts +0 -11
  1230. package/src/models/UserSentimentCountView.ts +0 -9
  1231. package/src/models/UserTrendByPeriod.ts +0 -10
  1232. package/src/models/V2GlobalMentorSearchResponse.ts +0 -34
  1233. package/src/models/V2PersonalizedMentorsResponse.ts +0 -34
  1234. package/src/models/V2RecommendationResponse.ts +0 -70
  1235. package/src/models/VectorResult.ts +0 -15
  1236. package/src/models/VeoVideoDetail.ts +0 -15
  1237. package/src/models/VeoVideoList.ts +0 -11
  1238. package/src/models/VeoVideoRequest.ts +0 -10
  1239. package/src/models/VersionNestedArtifact.ts +0 -67
  1240. package/src/models/VideoCaption.ts +0 -8
  1241. package/src/models/VirtualMachineEgressEnum.ts +0 -16
  1242. package/src/models/Voice.ts +0 -14
  1243. package/src/models/VoiceProviderEefEnum.ts +0 -16
  1244. package/src/models/WakeModeEnum.ts +0 -12
  1245. package/src/models/WakeRequest.ts +0 -13
  1246. package/src/models/WakeResponse.ts +0 -19
  1247. package/src/models/WebResource.ts +0 -14
  1248. package/src/models/WebResourceCard.ts +0 -12
  1249. package/src/models/WebResourcesQuery.ts +0 -8
  1250. package/src/models/WelcomeHeadingStyle5edEnum.ts +0 -12
  1251. package/src/models/WelcomeHeadingStyleFafEnum.ts +0 -12
  1252. package/src/models/Workflow.ts +0 -70
  1253. package/src/models/XblockResult.ts +0 -14
  1254. package/src/models/XblockTypeEnum.ts +0 -20
  1255. package/src/services/AiAccountService.ts +0 -1711
  1256. package/src/services/AiIndexService.ts +0 -644
  1257. package/src/services/AiMarketingService.ts +0 -96
  1258. package/src/services/AiMediaService.ts +0 -532
  1259. package/src/services/AiMentorService.ts +0 -23890
  1260. package/src/services/AiPromptService.ts +0 -2018
  1261. package/src/services/AiProxyService.ts +0 -90
  1262. package/src/services/AiSearchService.ts +0 -1299
  1263. package/src/services/IntegrationCredentialsService.ts +0 -52
  1264. package/src/services/V1AgentsService.ts +0 -859
  1265. package/src/services/V1AnalyticsService.ts +0 -1926
  1266. package/src/services/V1AuditLogsService.ts +0 -80
  1267. package/src/services/V1ChannelsService.ts +0 -393
  1268. package/src/services/V1ChatService.ts +0 -52
  1269. package/src/services/V1ConfigurationsService.ts +0 -73
  1270. package/src/services/V1DisclaimersService.ts +0 -387
  1271. package/src/services/V1FeaturesService.ts +0 -38
  1272. package/src/services/V1LlmsService.ts +0 -79
  1273. package/src/services/V1MemsearchStatusService.ts +0 -26
  1274. package/src/services/V1NotificationsService.ts +0 -136
  1275. package/src/services/V1OrganizationService.ts +0 -56
  1276. package/src/services/V1ProjectsService.ts +0 -280
  1277. package/src/services/V1SessionsService.ts +0 -423
@@ -1,1926 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { AnalyticsOverview } from '../models/AnalyticsOverview';
6
- import type { BaseFinanceResponse } from '../models/BaseFinanceResponse';
7
- import type { ChatHistoryFilterData } from '../models/ChatHistoryFilterData';
8
- import type { ContentDetailsResponse } from '../models/ContentDetailsResponse';
9
- import type { ContentResponse } from '../models/ContentResponse';
10
- import type { Conversations } from '../models/Conversations';
11
- import type { ConversationVolume } from '../models/ConversationVolume';
12
- import type { Cost } from '../models/Cost';
13
- import type { LLMTracesListResponse } from '../models/LLMTracesListResponse';
14
- import type { LlmUsageAnalyticsResponse } from '../models/LlmUsageAnalyticsResponse';
15
- import type { MessageStatistics } from '../models/MessageStatistics';
16
- import type { ModelCost } from '../models/ModelCost';
17
- import type { PaginatedConversationsList } from '../models/PaginatedConversationsList';
18
- import type { PaginatedTopicStatisticsResponse } from '../models/PaginatedTopicStatisticsResponse';
19
- import type { PieChartData } from '../models/PieChartData';
20
- import type { ReportCreate } from '../models/ReportCreate';
21
- import type { StudentChatMessage } from '../models/StudentChatMessage';
22
- import type { TimeSpentUpdateRequest } from '../models/TimeSpentUpdateRequest';
23
- import type { TimeSpentUpdateResponse } from '../models/TimeSpentUpdateResponse';
24
- import type { TopicRecord } from '../models/TopicRecord';
25
- import type { TopicStatisticsResponse } from '../models/TopicStatisticsResponse';
26
- import type { TopicSummaryView } from '../models/TopicSummaryView';
27
- import type { TrendEntry } from '../models/TrendEntry';
28
- import type { UserChatHistoryFilterData } from '../models/UserChatHistoryFilterData';
29
- import type { UserMetricsResponse } from '../models/UserMetricsResponse';
30
- import type { UserReportListResponse } from '../models/UserReportListResponse';
31
- import type { UserTrendByPeriod } from '../models/UserTrendByPeriod';
32
- import type { CancelablePromise } from '../core/CancelablePromise';
33
- import { OpenAPI } from '../core/OpenAPI';
34
- import { request as __request } from '../core/request';
35
- export class V1AnalyticsService {
36
- /**
37
- * Retrieve LLM usage costs for a specific mentor
38
- * Requires the `iblai-org` and `iblai-user` context headers.
39
- *
40
- * Retrieve LLM usage costs for a specific mentor.
41
- *
42
- * This endpoint returns data on the total cost of LLM usage for a specific mentor
43
- * within a specified date range. The cost is calculated by summing the costs
44
- * of all observations associated with traces from the tenant's sessions.
45
- *
46
- * Args:
47
- * request: The HTTP request containing filter query parameters.
48
- * org: Organization key identifier.
49
- * mentor_unique_id: User key identifier.
50
- *
51
- * Returns:
52
- * Response: Total LLM usage cost for the specified tenant.
53
- *
54
- * Raises:
55
- * NotFound: If the specified organization does not exist.
56
- * BadRequest: If the provided parameters are invalid.
57
- *
58
- * Query Parameters:
59
- * start_date (str): Start date for filtering (YYYY-MM-DD) - required.
60
- * end_date (str): End date for filtering (YYYY-MM-DD) - required.
61
- * @returns Cost
62
- * @throws ApiError
63
- */
64
- public static v1AnalyticsAgentsCostRetrieve({
65
- agentId,
66
- endDate,
67
- startDate,
68
- }: {
69
- agentId: string,
70
- endDate: string,
71
- startDate: string,
72
- }): CancelablePromise<Cost> {
73
- return __request(OpenAPI, {
74
- method: 'GET',
75
- url: '/v1/analytics/agents/{agent_id}/cost',
76
- path: {
77
- 'agent_id': agentId,
78
- },
79
- query: {
80
- 'end_date': endDate,
81
- 'start_date': startDate,
82
- },
83
- errors: {
84
- 400: `Invalid parameters`,
85
- 404: `Organization not found`,
86
- },
87
- });
88
- }
89
- /**
90
- * Retrieve average message counts per session over time
91
- * Requires the `iblai-org` and `iblai-user` context headers.
92
- *
93
- * Retrieve average message counts per session over time.
94
- *
95
- * This endpoint returns data on the average number of messages exchanged in each
96
- * conversation session within a specified date range, with options for filtering
97
- * by mentor and aggregating by different time periods (hourly, daily, weekly).
98
- *
99
- * Args:
100
- * request: The HTTP request containing filter query parameters.
101
- * org: Organization key identifier.
102
- *
103
- * Returns:
104
- * Response: Time series of average message counts and session totals.
105
- *
106
- * Raises:
107
- * NotFound: If the specified organization does not exist.
108
- * BadRequest: If the provided parameters are invalid.
109
- *
110
- * Query Parameters:
111
- * start_date (str): Start date for filtering (YYYY-MM-DD) - required.
112
- * end_date (str): End date for filtering (YYYY-MM-DD) - required.
113
- * mentor_id (str): Filter by mentor unique ID.
114
- * aggregation (str): Time aggregation level (hourly, daily, weekly) - default: daily.
115
- * @returns MessageStatistics
116
- * @throws ApiError
117
- */
118
- public static v1AnalyticsAverageMessagesPerSessionList({
119
- endDate,
120
- startDate,
121
- aggregation = 'daily',
122
- groupBy = 'day',
123
- mentorId,
124
- }: {
125
- /**
126
- * End date for filtering (YYYY-MM-DD)
127
- */
128
- endDate: string,
129
- /**
130
- * Start date for filtering (YYYY-MM-DD)
131
- */
132
- startDate: string,
133
- /**
134
- * Time aggregation level (hourly, daily, weekly)
135
- */
136
- aggregation?: 'daily' | 'hourly' | 'weekly',
137
- groupBy?: string,
138
- /**
139
- * Filter by mentor unique ID
140
- */
141
- mentorId?: string,
142
- }): CancelablePromise<Array<MessageStatistics>> {
143
- return __request(OpenAPI, {
144
- method: 'GET',
145
- url: '/v1/analytics/average-messages-per-session',
146
- query: {
147
- 'aggregation': aggregation,
148
- 'end_date': endDate,
149
- 'group_by': groupBy,
150
- 'mentor_id': mentorId,
151
- 'start_date': startDate,
152
- },
153
- errors: {
154
- 400: `Invalid parameters`,
155
- 404: `Organization not found`,
156
- },
157
- });
158
- }
159
- /**
160
- * Requires the `iblai-org` and `iblai-user` context headers.
161
- *
162
- * API viewset for retrieving and filtering chat message history.
163
- *
164
- * This viewset provides endpoints for retrieving chat message history
165
- * within an organization, with extensive filtering options by date range,
166
- * user, topic, mentor, and sentiment.
167
- *
168
- * Permissions:
169
- * - Restricted to platform administrators only
170
- * @returns PaginatedConversationsList
171
- * @throws ApiError
172
- */
173
- public static v1AnalyticsChatHistoryList({
174
- endDate,
175
- filterUserId,
176
- mentor,
177
- messagesAfter,
178
- sentiment,
179
- sessionId,
180
- startDate,
181
- topics,
182
- page,
183
- pageSize,
184
- }: {
185
- endDate?: string,
186
- filterUserId?: string,
187
- mentor?: string,
188
- /**
189
- * Return only sessions with activity after this time, and within each only the turns answered after it.
190
- */
191
- messagesAfter?: string,
192
- sentiment?: string,
193
- sessionId?: string,
194
- startDate?: string,
195
- topics?: string,
196
- /**
197
- * A page number within the paginated result set.
198
- */
199
- page?: number,
200
- /**
201
- * Number of results to return per page.
202
- */
203
- pageSize?: number,
204
- }): CancelablePromise<PaginatedConversationsList> {
205
- return __request(OpenAPI, {
206
- method: 'GET',
207
- url: '/v1/analytics/chat-history',
208
- query: {
209
- 'end_date': endDate,
210
- 'filter_user_id': filterUserId,
211
- 'mentor': mentor,
212
- 'messages_after': messagesAfter,
213
- 'sentiment': sentiment,
214
- 'session_id': sessionId,
215
- 'start_date': startDate,
216
- 'topics': topics,
217
- 'page': page,
218
- 'page_size': pageSize,
219
- },
220
- });
221
- }
222
- /**
223
- * Retrieve filter options for chat message history
224
- * Requires the `iblai-org` and `iblai-user` context headers.
225
- *
226
- * Retrieve filter options for chat message history.
227
- *
228
- * This endpoint returns data on available filter options for the chat message
229
- * history endpoint, including topics, date ranges (weekly or monthly),
230
- * sentiments, and users who have chat history.
231
- *
232
- * Args:
233
- * request: The HTTP request containing query parameters.
234
- * org: Organization key identifier.
235
- *
236
- * Returns:
237
- * Response: Available filter options for chat message history.
238
- *
239
- * Raises:
240
- * NotFound: If the specified organization does not exist.
241
- *
242
- * Query Parameters:
243
- * monthly_range (bool): Whether to return monthly or weekly date ranges.
244
- * mentor_id (str): Filter users by those who have chatted with a specific mentor.
245
- * @returns ChatHistoryFilterData
246
- * @throws ApiError
247
- */
248
- public static v1AnalyticsChatHistoryFilterRetrieve({
249
- endDate,
250
- mentorId,
251
- monthlyRange = false,
252
- startDate,
253
- }: {
254
- endDate?: string,
255
- mentorId?: string,
256
- monthlyRange?: boolean,
257
- startDate?: string,
258
- }): CancelablePromise<ChatHistoryFilterData> {
259
- return __request(OpenAPI, {
260
- method: 'GET',
261
- url: '/v1/analytics/chat-history-filter',
262
- query: {
263
- 'end_date': endDate,
264
- 'mentor_id': mentorId,
265
- 'monthly_range': monthlyRange,
266
- 'start_date': startDate,
267
- },
268
- errors: {
269
- 404: `Organization not found`,
270
- },
271
- });
272
- }
273
- /**
274
- * Get Content Analytics
275
- * Requires the `iblai-org` context header.
276
- *
277
- *
278
- * Retrieve aggregated analytics for catalog content (courses, programs, pathways, skills).
279
- *
280
- * Returns both summary statistics and paginated list of content items with individual analytics.
281
- * When a platform_key is provided, results are filtered to show only content consumed by
282
- * learners associated with that platform.
283
- *
284
- * **RBAC Requirements:**
285
- * - Requires: Analytics Viewer role (Ibl.Analytics/Core/read) or Tenant Admin role (Ibl.*)
286
- *
287
- * **Metrics supported:**
288
- * - `course` or `courses`: Course analytics with time spent
289
- * - `program` or `programs`: Program analytics
290
- * - `pathway` or `pathways`: Pathway analytics
291
- * - `skill` or `skills`: Skill analytics
292
- *
293
- * **Platform Filtering:**
294
- * - Without platform_key: Shows global analytics across all platforms
295
- * - With platform_key: Shows analytics filtered by platform learners only
296
- *
297
- * **Time Spent Analytics:**
298
- * - Platform-level: Total time spent across all content and average per learner
299
- * - Course-level: Total time spent per course and average per enrolled learner
300
- * - Time values are provided in seconds for precision
301
- * - Overtime: Time series data showing platform time spent over last 7 days (courses only, and include_overtime=true)
302
- *
303
- * **External Content:**
304
- * - Content not owned by the requesting platform but used by its learners is marked as "external"
305
- * - External content has limited metadata exposure for privacy
306
- *
307
- * @returns ContentResponse
308
- * @throws ApiError
309
- */
310
- public static v1AnalyticsContentRetrieve({
311
- metric,
312
- dateFilter = 'today',
313
- endDate,
314
- granularity = 'hour',
315
- includeOvertime = false,
316
- mentorUniqueId,
317
- search,
318
- sortBy = 'enrollments',
319
- startDate,
320
- usergroupIds,
321
- page,
322
- pageSize,
323
- }: {
324
- /**
325
- * The type of content to retrieve (course, program, pathway, skill)
326
- *
327
- * * `course` - course
328
- * * `courses` - courses
329
- * * `program` - program
330
- * * `programs` - programs
331
- * * `pathway` - pathway
332
- * * `pathways` - pathways
333
- * * `skill` - skill
334
- * * `skills` - skills
335
- */
336
- metric: 'course' | 'courses' | 'program' | 'programs' | 'pathway' | 'pathways' | 'skill' | 'skills',
337
- /**
338
- * * `today` - Today only
339
- * * `7d` - Last 7 days
340
- * * `30d` - Last 30 days
341
- * * `90d` - Last 90 days
342
- * * `all_time` - All time
343
- * * `custom` - Custom date range
344
- */
345
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom',
346
- endDate?: string,
347
- /**
348
- * * `day` - day
349
- * * `hour` - hour
350
- * * `week` - week
351
- * * `month` - month
352
- */
353
- granularity?: 'day' | 'hour' | 'week' | 'month',
354
- /**
355
- * Include time spent over time data
356
- */
357
- includeOvertime?: boolean,
358
- mentorUniqueId?: string,
359
- /**
360
- * Filter results by name/slug (case-insensitive substring match)
361
- */
362
- search?: string,
363
- /**
364
- * Sort order for results. Enrollment counts use the same learner scope as each item's analytics; ties are ordered by name. 'enrollments' and 'active_enrollments' apply to course, program and pathway metrics; skills are always ordered by name.
365
- *
366
- * * `enrollments` - Total enrollments (descending, default)
367
- * * `active_enrollments` - Active enrollments (descending)
368
- * * `name` - Name (A-Z)
369
- */
370
- sortBy?: 'enrollments' | 'active_enrollments' | 'name',
371
- startDate?: string,
372
- /**
373
- * Optional list of usergroup IDs to filter results
374
- */
375
- usergroupIds?: Array<number> | null,
376
- /**
377
- * A page number within the paginated result set.
378
- */
379
- page?: number,
380
- /**
381
- * Number of results to return per page.
382
- */
383
- pageSize?: number,
384
- }): CancelablePromise<ContentResponse> {
385
- return __request(OpenAPI, {
386
- method: 'GET',
387
- url: '/v1/analytics/content',
388
- query: {
389
- 'date_filter': dateFilter,
390
- 'end_date': endDate,
391
- 'granularity': granularity,
392
- 'include_overtime': includeOvertime,
393
- 'mentor_unique_id': mentorUniqueId,
394
- 'metric': metric,
395
- 'search': search,
396
- 'sort_by': sortBy,
397
- 'start_date': startDate,
398
- 'usergroup_ids': usergroupIds,
399
- 'page': page,
400
- 'page_size': pageSize,
401
- },
402
- });
403
- }
404
- /**
405
- * Get Content Details
406
- * Requires the `iblai-org` context header.
407
- *
408
- * Retrieve detailed analytics for a specific content item including summary statistics, learner-level data, and optional time series information.
409
- * @returns ContentDetailsResponse
410
- * @throws ApiError
411
- */
412
- public static v1AnalyticsContentDetailsRetrieve({
413
- contentId,
414
- metric,
415
- dateFilter = 'today',
416
- endDate,
417
- mentorUniqueId,
418
- search,
419
- startDate,
420
- timeMetric,
421
- usergroupIds,
422
- page,
423
- pageSize,
424
- }: {
425
- contentId: string,
426
- /**
427
- * Content type to fetch (course, program, pathway, skill)
428
- *
429
- * * `course` - course
430
- * * `courses` - courses
431
- * * `program` - program
432
- * * `programs` - programs
433
- * * `pathway` - pathway
434
- * * `pathways` - pathways
435
- * * `skill` - skill
436
- * * `skills` - skills
437
- */
438
- metric: 'course' | 'courses' | 'program' | 'programs' | 'pathway' | 'pathways' | 'skill' | 'skills',
439
- /**
440
- * * `today` - Today only
441
- * * `7d` - Last 7 days
442
- * * `30d` - Last 30 days
443
- * * `90d` - Last 90 days
444
- * * `all_time` - All time
445
- * * `custom` - Custom date range
446
- */
447
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom',
448
- endDate?: string,
449
- mentorUniqueId?: string,
450
- search?: string,
451
- startDate?: string,
452
- /**
453
- * Optional time series metric (enrollments, completions, ratings, time_spent)
454
- */
455
- timeMetric?: string | null,
456
- /**
457
- * Optional list of usergroup IDs to filter results
458
- */
459
- usergroupIds?: Array<number> | null,
460
- /**
461
- * A page number within the paginated result set.
462
- */
463
- page?: number,
464
- /**
465
- * Number of results to return per page.
466
- */
467
- pageSize?: number,
468
- }): CancelablePromise<ContentDetailsResponse> {
469
- return __request(OpenAPI, {
470
- method: 'GET',
471
- url: '/v1/analytics/content/details/{content_id}',
472
- path: {
473
- 'content_id': contentId,
474
- },
475
- query: {
476
- 'date_filter': dateFilter,
477
- 'end_date': endDate,
478
- 'mentor_unique_id': mentorUniqueId,
479
- 'metric': metric,
480
- 'search': search,
481
- 'start_date': startDate,
482
- 'time_metric': timeMetric,
483
- 'usergroup_ids': usergroupIds,
484
- 'page': page,
485
- 'page_size': pageSize,
486
- },
487
- });
488
- }
489
- /**
490
- * Retrieve conversation volume data over time
491
- * Requires the `iblai-org` and `iblai-user` context headers.
492
- *
493
- * Retrieve conversation volume data over time.
494
- *
495
- * This endpoint returns data on the number of conversations that occurred
496
- * within a specified date range, with options for different time aggregations
497
- * (hourly, daily, weekly). Results can be filtered by mentor.
498
- *
499
- * Args:
500
- * request: The HTTP request containing filter query parameters.
501
- * org: Organization key identifier.
502
- * user_id: User identifier (not used in the implementation).
503
- *
504
- * Returns:
505
- * Response: Time series data of conversation counts.
506
- *
507
- * Raises:
508
- * NotFound: If the specified organization does not exist.
509
- * BadRequest: If the provided parameters are invalid.
510
- *
511
- * Query Parameters:
512
- * start_date (str): Start date for filtering (YYYY-MM-DD) - required.
513
- * end_date (str): End date for filtering (YYYY-MM-DD) - required.
514
- * mentor_id (str): Filter by mentor unique ID.
515
- * aggregation (str): Time aggregation level (hourly, daily, weekly) - default: daily.
516
- * @returns ConversationVolume
517
- * @throws ApiError
518
- */
519
- public static v1AnalyticsConversationList({
520
- endDate,
521
- startDate,
522
- aggregation = 'daily',
523
- mentorId,
524
- }: {
525
- /**
526
- * End date for filtering (YYYY-MM-DD)
527
- */
528
- endDate: string,
529
- /**
530
- * Start date for filtering (YYYY-MM-DD)
531
- */
532
- startDate: string,
533
- /**
534
- * Time aggregation level (hourly, daily, weekly)
535
- */
536
- aggregation?: 'daily' | 'hourly' | 'weekly',
537
- /**
538
- * Filter by mentor unique ID
539
- */
540
- mentorId?: string,
541
- }): CancelablePromise<Array<ConversationVolume>> {
542
- return __request(OpenAPI, {
543
- method: 'GET',
544
- url: '/v1/analytics/conversation',
545
- query: {
546
- 'aggregation': aggregation,
547
- 'end_date': endDate,
548
- 'mentor_id': mentorId,
549
- 'start_date': startDate,
550
- },
551
- errors: {
552
- 400: `Invalid parameters`,
553
- 404: `Organization not found`,
554
- },
555
- });
556
- }
557
- /**
558
- * Retrieve the model costs for a tenant
559
- * Requires the `iblai-org` and `iblai-user` context headers.
560
- *
561
- * Retrieve the model costs for a tenant
562
- *
563
- * Filter parameters for period are start_date and enddate
564
- *
565
- * Accessible to tenant Admins only.
566
- * @returns ModelCost
567
- * @throws ApiError
568
- */
569
- public static v1AnalyticsCostsModelRetrieve({
570
- endDate,
571
- startDate,
572
- }: {
573
- endDate: string,
574
- startDate: string,
575
- }): CancelablePromise<ModelCost> {
576
- return __request(OpenAPI, {
577
- method: 'GET',
578
- url: '/v1/analytics/costs/model',
579
- query: {
580
- 'end_date': endDate,
581
- 'start_date': startDate,
582
- },
583
- });
584
- }
585
- /**
586
- * Retrieve LLM usage costs aggregated by user
587
- * Requires the `iblai-org` and `iblai-user` context headers.
588
- *
589
- * Retrieve LLM usage costs aggregated by user.
590
- *
591
- * This endpoint returns data on the total cost of LLM usage for each user
592
- * within a specified date range, with pagination support. The costs are
593
- * calculated by summing the costs of all observations associated with
594
- * traces from the user's sessions.
595
- *
596
- * Args:
597
- * request: The HTTP request containing filter query parameters.
598
- * org: Organization key identifier.
599
- *
600
- * Returns:
601
- * Response: Paginated list of users with their total LLM usage costs.
602
- *
603
- * Raises:
604
- * NotFound: If the specified organization does not exist.
605
- * BadRequest: If the provided parameters are invalid.
606
- *
607
- * Query Parameters:
608
- * start_date (str): Start date for filtering (YYYY-MM-DD) - required.
609
- * end_date (str): End date for filtering (YYYY-MM-DD) - required.
610
- * limit (int): Number of results per page - default: 10.
611
- * offset (int): Offset for pagination - default: 0.
612
- * @returns LLMTracesListResponse
613
- * @throws ApiError
614
- */
615
- public static v1AnalyticsCostsPerUserRetrieve({
616
- endDate,
617
- startDate,
618
- }: {
619
- endDate: string,
620
- startDate: string,
621
- }): CancelablePromise<LLMTracesListResponse> {
622
- return __request(OpenAPI, {
623
- method: 'GET',
624
- url: '/v1/analytics/costs/per-user',
625
- query: {
626
- 'end_date': endDate,
627
- 'start_date': startDate,
628
- },
629
- errors: {
630
- 400: `Invalid parameters`,
631
- 404: `Organization not found`,
632
- },
633
- });
634
- }
635
- /**
636
- * Financial Analytics API - Get comprehensive cost metrics with comparison analysis
637
- * Requires the `iblai-org` context header.
638
- *
639
- * Financial Analytics API - Get comprehensive cost metrics with comparison analysis.
640
- *
641
- * This endpoint provides period-based cost analysis (not cumulative) with support for:
642
- * - Multiple time granularities and metrics
643
- * - Cross-dimensional filtering
644
- * - Percentage change vs comparison periods
645
- * - Forward-filled time series
646
- *
647
- * **Examples:**
648
- *
649
- * **Basic Weekly Costs:**
650
- * ```
651
- * GET /api/analytics/financial/?metric=weekly_costs&comparison_days=10
652
- * ```
653
- *
654
- * **Platform & Mentor Filtered:**
655
- * ```
656
- * # Get total costs for a specific platform and agent
657
- * GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
658
- * ```
659
- *
660
- * **Monthly Costs by Provider:**
661
- * ```
662
- * GET /api/analytics/financial/?metric=monthly_costs&provider=openai&granularity=month&comparison_days=30
663
- * ```
664
- *
665
- * **Daily Costs for Specific User:**
666
- * ```
667
- * GET /api/analytics/financial/?metric=total_costs&username=user-456&granularity=day&start_date=2025-01-15&end_date=2025-01-21&comparison_days=7
668
- * ```
669
- *
670
- *
671
- * **Response Structure:**
672
- * ```json
673
- * {
674
- * "metric": "weekly_costs",
675
- * "value": 12.47,
676
- * "percentage_change": 8.5,
677
- * "overtime": [
678
- * {"date": "2025-01-06", "value": 2.89},
679
- * {"date": "2025-01-13", "value": 3.12}
680
- * ],
681
- * "period_info": {
682
- * "start_date": "2025-01-01",
683
- * "end_date": "2025-01-31",
684
- * "period_days": 31
685
- * },
686
- * "comparison_info": {
687
- * "previous_period_value": 11.50,
688
- * ...
689
- * }
690
- * }
691
- * ```
692
- * @returns BaseFinanceResponse Successful financial metrics response with period-based cost data
693
- * @throws ApiError
694
- */
695
- public static v1AnalyticsFinancialRetrieve({
696
- metric,
697
- comparisonDays,
698
- dateFilter = 'today',
699
- endDate,
700
- fillMethod = 'zero',
701
- granularity = 'day',
702
- llmModel,
703
- mentorUniqueId,
704
- provider,
705
- showOvertime = true,
706
- startDate,
707
- usergroupIds,
708
- username,
709
- }: {
710
- /**
711
- * Type of financial metric to retrieve
712
- *
713
- * * `total_costs` - Total costs for selected timeframe
714
- * * `weekly_costs` - Costs for current/selected week
715
- * * `monthly_costs` - Costs for current/selected month
716
- */
717
- metric: 'total_costs' | 'weekly_costs' | 'monthly_costs',
718
- /**
719
- * Number of days for comparison period to calculate percentage change (e.g., 10 for 10-day comparison)
720
- */
721
- comparisonDays?: number,
722
- /**
723
- * * `today` - Today only
724
- * * `7d` - Last 7 days
725
- * * `30d` - Last 30 days
726
- * * `90d` - Last 90 days
727
- * * `all_time` - All time
728
- * * `custom` - Custom date range
729
- */
730
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom',
731
- endDate?: string,
732
- /**
733
- * Method for filling missing time periods in overtime data
734
- *
735
- * * `zero` - Fill missing periods with zero
736
- * * `previous` - Fill missing periods with previous value
737
- */
738
- fillMethod?: 'zero' | 'previous',
739
- /**
740
- * Time granularity for overtime series data
741
- *
742
- * * `day` - Daily data points
743
- * * `week` - Weekly data points
744
- * * `month` - Monthly data points
745
- */
746
- granularity?: 'day' | 'week' | 'month',
747
- /**
748
- * Filter by specific LLM model (e.g., gpt-4o, claude-3-5-sonnet)
749
- */
750
- llmModel?: string,
751
- mentorUniqueId?: string,
752
- /**
753
- * Filter by AI provider
754
- *
755
- * * `openai` - OpenAI
756
- * * `anthropic` - Anthropic
757
- * * `azure` - Azure
758
- * * `google` - Google
759
- * * `meta` - Meta
760
- * * `other` - Other
761
- */
762
- provider?: 'openai' | 'anthropic' | 'azure' | 'google' | 'meta' | 'other',
763
- /**
764
- * Whether to include overtime series data in response
765
- */
766
- showOvertime?: boolean,
767
- startDate?: string,
768
- /**
769
- * Optional list of usergroup IDs to filter results
770
- */
771
- usergroupIds?: Array<number> | null,
772
- /**
773
- * Filter by specific username - returns costs for this user only
774
- */
775
- username?: string,
776
- }): CancelablePromise<BaseFinanceResponse> {
777
- return __request(OpenAPI, {
778
- method: 'GET',
779
- url: '/v1/analytics/financial',
780
- query: {
781
- 'comparison_days': comparisonDays,
782
- 'date_filter': dateFilter,
783
- 'end_date': endDate,
784
- 'fill_method': fillMethod,
785
- 'granularity': granularity,
786
- 'llm_model': llmModel,
787
- 'mentor_unique_id': mentorUniqueId,
788
- 'metric': metric,
789
- 'provider': provider,
790
- 'show_overtime': showOvertime,
791
- 'start_date': startDate,
792
- 'usergroup_ids': usergroupIds,
793
- 'username': username,
794
- },
795
- errors: {
796
- 400: `Bad Request - Invalid query parameters`,
797
- 403: `Forbidden - Insufficient permissions`,
798
- 500: `Internal Server Error`,
799
- },
800
- });
801
- }
802
- /**
803
- * LLM cost/usage analytics
804
- * Requires the `iblai-org` context header.
805
- *
806
- * Platform-scoped analytics for LLM **cost, token usage, latency, and counts**. One endpoint serves three resources selected by the `resource` param:
807
- *
808
- * - `metrics` (default) — aggregate measures with optional `group_by` (type|model|tags|environment) and `granularity` (day|week|month) time series.
809
- * - `observations` — row-level generation drill-down, page-paginated; pass `observation_id` to fetch one observation.
810
- * - `traces` — trace list (per-user/per-session drill-down the metrics resource cannot group by); pass `trace_id` to fetch one trace.
811
- *
812
- * **Tenant isolation:** every *list* query is scoped to the validated request platform via a server-injected `metadata.platform_key` filter. Get-by-id (`trace_id`/`observation_id`) takes only the id, so ownership is verified after the fetch and a cross-tenant record returns **404** (never 403) so its existence is not leaked. The client `platform_key` is used only for RBAC validation, never to scope the upstream call — the analytics store is project-scoped across all tenants.
813
- *
814
- * **Access:** platform admins see the whole tenant. Non-admins may read **only their own usage** — the `userId` filter is clamped to the caller, so a self-access request can never return tenant-wide aggregates. A non-admin who omits `username` defaults to their own rows; passing another user's `username` is rejected (403). Watchers and mentor owners keep the broader scope their RBAC grants already allow.
815
- *
816
- * **Default time frame:** when no date params are given the query defaults to `date_filter=today` (start=end=today). Widen it with `date_filter=7d|30d|90d`, `date_filter=all_time` for full history, or `date_filter=custom` plus `start_date`/`end_date`.
817
- *
818
- * **Measures** (csv `measures`): total_cost, input_tokens, output_tokens, total_tokens, count, latency. **Aggregation** applies to every measure: sum|avg|count|min|max|p50|p75|p90|p95|p99.
819
- *
820
- * **Per-mentor ranking:** the metrics resource cannot group by custom metadata, so use `group_by=tags` — traces carry both `platform_key:<key>` and `mentor_id:<id>` tags, so with the platform filter applied each tag bucket collapses to one mentor. Parse `mentor_id:` out of the returned `tags` array.
821
- *
822
- * **Recipes**
823
- * ```
824
- * # Total spend today (tenant-wide)
825
- * GET ?platform_key=acme&resource=metrics&measures=total_cost
826
- *
827
- * # Cost + tokens + calls per service, last 30 days
828
- * GET ?platform_key=acme&resource=metrics&measures=total_cost,total_tokens,count&group_by=type&date_filter=30d
829
- *
830
- * # Cost per model over a custom range
831
- * GET ?platform_key=acme&resource=metrics&measures=total_cost&group_by=model&date_filter=custom&start_date=2025-01-01&end_date=2025-01-31
832
- *
833
- * # Per-mentor cost ranking
834
- * GET ?platform_key=acme&resource=metrics&measures=total_cost&group_by=tags
835
- *
836
- * # Daily cost time series
837
- * GET ?platform_key=acme&resource=metrics&measures=total_cost&granularity=day&date_filter=30d
838
- *
839
- * # Latency percentiles for the chat service
840
- * GET ?platform_key=acme&resource=metrics&measures=latency&aggregation=p95&trace_name=chat
841
- *
842
- * # One learner's spend
843
- * GET ?platform_key=acme&resource=metrics&measures=total_cost&username=alice
844
- *
845
- * # Row-level drill-down for a trace
846
- * GET ?platform_key=acme&resource=observations&trace_id=abc123&page=1&limit=50
847
- *
848
- * # Fetch a single observation
849
- * GET ?platform_key=acme&resource=observations&observation_id=obs123
850
- *
851
- * # Recent traces for one learner (newest first)
852
- * GET ?platform_key=acme&resource=traces&username=alice&order_by=timestamp&direction=desc&limit=50
853
- *
854
- * # All traces in one conversation/session
855
- * GET ?platform_key=acme&resource=traces&session_id=sess123
856
- *
857
- * # Fetch a single trace
858
- * GET ?platform_key=acme&resource=traces&trace_id=abc123
859
- * ```
860
- *
861
- * **Limits:** `limit` caps rows (default 50, max 1000). `group_by` cannot use userId/sessionId/mentor_id (the upstream store rejects them); those are filter-only. The metrics query requires bounded timestamps, so `date_filter=all_time` is served from a fixed 2020-01-01 lower bound through today (wide enough to cover all ingested history).
862
- * @returns LlmUsageAnalyticsResponse Metrics rows or paginated observation records.
863
- * @throws ApiError
864
- */
865
- public static v1AnalyticsLlmUsageRetrieve({
866
- aggregation = 'sum',
867
- dateFilter = 'today',
868
- direction = 'desc',
869
- endDate,
870
- granularity,
871
- groupBy,
872
- limit = 50,
873
- llmModel,
874
- measures,
875
- mentorUniqueId,
876
- observationId,
877
- orderBy,
878
- page = 1,
879
- resource = 'metrics',
880
- sessionId,
881
- startDate,
882
- traceId,
883
- traceName,
884
- usergroupIds,
885
- username,
886
- view = 'observations',
887
- }: {
888
- /**
889
- * Aggregation applied to each measure.
890
- *
891
- * * `avg` - avg
892
- * * `count` - count
893
- * * `max` - max
894
- * * `min` - min
895
- * * `p50` - p50
896
- * * `p75` - p75
897
- * * `p90` - p90
898
- * * `p95` - p95
899
- * * `p99` - p99
900
- * * `sum` - sum
901
- */
902
- aggregation?: 'avg' | 'count' | 'max' | 'min' | 'p50' | 'p75' | 'p90' | 'p95' | 'p99' | 'sum',
903
- /**
904
- * * `today` - Today only
905
- * * `7d` - Last 7 days
906
- * * `30d` - Last 30 days
907
- * * `90d` - Last 90 days
908
- * * `all_time` - All time
909
- * * `custom` - Custom date range
910
- */
911
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom',
912
- /**
913
- * Ordering direction.
914
- *
915
- * * `asc` - asc
916
- * * `desc` - desc
917
- */
918
- direction?: 'asc' | 'desc',
919
- endDate?: string,
920
- /**
921
- * Time-series bucket size; omit for a flat aggregate.
922
- *
923
- * * `day` - day
924
- * * `month` - month
925
- * * `week` - week
926
- */
927
- granularity?: 'day' | 'month' | 'week',
928
- /**
929
- * Dimension to group by (type|model|tags|environment).
930
- *
931
- * * `environment` - environment
932
- * * `model` - model
933
- * * `tags` - tags
934
- * * `type` - type
935
- */
936
- groupBy?: 'environment' | 'model' | 'tags' | 'type',
937
- /**
938
- * Row cap (max 1000).
939
- */
940
- limit?: number,
941
- /**
942
- * Filter to one model by its provided model name, e.g. gpt-4o-mini.
943
- */
944
- llmModel?: string,
945
- /**
946
- * Comma-separated measures: count, input_tokens, latency, output_tokens, total_cost, total_tokens
947
- */
948
- measures?: string,
949
- mentorUniqueId?: string,
950
- /**
951
- * Fetch a single observation by id (observations resource, get-by-id).
952
- */
953
- observationId?: string,
954
- /**
955
- * Ordering field. Resource-dependent: for metrics a measure (count, input_tokens, latency, output_tokens, total_cost, total_tokens); for traces a trace field (name, session_id, timestamp, username, default timestamp).
956
- */
957
- orderBy?: string,
958
- /**
959
- * 1-based page number for observation drill-down.
960
- */
961
- page?: number,
962
- /**
963
- * Which analytics resource to query.
964
- *
965
- * * `metrics` - Aggregate metrics
966
- * * `observations` - Row-level observation drill-down
967
- * * `traces` - Trace list / single trace
968
- */
969
- resource?: 'metrics' | 'observations' | 'traces',
970
- /**
971
- * Filter to one conversation/session (native sessionId). Supported on the metrics and traces resources only.
972
- */
973
- sessionId?: string,
974
- startDate?: string,
975
- /**
976
- * Single-record selector. On the observations resource, scopes the list to one trace's observations; on the traces resource, fetches that one trace (get-by-id).
977
- */
978
- traceId?: string,
979
- /**
980
- * Filter to one service by trace name, e.g. chat, call, memory, grading, moderation, embeddings.
981
- */
982
- traceName?: string,
983
- /**
984
- * Optional list of usergroup IDs to filter results
985
- */
986
- usergroupIds?: Array<number> | null,
987
- /**
988
- * Filter to one learner by their username (native userId). Applies to both metrics and observations.
989
- */
990
- username?: string,
991
- /**
992
- * Metrics view (observations|scores).
993
- *
994
- * * `observations` - observations
995
- * * `scores` - scores
996
- */
997
- view?: 'observations' | 'scores',
998
- }): CancelablePromise<LlmUsageAnalyticsResponse> {
999
- return __request(OpenAPI, {
1000
- method: 'GET',
1001
- url: '/v1/analytics/llm-usage',
1002
- query: {
1003
- 'aggregation': aggregation,
1004
- 'date_filter': dateFilter,
1005
- 'direction': direction,
1006
- 'end_date': endDate,
1007
- 'granularity': granularity,
1008
- 'group_by': groupBy,
1009
- 'limit': limit,
1010
- 'llm_model': llmModel,
1011
- 'measures': measures,
1012
- 'mentor_unique_id': mentorUniqueId,
1013
- 'observation_id': observationId,
1014
- 'order_by': orderBy,
1015
- 'page': page,
1016
- 'resource': resource,
1017
- 'session_id': sessionId,
1018
- 'start_date': startDate,
1019
- 'trace_id': traceId,
1020
- 'trace_name': traceName,
1021
- 'usergroup_ids': usergroupIds,
1022
- 'username': username,
1023
- 'view': view,
1024
- },
1025
- errors: {
1026
- 400: `Bad Request – invalid query params or a value outside the allowed vocabulary.`,
1027
- 403: `Forbidden – caller lacks analytics access to this platform, or requested a mentor-scoped observation drill-down (not supported).`,
1028
- 404: `Not Found – the requested \`trace_id\`/\`observation_id\` does not exist or belongs to another tenant (existence is not leaked, so cross-tenant get-by-id returns 404 not 403).`,
1029
- 500: `Internal Server Error`,
1030
- 502: `Bad Gateway – the upstream analytics provider was unreachable or returned an error.`,
1031
- },
1032
- });
1033
- }
1034
- /**
1035
- * Requires the `iblai-org` and `iblai-user` context headers.
1036
- *
1037
- * API viewset for retrieving a user's chat message history.
1038
- *
1039
- * Permissions:
1040
- * - Any authenticated user can access their own data
1041
- * - Tenant admins (with an analytics policy) and watchers can access the
1042
- * data of users they are authorized for via RBAC
1043
- * - Other cross-user access is denied
1044
- * @returns PaginatedConversationsList
1045
- * @throws ApiError
1046
- */
1047
- public static v1AnalyticsMeChatHistoryList({
1048
- endDate,
1049
- mentor,
1050
- messagesAfter,
1051
- sentiment,
1052
- sessionId,
1053
- startDate,
1054
- topics,
1055
- page,
1056
- pageSize,
1057
- }: {
1058
- endDate?: string,
1059
- mentor?: string,
1060
- /**
1061
- * Return only sessions with activity after this time, and within each only the turns answered after it.
1062
- */
1063
- messagesAfter?: string,
1064
- sentiment?: string,
1065
- sessionId?: string,
1066
- startDate?: string,
1067
- topics?: string,
1068
- /**
1069
- * A page number within the paginated result set.
1070
- */
1071
- page?: number,
1072
- /**
1073
- * Number of results to return per page.
1074
- */
1075
- pageSize?: number,
1076
- }): CancelablePromise<PaginatedConversationsList> {
1077
- return __request(OpenAPI, {
1078
- method: 'GET',
1079
- url: '/v1/analytics/me/chat-history',
1080
- query: {
1081
- 'end_date': endDate,
1082
- 'mentor': mentor,
1083
- 'messages_after': messagesAfter,
1084
- 'sentiment': sentiment,
1085
- 'session_id': sessionId,
1086
- 'start_date': startDate,
1087
- 'topics': topics,
1088
- 'page': page,
1089
- 'page_size': pageSize,
1090
- },
1091
- });
1092
- }
1093
- /**
1094
- * Retrieve filter options for the target user's chat message history
1095
- * Requires the `iblai-org` and `iblai-user` context headers.
1096
- *
1097
- * Retrieve filter options for the target user's chat message history.
1098
- * @returns UserChatHistoryFilterData
1099
- * @throws ApiError
1100
- */
1101
- public static v1AnalyticsMeChatHistoryFilterRetrieve({
1102
- endDate,
1103
- mentorId,
1104
- monthlyRange = false,
1105
- startDate,
1106
- }: {
1107
- endDate?: string,
1108
- mentorId?: string,
1109
- monthlyRange?: boolean,
1110
- startDate?: string,
1111
- }): CancelablePromise<UserChatHistoryFilterData> {
1112
- return __request(OpenAPI, {
1113
- method: 'GET',
1114
- url: '/v1/analytics/me/chat-history-filter',
1115
- query: {
1116
- 'end_date': endDate,
1117
- 'mentor_id': mentorId,
1118
- 'monthly_range': monthlyRange,
1119
- 'start_date': startDate,
1120
- },
1121
- errors: {
1122
- 403: `Cannot access another user's data`,
1123
- 404: `Organization not found`,
1124
- },
1125
- });
1126
- }
1127
- /**
1128
- * List user chat history reports
1129
- * Requires the `iblai-org` and `iblai-user` context headers.
1130
- *
1131
- * List all chat history reports created by the user.
1132
- * @returns UserReportListResponse
1133
- * @throws ApiError
1134
- */
1135
- public static v1AnalyticsMeChatHistoryReportRetrieve(): CancelablePromise<UserReportListResponse> {
1136
- return __request(OpenAPI, {
1137
- method: 'GET',
1138
- url: '/v1/analytics/me/chat-history-report',
1139
- });
1140
- }
1141
- /**
1142
- * Get user report status
1143
- * Requires the `iblai-org` and `iblai-user` context headers.
1144
- *
1145
- * Get the status of a user's own chat history report.
1146
- * @returns ReportCreate
1147
- * @throws ApiError
1148
- */
1149
- public static v1AnalyticsMeChatHistoryReportRetrieve2({
1150
- taskId,
1151
- }: {
1152
- taskId: string,
1153
- }): CancelablePromise<ReportCreate> {
1154
- return __request(OpenAPI, {
1155
- method: 'GET',
1156
- url: '/v1/analytics/me/chat-history-report/{task_id}',
1157
- path: {
1158
- 'task_id': taskId,
1159
- },
1160
- });
1161
- }
1162
- /**
1163
- * Download user chat history report
1164
- * Requires the `iblai-org` and `iblai-user` context headers.
1165
- *
1166
- * Download a completed user chat history report as CSV or JSON.
1167
- * @returns any No response body
1168
- * @throws ApiError
1169
- */
1170
- public static v1AnalyticsMeChatHistoryReportDownloadRetrieve({
1171
- taskId,
1172
- columns,
1173
- format = 'csv',
1174
- }: {
1175
- taskId: string,
1176
- /**
1177
- * Comma-separated column names to control output order.
1178
- */
1179
- columns?: string,
1180
- /**
1181
- * Download format
1182
- */
1183
- format?: 'csv' | 'json',
1184
- }): CancelablePromise<any> {
1185
- return __request(OpenAPI, {
1186
- method: 'GET',
1187
- url: '/v1/analytics/me/chat-history-report/{task_id}/download',
1188
- path: {
1189
- 'task_id': taskId,
1190
- },
1191
- query: {
1192
- 'columns': columns,
1193
- 'format': format,
1194
- },
1195
- });
1196
- }
1197
- /**
1198
- * Requires the `iblai-org` and `iblai-user` context headers.
1199
- *
1200
- * API viewset for retrieving a user's chat message history.
1201
- *
1202
- * Permissions:
1203
- * - Any authenticated user can access their own data
1204
- * - Tenant admins (with an analytics policy) and watchers can access the
1205
- * data of users they are authorized for via RBAC
1206
- * - Other cross-user access is denied
1207
- * @returns Conversations
1208
- * @throws ApiError
1209
- */
1210
- public static v1AnalyticsMeChatHistoryRetrieve({
1211
- id,
1212
- endDate,
1213
- mentor,
1214
- messagesAfter,
1215
- sentiment,
1216
- sessionId,
1217
- startDate,
1218
- topics,
1219
- }: {
1220
- id: string,
1221
- endDate?: string,
1222
- mentor?: string,
1223
- /**
1224
- * Return only sessions with activity after this time, and within each only the turns answered after it.
1225
- */
1226
- messagesAfter?: string,
1227
- sentiment?: string,
1228
- sessionId?: string,
1229
- startDate?: string,
1230
- topics?: string,
1231
- }): CancelablePromise<Conversations> {
1232
- return __request(OpenAPI, {
1233
- method: 'GET',
1234
- url: '/v1/analytics/me/chat-history/{id}',
1235
- path: {
1236
- 'id': id,
1237
- },
1238
- query: {
1239
- 'end_date': endDate,
1240
- 'mentor': mentor,
1241
- 'messages_after': messagesAfter,
1242
- 'sentiment': sentiment,
1243
- 'session_id': sessionId,
1244
- 'start_date': startDate,
1245
- 'topics': topics,
1246
- },
1247
- });
1248
- }
1249
- /**
1250
- * Retrieve the most discussed topics over time
1251
- * Requires the `iblai-org` and `iblai-user` context headers.
1252
- *
1253
- * Retrieve the most discussed topics over time.
1254
- *
1255
- * This endpoint returns data on the frequency of topics discussed in conversations
1256
- * within a specified date range, with options for filtering by mentor and
1257
- * aggregating by different time periods (hourly, daily, weekly).
1258
- *
1259
- * Args:
1260
- * request: The HTTP request containing filter query parameters.
1261
- * org: Organization key identifier.
1262
- *
1263
- * Returns:
1264
- * Response: List of topics with their conversation counts, ordered by frequency.
1265
- *
1266
- * Raises:
1267
- * NotFound: If the specified organization does not exist.
1268
- * BadRequest: If the provided parameters are invalid.
1269
- *
1270
- * Query Parameters:
1271
- * start_date (str): Start date for filtering (YYYY-MM-DD) - required.
1272
- * end_date (str): End date for filtering (YYYY-MM-DD) - required.
1273
- * mentor_id (str): Filter by mentor unique ID.
1274
- * aggregation (str): Time aggregation level (hourly, daily, weekly) - default: daily.
1275
- * @returns TopicRecord
1276
- * @throws ApiError
1277
- */
1278
- public static v1AnalyticsMostDiscussedTopicsList({
1279
- endDate,
1280
- startDate,
1281
- aggregation = 'daily',
1282
- groupBy = 'day',
1283
- mentorId,
1284
- }: {
1285
- /**
1286
- * End date for filtering (YYYY-MM-DD)
1287
- */
1288
- endDate: string,
1289
- /**
1290
- * Start date for filtering (YYYY-MM-DD)
1291
- */
1292
- startDate: string,
1293
- /**
1294
- * Time aggregation level (hourly, daily, weekly)
1295
- */
1296
- aggregation?: 'daily' | 'hourly' | 'weekly',
1297
- groupBy?: string,
1298
- /**
1299
- * Filter by mentor unique ID
1300
- */
1301
- mentorId?: string,
1302
- }): CancelablePromise<Array<TopicRecord>> {
1303
- return __request(OpenAPI, {
1304
- method: 'GET',
1305
- url: '/v1/analytics/most-discussed-topics',
1306
- query: {
1307
- 'aggregation': aggregation,
1308
- 'end_date': endDate,
1309
- 'group_by': groupBy,
1310
- 'mentor_id': mentorId,
1311
- 'start_date': startDate,
1312
- },
1313
- errors: {
1314
- 400: `Invalid parameters`,
1315
- 404: `Organization not found`,
1316
- },
1317
- });
1318
- }
1319
- /**
1320
- * Retrieve LLM usage costs for a specific tenant
1321
- * Requires the `iblai-org` and `iblai-user` context headers.
1322
- *
1323
- * Retrieve LLM usage costs for a specific tenant.
1324
- *
1325
- * This endpoint returns data on the total cost of LLM usage for a specific tenant
1326
- * within a specified date range. The cost is calculated by summing the costs
1327
- * of all observations associated with traces from the tenant's sessions.
1328
- *
1329
- * Args:
1330
- * request: The HTTP request containing filter query parameters.
1331
- * org: Organization key identifier.
1332
- *
1333
- * Returns:
1334
- * Response: Total LLM usage cost for the specified tenant.
1335
- *
1336
- * Raises:
1337
- * NotFound: If the specified organization does not exist.
1338
- * BadRequest: If the provided parameters are invalid.
1339
- *
1340
- * Query Parameters:
1341
- * start_date (str): Start date for filtering (YYYY-MM-DD) - required.
1342
- * end_date (str): End date for filtering (YYYY-MM-DD) - required.
1343
- * @returns Cost
1344
- * @throws ApiError
1345
- */
1346
- public static v1AnalyticsOrgCostRetrieve({
1347
- endDate,
1348
- startDate,
1349
- }: {
1350
- endDate: string,
1351
- startDate: string,
1352
- }): CancelablePromise<Cost> {
1353
- return __request(OpenAPI, {
1354
- method: 'GET',
1355
- url: '/v1/analytics/org-cost',
1356
- query: {
1357
- 'end_date': endDate,
1358
- 'start_date': startDate,
1359
- },
1360
- errors: {
1361
- 400: `Invalid parameters`,
1362
- 404: `Organization not found`,
1363
- },
1364
- });
1365
- }
1366
- /**
1367
- * Retrieve an overview of key analytics metrics
1368
- * Requires the `iblai-org` and `iblai-user` context headers.
1369
- *
1370
- * Retrieve an overview of key analytics metrics.
1371
- *
1372
- * This endpoint returns a comprehensive overview of key analytics metrics
1373
- * for an organization, including:
1374
- * - Conversation volume: Total sessions and month-over-month change
1375
- * - Users: Total unique users and month-over-month change
1376
- * - Topics: Total unique topics and month-over-month change
1377
- * - User ratings: Total ratings and month-over-month change
1378
- *
1379
- * Results can be filtered by mentor.
1380
- *
1381
- * Args:
1382
- * request: The HTTP request containing filter query parameters.
1383
- * org: Organization key identifier.
1384
- * user_id: User identifier (not used in the implementation).
1385
- *
1386
- * Returns:
1387
- * Response: Overview of key analytics metrics with month-over-month changes.
1388
- *
1389
- * Raises:
1390
- * NotFound: If the specified organization does not exist.
1391
- *
1392
- * Query Parameters:
1393
- * mentor_id (str): Filter analytics by mentor unique ID.
1394
- * @returns AnalyticsOverview
1395
- * @throws ApiError
1396
- */
1397
- public static v1AnalyticsOverviewSummaryRetrieve({
1398
- groupBy = 'day',
1399
- mentorId,
1400
- }: {
1401
- groupBy?: string,
1402
- /**
1403
- * Filter analytics by mentor unique ID
1404
- */
1405
- mentorId?: string,
1406
- }): CancelablePromise<AnalyticsOverview> {
1407
- return __request(OpenAPI, {
1408
- method: 'GET',
1409
- url: '/v1/analytics/overview-summary',
1410
- query: {
1411
- 'group_by': groupBy,
1412
- 'mentor_id': mentorId,
1413
- },
1414
- errors: {
1415
- 404: `Organization not found`,
1416
- },
1417
- });
1418
- }
1419
- /**
1420
- * Retrieve trends of registered users over time
1421
- * Requires the `iblai-org` and `iblai-user` context headers.
1422
- *
1423
- * Retrieve trends of registered users over time.
1424
- *
1425
- * This endpoint returns data on the number of new user registrations
1426
- * within a specified date range, with options for different time aggregations
1427
- * (hourly, daily, weekly, monthly). The data is backfilled to ensure
1428
- * continuous time series even for periods with zero registrations.
1429
- *
1430
- * Args:
1431
- * request: The HTTP request containing filter query parameters.
1432
- * org: Organization key identifier.
1433
- *
1434
- * Returns:
1435
- * Response: Time series of user registration counts.
1436
- *
1437
- * Raises:
1438
- * NotFound: If the specified organization does not exist.
1439
- * BadRequest: If the provided parameters are invalid.
1440
- *
1441
- * Query Parameters:
1442
- * start_date (str): Start date for filtering (YYYY-MM-DD) - required.
1443
- * end_date (str): End date for filtering (YYYY-MM-DD) - required.
1444
- * aggregation (str): Time aggregation level (hourly, daily, weekly, monthly) - default: daily.
1445
- * @returns TrendEntry
1446
- * @throws ApiError
1447
- */
1448
- public static v1AnalyticsRegisteredUsersTrendList({
1449
- endDate,
1450
- startDate,
1451
- aggregation = 'daily',
1452
- groupBy = 'day',
1453
- }: {
1454
- /**
1455
- * End date for filtering (YYYY-MM-DD)
1456
- */
1457
- endDate: string,
1458
- /**
1459
- * Start date for filtering (YYYY-MM-DD)
1460
- */
1461
- startDate: string,
1462
- /**
1463
- * Time aggregation level (hourly, daily, weekly, monthly)
1464
- */
1465
- aggregation?: 'daily' | 'hourly' | 'monthly' | 'weekly',
1466
- groupBy?: string,
1467
- }): CancelablePromise<Array<TrendEntry>> {
1468
- return __request(OpenAPI, {
1469
- method: 'GET',
1470
- url: '/v1/analytics/registered-users-trend',
1471
- query: {
1472
- 'aggregation': aggregation,
1473
- 'end_date': endDate,
1474
- 'group_by': groupBy,
1475
- 'start_date': startDate,
1476
- },
1477
- errors: {
1478
- 400: `Invalid parameters`,
1479
- 404: `Organization not found`,
1480
- },
1481
- });
1482
- }
1483
- /**
1484
- * Update time spent tracking data from client-side events
1485
- * Requires the `iblai-org` context header.
1486
- *
1487
- * Update time spent tracking data from client-side events.
1488
- *
1489
- * This endpoint receives time spent data collected on the client side and
1490
- * stores it in the analytics database. Authentication is optional - the API
1491
- * supports both authenticated and anonymous requests.
1492
- *
1493
- * Methods:
1494
- * POST: Submit time spent tracking data
1495
- *
1496
- * Authentication:
1497
- * Optional - supports both authenticated and anonymous requests.
1498
- * - Authenticated requests: User ID is associated with the record
1499
- * - Anonymous requests: Records are stored with null user_id
1500
- *
1501
- * Returns:
1502
- * A response indicating success or failure:
1503
- * {
1504
- * "success": true|false,
1505
- * "message": "Error message if failed" (optional)
1506
- * }
1507
- *
1508
- * Error Responses:
1509
- * 400 Bad Request: If the request data is invalid or the API is disabled
1510
- *
1511
- * Notes:
1512
- * This API must be enabled via the ENABLE_TIME_SPENT_UPDATE_API setting.
1513
- * @returns TimeSpentUpdateResponse
1514
- * @throws ApiError
1515
- */
1516
- public static v1AnalyticsTimeUpdateCreate({
1517
- requestBody,
1518
- }: {
1519
- requestBody: TimeSpentUpdateRequest,
1520
- }): CancelablePromise<TimeSpentUpdateResponse> {
1521
- return __request(OpenAPI, {
1522
- method: 'POST',
1523
- url: '/v1/analytics/time/update',
1524
- body: requestBody,
1525
- mediaType: 'application/json',
1526
- });
1527
- }
1528
- /**
1529
- * Retrieve the most engaged students based on chat message count
1530
- * Requires the `iblai-org` and `iblai-user` context headers.
1531
- *
1532
- * Retrieve the most engaged students based on chat message count.
1533
- *
1534
- * This endpoint returns data on the top 20 students with the highest number of
1535
- * chat messages, with optional filtering by mentor and date range.
1536
- *
1537
- * Args:
1538
- * request: The HTTP request containing filter query parameters.
1539
- * org: Organization key identifier.
1540
- * user_id: User identifier (not used in the implementation).
1541
- *
1542
- * Returns:
1543
- * Response: List of top students with their chat message counts.
1544
- *
1545
- * Raises:
1546
- * NotFound: If the specified organization does not exist.
1547
- * BadRequest: If the provided parameters are invalid.
1548
- *
1549
- * Query Parameters:
1550
- * mentor_id (str): Filter by mentor unique ID.
1551
- * start_date (str): Start date for filtering (YYYY-MM-DD).
1552
- * end_date (str): End date for filtering (YYYY-MM-DD).
1553
- * @returns StudentChatMessage
1554
- * @throws ApiError
1555
- */
1556
- public static v1AnalyticsTopUsersByChatMessagesList({
1557
- groupBy = 'day',
1558
- }: {
1559
- groupBy?: string,
1560
- }): CancelablePromise<Array<StudentChatMessage>> {
1561
- return __request(OpenAPI, {
1562
- method: 'GET',
1563
- url: '/v1/analytics/top-users-by-chat-messages',
1564
- query: {
1565
- 'group_by': groupBy,
1566
- },
1567
- errors: {
1568
- 400: `Invalid parameters`,
1569
- 404: `Organization not found`,
1570
- },
1571
- });
1572
- }
1573
- /**
1574
- * Retrieve aggregated topic statistics
1575
- * Requires the `iblai-org` and `iblai-user` context headers.
1576
- *
1577
- * Retrieve aggregated topic statistics.
1578
- *
1579
- * This endpoint returns statistical information about topics within an organization,
1580
- * including total topics, new topics, and percentage changes compared to the
1581
- * previous month. Results can be filtered by mentor.
1582
- *
1583
- * Args:
1584
- * request: The HTTP request containing filter query parameters.
1585
- * org: Organization key identifier.
1586
- *
1587
- * Returns:
1588
- * Response: Statistical information about topics.
1589
- *
1590
- * Raises:
1591
- * NotFound: If the specified organization or mentor does not exist.
1592
- *
1593
- * Query Parameters:
1594
- * mentor_id (str): Filter statistics by mentor unique ID.
1595
- * @returns TopicStatisticsResponse
1596
- * @throws ApiError
1597
- */
1598
- public static v1AnalyticsTopicOverviewRetrieve({
1599
- mentorId,
1600
- }: {
1601
- /**
1602
- * Filter statistics by mentor unique ID
1603
- */
1604
- mentorId?: string,
1605
- }): CancelablePromise<TopicStatisticsResponse> {
1606
- return __request(OpenAPI, {
1607
- method: 'GET',
1608
- url: '/v1/analytics/topic-overview',
1609
- query: {
1610
- 'mentor_id': mentorId,
1611
- },
1612
- errors: {
1613
- 404: `Organization or mentor not found`,
1614
- },
1615
- });
1616
- }
1617
- /**
1618
- * Retrieve paginated statistics about topics
1619
- * Requires the `iblai-org` and `iblai-user` context headers.
1620
- *
1621
- * Retrieve paginated statistics about topics.
1622
- *
1623
- * This endpoint returns detailed statistics about topics, including:
1624
- * - Number of conversations related to each topic
1625
- * - Total message count for each topic
1626
- * - Average sentiment of conversations about each topic
1627
- * - Average user rating for conversations about each topic
1628
- *
1629
- * Results can be filtered by mentor and date range, and are paginated.
1630
- *
1631
- * Args:
1632
- * request: The HTTP request containing filter query parameters.
1633
- * org: Organization key identifier.
1634
- *
1635
- * Returns:
1636
- * Response: Paginated list of topic statistics.
1637
- *
1638
- * Raises:
1639
- * NotFound: If the specified organization or mentor does not exist.
1640
- * BadRequest: If the provided parameters are invalid.
1641
- *
1642
- * Query Parameters:
1643
- * start_date (str): Start date for filtering (YYYY-MM-DD).
1644
- * end_date (str): End date for filtering (YYYY-MM-DD).
1645
- * mentor_id (str): Filter by mentor unique ID.
1646
- * page (int): Page number for pagination - default: 1.
1647
- * page_size (int): Number of results per page - default: 20.
1648
- * @returns PaginatedTopicStatisticsResponse
1649
- * @throws ApiError
1650
- */
1651
- public static v1AnalyticsTopicStatisticsRetrieve({
1652
- endDate,
1653
- groupBy = 'day',
1654
- mentorId,
1655
- startDate,
1656
- page,
1657
- pageSize,
1658
- }: {
1659
- /**
1660
- * End date for filtering (YYYY-MM-DD)
1661
- */
1662
- endDate?: string,
1663
- groupBy?: string,
1664
- /**
1665
- * Filter by mentor unique ID
1666
- */
1667
- mentorId?: string,
1668
- /**
1669
- * Start date for filtering (YYYY-MM-DD)
1670
- */
1671
- startDate?: string,
1672
- /**
1673
- * A page number within the paginated result set.
1674
- */
1675
- page?: number,
1676
- /**
1677
- * Number of results to return per page.
1678
- */
1679
- pageSize?: number,
1680
- }): CancelablePromise<PaginatedTopicStatisticsResponse> {
1681
- return __request(OpenAPI, {
1682
- method: 'GET',
1683
- url: '/v1/analytics/topic-statistics',
1684
- query: {
1685
- 'end_date': endDate,
1686
- 'group_by': groupBy,
1687
- 'mentor_id': mentorId,
1688
- 'start_date': startDate,
1689
- 'page': page,
1690
- 'page_size': pageSize,
1691
- },
1692
- errors: {
1693
- 400: `Invalid parameters`,
1694
- 404: `Organization or mentor not found`,
1695
- },
1696
- });
1697
- }
1698
- /**
1699
- * Retrieve a summary of the most frequent topics
1700
- * Requires the `iblai-org` and `iblai-user` context headers.
1701
- *
1702
- * Retrieve a summary of the most frequent topics.
1703
- *
1704
- * This endpoint returns a summary of the top 10 topics discussed in chat sessions,
1705
- * ordered by conversation count. Results can be filtered by mentor and date range.
1706
- *
1707
- * Args:
1708
- * request: The HTTP request containing filter query parameters.
1709
- * org: Organization key identifier.
1710
- *
1711
- * Returns:
1712
- * Response: A list of the top 10 topics with their conversation counts.
1713
- *
1714
- * Raises:
1715
- * NotFound: If the specified organization does not exist.
1716
- * BadRequest: If the provided date format is invalid.
1717
- *
1718
- * Query Parameters:
1719
- * mentor_id (str): Filter by mentor unique ID.
1720
- * start_date (str): Start date for filtering (YYYY-MM-DD).
1721
- * end_date (str): End date for filtering (YYYY-MM-DD).
1722
- * @returns TopicSummaryView
1723
- * @throws ApiError
1724
- */
1725
- public static v1AnalyticsTopicsSummaryList({
1726
- endDate,
1727
- startDate,
1728
- }: {
1729
- endDate?: string,
1730
- startDate?: string,
1731
- }): CancelablePromise<Array<TopicSummaryView>> {
1732
- return __request(OpenAPI, {
1733
- method: 'GET',
1734
- url: '/v1/analytics/topics/summary',
1735
- query: {
1736
- 'end_date': endDate,
1737
- 'start_date': startDate,
1738
- },
1739
- errors: {
1740
- 400: `Invalid date format`,
1741
- 404: `Organization not found`,
1742
- },
1743
- });
1744
- }
1745
- /**
1746
- * Retrieve user cohort trends over time
1747
- * Requires the `iblai-org` and `iblai-user` context headers.
1748
- *
1749
- * Retrieve user cohort trends over time.
1750
- *
1751
- * This endpoint returns data on the distribution of new versus veteran users
1752
- * over time, with options for different time aggregations and filtering by mentor.
1753
- * New users are those who registered within the specified date range, while
1754
- * veteran users are those who registered before the date range but were active
1755
- * during it.
1756
- *
1757
- * Args:
1758
- * request: The HTTP request containing filter query parameters.
1759
- * org: Organization key identifier.
1760
- *
1761
- * Returns:
1762
- * Response: Time series of new and veteran user counts.
1763
- *
1764
- * Raises:
1765
- * NotFound: If the specified organization does not exist.
1766
- * BadRequest: If the provided parameters are invalid.
1767
- *
1768
- * Query Parameters:
1769
- * start_date (str): Start date for filtering (YYYY-MM-DD) - required.
1770
- * end_date (str): End date for filtering (YYYY-MM-DD) - required.
1771
- * aggregation (str): Time aggregation level (hourly, daily, weekly) - default: daily.
1772
- * mentor_id (str): Filter by mentor unique ID.
1773
- * @returns UserTrendByPeriod
1774
- * @throws ApiError
1775
- */
1776
- public static v1AnalyticsUserCohortsOverTimeRetrieve({
1777
- endDate,
1778
- startDate,
1779
- aggregation = 'daily',
1780
- mentorId,
1781
- }: {
1782
- /**
1783
- * End date for filtering (YYYY-MM-DD)
1784
- */
1785
- endDate: string,
1786
- /**
1787
- * Start date for filtering (YYYY-MM-DD)
1788
- */
1789
- startDate: string,
1790
- /**
1791
- * Time aggregation level (hourly, daily, weekly)
1792
- */
1793
- aggregation?: 'daily' | 'hourly' | 'weekly',
1794
- /**
1795
- * Filter by mentor unique ID
1796
- */
1797
- mentorId?: string,
1798
- }): CancelablePromise<UserTrendByPeriod> {
1799
- return __request(OpenAPI, {
1800
- method: 'GET',
1801
- url: '/v1/analytics/user-cohorts-over-time',
1802
- query: {
1803
- 'aggregation': aggregation,
1804
- 'end_date': endDate,
1805
- 'mentor_id': mentorId,
1806
- 'start_date': startDate,
1807
- },
1808
- errors: {
1809
- 400: `Invalid parameters`,
1810
- 404: `Organization not found`,
1811
- },
1812
- });
1813
- }
1814
- /**
1815
- * Retrieve comprehensive user metrics
1816
- * Requires the `iblai-org` and `iblai-user` context headers.
1817
- *
1818
- * Retrieve comprehensive user metrics.
1819
- *
1820
- * This endpoint returns data on various user metrics with month-over-month
1821
- * change calculations:
1822
- * - Registered users: Total users registered on the platform
1823
- * - New users: Users who joined in the current month
1824
- * - Unique users: Distinct users who have had sessions
1825
- * - Veteran users: Users who have been active for at least 6 months
1826
- *
1827
- * Results can be filtered by mentor.
1828
- *
1829
- * Args:
1830
- * request: The HTTP request containing filter query parameters.
1831
- * org: Organization key identifier.
1832
- *
1833
- * Returns:
1834
- * Response: Comprehensive user metrics with month-over-month changes.
1835
- *
1836
- * Raises:
1837
- * NotFound: If the specified organization does not exist.
1838
- *
1839
- * Query Parameters:
1840
- * mentor_id (str): Filter metrics by mentor unique ID.
1841
- * @returns UserMetricsResponse
1842
- * @throws ApiError
1843
- */
1844
- public static v1AnalyticsUserMetricsRetrieve({
1845
- groupBy = 'day',
1846
- mentorId,
1847
- }: {
1848
- groupBy?: string,
1849
- /**
1850
- * Filter metrics by mentor unique ID
1851
- */
1852
- mentorId?: string,
1853
- }): CancelablePromise<UserMetricsResponse> {
1854
- return __request(OpenAPI, {
1855
- method: 'GET',
1856
- url: '/v1/analytics/user-metrics',
1857
- query: {
1858
- 'group_by': groupBy,
1859
- 'mentor_id': mentorId,
1860
- },
1861
- errors: {
1862
- 404: `Organization not found`,
1863
- },
1864
- });
1865
- }
1866
- /**
1867
- * Retrieve user distribution data for pie charts
1868
- * Requires the `iblai-org` and `iblai-user` context headers.
1869
- *
1870
- * Retrieve user distribution data for pie charts.
1871
- *
1872
- * This endpoint returns data on the distribution of new versus returning users
1873
- * within a specified date range, including both counts and percentages,
1874
- * suitable for pie chart visualization.
1875
- *
1876
- * Args:
1877
- * request: The HTTP request containing filter query parameters.
1878
- * org: Organization key identifier.
1879
- *
1880
- * Returns:
1881
- * Response: Distribution of new versus returning users with counts and percentages.
1882
- *
1883
- * Raises:
1884
- * NotFound: If the specified organization does not exist.
1885
- * BadRequest: If the provided parameters are invalid.
1886
- *
1887
- * Query Parameters:
1888
- * start_date (str): Start date for filtering (YYYY-MM-DD) - required.
1889
- * end_date (str): End date for filtering (YYYY-MM-DD) - required.
1890
- * mentor_id (str): Filter by mentor unique ID.
1891
- * @returns PieChartData
1892
- * @throws ApiError
1893
- */
1894
- public static v1AnalyticsUserMetricsPieChartRetrieve({
1895
- endDate,
1896
- startDate,
1897
- mentorId,
1898
- }: {
1899
- /**
1900
- * End date for filtering (YYYY-MM-DD)
1901
- */
1902
- endDate: string,
1903
- /**
1904
- * Start date for filtering (YYYY-MM-DD)
1905
- */
1906
- startDate: string,
1907
- /**
1908
- * Filter by mentor unique ID
1909
- */
1910
- mentorId?: string,
1911
- }): CancelablePromise<PieChartData> {
1912
- return __request(OpenAPI, {
1913
- method: 'GET',
1914
- url: '/v1/analytics/user-metrics-pie-chart',
1915
- query: {
1916
- 'end_date': endDate,
1917
- 'mentor_id': mentorId,
1918
- 'start_date': startDate,
1919
- },
1920
- errors: {
1921
- 400: `Invalid parameters`,
1922
- 404: `Organization not found`,
1923
- },
1924
- });
1925
- }
1926
- }