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