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