// This file is auto-generated by @hey-api/openapi-ts import { type Client, type ClientMeta, formDataBodySerializer, type Options as Options2, type RequestResult, type ServerSentEventsResult, type TDataShape } from './client'; import { client } from './client.gen'; import { getBotsByBotIdMessagesLocateResponseTransformer, getBotsByBotIdMessagesResponseTransformer } from './transformers.gen'; import type { DeleteAgentAuthorizationsByIdData, DeleteAgentAuthorizationsByIdErrors, DeleteAgentAuthorizationsByIdResponses, DeleteBotsByBotIdAclRulesByRuleIdData, DeleteBotsByBotIdAclRulesByRuleIdErrors, DeleteBotsByBotIdAclRulesByRuleIdResponses, DeleteBotsByBotIdAcpRuntimesByRuntimeIdData, DeleteBotsByBotIdAcpRuntimesByRuntimeIdErrors, DeleteBotsByBotIdAcpRuntimesByRuntimeIdResponses, DeleteBotsByBotIdAgentsByIdCredentialData, DeleteBotsByBotIdAgentsByIdCredentialErrors, DeleteBotsByBotIdAgentsByIdCredentialResponses, DeleteBotsByBotIdAgentsByIdData, DeleteBotsByBotIdAgentsByIdErrors, DeleteBotsByBotIdAgentsByIdResponses, DeleteBotsByBotIdAppsByInstallationIdData, DeleteBotsByBotIdAppsByInstallationIdErrors, DeleteBotsByBotIdAppsByInstallationIdResponse, DeleteBotsByBotIdAppsByInstallationIdResponses, DeleteBotsByBotIdChannelManagersByChannelIdentityIdData, DeleteBotsByBotIdChannelManagersByChannelIdentityIdErrors, DeleteBotsByBotIdChannelManagersByChannelIdentityIdResponses, DeleteBotsByBotIdCompactionLogsData, DeleteBotsByBotIdCompactionLogsErrors, DeleteBotsByBotIdCompactionLogsResponses, DeleteBotsByBotIdConnectorsByConnectionIdData, DeleteBotsByBotIdConnectorsByConnectionIdErrors, DeleteBotsByBotIdConnectorsByConnectionIdResponses, DeleteBotsByBotIdContainerBrowserSessionsBySessionIdData, DeleteBotsByBotIdContainerBrowserSessionsBySessionIdErrors, DeleteBotsByBotIdContainerBrowserSessionsBySessionIdResponses, DeleteBotsByBotIdContainerData, DeleteBotsByBotIdContainerDisplaySessionsBySessionIdData, DeleteBotsByBotIdContainerDisplaySessionsBySessionIdErrors, DeleteBotsByBotIdContainerDisplaySessionsBySessionIdResponses, DeleteBotsByBotIdContainerErrors, DeleteBotsByBotIdContainerResponses, DeleteBotsByBotIdContainerSkillsData, DeleteBotsByBotIdContainerSkillsErrors, DeleteBotsByBotIdContainerSkillsResponses, DeleteBotsByBotIdMcpByIdData, DeleteBotsByBotIdMcpByIdErrors, DeleteBotsByBotIdMcpByIdOauthTokenData, DeleteBotsByBotIdMcpByIdOauthTokenErrors, DeleteBotsByBotIdMcpByIdOauthTokenResponses, DeleteBotsByBotIdMcpByIdResponses, DeleteBotsByBotIdMemoryByIdData, DeleteBotsByBotIdMemoryByIdErrors, DeleteBotsByBotIdMemoryByIdResponses, DeleteBotsByBotIdMemoryData, DeleteBotsByBotIdMemoryErrors, DeleteBotsByBotIdMemoryResponses, DeleteBotsByBotIdMessagesData, DeleteBotsByBotIdMessagesErrors, DeleteBotsByBotIdMessagesResponses, DeleteBotsByBotIdScheduleByIdData, DeleteBotsByBotIdScheduleByIdErrors, DeleteBotsByBotIdScheduleByIdResponses, DeleteBotsByBotIdScheduleLogsData, DeleteBotsByBotIdScheduleLogsErrors, DeleteBotsByBotIdScheduleLogsResponses, DeleteBotsByBotIdSessionsBySessionIdData, DeleteBotsByBotIdSessionsBySessionIdErrors, DeleteBotsByBotIdSessionsBySessionIdFollowUpQueueByItemIdData, DeleteBotsByBotIdSessionsBySessionIdFollowUpQueueByItemIdErrors, DeleteBotsByBotIdSessionsBySessionIdFollowUpQueueByItemIdResponses, DeleteBotsByBotIdSessionsBySessionIdResponses, DeleteBotsByBotIdSessionsBySessionIdSteerQueueByItemIdData, DeleteBotsByBotIdSessionsBySessionIdSteerQueueByItemIdErrors, DeleteBotsByBotIdSessionsBySessionIdSteerQueueByItemIdResponses, DeleteBotsByBotIdSettingsData, DeleteBotsByBotIdSettingsErrors, DeleteBotsByBotIdSettingsResponses, DeleteBotsByBotIdUserAccessByGrantIdData, DeleteBotsByBotIdUserAccessByGrantIdErrors, DeleteBotsByBotIdUserAccessByGrantIdResponses, DeleteBotsByBotIdWorkdirsByWorkdirIdData, DeleteBotsByBotIdWorkdirsByWorkdirIdErrors, DeleteBotsByBotIdWorkdirsByWorkdirIdResponses, DeleteBotsByBotIdWorkspaceTargetsByTargetIdData, DeleteBotsByBotIdWorkspaceTargetsByTargetIdErrors, DeleteBotsByBotIdWorkspaceTargetsByTargetIdResponses, DeleteBotsByIdChannelByPlatformData, DeleteBotsByIdChannelByPlatformErrors, DeleteBotsByIdChannelByPlatformResponses, DeleteBotsByIdData, DeleteBotsByIdErrors, DeleteBotsByIdResponses, DeleteFetchProvidersByIdData, DeleteFetchProvidersByIdErrors, DeleteFetchProvidersByIdResponses, DeleteModelsByIdData, DeleteModelsByIdErrors, DeleteModelsByIdResponses, DeleteModelsModelByModelIdData, DeleteModelsModelByModelIdErrors, DeleteModelsModelByModelIdResponses, DeleteProvidersByIdData, DeleteProvidersByIdErrors, DeleteProvidersByIdOauthTokenData, DeleteProvidersByIdOauthTokenErrors, DeleteProvidersByIdOauthTokenResponses, DeleteProvidersByIdResponses, DeleteSearchProvidersByIdData, DeleteSearchProvidersByIdErrors, DeleteSearchProvidersByIdResponses, DeleteUsersByIdData, DeleteUsersByIdErrors, DeleteUsersByIdResponses, DeleteUsersMeChannelIdentitiesByChannelIdentityIdData, DeleteUsersMeChannelIdentitiesByChannelIdentityIdErrors, DeleteUsersMeChannelIdentitiesByChannelIdentityIdResponses, DeleteUsersMeRuntimesByIdData, DeleteUsersMeRuntimesByIdErrors, DeleteUsersMeRuntimesByIdResponses, GetAcpProfilesData, GetAcpProfilesResponses, GetAgentAuthorizationsByIdData, GetAgentAuthorizationsByIdErrors, GetAgentAuthorizationsByIdResponses, GetBotsByBotIdAclChannelIdentitiesByChannelIdentityIdConversationsData, GetBotsByBotIdAclChannelIdentitiesByChannelIdentityIdConversationsErrors, GetBotsByBotIdAclChannelIdentitiesByChannelIdentityIdConversationsResponses, GetBotsByBotIdAclChannelIdentitiesData, GetBotsByBotIdAclChannelIdentitiesErrors, GetBotsByBotIdAclChannelIdentitiesResponses, GetBotsByBotIdAclChannelTypesByChannelTypeConversationsData, GetBotsByBotIdAclChannelTypesByChannelTypeConversationsErrors, GetBotsByBotIdAclChannelTypesByChannelTypeConversationsResponses, GetBotsByBotIdAclDefaultEffectData, GetBotsByBotIdAclDefaultEffectErrors, GetBotsByBotIdAclDefaultEffectResponses, GetBotsByBotIdAclRulesData, GetBotsByBotIdAclRulesErrors, GetBotsByBotIdAclRulesResponses, GetBotsByBotIdAcpRuntimesByRuntimeIdData, GetBotsByBotIdAcpRuntimesByRuntimeIdErrors, GetBotsByBotIdAcpRuntimesByRuntimeIdResponses, GetBotsByBotIdAgentsByIdCodexUsageData, GetBotsByBotIdAgentsByIdCodexUsageErrors, GetBotsByBotIdAgentsByIdCodexUsageResponses, GetBotsByBotIdAgentsByIdCredentialData, GetBotsByBotIdAgentsByIdCredentialErrors, GetBotsByBotIdAgentsByIdCredentialResponses, GetBotsByBotIdAgentsByIdData, GetBotsByBotIdAgentsByIdErrors, GetBotsByBotIdAgentsByIdModelsData, GetBotsByBotIdAgentsByIdModelsErrors, GetBotsByBotIdAgentsByIdModelsResponses, GetBotsByBotIdAgentsByIdResponses, GetBotsByBotIdAgentsByIdRuntimeControlsData, GetBotsByBotIdAgentsByIdRuntimeControlsErrors, GetBotsByBotIdAgentsByIdRuntimeControlsResponses, GetBotsByBotIdAgentsData, GetBotsByBotIdAgentsErrors, GetBotsByBotIdAgentsResponses, GetBotsByBotIdAppsByInstallationIdData, GetBotsByBotIdAppsByInstallationIdErrors, GetBotsByBotIdAppsByInstallationIdRemovalPreviewData, GetBotsByBotIdAppsByInstallationIdRemovalPreviewErrors, GetBotsByBotIdAppsByInstallationIdRemovalPreviewResponses, GetBotsByBotIdAppsByInstallationIdResponses, GetBotsByBotIdAppsData, GetBotsByBotIdAppsErrors, GetBotsByBotIdAppsResponses, GetBotsByBotIdBackupSummaryData, GetBotsByBotIdBackupSummaryErrors, GetBotsByBotIdBackupSummaryResponses, GetBotsByBotIdChannelManagersData, GetBotsByBotIdChannelManagersErrors, GetBotsByBotIdChannelManagersResponses, GetBotsByBotIdCompactionLogsData, GetBotsByBotIdCompactionLogsErrors, GetBotsByBotIdCompactionLogsResponses, GetBotsByBotIdConnectorsByConnectionIdData, GetBotsByBotIdConnectorsByConnectionIdErrors, GetBotsByBotIdConnectorsByConnectionIdResponses, GetBotsByBotIdConnectorsData, GetBotsByBotIdConnectorsErrors, GetBotsByBotIdConnectorsResponses, GetBotsByBotIdContainerData, GetBotsByBotIdContainerDisplayData, GetBotsByBotIdContainerDisplayErrors, GetBotsByBotIdContainerDisplayResponses, GetBotsByBotIdContainerDisplaySessionsData, GetBotsByBotIdContainerDisplaySessionsErrors, GetBotsByBotIdContainerDisplaySessionsResponses, GetBotsByBotIdContainerErrors, GetBotsByBotIdContainerFsData, GetBotsByBotIdContainerFsDownloadData, GetBotsByBotIdContainerFsDownloadErrors, GetBotsByBotIdContainerFsDownloadResponses, GetBotsByBotIdContainerFsErrors, GetBotsByBotIdContainerFsListData, GetBotsByBotIdContainerFsListErrors, GetBotsByBotIdContainerFsListResponses, GetBotsByBotIdContainerFsReadData, GetBotsByBotIdContainerFsReadErrors, GetBotsByBotIdContainerFsReadResponses, GetBotsByBotIdContainerFsResponses, GetBotsByBotIdContainerMetricsData, GetBotsByBotIdContainerMetricsErrors, GetBotsByBotIdContainerMetricsResponses, GetBotsByBotIdContainerResponses, GetBotsByBotIdContainerSkillsData, GetBotsByBotIdContainerSkillsErrors, GetBotsByBotIdContainerSkillsResponses, GetBotsByBotIdContainerSnapshotsData, GetBotsByBotIdContainerSnapshotsErrors, GetBotsByBotIdContainerSnapshotsResponses, GetBotsByBotIdContainerTerminalData, GetBotsByBotIdContainerTerminalErrors, GetBotsByBotIdContainerTerminalResponses, GetBotsByBotIdContainerTerminalWsData, GetBotsByBotIdContainerTerminalWsErrors, GetBotsByBotIdDependenciesByDepIdScriptData, GetBotsByBotIdDependenciesByDepIdScriptErrors, GetBotsByBotIdDependenciesByDepIdScriptResponses, GetBotsByBotIdDependenciesData, GetBotsByBotIdDependenciesErrors, GetBotsByBotIdDependenciesResponses, GetBotsByBotIdHooksEventsData, GetBotsByBotIdHooksEventsErrors, GetBotsByBotIdHooksEventsResponses, GetBotsByBotIdMcpByIdData, GetBotsByBotIdMcpByIdErrors, GetBotsByBotIdMcpByIdOauthStatusData, GetBotsByBotIdMcpByIdOauthStatusErrors, GetBotsByBotIdMcpByIdOauthStatusResponses, GetBotsByBotIdMcpByIdResponses, GetBotsByBotIdMcpData, GetBotsByBotIdMcpErrors, GetBotsByBotIdMcpOpsExportData, GetBotsByBotIdMcpOpsExportErrors, GetBotsByBotIdMcpOpsExportResponses, GetBotsByBotIdMcpResponses, GetBotsByBotIdMemoryData, GetBotsByBotIdMemoryErrors, GetBotsByBotIdMemoryGraphData, GetBotsByBotIdMemoryGraphErrors, GetBotsByBotIdMemoryGraphResponses, GetBotsByBotIdMemoryResponses, GetBotsByBotIdMemoryStatusData, GetBotsByBotIdMemoryStatusErrors, GetBotsByBotIdMemoryStatusResponses, GetBotsByBotIdMemoryUsageData, GetBotsByBotIdMemoryUsageErrors, GetBotsByBotIdMemoryUsageResponses, GetBotsByBotIdMessagesData, GetBotsByBotIdMessagesErrors, GetBotsByBotIdMessagesLocateData, GetBotsByBotIdMessagesLocateErrors, GetBotsByBotIdMessagesLocateResponses, GetBotsByBotIdMessagesResponses, GetBotsByBotIdScheduleByIdData, GetBotsByBotIdScheduleByIdErrors, GetBotsByBotIdScheduleByIdLogsData, GetBotsByBotIdScheduleByIdLogsErrors, GetBotsByBotIdScheduleByIdLogsResponses, GetBotsByBotIdScheduleByIdResponses, GetBotsByBotIdScheduleByIdSessionsData, GetBotsByBotIdScheduleByIdSessionsErrors, GetBotsByBotIdScheduleByIdSessionsResponses, GetBotsByBotIdScheduleData, GetBotsByBotIdScheduleErrors, GetBotsByBotIdScheduleLogsData, GetBotsByBotIdScheduleLogsErrors, GetBotsByBotIdScheduleLogsResponses, GetBotsByBotIdScheduleResponses, GetBotsByBotIdSessionsBySessionIdAcpRuntimeData, GetBotsByBotIdSessionsBySessionIdAcpRuntimeErrors, GetBotsByBotIdSessionsBySessionIdAcpRuntimeResponses, GetBotsByBotIdSessionsBySessionIdContextLifecycleData, GetBotsByBotIdSessionsBySessionIdContextLifecycleErrors, GetBotsByBotIdSessionsBySessionIdContextLifecycleResponses, GetBotsByBotIdSessionsBySessionIdData, GetBotsByBotIdSessionsBySessionIdErrors, GetBotsByBotIdSessionsBySessionIdFollowUpQueueData, GetBotsByBotIdSessionsBySessionIdFollowUpQueueErrors, GetBotsByBotIdSessionsBySessionIdFollowUpQueueResponses, GetBotsByBotIdSessionsBySessionIdInvocationsByInvocationIdData, GetBotsByBotIdSessionsBySessionIdInvocationsByInvocationIdErrors, GetBotsByBotIdSessionsBySessionIdInvocationsByInvocationIdResponses, GetBotsByBotIdSessionsBySessionIdQueueData, GetBotsByBotIdSessionsBySessionIdQueueErrors, GetBotsByBotIdSessionsBySessionIdQueueResponses, GetBotsByBotIdSessionsBySessionIdResponses, GetBotsByBotIdSessionsBySessionIdRuntimeControlsData, GetBotsByBotIdSessionsBySessionIdRuntimeControlsErrors, GetBotsByBotIdSessionsBySessionIdRuntimeControlsGoalData, GetBotsByBotIdSessionsBySessionIdRuntimeControlsGoalErrors, GetBotsByBotIdSessionsBySessionIdRuntimeControlsGoalResponses, GetBotsByBotIdSessionsBySessionIdRuntimeControlsResponses, GetBotsByBotIdSessionsBySessionIdStatusData, GetBotsByBotIdSessionsBySessionIdStatusErrors, GetBotsByBotIdSessionsBySessionIdStatusResponses, GetBotsByBotIdSessionsBySessionIdSteerQueueData, GetBotsByBotIdSessionsBySessionIdSteerQueueErrors, GetBotsByBotIdSessionsBySessionIdSteerQueueResponses, GetBotsByBotIdSessionsData, GetBotsByBotIdSessionsErrors, GetBotsByBotIdSessionsEventsData, GetBotsByBotIdSessionsEventsErrors, GetBotsByBotIdSessionsEventsResponse, GetBotsByBotIdSessionsEventsResponses, GetBotsByBotIdSessionsModelPreferenceSeedData, GetBotsByBotIdSessionsModelPreferenceSeedErrors, GetBotsByBotIdSessionsModelPreferenceSeedResponses, GetBotsByBotIdSessionsResponses, GetBotsByBotIdSettingsData, GetBotsByBotIdSettingsErrors, GetBotsByBotIdSettingsResponses, GetBotsByBotIdSkillsCatalogData, GetBotsByBotIdSkillsCatalogErrors, GetBotsByBotIdSkillsCatalogResponses, GetBotsByBotIdStarterPromptsData, GetBotsByBotIdStarterPromptsErrors, GetBotsByBotIdStarterPromptsResponses, GetBotsByBotIdTokenUsageData, GetBotsByBotIdTokenUsageErrors, GetBotsByBotIdTokenUsageRecordsData, GetBotsByBotIdTokenUsageRecordsErrors, GetBotsByBotIdTokenUsageRecordsResponses, GetBotsByBotIdTokenUsageResponses, GetBotsByBotIdUserAccessCandidatesData, GetBotsByBotIdUserAccessCandidatesErrors, GetBotsByBotIdUserAccessCandidatesResponses, GetBotsByBotIdUserAccessData, GetBotsByBotIdUserAccessErrors, GetBotsByBotIdUserAccessResponses, GetBotsByBotIdWebStreamData, GetBotsByBotIdWebStreamErrors, GetBotsByBotIdWebStreamResponse, GetBotsByBotIdWebStreamResponses, GetBotsByBotIdWebWsData, GetBotsByBotIdWebWsErrors, GetBotsByBotIdWorkdirsByWorkdirIdGitBranchData, GetBotsByBotIdWorkdirsByWorkdirIdGitBranchErrors, GetBotsByBotIdWorkdirsByWorkdirIdGitBranchResponses, GetBotsByBotIdWorkdirsData, GetBotsByBotIdWorkdirsDirectoriesData, GetBotsByBotIdWorkdirsDirectoriesErrors, GetBotsByBotIdWorkdirsDirectoriesResponses, GetBotsByBotIdWorkdirsErrors, GetBotsByBotIdWorkdirsResponses, GetBotsByBotIdWorkspaceTargetsData, GetBotsByBotIdWorkspaceTargetsErrors, GetBotsByBotIdWorkspaceTargetsResponses, GetBotsByIdChannelByPlatformData, GetBotsByIdChannelByPlatformErrors, GetBotsByIdChannelByPlatformResponses, GetBotsByIdChecksData, GetBotsByIdChecksErrors, GetBotsByIdChecksResponses, GetBotsByIdData, GetBotsByIdErrors, GetBotsByIdResponses, GetBotsData, GetBotsErrors, GetBotsNameAvailabilityData, GetBotsNameAvailabilityErrors, GetBotsNameAvailabilityResponses, GetBotsResponses, GetBotsUserAccessCandidatesData, GetBotsUserAccessCandidatesErrors, GetBotsUserAccessCandidatesResponses, GetChannelsByPlatformData, GetChannelsByPlatformErrors, GetChannelsByPlatformResponses, GetChannelsData, GetChannelsErrors, GetChannelsResponses, GetConnectorsCatalogData, GetConnectorsCatalogErrors, GetConnectorsCatalogResponses, GetFetchProvidersByIdData, GetFetchProvidersByIdErrors, GetFetchProvidersByIdResponses, GetFetchProvidersData, GetFetchProvidersErrors, GetFetchProvidersMetaData, GetFetchProvidersMetaResponses, GetFetchProvidersResponses, GetMemoryConfigData, GetMemoryConfigErrors, GetMemoryConfigResponses, GetModelsByIdData, GetModelsByIdErrors, GetModelsByIdResponses, GetModelsCountData, GetModelsCountErrors, GetModelsCountResponses, GetModelsData, GetModelsErrors, GetModelsModelByModelIdData, GetModelsModelByModelIdErrors, GetModelsModelByModelIdResponses, GetModelsResponses, GetOauthMcpCallbackData, GetOauthMcpCallbackErrors, GetOauthMcpCallbackResponses, GetPingData, GetPingResponses, GetProvidersByIdData, GetProvidersByIdErrors, GetProvidersByIdModelsData, GetProvidersByIdModelsErrors, GetProvidersByIdModelsResponses, GetProvidersByIdOauthAuthorizeData, GetProvidersByIdOauthAuthorizeErrors, GetProvidersByIdOauthAuthorizeResponses, GetProvidersByIdOauthStatusData, GetProvidersByIdOauthStatusErrors, GetProvidersByIdOauthStatusResponses, GetProvidersByIdResponses, GetProvidersCountData, GetProvidersCountErrors, GetProvidersCountResponses, GetProvidersData, GetProvidersErrors, GetProvidersNameByNameData, GetProvidersNameByNameErrors, GetProvidersNameByNameResponses, GetProvidersOauthCallbackData, GetProvidersOauthCallbackErrors, GetProvidersOauthCallbackResponses, GetProvidersResponses, GetProviderTemplatesByIdData, GetProviderTemplatesByIdErrors, GetProviderTemplatesByIdResponses, GetProviderTemplatesData, GetProviderTemplatesErrors, GetProviderTemplatesResponses, GetSearchProvidersByIdData, GetSearchProvidersByIdErrors, GetSearchProvidersByIdResponses, GetSearchProvidersData, GetSearchProvidersErrors, GetSearchProvidersMetaData, GetSearchProvidersMetaResponses, GetSearchProvidersResponses, GetSiteIconData, GetSiteIconResponses, GetSpeechModelsByIdCapabilitiesData, GetSpeechModelsByIdCapabilitiesErrors, GetSpeechModelsByIdCapabilitiesResponses, GetSpeechModelsByIdData, GetSpeechModelsByIdErrors, GetSpeechModelsByIdResponses, GetSpeechModelsData, GetSpeechModelsErrors, GetSpeechModelsResponses, GetSpeechProvidersByIdData, GetSpeechProvidersByIdErrors, GetSpeechProvidersByIdModelsData, GetSpeechProvidersByIdModelsErrors, GetSpeechProvidersByIdModelsResponses, GetSpeechProvidersByIdResponses, GetSpeechProvidersData, GetSpeechProvidersErrors, GetSpeechProvidersMetaData, GetSpeechProvidersMetaResponses, GetSpeechProvidersResponses, GetSupermarketAppsData, GetSupermarketAppsErrors, GetSupermarketAppsResponses, GetSupermarketArtifactsIconByDigestData, GetSupermarketArtifactsIconByDigestErrors, GetSupermarketArtifactsIconByDigestResponses, GetSupermarketCategoriesData, GetSupermarketCategoriesErrors, GetSupermarketCategoriesResponses, GetSupermarketRegistriesByRegistryIdAppsByAppIdData, GetSupermarketRegistriesByRegistryIdAppsByAppIdErrors, GetSupermarketRegistriesByRegistryIdAppsByAppIdReleasesByRevisionData, GetSupermarketRegistriesByRegistryIdAppsByAppIdReleasesByRevisionErrors, GetSupermarketRegistriesByRegistryIdAppsByAppIdReleasesByRevisionResponses, GetSupermarketRegistriesByRegistryIdAppsByAppIdResponses, GetSupermarketRegistriesByRegistryIdAppsByAppIdSkillsBySkillIdData, GetSupermarketRegistriesByRegistryIdAppsByAppIdSkillsBySkillIdErrors, GetSupermarketRegistriesByRegistryIdAppsByAppIdSkillsBySkillIdResponses, GetSupermarketRegistriesByRegistryIdAppsData, GetSupermarketRegistriesByRegistryIdAppsErrors, GetSupermarketRegistriesByRegistryIdAppsResponses, GetSupermarketRegistriesData, GetSupermarketRegistriesErrors, GetSupermarketRegistriesResponses, GetSupermarketSkillsData, GetSupermarketSkillsErrors, GetSupermarketSkillsResponses, GetTranscriptionModelsByIdCapabilitiesData, GetTranscriptionModelsByIdCapabilitiesErrors, GetTranscriptionModelsByIdCapabilitiesResponses, GetTranscriptionModelsByIdData, GetTranscriptionModelsByIdErrors, GetTranscriptionModelsByIdResponses, GetTranscriptionModelsData, GetTranscriptionModelsErrors, GetTranscriptionModelsResponses, GetTranscriptionProvidersByIdData, GetTranscriptionProvidersByIdErrors, GetTranscriptionProvidersByIdModelsData, GetTranscriptionProvidersByIdModelsErrors, GetTranscriptionProvidersByIdModelsResponses, GetTranscriptionProvidersByIdResponses, GetTranscriptionProvidersData, GetTranscriptionProvidersErrors, GetTranscriptionProvidersMetaData, GetTranscriptionProvidersMetaResponses, GetTranscriptionProvidersResponses, GetUsersByIdData, GetUsersByIdErrors, GetUsersByIdResponses, GetUsersData, GetUsersErrors, GetUsersMeChannelIdentitiesData, GetUsersMeChannelIdentitiesErrors, GetUsersMeChannelIdentitiesResponses, GetUsersMeChannelsByPlatformData, GetUsersMeChannelsByPlatformErrors, GetUsersMeChannelsByPlatformResponses, GetUsersMeComputerAccessData, GetUsersMeComputerAccessErrors, GetUsersMeComputerAccessResponses, GetUsersMeData, GetUsersMeErrors, GetUsersMeResponses, GetUsersMeRuntimesData, GetUsersMeRuntimesErrors, GetUsersMeRuntimesResponses, GetUsersResponses, GetVideoModelsByIdData, GetVideoModelsByIdErrors, GetVideoModelsByIdResponses, GetVideoModelsData, GetVideoModelsErrors, GetVideoModelsResponses, GetVideoProvidersByIdData, GetVideoProvidersByIdErrors, GetVideoProvidersByIdModelsData, GetVideoProvidersByIdModelsErrors, GetVideoProvidersByIdModelsResponses, GetVideoProvidersByIdResponses, GetVideoProvidersData, GetVideoProvidersErrors, GetVideoProvidersMetaData, GetVideoProvidersMetaResponses, GetVideoProvidersResponses, GetWebhookTunnelStatusData, GetWebhookTunnelStatusResponses, GetWorkspaceDependenciesData, GetWorkspaceDependenciesErrors, GetWorkspaceDependenciesIconsByDigestData, GetWorkspaceDependenciesIconsByDigestErrors, GetWorkspaceDependenciesIconsByDigestResponses, GetWorkspaceDependenciesResponses, PatchBotsByBotIdAcpRuntimesByRuntimeIdModeData, PatchBotsByBotIdAcpRuntimesByRuntimeIdModeErrors, PatchBotsByBotIdAcpRuntimesByRuntimeIdModelData, PatchBotsByBotIdAcpRuntimesByRuntimeIdModelErrors, PatchBotsByBotIdAcpRuntimesByRuntimeIdModelResponses, PatchBotsByBotIdAcpRuntimesByRuntimeIdModeResponses, PatchBotsByBotIdAcpRuntimesByRuntimeIdReasoningData, PatchBotsByBotIdAcpRuntimesByRuntimeIdReasoningErrors, PatchBotsByBotIdAcpRuntimesByRuntimeIdReasoningResponses, PatchBotsByBotIdAgentsByIdData, PatchBotsByBotIdAgentsByIdErrors, PatchBotsByBotIdAgentsByIdResponses, PatchBotsByBotIdConnectorsByConnectionIdData, PatchBotsByBotIdConnectorsByConnectionIdErrors, PatchBotsByBotIdConnectorsByConnectionIdResponses, PatchBotsByBotIdSessionsBySessionIdAcpRuntimeModeData, PatchBotsByBotIdSessionsBySessionIdAcpRuntimeModeErrors, PatchBotsByBotIdSessionsBySessionIdAcpRuntimeModelData, PatchBotsByBotIdSessionsBySessionIdAcpRuntimeModelErrors, PatchBotsByBotIdSessionsBySessionIdAcpRuntimeModelResponses, PatchBotsByBotIdSessionsBySessionIdAcpRuntimeModeResponses, PatchBotsByBotIdSessionsBySessionIdAcpRuntimeReasoningData, PatchBotsByBotIdSessionsBySessionIdAcpRuntimeReasoningErrors, PatchBotsByBotIdSessionsBySessionIdAcpRuntimeReasoningResponses, PatchBotsByBotIdSessionsBySessionIdData, PatchBotsByBotIdSessionsBySessionIdErrors, PatchBotsByBotIdSessionsBySessionIdFollowUpQueueByItemIdData, PatchBotsByBotIdSessionsBySessionIdFollowUpQueueByItemIdErrors, PatchBotsByBotIdSessionsBySessionIdFollowUpQueueByItemIdResponses, PatchBotsByBotIdSessionsBySessionIdResponses, PatchBotsByBotIdSessionsBySessionIdRuntimeControlsModeData, PatchBotsByBotIdSessionsBySessionIdRuntimeControlsModeErrors, PatchBotsByBotIdSessionsBySessionIdRuntimeControlsModeResponses, PatchBotsByBotIdSessionsBySessionIdSteerQueueByItemIdData, PatchBotsByBotIdSessionsBySessionIdSteerQueueByItemIdErrors, PatchBotsByBotIdSessionsBySessionIdSteerQueueByItemIdResponses, PatchBotsByBotIdWorkdirsByWorkdirIdData, PatchBotsByBotIdWorkdirsByWorkdirIdErrors, PatchBotsByBotIdWorkdirsByWorkdirIdResponses, PatchBotsByIdChannelByPlatformStatusData, PatchBotsByIdChannelByPlatformStatusErrors, PatchBotsByIdChannelByPlatformStatusResponses, PostAgentAuthorizationsByIdExchangeData, PostAgentAuthorizationsByIdExchangeErrors, PostAgentAuthorizationsByIdExchangeResponses, PostAgentAuthorizationsByIdPollData, PostAgentAuthorizationsByIdPollErrors, PostAgentAuthorizationsByIdPollResponses, PostAgentAuthorizationsData, PostAgentAuthorizationsErrors, PostAgentAuthorizationsResponses, PostAuthLoginData, PostAuthLoginErrors, PostAuthLoginResponses, PostAuthRefreshData, PostAuthRefreshErrors, PostAuthRefreshResponses, PostBotsBackupImportData, PostBotsBackupImportErrors, PostBotsBackupImportPreviewData, PostBotsBackupImportPreviewErrors, PostBotsBackupImportPreviewResponses, PostBotsBackupImportResponses, PostBotsByBotIdAclRulesData, PostBotsByBotIdAclRulesErrors, PostBotsByBotIdAclRulesResponses, PostBotsByBotIdAcpRuntimesData, PostBotsByBotIdAcpRuntimesErrors, PostBotsByBotIdAcpRuntimesResponses, PostBotsByBotIdAgentsByIdCredentialClaimData, PostBotsByBotIdAgentsByIdCredentialClaimErrors, PostBotsByBotIdAgentsByIdCredentialClaimResponses, PostBotsByBotIdAgentsByIdLoginDeviceAuthorizeData, PostBotsByBotIdAgentsByIdLoginDeviceAuthorizeErrors, PostBotsByBotIdAgentsByIdLoginDeviceAuthorizeResponses, PostBotsByBotIdAgentsByIdLoginDeviceCancelData, PostBotsByBotIdAgentsByIdLoginDeviceCancelErrors, PostBotsByBotIdAgentsByIdLoginDeviceCancelResponses, PostBotsByBotIdAgentsByIdLoginDevicePollData, PostBotsByBotIdAgentsByIdLoginDevicePollErrors, PostBotsByBotIdAgentsByIdLoginDevicePollResponses, PostBotsByBotIdAgentsData, PostBotsByBotIdAgentsErrors, PostBotsByBotIdAgentsResponses, PostBotsByBotIdAppsByInstallationIdConnectorsByConnectorTypeApiKeyData, PostBotsByBotIdAppsByInstallationIdConnectorsByConnectorTypeApiKeyErrors, PostBotsByBotIdAppsByInstallationIdConnectorsByConnectorTypeApiKeyResponses, PostBotsByBotIdAppsByInstallationIdConnectorsByConnectorTypeOauthData, PostBotsByBotIdAppsByInstallationIdConnectorsByConnectorTypeOauthErrors, PostBotsByBotIdAppsByInstallationIdConnectorsByConnectorTypeOauthResponses, PostBotsByBotIdAppsByInstallationIdResumeData, PostBotsByBotIdAppsByInstallationIdResumeErrors, PostBotsByBotIdAppsByInstallationIdResumeResponse, PostBotsByBotIdAppsByInstallationIdResumeResponses, PostBotsByBotIdAppsCheckUpdatesData, PostBotsByBotIdAppsCheckUpdatesErrors, PostBotsByBotIdAppsCheckUpdatesResponses, PostBotsByBotIdAppsData, PostBotsByBotIdAppsErrors, PostBotsByBotIdAppsResponse, PostBotsByBotIdAppsResponses, PostBotsByBotIdAppsUpdateData, PostBotsByBotIdAppsUpdateErrors, PostBotsByBotIdAppsUpdateResponse, PostBotsByBotIdAppsUpdateResponses, PostBotsByBotIdBackupExportData, PostBotsByBotIdBackupExportErrors, PostBotsByBotIdBackupExportResponses, PostBotsByBotIdChannelManagersData, PostBotsByBotIdChannelManagersErrors, PostBotsByBotIdChannelManagersResponses, PostBotsByBotIdConnectorsByConnectionIdReauthData, PostBotsByBotIdConnectorsByConnectionIdReauthErrors, PostBotsByBotIdConnectorsByConnectionIdReauthResponses, PostBotsByBotIdContainerBrowserSessionsBySessionIdKeepaliveData, PostBotsByBotIdContainerBrowserSessionsBySessionIdKeepaliveErrors, PostBotsByBotIdContainerBrowserSessionsBySessionIdKeepaliveResponses, PostBotsByBotIdContainerBrowserSessionsData, PostBotsByBotIdContainerBrowserSessionsErrors, PostBotsByBotIdContainerBrowserSessionsResponses, PostBotsByBotIdContainerData, PostBotsByBotIdContainerDataRestoreData, PostBotsByBotIdContainerDataRestoreErrors, PostBotsByBotIdContainerDataRestoreResponses, PostBotsByBotIdContainerDisplayPrepareData, PostBotsByBotIdContainerDisplayPrepareErrors, PostBotsByBotIdContainerDisplayPrepareResponse, PostBotsByBotIdContainerDisplayPrepareResponses, PostBotsByBotIdContainerDisplayWebrtcOfferData, PostBotsByBotIdContainerDisplayWebrtcOfferErrors, PostBotsByBotIdContainerDisplayWebrtcOfferResponses, PostBotsByBotIdContainerErrors, PostBotsByBotIdContainerFsArchiveData, PostBotsByBotIdContainerFsArchiveErrors, PostBotsByBotIdContainerFsArchiveResponses, PostBotsByBotIdContainerFsDeleteData, PostBotsByBotIdContainerFsDeleteErrors, PostBotsByBotIdContainerFsDeleteResponses, PostBotsByBotIdContainerFsExtractData, PostBotsByBotIdContainerFsExtractErrors, PostBotsByBotIdContainerFsExtractResponses, PostBotsByBotIdContainerFsMkdirData, PostBotsByBotIdContainerFsMkdirErrors, PostBotsByBotIdContainerFsMkdirResponses, PostBotsByBotIdContainerFsRenameData, PostBotsByBotIdContainerFsRenameErrors, PostBotsByBotIdContainerFsRenameResponses, PostBotsByBotIdContainerFsUploadData, PostBotsByBotIdContainerFsUploadErrors, PostBotsByBotIdContainerFsUploadResponses, PostBotsByBotIdContainerFsWriteData, PostBotsByBotIdContainerFsWriteErrors, PostBotsByBotIdContainerFsWriteResponses, PostBotsByBotIdContainerRemovalCancelData, PostBotsByBotIdContainerRemovalCancelErrors, PostBotsByBotIdContainerRemovalCancelResponses, PostBotsByBotIdContainerResponses, PostBotsByBotIdContainerSkillsActionsData, PostBotsByBotIdContainerSkillsActionsErrors, PostBotsByBotIdContainerSkillsActionsResponses, PostBotsByBotIdContainerSkillsData, PostBotsByBotIdContainerSkillsErrors, PostBotsByBotIdContainerSkillsResponses, PostBotsByBotIdContainerSnapshotsData, PostBotsByBotIdContainerSnapshotsErrors, PostBotsByBotIdContainerSnapshotsResponses, PostBotsByBotIdContainerSnapshotsRollbackData, PostBotsByBotIdContainerSnapshotsRollbackErrors, PostBotsByBotIdContainerSnapshotsRollbackResponses, PostBotsByBotIdContainerStartData, PostBotsByBotIdContainerStartErrors, PostBotsByBotIdContainerStartResponses, PostBotsByBotIdContainerStopData, PostBotsByBotIdContainerStopErrors, PostBotsByBotIdContainerStopResponses, PostBotsByBotIdDependenciesByDepIdInstallData, PostBotsByBotIdDependenciesByDepIdInstallErrors, PostBotsByBotIdDependenciesByDepIdInstallResponse, PostBotsByBotIdDependenciesByDepIdInstallResponses, PostBotsByBotIdDependenciesByDepIdReinstallData, PostBotsByBotIdDependenciesByDepIdReinstallErrors, PostBotsByBotIdDependenciesByDepIdReinstallResponse, PostBotsByBotIdDependenciesByDepIdReinstallResponses, PostBotsByBotIdDependenciesByDepIdRollbackData, PostBotsByBotIdDependenciesByDepIdRollbackErrors, PostBotsByBotIdDependenciesByDepIdRollbackResponses, PostBotsByBotIdDependenciesByDepIdUpdateData, PostBotsByBotIdDependenciesByDepIdUpdateErrors, PostBotsByBotIdDependenciesByDepIdUpdateResponse, PostBotsByBotIdDependenciesByDepIdUpdateResponses, PostBotsByBotIdDependenciesCheckUpdatesData, PostBotsByBotIdDependenciesCheckUpdatesErrors, PostBotsByBotIdDependenciesCheckUpdatesResponses, PostBotsByBotIdDependenciesPreflightData, PostBotsByBotIdDependenciesPreflightErrors, PostBotsByBotIdDependenciesPreflightResponses, PostBotsByBotIdHooksTestData, PostBotsByBotIdHooksTestErrors, PostBotsByBotIdHooksTestResponses, PostBotsByBotIdMcpByIdOauthAuthorizeData, PostBotsByBotIdMcpByIdOauthAuthorizeErrors, PostBotsByBotIdMcpByIdOauthAuthorizeResponses, PostBotsByBotIdMcpByIdOauthDiscoverData, PostBotsByBotIdMcpByIdOauthDiscoverErrors, PostBotsByBotIdMcpByIdOauthDiscoverResponses, PostBotsByBotIdMcpByIdOauthExchangeData, PostBotsByBotIdMcpByIdOauthExchangeErrors, PostBotsByBotIdMcpByIdOauthExchangeResponses, PostBotsByBotIdMcpByIdProbeData, PostBotsByBotIdMcpByIdProbeErrors, PostBotsByBotIdMcpByIdProbeResponses, PostBotsByBotIdMcpData, PostBotsByBotIdMcpErrors, PostBotsByBotIdMcpOpsBatchDeleteData, PostBotsByBotIdMcpOpsBatchDeleteErrors, PostBotsByBotIdMcpOpsBatchDeleteResponses, PostBotsByBotIdMcpResponses, PostBotsByBotIdMcpStdioByConnectionIdData, PostBotsByBotIdMcpStdioByConnectionIdErrors, PostBotsByBotIdMcpStdioByConnectionIdResponses, PostBotsByBotIdMcpStdioData, PostBotsByBotIdMcpStdioErrors, PostBotsByBotIdMcpStdioResponses, PostBotsByBotIdMemoryCompactData, PostBotsByBotIdMemoryCompactErrors, PostBotsByBotIdMemoryCompactResponses, PostBotsByBotIdMemoryData, PostBotsByBotIdMemoryErrors, PostBotsByBotIdMemoryIngestData, PostBotsByBotIdMemoryIngestErrors, PostBotsByBotIdMemoryIngestResponses, PostBotsByBotIdMemoryRebuildData, PostBotsByBotIdMemoryRebuildErrors, PostBotsByBotIdMemoryRebuildResponses, PostBotsByBotIdMemoryResponses, PostBotsByBotIdMemorySearchData, PostBotsByBotIdMemorySearchErrors, PostBotsByBotIdMemorySearchResponses, PostBotsByBotIdQuickActionsExecuteData, PostBotsByBotIdQuickActionsExecuteErrors, PostBotsByBotIdQuickActionsExecuteResponses, PostBotsByBotIdScheduleData, PostBotsByBotIdScheduleErrors, PostBotsByBotIdScheduleResponses, PostBotsByBotIdSessionsBySessionIdAcpRuntimeData, PostBotsByBotIdSessionsBySessionIdAcpRuntimeErrors, PostBotsByBotIdSessionsBySessionIdAcpRuntimeResponses, PostBotsByBotIdSessionsBySessionIdCompactData, PostBotsByBotIdSessionsBySessionIdCompactErrors, PostBotsByBotIdSessionsBySessionIdCompactResponses, PostBotsByBotIdSessionsBySessionIdFollowUpQueueByItemIdSteerData, PostBotsByBotIdSessionsBySessionIdFollowUpQueueByItemIdSteerErrors, PostBotsByBotIdSessionsBySessionIdFollowUpQueueByItemIdSteerResponses, PostBotsByBotIdSessionsBySessionIdFollowUpQueueData, PostBotsByBotIdSessionsBySessionIdFollowUpQueueErrors, PostBotsByBotIdSessionsBySessionIdFollowUpQueueResponses, PostBotsByBotIdSessionsBySessionIdForkData, PostBotsByBotIdSessionsBySessionIdForkErrors, PostBotsByBotIdSessionsBySessionIdForkResponses, PostBotsByBotIdSessionsBySessionIdRuntimeControlsCommandsData, PostBotsByBotIdSessionsBySessionIdRuntimeControlsCommandsErrors, PostBotsByBotIdSessionsBySessionIdRuntimeControlsCommandsResponses, PostBotsByBotIdSessionsBySessionIdRuntimeControlsGoalData, PostBotsByBotIdSessionsBySessionIdRuntimeControlsGoalErrors, PostBotsByBotIdSessionsBySessionIdRuntimeControlsGoalResponses, PostBotsByBotIdSessionsBySessionIdSteerQueueData, PostBotsByBotIdSessionsBySessionIdSteerQueueErrors, PostBotsByBotIdSessionsBySessionIdSteerQueueResponses, PostBotsByBotIdSessionsData, PostBotsByBotIdSessionsErrors, PostBotsByBotIdSessionsResponses, PostBotsByBotIdSettingsData, PostBotsByBotIdSettingsErrors, PostBotsByBotIdSettingsResponses, PostBotsByBotIdStarterPromptsRefreshData, PostBotsByBotIdStarterPromptsRefreshErrors, PostBotsByBotIdStarterPromptsRefreshResponses, PostBotsByBotIdToolApprovalsByApprovalIdApproveData, PostBotsByBotIdToolApprovalsByApprovalIdApproveErrors, PostBotsByBotIdToolApprovalsByApprovalIdApproveResponses, PostBotsByBotIdToolApprovalsByApprovalIdRejectData, PostBotsByBotIdToolApprovalsByApprovalIdRejectErrors, PostBotsByBotIdToolApprovalsByApprovalIdRejectResponses, PostBotsByBotIdToolsData, PostBotsByBotIdToolsErrors, PostBotsByBotIdToolsResponses, PostBotsByBotIdTtsSynthesizeData, PostBotsByBotIdTtsSynthesizeErrors, PostBotsByBotIdTtsSynthesizeResponses, PostBotsByBotIdUserAccessData, PostBotsByBotIdUserAccessErrors, PostBotsByBotIdUserAccessResponses, PostBotsByBotIdWebMessagesData, PostBotsByBotIdWebMessagesErrors, PostBotsByBotIdWebMessagesResponses, PostBotsByBotIdWorkdirsByWorkdirIdGitBranchData, PostBotsByBotIdWorkdirsByWorkdirIdGitBranchErrors, PostBotsByBotIdWorkdirsByWorkdirIdGitBranchResponses, PostBotsByBotIdWorkdirsData, PostBotsByBotIdWorkdirsErrors, PostBotsByBotIdWorkdirsResponses, PostBotsByIdChannelByPlatformSendChatData, PostBotsByIdChannelByPlatformSendChatErrors, PostBotsByIdChannelByPlatformSendChatResponses, PostBotsByIdChannelByPlatformSendData, PostBotsByIdChannelByPlatformSendErrors, PostBotsByIdChannelByPlatformSendResponses, PostBotsByIdChannelByPlatformWebhookEndpointData, PostBotsByIdChannelByPlatformWebhookEndpointErrors, PostBotsByIdChannelByPlatformWebhookEndpointResponses, PostBotsData, PostBotsErrors, PostBotsResponses, PostFetchProvidersData, PostFetchProvidersErrors, PostFetchProvidersResponses, PostModelsByIdTestData, PostModelsByIdTestErrors, PostModelsByIdTestResponses, PostModelsData, PostModelsErrors, PostModelsResponses, PostProvidersByIdImportModelsData, PostProvidersByIdImportModelsErrors, PostProvidersByIdImportModelsResponses, PostProvidersByIdOauthPollData, PostProvidersByIdOauthPollErrors, PostProvidersByIdOauthPollResponses, PostProvidersByIdTestData, PostProvidersByIdTestErrors, PostProvidersByIdTestResponses, PostProvidersData, PostProvidersErrors, PostProvidersFromTemplateData, PostProvidersFromTemplateErrors, PostProvidersFromTemplateResponses, PostProvidersResponses, PostSearchProvidersData, PostSearchProvidersErrors, PostSearchProvidersResponses, PostSpeechModelsByIdTestData, PostSpeechModelsByIdTestErrors, PostSpeechModelsByIdTestResponses, PostSpeechProvidersByIdImportModelsData, PostSpeechProvidersByIdImportModelsErrors, PostSpeechProvidersByIdImportModelsResponses, PostTranscriptionModelsByIdTestData, PostTranscriptionModelsByIdTestErrors, PostTranscriptionModelsByIdTestResponses, PostTranscriptionProvidersByIdImportModelsData, PostTranscriptionProvidersByIdImportModelsErrors, PostTranscriptionProvidersByIdImportModelsResponses, PostUsersData, PostUsersErrors, PostUsersMeChannelLinksData, PostUsersMeChannelLinksErrors, PostUsersMeChannelLinksResponses, PostUsersMeRuntimesData, PostUsersMeRuntimesErrors, PostUsersMeRuntimesResponses, PostUsersResponses, PostVideoProvidersByIdImportModelsData, PostVideoProvidersByIdImportModelsErrors, PostVideoProvidersByIdImportModelsResponses, PutBotsByBotIdAclDefaultEffectData, PutBotsByBotIdAclDefaultEffectErrors, PutBotsByBotIdAclDefaultEffectResponses, PutBotsByBotIdAclRulesByRuleIdData, PutBotsByBotIdAclRulesByRuleIdErrors, PutBotsByBotIdAclRulesByRuleIdResponses, PutBotsByBotIdAgentsByIdCredentialData, PutBotsByBotIdAgentsByIdCredentialErrors, PutBotsByBotIdAgentsByIdCredentialResponses, PutBotsByBotIdContainerMetricsData, PutBotsByBotIdContainerMetricsErrors, PutBotsByBotIdContainerMetricsResponses, PutBotsByBotIdMcpByIdData, PutBotsByBotIdMcpByIdErrors, PutBotsByBotIdMcpByIdResponses, PutBotsByBotIdMcpOpsImportData, PutBotsByBotIdMcpOpsImportErrors, PutBotsByBotIdMcpOpsImportResponses, PutBotsByBotIdMemoryByMemoryIdData, PutBotsByBotIdMemoryByMemoryIdErrors, PutBotsByBotIdMemoryByMemoryIdResponses, PutBotsByBotIdScheduleByIdData, PutBotsByBotIdScheduleByIdErrors, PutBotsByBotIdScheduleByIdResponses, PutBotsByBotIdSessionsBySessionIdFollowUpQueueReorderData, PutBotsByBotIdSessionsBySessionIdFollowUpQueueReorderErrors, PutBotsByBotIdSessionsBySessionIdFollowUpQueueReorderResponses, PutBotsByBotIdSessionsBySessionIdSteerQueueReorderData, PutBotsByBotIdSessionsBySessionIdSteerQueueReorderErrors, PutBotsByBotIdSessionsBySessionIdSteerQueueReorderResponses, PutBotsByBotIdSettingsData, PutBotsByBotIdSettingsErrors, PutBotsByBotIdSettingsResponses, PutBotsByBotIdUserAccessByGrantIdData, PutBotsByBotIdUserAccessByGrantIdErrors, PutBotsByBotIdUserAccessByGrantIdResponses, PutBotsByBotIdWorkspaceTargetsByTargetIdToolApprovalData, PutBotsByBotIdWorkspaceTargetsByTargetIdToolApprovalErrors, PutBotsByBotIdWorkspaceTargetsByTargetIdToolApprovalResponses, PutBotsByBotIdWorkspaceTargetsPrimaryData, PutBotsByBotIdWorkspaceTargetsPrimaryErrors, PutBotsByBotIdWorkspaceTargetsPrimaryResponses, PutBotsByBotIdWorkspaceTargetsRemotesByRuntimeIdData, PutBotsByBotIdWorkspaceTargetsRemotesByRuntimeIdErrors, PutBotsByBotIdWorkspaceTargetsRemotesByRuntimeIdResponses, PutBotsByIdChannelByPlatformData, PutBotsByIdChannelByPlatformErrors, PutBotsByIdChannelByPlatformResponses, PutBotsByIdData, PutBotsByIdErrors, PutBotsByIdOwnerData, PutBotsByIdOwnerErrors, PutBotsByIdOwnerResponses, PutBotsByIdResponses, PutFetchProvidersByIdData, PutFetchProvidersByIdErrors, PutFetchProvidersByIdResponses, PutMemoryConfigData, PutMemoryConfigErrors, PutMemoryConfigResponses, PutModelsByIdData, PutModelsByIdErrors, PutModelsByIdResponses, PutModelsModelByModelIdData, PutModelsModelByModelIdErrors, PutModelsModelByModelIdResponses, PutProvidersByIdData, PutProvidersByIdErrors, PutProvidersByIdResponses, PutSearchProvidersByIdData, PutSearchProvidersByIdErrors, PutSearchProvidersByIdResponses, PutSpeechModelsByIdData, PutSpeechModelsByIdErrors, PutSpeechModelsByIdResponses, PutTranscriptionModelsByIdData, PutTranscriptionModelsByIdErrors, PutTranscriptionModelsByIdResponses, PutUsersByIdData, PutUsersByIdErrors, PutUsersByIdResponses, PutUsersMeChannelsByPlatformData, PutUsersMeChannelsByPlatformErrors, PutUsersMeChannelsByPlatformResponses, PutUsersMeData, PutUsersMeErrors, PutUsersMePasswordData, PutUsersMePasswordErrors, PutUsersMePasswordResponses, PutUsersMeResponses, PutVideoModelsByIdData, PutVideoModelsByIdErrors, PutVideoModelsByIdResponses } from './types.gen'; export type Options = Options2 & { /** * You can provide a client instance returned by `createClient()` instead of * individual options. This might be also useful if you want to implement a * custom client. */ client?: Client; /** * You can pass arbitrary values through the `meta` object. This can be * used to access values that aren't defined as part of the SDK function. */ meta?: keyof ClientMeta extends never ? Record : ClientMeta; }; /** * List ACP profiles * * List safe ACP profile metadata used by the frontend to render agent configuration UI */ export const getAcpProfiles = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/acp/profiles', ...options }); /** * Authorize an Agent account independently of a Bot * * Starts Codex device authorization or Claude browser authorization, or encrypts a supplied API key or Claude OAuth token. A Grok account cannot be staged: it signs in on the Agent itself. No Bot or workspace is created. Ready means the credential has been staged; API keys and manually supplied tokens are not probed against the provider. */ export const postAgentAuthorizations = (options: Options): RequestResult => (options.client ?? client).post({ url: '/agent-authorizations', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Discard a temporary authorization without disconnecting an already-created Agent */ export const deleteAgentAuthorizationsById = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/agent-authorizations/{id}', ...options }); /** * Read an authorization session owned by the current user */ export const getAgentAuthorizationsById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/agent-authorizations/{id}', ...options }); /** * Complete Claude browser authorization with the returned authorization code */ export const postAgentAuthorizationsByIdExchange = (options: Options): RequestResult => (options.client ?? client).post({ url: '/agent-authorizations/{id}/exchange', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Poll a pending Agent device authorization */ export const postAgentAuthorizationsByIdPoll = (options: Options): RequestResult => (options.client ?? client).post({ url: '/agent-authorizations/{id}/poll', ...options }); /** * Login * * Validate user credentials and issue a JWT */ export const postAuthLogin = (options: Options): RequestResult => (options.client ?? client).post({ url: '/auth/login', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Refresh Token * * Issue a new JWT using the existing claims with updated expiration */ export const postAuthRefresh = (options?: Options): RequestResult => (options?.client ?? client).post({ url: '/auth/refresh', ...options }); /** * List bots * * List bots accessible to current user (admin can specify owner_id) */ export const getBots = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/bots', ...options }); /** * Create bot user * * Create a bot user owned by current user (or admin-specified owner) */ export const postBots = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Import a bot backup */ export const postBotsBackupImport = (options: Options): RequestResult => (options.client ?? client).post({ ...formDataBodySerializer, url: '/bots/backup/import', ...options, headers: { 'Content-Type': null, ...options.headers } }); /** * Preview a bot backup import */ export const postBotsBackupImportPreview = (options: Options): RequestResult => (options.client ?? client).post({ ...formDataBodySerializer, url: '/bots/backup/import/preview', ...options, headers: { 'Content-Type': null, ...options.headers } }); /** * Check bot name availability * * Validate a candidate bot name and report whether it is available */ export const getBotsNameAvailability = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/name-availability', ...options }); /** * Search workspace member candidates for a bot being created * * List grantable workspace members before the bot exists, for the create form */ export const getBotsUserAccessCandidates = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/bots/user-access/candidates', ...options }); /** * Search ACL channel identity candidates * * Search locally observed channel identities for building ACL rules */ export const getBotsByBotIdAclChannelIdentities = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/acl/channel-identities', ...options }); /** * List observed conversations for a channel identity * * List previously observed conversation candidates for a channel identity, for scoped rule building */ export const getBotsByBotIdAclChannelIdentitiesByChannelIdentityIdConversations = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/acl/channel-identities/{channel_identity_id}/conversations', ...options }); /** * List observed conversations for a platform type * * List previously observed group/thread conversation candidates for a channel type under this bot */ export const getBotsByBotIdAclChannelTypesByChannelTypeConversations = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/acl/channel-types/{channel_type}/conversations', ...options }); /** * Get bot ACL default effect * * Get the fallback effect when no rule matches */ export const getBotsByBotIdAclDefaultEffect = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/acl/default-effect', ...options }); /** * Set bot ACL default effect * * Set the fallback effect when no rule matches (allow or deny) */ export const putBotsByBotIdAclDefaultEffect = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/acl/default-effect', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List bot ACL rules * * List all ACL rules for a bot */ export const getBotsByBotIdAclRules = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/acl/rules', ...options }); /** * Create ACL rule * * Create a new ACL rule for chat.trigger */ export const postBotsByBotIdAclRules = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/acl/rules', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Delete ACL rule * * Delete an ACL rule by ID */ export const deleteBotsByBotIdAclRulesByRuleId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/acl/rules/{rule_id}', ...options }); /** * Update ACL rule * * Update an existing ACL rule */ export const putBotsByBotIdAclRulesByRuleId = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/acl/rules/{rule_id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Create an unbound ACP runtime (pre-session model picker) * * Starts an agent runtime before any session exists. The runtime ID is server generated; bind it to a session at creation time via acp_runtime_id. */ export const postBotsByBotIdAcpRuntimes = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/acp-runtimes', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Close an ACP runtime */ export const deleteBotsByBotIdAcpRuntimesByRuntimeId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/acp-runtimes/{runtime_id}', ...options }); /** * Get ACP runtime state by runtime ID */ export const getBotsByBotIdAcpRuntimesByRuntimeId = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/acp-runtimes/{runtime_id}', ...options }); /** * Set an unbound ACP runtime's mode * * Sends the selected agent-declared mode ID unchanged to session/set_mode before the first chat message binds this runtime to a Session. */ export const patchBotsByBotIdAcpRuntimesByRuntimeIdMode = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{bot_id}/acp-runtimes/{runtime_id}/mode', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Set (or reset) an ACP runtime's model * * An empty model_id resets the runtime to the agent default model. */ export const patchBotsByBotIdAcpRuntimesByRuntimeIdModel = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{bot_id}/acp-runtimes/{runtime_id}/model', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Set an ACP runtime's reasoning effort */ export const patchBotsByBotIdAcpRuntimesByRuntimeIdReasoning = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{bot_id}/acp-runtimes/{runtime_id}/reasoning', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List a bot's Agents * * List active and disabled non-deleted Agents attached to a bot. Direct-runtime Agents carry the workspace dependency their runtime declares. */ export const getBotsByBotIdAgents = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/agents', ...options }); /** * Add an Agent to a bot * * Add a named Agent backed by a runtime descriptor. Omit enabled to create it enabled; pass enabled=false to hold a direct-runtime Agent back until its workspace dependency preflight passes. The response reports that dependency (dependency_id) when the runtime declares one. */ export const postBotsByBotIdAgents = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/agents', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Delete a bot Agent * * Soft-delete an Agent while preserving existing session bindings */ export const deleteBotsByBotIdAgentsById = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/agents/{id}', ...options }); /** * Get a bot Agent * * Get one Agent attached to a bot, including the workspace dependency its runtime declares (omitted for runtimes without one). */ export const getBotsByBotIdAgentsById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/agents/{id}', ...options }); /** * Update a bot Agent * * Update an Agent's name, availability, or runtime configuration */ export const patchBotsByBotIdAgentsById = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{bot_id}/agents/{id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get the Codex usage limits of the Agent's ChatGPT account * * Available to anyone who can chat with the Bot, so the composer */ export const getBotsByBotIdAgentsByIdCodexUsage = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/agents/{id}/codex/usage', ...options }); /** * Disconnect a Bot Agent's credential */ export const deleteBotsByBotIdAgentsByIdCredential = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/agents/{id}/credential', ...options }); /** * Get the credential attached to a Bot Agent */ export const getBotsByBotIdAgentsByIdCredential = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/agents/{id}/credential', ...options }); /** * Attach a credential to a Bot Agent, replacing any previous one * * Creates an encrypted credential from the submitted secret and */ export const putBotsByBotIdAgentsByIdCredential = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/agents/{id}/credential', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Bind a completed temporary authorization to a Bot Agent * * Requires Bot management access and ownership of the authorization. Retrying for the same Agent is safe; an authorization cannot be bound to another Agent. Credentials are attached atomically and removed from the temporary session. */ export const postBotsByBotIdAgentsByIdCredentialClaim = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/agents/{id}/credential/claim', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Start a device-code account sign-in on a direct runtime Agent * * The Agent's own process obtains the device code; the user opens the URL and confirms the code there. Only runtimes that sign in this way (Codex, Grok Build) accept it. */ export const postBotsByBotIdAgentsByIdLoginDeviceAuthorize = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/agents/{id}/login/device/authorize', ...options }); /** * Cancel a pending device-code sign-in */ export const postBotsByBotIdAgentsByIdLoginDeviceCancel = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/agents/{id}/login/device/cancel', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Poll a pending device-code sign-in * * A successful sign-in has already been stored as the Agent's credential when this answers success. */ export const postBotsByBotIdAgentsByIdLoginDevicePoll = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/agents/{id}/login/device/poll', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List models available to a bot Agent */ export const getBotsByBotIdAgentsByIdModels = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/agents/{id}/models', ...options }); /** * Get bot Agent default runtime controls */ export const getBotsByBotIdAgentsByIdRuntimeControls = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/agents/{id}/runtime-controls', ...options }); /** * List the Apps installed for a bot * * Every App installed on the bot workspace with its Skills, dependency references and connector references, plus the canonical Apps of dependencies the workspace carries that no App references. */ export const getBotsByBotIdApps = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/apps', ...options }); /** * Install an App release into a bot workspace * * Installs missing dependencies, publishes the Skills and links connectors, streaming progress. A dependency failure or an unauthorized required connector leaves the installation partial. Events: started, step, log, step_done, done, error. */ export const postBotsByBotIdApps = (options: Options): Promise> => (options.client ?? client).sse.post({ url: '/bots/{bot_id}/apps', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Check installed Apps for newer releases * * Compares every installed App with the registry's current release, runs the dependency update checks, and returns the refreshed list. The checks are bounded in time; update_checks_incomplete marks a list where some did not finish and keep their last result. */ export const postBotsByBotIdAppsCheckUpdates = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/apps/check-updates', ...options }); /** * Update parts of an App on a bot workspace * * Updates the selected dependencies to their latest version and, when release is set, moves the installation to the registry's current release, streaming progress. A discovered App may update its own dependency. Events: started, step, log, step_done, done, error. */ export const postBotsByBotIdAppsUpdate = (options: Options): Promise> => (options.client ?? client).sse.post({ url: '/bots/{bot_id}/apps/update', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Remove an App from a bot workspace * * Removes the Skills, the dependencies no other App references and the connections no other App references, streaming progress. Events: started, step, log, step_done, done, error. */ export const deleteBotsByBotIdAppsByInstallationId = (options: Options): Promise> => (options.client ?? client).sse.delete({ url: '/bots/{bot_id}/apps/{installation_id}', ...options }); /** * Get one installed App */ export const getBotsByBotIdAppsByInstallationId = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/apps/{installation_id}', ...options }); /** * Connect an API-key connector an App references * * Sends the credential fields to Connect-It and links the resulting connection to the App installation. */ export const postBotsByBotIdAppsByInstallationIdConnectorsByConnectorTypeApiKey = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/apps/{installation_id}/connectors/{connector_type}/api-key', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Authorize a connector an App references * * Starts OAuth for the connector type and links the resulting Connect-It connection to the App installation. */ export const postBotsByBotIdAppsByInstallationIdConnectorsByConnectorTypeOauth = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/apps/{installation_id}/connectors/{connector_type}/oauth', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Preview what removing an App would do */ export const getBotsByBotIdAppsByInstallationIdRemovalPreview = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/apps/{installation_id}/removal-preview', ...options }); /** * Continue a partial App installation * * Installs dependencies that are still missing, reconciles the Skills and links connectors that were authorized since. Events: started, step, log, step_done, done, error. */ export const postBotsByBotIdAppsByInstallationIdResume = (options: Options): Promise> => (options.client ?? client).sse.post({ url: '/bots/{bot_id}/apps/{installation_id}/resume', ...options }); /** * Export a full bot backup */ export const postBotsByBotIdBackupExport = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/backup/export', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Summarize what a bot would export */ export const getBotsByBotIdBackupSummary = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/backup/summary', ...options }); /** * List channel managers * * List effective Manage state per channel identity on a bot (inherited + local overrides) */ export const getBotsByBotIdChannelManagers = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/channel-managers', ...options }); /** * Set a channel manage override * * Force the Manage capability ON or OFF for a channel identity on a bot */ export const postBotsByBotIdChannelManagers = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/channel-managers', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Clear a channel manage override * * Remove the local Manage override so the channel identity falls back to inheritance */ export const deleteBotsByBotIdChannelManagersByChannelIdentityId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/channel-managers/{channel_identity_id}', ...options }); /** * Delete compaction logs * * Delete all compaction logs for a bot */ export const deleteBotsByBotIdCompactionLogs = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/compaction/logs', ...options }); /** * List compaction logs * * List compaction logs for a bot */ export const getBotsByBotIdCompactionLogs = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/compaction/logs', ...options }); /** * List bot connectors * * List Connect-It connections enabled or disabled for a bot. */ export const getBotsByBotIdConnectors = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/connectors', ...options }); /** * Disconnect a connector * * Delete the Connect-It credential, remove its bot binding and unlink it from every App that referenced it; those Apps ask for authorization again. */ export const deleteBotsByBotIdConnectorsByConnectionId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/connectors/{connection_id}', ...options }); /** * Get a bot connector * * Get one Connect-It connection bound to a bot. */ export const getBotsByBotIdConnectorsByConnectionId = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/connectors/{connection_id}', ...options }); /** * Enable or disable a connector * * Disabled connectors are omitted when Memoh signs the bot's next aggregate MCP session. */ export const patchBotsByBotIdConnectorsByConnectionId = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{bot_id}/connectors/{connection_id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Reauthorize a connector * * Start OAuth again while preserving the same Connect-It connection ID. */ export const postBotsByBotIdConnectorsByConnectionIdReauth = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/connectors/{connection_id}/reauth', ...options }); /** * Delete workspace for bot * * Records the removal and answers at once. The workspace is gone when GET answers 404; until then GET reports the removal's state. */ export const deleteBotsByBotIdContainer = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/container', ...options }); /** * Get workspace info for bot */ export const getBotsByBotIdContainer = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/container', ...options }); /** * Create workspace for bot * * Records the intent for a running workspace and streams the */ export const postBotsByBotIdContainer = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Create browser proxy session for bot workspace */ export const postBotsByBotIdContainerBrowserSessions = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/browser/sessions', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Delete browser proxy session */ export const deleteBotsByBotIdContainerBrowserSessionsBySessionId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/container/browser/sessions/{session_id}', ...options }); /** * Keep browser proxy session alive */ export const postBotsByBotIdContainerBrowserSessionsBySessionIdKeepalive = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/browser/sessions/{session_id}/keepalive', ...options }); /** * Restore previously preserved data into workspace */ export const postBotsByBotIdContainerDataRestore = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/data/restore', ...options }); /** * Check workspace display availability for bot */ export const getBotsByBotIdContainerDisplay = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/container/display', ...options }); /** * Prepare workspace display dependencies * * Validates the image-provided desktop/VNC/browser runtime, starts the display server, and launches the browser. */ export const postBotsByBotIdContainerDisplayPrepare = (options: Options): Promise> => (options.client ?? client).sse.post({ url: '/bots/{bot_id}/container/display/prepare', ...options }); /** * List active workspace display WebRTC sessions */ export const getBotsByBotIdContainerDisplaySessions = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/container/display/sessions', ...options }); /** * Close a workspace display WebRTC session */ export const deleteBotsByBotIdContainerDisplaySessionsBySessionId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/container/display/sessions/{session_id}', ...options }); /** * Create a WebRTC answer for bot workspace display */ export const postBotsByBotIdContainerDisplayWebrtcOffer = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/display/webrtc/offer', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get file or directory info * * Returns metadata about a file or directory at the given workspace path */ export const getBotsByBotIdContainerFs = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/container/fs', ...options }); /** * Download files and directories as tar.gz * * Downloads selected files/directories from the workspace as a tar.gz archive */ export const postBotsByBotIdContainerFsArchive = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/fs/archive', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Delete a file or directory * * Deletes a file or directory at the given workspace path */ export const postBotsByBotIdContainerFsDelete = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/fs/delete', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Download a file as binary stream * * Downloads a file from the workspace with appropriate Content-Type */ export const getBotsByBotIdContainerFsDownload = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/container/fs/download', ...options }); /** * Extract an archive file * * Extracts a .zip, .tar.gz, or .tgz file into a sibling directory named after the archive */ export const postBotsByBotIdContainerFsExtract = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/fs/extract', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List directory contents * * Lists files and directories at the given workspace path */ export const getBotsByBotIdContainerFsList = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/container/fs/list', ...options }); /** * Create a directory * * Creates a directory (and parents) at the given workspace path. workspace_target_id selects an explicit target; when omitted, the Bot's Primary target is used. */ export const postBotsByBotIdContainerFsMkdir = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/fs/mkdir', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Read file content as text * * Reads the content of a file and returns it as a JSON string */ export const getBotsByBotIdContainerFsRead = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/container/fs/read', ...options }); /** * Rename or move a file/directory * * Renames or moves a file/directory from oldPath to newPath */ export const postBotsByBotIdContainerFsRename = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/fs/rename', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Upload a file via multipart form * * Uploads a binary file to the given workspace path */ export const postBotsByBotIdContainerFsUpload = (options: Options): RequestResult => (options.client ?? client).post({ ...formDataBodySerializer, url: '/bots/{bot_id}/container/fs/upload', ...options, headers: { 'Content-Type': null, ...options.headers } }); /** * Write text content to a file * * Creates or overwrites a file with the provided text content */ export const postBotsByBotIdContainerFsWrite = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/fs/write', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get current workspace metrics for bot */ export const getBotsByBotIdContainerMetrics = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/container/metrics', ...options }); /** * Update workspace metrics settings for bot */ export const putBotsByBotIdContainerMetrics = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/container/metrics', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Withdraw a failed workspace removal * * Keeps the workspace after its removal failed. Does nothing when no removal has failed; one still in progress cannot be withdrawn. */ export const postBotsByBotIdContainerRemovalCancel = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/removal/cancel', ...options }); /** * Delete Memoh-managed skills */ export const deleteBotsByBotIdContainerSkills = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/container/skills', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List skills from the bot workspace */ export const getBotsByBotIdContainerSkills = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/container/skills', ...options }); /** * Upload skills into Memoh-managed directory */ export const postBotsByBotIdContainerSkills = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/skills', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Apply an action to a discovered or managed skill source */ export const postBotsByBotIdContainerSkillsActions = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/skills/actions', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List snapshots */ export const getBotsByBotIdContainerSnapshots = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/container/snapshots', ...options }); /** * Create workspace snapshot for bot */ export const postBotsByBotIdContainerSnapshots = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/snapshots', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Roll back workspace to a previous snapshot version */ export const postBotsByBotIdContainerSnapshotsRollback = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/snapshots/rollback', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Start workspace for bot */ export const postBotsByBotIdContainerStart = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/start', ...options }); /** * Stop workspace for bot */ export const postBotsByBotIdContainerStop = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/container/stop', ...options }); /** * Check terminal availability for bot workspace */ export const getBotsByBotIdContainerTerminal = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/container/terminal', ...options }); /** * Interactive WebSocket terminal for bot workspace */ export const getBotsByBotIdContainerTerminalWs = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/container/terminal/ws', ...options }); /** * List workspace dependencies * * Every catalog dependency (image-provided runtimes, managed agent CLIs and tools) reconciled with its installation record and, when the workspace is running, with what is actually installed. */ export const getBotsByBotIdDependencies = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/dependencies', ...options }); /** * Check workspace dependencies for updates * * Re-discovers the workspace and runs the upstream update check of every installed tool dependency, then returns the refreshed list. The checks are bounded in time; update_checks_incomplete marks a list where some did not finish and keep their last result. */ export const postBotsByBotIdDependenciesCheckUpdates = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/dependencies/check-updates', ...options }); /** * Check whether dependencies are ready * * Reports for each requested dependency whether a copy is installed, whatever its version. Never starts the workspace: when it is not running, items is empty and workspace_state says why. */ export const postBotsByBotIdDependenciesPreflight = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/dependencies/preflight', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Install or reinstall a referenced workspace dependency * * Runs the catalog install script for a dependency an App references and streams its output: a retry after a failed App step, or a managed overlay laid over the copy the workspace image ships. New dependencies reach a bot by installing the App that references them. Events: started, log, done, error. */ export const postBotsByBotIdDependenciesByDepIdInstall = (options: Options): Promise> => (options.client ?? client).sse.post({ url: '/bots/{bot_id}/dependencies/{dep_id}/install', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Reinstall a workspace dependency * * Runs the catalog reinstall script, or remove followed by install, and streams the output. The optional body names the version to install; without one the script picks the latest version (or the manifest pin). */ export const postBotsByBotIdDependenciesByDepIdReinstall = (options: Options): Promise> => (options.client ?? client).sse.post({ url: '/bots/{bot_id}/dependencies/{dep_id}/reinstall', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Roll a workspace dependency back to its previous version * * Switches the dependency back to the previous version kept in the workspace. A pure data operation: nothing is downloaded and no log is streamed. */ export const postBotsByBotIdDependenciesByDepIdRollback = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/dependencies/{dep_id}/rollback', ...options }); /** * Show the script a dependency action would run * * The exact stdin text the workspace shell receives, prelude included, with the command, time budget, and environment the runner uses. Scripts never touch the workspace disk, so this is the only way to inspect them. */ export const getBotsByBotIdDependenciesByDepIdScript = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/dependencies/{dep_id}/script', ...options }); /** * Update a workspace dependency * * Runs the catalog update script (or the install script when the manifest has none) and streams its output. The optional body names the version to update to; without one the script picks the latest version (or the manifest pin). The previous version is kept for rollback. */ export const postBotsByBotIdDependenciesByDepIdUpdate = (options: Options): Promise> => (options.client ?? client).sse.post({ url: '/bots/{bot_id}/dependencies/{dep_id}/update', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List supported bot hook events */ export const getBotsByBotIdHooksEvents = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/hooks/events', ...options }); /** * Run bot hooks for a synthetic event */ export const postBotsByBotIdHooksTest = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/hooks/test', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List MCP connections * * List MCP connections for a bot */ export const getBotsByBotIdMcp = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/bots/{bot_id}/mcp', ...options }); /** * Create MCP connection * * Create a MCP connection for a bot */ export const postBotsByBotIdMcp = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/mcp', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Batch delete MCP connections * * Delete multiple MCP connections by IDs. */ export const postBotsByBotIdMcpOpsBatchDelete = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/mcp-ops/batch-delete', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Export MCP connections * * Export all MCP connections for a bot in standard mcpServers format. */ export const getBotsByBotIdMcpOpsExport = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/bots/{bot_id}/mcp-ops/export', ...options }); /** * Import MCP connections * * Batch import MCP connections from standard mcpServers format. Existing connections (matched by name) get config updated with is_active preserved. New connections are created as active. */ export const putBotsByBotIdMcpOpsImport = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/mcp-ops/import', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Create MCP stdio proxy * * Start a stdio MCP process in the bot workspace and expose it as an MCP HTTP endpoint. */ export const postBotsByBotIdMcpStdio = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/mcp-stdio', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * MCP stdio proxy (JSON-RPC) * * Proxies MCP JSON-RPC requests to a stdio MCP process in the workspace. */ export const postBotsByBotIdMcpStdioByConnectionId = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/mcp-stdio/{connection_id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Delete MCP connection * * Delete a MCP connection by ID */ export const deleteBotsByBotIdMcpById = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/mcp/{id}', ...options }); /** * Get MCP connection * * Get a MCP connection by ID */ export const getBotsByBotIdMcpById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/mcp/{id}', ...options }); /** * Update MCP connection * * Update a MCP connection by ID */ export const putBotsByBotIdMcpById = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/mcp/{id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Start OAuth authorization flow * * Generate PKCE and return authorization URL for the user to authorize */ export const postBotsByBotIdMcpByIdOauthAuthorize = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/mcp/{id}/oauth/authorize', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Discover OAuth configuration for MCP server * * Probe MCP server URL for OAuth requirements and discover authorization server metadata */ export const postBotsByBotIdMcpByIdOauthDiscover = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/mcp/{id}/oauth/discover', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Exchange OAuth authorization code for tokens * * Frontend callback page calls this to exchange the authorization code for access/refresh tokens */ export const postBotsByBotIdMcpByIdOauthExchange = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/mcp/{id}/oauth/exchange', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get OAuth status for MCP connection * * Returns the current OAuth status including whether tokens are available */ export const getBotsByBotIdMcpByIdOauthStatus = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/mcp/{id}/oauth/status', ...options }); /** * Revoke OAuth tokens for MCP connection * * Clears stored OAuth tokens */ export const deleteBotsByBotIdMcpByIdOauthToken = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/mcp/{id}/oauth/token', ...options }); /** * Probe MCP connection * * Probe a MCP connection to discover tools and verify connectivity */ export const postBotsByBotIdMcpByIdProbe = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/mcp/{id}/probe', ...options }); /** * Delete memories * * Delete specific memories by IDs, or delete all memories if no IDs are provided */ export const deleteBotsByBotIdMemory = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/memory', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get all memories * * List all memories in the bot-shared namespace */ export const getBotsByBotIdMemory = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/memory', ...options }); /** * Add memory * * Add memory into the bot-shared namespace */ export const postBotsByBotIdMemory = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/memory', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Compact memories * * Consolidate memories by merging similar/redundant entries using LLM. * * **ratio** (required, range (0,1]): * - 0.8 = light compression, mostly dedup, keep ~80% of entries * - 0.5 = moderate compression, merge similar facts, keep ~50% * - 0.3 = aggressive compression, heavily consolidate, keep ~30% * * **decay_days** (optional): enable time decay — memories older than N days are treated as low priority and more likely to be merged/dropped. */ export const postBotsByBotIdMemoryCompact = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/memory/compact', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get memory graph * * Get derived memory graph nodes and edges for a bot. */ export const getBotsByBotIdMemoryGraph = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/memory/graph', ...options }); /** * Ingest agent-authored memory markdown into the wiki store * * Read /data/memory*.md the bot (or its agent) wrote directly and upsert them as DB memory nodes, so they become searchable and survive the next derived-view rebuild. Idempotent (ON CONFLICT id DO UPDATE). */ export const postBotsByBotIdMemoryIngest = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/memory/ingest', ...options }); /** * Rebuild memories from filesystem * * Read memory files from the workspace filesystem (source of truth) and restore missing entries to memory storage */ export const postBotsByBotIdMemoryRebuild = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/memory/rebuild', ...options }); /** * Search memory * * Search memory in the bot-shared namespace */ export const postBotsByBotIdMemorySearch = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/memory/search', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get memory runtime status * * Get the resolved memory runtime status for a bot, including index health and source counts */ export const getBotsByBotIdMemoryStatus = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/memory/status', ...options }); /** * Get memory usage * * Query the estimated storage usage of current memories */ export const getBotsByBotIdMemoryUsage = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/memory/usage', ...options }); /** * Delete a single memory * * Delete a single memory by its ID */ export const deleteBotsByBotIdMemoryById = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/memory/{id}', ...options }); /** * Update a single memory by id * * Update the body of an existing memory entry in place (preserves id, layer, metadata). Replaces the legacy client-side delete-then-add edit emulation. */ export const putBotsByBotIdMemoryByMemoryId = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/memory/{memory_id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Delete all bot history messages * * Clear all persisted bot-level history messages */ export const deleteBotsByBotIdMessages = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/messages', ...options }); /** * List session history messages * * List messages for one session with optional pagination */ export const getBotsByBotIdMessages = (options: Options): RequestResult => (options.client ?? client).get({ responseTransformer: getBotsByBotIdMessagesResponseTransformer, url: '/bots/{bot_id}/messages', ...options }); /** * Locate a bot history message * * Locate a session message by external message ID and return nearby UI turns */ export const getBotsByBotIdMessagesLocate = (options: Options): RequestResult => (options.client ?? client).get({ responseTransformer: getBotsByBotIdMessagesLocateResponseTransformer, url: '/bots/{bot_id}/messages/locate', ...options }); /** * Execute a Web quick action * * Runs a typed Web quick action such as help or skill.list and returns a command_result or command_error envelope. */ export const postBotsByBotIdQuickActionsExecute = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/quick-actions/execute', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List schedules * * List schedules for current user */ export const getBotsByBotIdSchedule = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/schedule', ...options }); /** * Create schedule * * Create a schedule for current user */ export const postBotsByBotIdSchedule = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/schedule', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Delete schedule logs * * Delete all schedule execution logs for a bot */ export const deleteBotsByBotIdScheduleLogs = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/schedule/logs', ...options }); /** * List schedule logs * * List schedule execution logs for a bot */ export const getBotsByBotIdScheduleLogs = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/schedule/logs', ...options }); /** * Delete schedule * * Delete a schedule by ID */ export const deleteBotsByBotIdScheduleById = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/schedule/{id}', ...options }); /** * Get schedule * * Get a schedule by ID */ export const getBotsByBotIdScheduleById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/schedule/{id}', ...options }); /** * Update schedule * * Update a schedule by ID */ export const putBotsByBotIdScheduleById = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/schedule/{id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List schedule logs by schedule * * List execution logs for a specific schedule */ export const getBotsByBotIdScheduleByIdLogs = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/schedule/{id}/logs', ...options }); /** * List the sessions a schedule's runs created * * List a schedule's runs newest first, each with the session it ran in. Runs whose session was deleted are omitted; a run that failed before it had a session is included with an empty session_id. status is running until the run completes. */ export const getBotsByBotIdScheduleByIdSessions = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/schedule/{id}/sessions', ...options }); /** * List bot sessions */ export const getBotsByBotIdSessions = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/sessions', ...options }); /** * Create a new chat session */ export const postBotsByBotIdSessions = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/sessions', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Stream bot-wide sessions activity * * Lightweight SSE for sidebar live-sort. Carries only session * identifiers and minimal metadata (touched timestamps, titles). * Never includes message bodies. Filters out sessions with * internal visibility, such as managed subagent work. */ export const getBotsByBotIdSessionsEvents = (options: Options): Promise> => (options.client ?? client).sse.get({ url: '/bots/{bot_id}/sessions/events', ...options }); /** * Welcome composer model seed */ export const getBotsByBotIdSessionsModelPreferenceSeed = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/sessions/model-preference-seed', ...options }); /** * Soft-delete a session */ export const deleteBotsByBotIdSessionsBySessionId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/sessions/{session_id}', ...options }); /** * Get a session by ID */ export const getBotsByBotIdSessionsBySessionId = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/sessions/{session_id}', ...options }); /** * Update a session */ export const patchBotsByBotIdSessionsBySessionId = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{bot_id}/sessions/{session_id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get ACP session runtime state */ export const getBotsByBotIdSessionsBySessionIdAcpRuntime = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/sessions/{session_id}/acp-runtime', ...options }); /** * Ensure ACP session runtime is started */ export const postBotsByBotIdSessionsBySessionIdAcpRuntime = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/sessions/{session_id}/acp-runtime', ...options }); /** * Set ACP session runtime mode * * Sends the selected agent-declared mode ID unchanged to session/set_mode. The selection applies only to this live session. */ export const patchBotsByBotIdSessionsBySessionIdAcpRuntimeMode = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{bot_id}/sessions/{session_id}/acp-runtime/mode', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Set ACP session runtime model */ export const patchBotsByBotIdSessionsBySessionIdAcpRuntimeModel = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{bot_id}/sessions/{session_id}/acp-runtime/model', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Set ACP session runtime reasoning effort */ export const patchBotsByBotIdSessionsBySessionIdAcpRuntimeReasoning = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{bot_id}/sessions/{session_id}/acp-runtime/reasoning', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Trigger immediate context compaction * * Run context compaction synchronously for a session */ export const postBotsByBotIdSessionsBySessionIdCompact = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/sessions/{session_id}/compact', ...options }); /** * Get session context lifecycle * * List run-keyed context lifecycle snapshots for a chat session, newest first, with page-scoped aggregate totals (cache read/write tokens, drop reasons, mutation kinds). Aggregates cover only the returned page; has_more reports older turns. Sessions predating run lifecycle persistence fall back to legacy assistant metadata (legacy_source). Per-fragment selection_decisions are never returned; each turn's selection trace carries their rolled-up counts and token costs */ export const getBotsByBotIdSessionsBySessionIdContextLifecycle = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/sessions/{session_id}/context-lifecycle', ...options }); /** * List pending follow-up inputs */ export const getBotsByBotIdSessionsBySessionIdFollowUpQueue = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/sessions/{session_id}/follow-up-queue', ...options }); /** * Enqueue follow-up input for the active session run */ export const postBotsByBotIdSessionsBySessionIdFollowUpQueue = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/sessions/{session_id}/follow-up-queue', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Reorder accepted follow-up inputs */ export const putBotsByBotIdSessionsBySessionIdFollowUpQueueReorder = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/sessions/{session_id}/follow-up-queue/reorder', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Cancel an accepted follow-up input */ export const deleteBotsByBotIdSessionsBySessionIdFollowUpQueueByItemId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/sessions/{session_id}/follow-up-queue/{item_id}', ...options }); /** * Edit an accepted follow-up input */ export const patchBotsByBotIdSessionsBySessionIdFollowUpQueueByItemId = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{bot_id}/sessions/{session_id}/follow-up-queue/{item_id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Promote an accepted follow-up input to steer the active run */ export const postBotsByBotIdSessionsBySessionIdFollowUpQueueByItemIdSteer = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/sessions/{session_id}/follow-up-queue/{item_id}/steer', ...options }); /** * Fork a chat session from an assistant reply */ export const postBotsByBotIdSessionsBySessionIdFork = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/sessions/{session_id}/fork', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Look up the run admitted for a client invocation * * Read-only. Lets a client that lost the acknowledgement of a send learn whether the invocation was admitted and what state its run is in. An unknown invocation returns 200 with found=false. */ export const getBotsByBotIdSessionsBySessionIdInvocationsByInvocationId = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/sessions/{session_id}/invocations/{invocation_id}', ...options }); /** * List pending steer and follow-up inputs in one response */ export const getBotsByBotIdSessionsBySessionIdQueue = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/sessions/{session_id}/queue', ...options }); /** * Get session runtime controls */ export const getBotsByBotIdSessionsBySessionIdRuntimeControls = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/sessions/{session_id}/runtime-controls', ...options }); /** * Execute a read or operation runtime command */ export const postBotsByBotIdSessionsBySessionIdRuntimeControlsCommands = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/sessions/{session_id}/runtime-controls/commands', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get the runtime-owned goal */ export const getBotsByBotIdSessionsBySessionIdRuntimeControlsGoal = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/sessions/{session_id}/runtime-controls/goal', ...options }); /** * Pause or clear a runtime-owned goal */ export const postBotsByBotIdSessionsBySessionIdRuntimeControlsGoal = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/sessions/{session_id}/runtime-controls/goal', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Set session runtime permission or planning mode */ export const patchBotsByBotIdSessionsBySessionIdRuntimeControlsMode = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{bot_id}/sessions/{session_id}/runtime-controls/mode', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get session info * * Get aggregated info for a chat session including message count, context usage, cache stats, and used skills */ export const getBotsByBotIdSessionsBySessionIdStatus = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/sessions/{session_id}/status', ...options }); /** * List pending steer inputs */ export const getBotsByBotIdSessionsBySessionIdSteerQueue = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/sessions/{session_id}/steer-queue', ...options }); /** * Enqueue steer input for the active session run */ export const postBotsByBotIdSessionsBySessionIdSteerQueue = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/sessions/{session_id}/steer-queue', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Reorder accepted steer inputs */ export const putBotsByBotIdSessionsBySessionIdSteerQueueReorder = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/sessions/{session_id}/steer-queue/reorder', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Cancel an accepted steer input */ export const deleteBotsByBotIdSessionsBySessionIdSteerQueueByItemId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/sessions/{session_id}/steer-queue/{item_id}', ...options }); /** * Edit an accepted steer input */ export const patchBotsByBotIdSessionsBySessionIdSteerQueueByItemId = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{bot_id}/sessions/{session_id}/steer-queue/{item_id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Delete user settings * * Remove agent settings for current user */ export const deleteBotsByBotIdSettings = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/settings', ...options }); /** * Get user settings * * Get agent settings for current user */ export const getBotsByBotIdSettings = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/settings', ...options }); /** * Update user settings * * Update or create agent settings for current user */ export const postBotsByBotIdSettings = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/settings', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Update user settings * * Update or create agent settings for current user */ export const putBotsByBotIdSettings = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/settings', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List runtime-safe skills for chat-time skill selection */ export const getBotsByBotIdSkillsCatalog = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/skills/catalog', ...options }); /** * Get new-chat starter prompts * * Suggestions for the current user's new chat with a bot, generated from the bot's memory, the user's recent session titles, the bot's installed Apps and its name. The server keeps nothing: pass the hash of the set you hold as known_hash, and the response says unchanged while that set is still current; otherwise a new set is generated, which can take a while. */ export const getBotsByBotIdStarterPrompts = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/starter-prompts', ...options }); /** * Generate a different set of new-chat starter prompts * * Generates a new set for the current user's new chat with a bot, steering away from the prompts already on screen. The returned hash is the same one Get reports for the current material, so later Get calls answer unchanged for the refreshed set. */ export const postBotsByBotIdStarterPromptsRefresh = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/starter-prompts/refresh', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get token usage statistics * * Get daily aggregated token usage for a bot, split by chat, discuss, and schedule session types, with optional model filter and per-model breakdown */ export const getBotsByBotIdTokenUsage = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/token-usage', ...options }); /** * List per-call token usage records * * Paginated list of individual LLM call records (assistant messages with usage) for a bot, with optional model and session type filters */ export const getBotsByBotIdTokenUsageRecords = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/token-usage/records', ...options }); /** * Approve a pending tool call */ export const postBotsByBotIdToolApprovalsByApprovalIdApprove = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/tool-approvals/{approval_id}/approve', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Reject a pending tool call */ export const postBotsByBotIdToolApprovalsByApprovalIdReject = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/tool-approvals/{approval_id}/reject', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Unified MCP tools gateway * * MCP endpoint for tool discovery and invocation. */ export const postBotsByBotIdTools = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/tools', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Synthesize speech for a bot * * Stream-synthesize text using the bot's configured TTS model, write to temp file */ export const postBotsByBotIdTtsSynthesize = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/tts/synthesize', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List bot user access grants * * List workspace user access grants for a bot, including the owner entry */ export const getBotsByBotIdUserAccess = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/user-access', ...options }); /** * Create bot user access grant * * Grant a workspace user (or everyone) access to a bot with a permission set */ export const postBotsByBotIdUserAccess = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/user-access', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List grantable workspace members * * List workspace members that can be granted access to a bot */ export const getBotsByBotIdUserAccessCandidates = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/user-access/candidates', ...options }); /** * Delete bot user access grant * * Remove a workspace user access grant from a bot */ export const deleteBotsByBotIdUserAccessByGrantId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/user-access/{grant_id}', ...options }); /** * Update bot user access grant * * Update the permission set of a grant */ export const putBotsByBotIdUserAccessByGrantId = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/user-access/{grant_id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Send a message to a local channel * * Post a user message (with optional attachments) through the local channel pipeline. */ export const postBotsByBotIdWebMessages = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/web/messages', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Subscribe to local channel events via SSE * * Open a persistent SSE connection to receive real-time stream events for the given bot. */ export const getBotsByBotIdWebStream = (options: Options): Promise> => (options.client ?? client).sse.get({ url: '/bots/{bot_id}/web/stream', ...options }); /** * WebSocket chat endpoint * * Upgrade to WebSocket for bidirectional chat streaming with abort support. */ export const getBotsByBotIdWebWs = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/web/ws', ...options }); /** * List a Bot's workdirs */ export const getBotsByBotIdWorkdirs = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/workdirs', ...options }); /** * Create a Bot workdir * * Registers a named working directory on a workspace target. The directory must already exist on that target. */ export const postBotsByBotIdWorkdirs = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/workdirs', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List directories for choosing a workdir path * * Lists the child directories of a directory on one workspace target, so a workdir path can be picked instead of typed. An empty path starts at the target's default directory: the data mount on the native workspace, the reported workspace base on a remote computer. */ export const getBotsByBotIdWorkdirsDirectories = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/workdirs/directories', ...options }); /** * Archive a Bot workdir * * Archiving refuses new session bindings but keeps existing sessions working: their directory never changes underneath them. */ export const deleteBotsByBotIdWorkdirsByWorkdirId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/workdirs/{workdir_id}', ...options }); /** * Rename a Bot workdir * * Only the name can change. The target and path are immutable: they are baked into the working directory of every session bound to this workdir. */ export const patchBotsByBotIdWorkdirsByWorkdirId = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{bot_id}/workdirs/{workdir_id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Read a workdir's current Git branch */ export const getBotsByBotIdWorkdirsByWorkdirIdGitBranch = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/workdirs/{workdir_id}/git-branch', ...options }); /** * Switch a workdir to an existing local Git branch */ export const postBotsByBotIdWorkdirsByWorkdirIdGitBranch = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{bot_id}/workdirs/{workdir_id}/git-branch', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List a Bot's workspace targets */ export const getBotsByBotIdWorkspaceTargets = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{bot_id}/workspace-targets', ...options }); /** * Set a Bot's Primary workspace target */ export const putBotsByBotIdWorkspaceTargetsPrimary = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/workspace-targets/primary', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Add or update a Remote Runtime workspace target */ export const putBotsByBotIdWorkspaceTargetsRemotesByRuntimeId = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/workspace-targets/remotes/{runtime_id}', ...options }); /** * Delete a Remote Runtime workspace target * * Remote files and the Native workspace are not deleted. */ export const deleteBotsByBotIdWorkspaceTargetsByTargetId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{bot_id}/workspace-targets/{target_id}', ...options }); /** * Update tool approval for one workspace target * * The read/write/exec fields are mode shortcuts. tool_approval_config preserves and updates advanced bypass/force rules. */ export const putBotsByBotIdWorkspaceTargetsByTargetIdToolApproval = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{bot_id}/workspace-targets/{target_id}/tool-approval', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Delete bot * * Delete a bot user (owner/admin only) */ export const deleteBotsById = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{id}', ...options }); /** * Get bot details * * Get a bot by ID (owner/admin only) */ export const getBotsById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{id}', ...options }); /** * Update bot details * * Update bot profile (owner/admin only) */ export const putBotsById = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Delete bot channel config * * Remove bot channel configuration */ export const deleteBotsByIdChannelByPlatform = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/bots/{id}/channel/{platform}', ...options }); /** * Get bot channel config * * Get bot channel configuration */ export const getBotsByIdChannelByPlatform = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{id}/channel/{platform}', ...options }); /** * Update bot channel config * * Update bot channel configuration */ export const putBotsByIdChannelByPlatform = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{id}/channel/{platform}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Send message via bot channel * * Send a message using bot channel configuration */ export const postBotsByIdChannelByPlatformSend = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{id}/channel/{platform}/send', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Send message via bot channel session token * * Send a message using a session-scoped token (reply only) */ export const postBotsByIdChannelByPlatformSendChat = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{id}/channel/{platform}/send_chat', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Update bot channel status * * Update bot channel enabled/disabled status */ export const patchBotsByIdChannelByPlatformStatus = (options: Options): RequestResult => (options.client ?? client).patch({ url: '/bots/{id}/channel/{platform}/status', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Set bot channel webhook endpoint * * Set the platform-side webhook endpoint for a bot channel. */ export const postBotsByIdChannelByPlatformWebhookEndpoint = (options: Options): RequestResult => (options.client ?? client).post({ url: '/bots/{id}/channel/{platform}/webhook-endpoint', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List bot runtime checks * * Evaluate bot attached resource checks in runtime */ export const getBotsByIdChecks = (options: Options): RequestResult => (options.client ?? client).get({ url: '/bots/{id}/checks', ...options }); /** * Transfer bot owner (admin only) * * Transfer bot ownership to another human user */ export const putBotsByIdOwner = (options: Options): RequestResult => (options.client ?? client).put({ url: '/bots/{id}/owner', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List channel capabilities and schemas * * List channel meta information including capabilities and schemas */ export const getChannels = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/channels', ...options }); /** * Get channel capabilities and schemas * * Get channel meta information including capabilities and schemas */ export const getChannelsByPlatform = (options: Options): RequestResult => (options.client ?? client).get({ url: '/channels/{platform}', ...options }); /** * List connector catalog * * List providers available from the configured Connect-It deployment. */ export const getConnectorsCatalog = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/connectors/catalog', ...options }); /** * List fetch providers * * List configured fetch providers */ export const getFetchProviders = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/fetch-providers', ...options }); /** * Create a fetch provider * * Create a fetch provider configuration */ export const postFetchProviders = (options: Options): RequestResult => (options.client ?? client).post({ url: '/fetch-providers', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List fetch provider metadata * * List available fetch provider types and config schemas */ export const getFetchProvidersMeta = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/fetch-providers/meta', ...options }); /** * Delete a fetch provider * * Delete fetch provider by ID */ export const deleteFetchProvidersById = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/fetch-providers/{id}', ...options }); /** * Get a fetch provider * * Get fetch provider by ID */ export const getFetchProvidersById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/fetch-providers/{id}', ...options }); /** * Update a fetch provider * * Update fetch provider by ID */ export const putFetchProvidersById = (options: Options): RequestResult => (options.client ?? client).put({ url: '/fetch-providers/{id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get Built-in Memory configuration * * Get the team-level Built-in Memory configuration */ export const getMemoryConfig = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/memory/config', ...options }); /** * Update Built-in Memory configuration * * Update the team-level Built-in Memory configuration */ export const putMemoryConfig = (options: Options): RequestResult => (options.client ?? client).put({ url: '/memory/config', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List all models * * Get a list of all configured models, optionally filtered by type or provider client type */ export const getModels = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/models', ...options }); /** * Create a new model * * Create a new model configuration */ export const postModels = (options: Options): RequestResult => (options.client ?? client).post({ url: '/models', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get model count * * Get the total count of models, optionally filtered by type */ export const getModelsCount = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/models/count', ...options }); /** * Delete model by model ID * * Delete a model configuration by its model_id field (e.g., gpt-4) */ export const deleteModelsModelByModelId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/models/model/{modelId}', ...options }); /** * Get model by model ID * * Get a model configuration by its model_id field (e.g., gpt-4) */ export const getModelsModelByModelId = (options: Options): RequestResult => (options.client ?? client).get({ url: '/models/model/{modelId}', ...options }); /** * Update model by model ID * * Update a model configuration by its model_id field (e.g., gpt-4) */ export const putModelsModelByModelId = (options: Options): RequestResult => (options.client ?? client).put({ url: '/models/model/{modelId}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Delete model by internal ID * * Delete a model configuration by its internal UUID */ export const deleteModelsById = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/models/{id}', ...options }); /** * Get model by internal ID * * Get a model configuration by its internal UUID */ export const getModelsById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/models/{id}', ...options }); /** * Update model by internal ID * * Update a model configuration by its internal UUID */ export const putModelsById = (options: Options): RequestResult => (options.client ?? client).put({ url: '/models/{id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Test model connectivity * * Probe a model's provider endpoint using the model's real model_id and client_type to verify configuration */ export const postModelsByIdTest = (options: Options): RequestResult => (options.client ?? client).post({ url: '/models/{id}/test', ...options }); /** * OAuth callback for MCP connections * * Exchanges the authorization code and renders a small completion page */ export const getOauthMcpCallback = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/oauth/mcp/callback', ...options }); /** * Health check with server capabilities */ export const getPing = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/ping', ...options }); /** * List provider templates * * List active global provider templates and whether the current tenant has configured each template */ export const getProviderTemplates = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/provider-templates', ...options }); /** * Get a provider template * * Get an active global provider template and its model catalog */ export const getProviderTemplatesById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/provider-templates/{id}', ...options }); /** * List all LLM providers * * Get a list of all configured LLM providers */ export const getProviders = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/providers', ...options }); /** * Create a new LLM provider * * Create a new LLM provider configuration */ export const postProviders = (options: Options): RequestResult => (options.client ?? client).post({ url: '/providers', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Count providers * * Get the total count of providers */ export const getProvidersCount = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/providers/count', ...options }); /** * Create a provider from a global template * * Materialize a tenant-owned provider only when the user saves a template configuration */ export const postProvidersFromTemplate = (options: Options): RequestResult => (options.client ?? client).post({ url: '/providers/from-template', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get provider by name * * Get a provider configuration by its name */ export const getProvidersNameByName = (options: Options): RequestResult => (options.client ?? client).get({ url: '/providers/name/{name}', ...options }); /** * OAuth2 callback for LLM providers */ export const getProvidersOauthCallback = (options: Options): RequestResult => (options.client ?? client).get({ url: '/providers/oauth/callback', ...options }); /** * Delete provider * * Delete a provider configuration */ export const deleteProvidersById = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/providers/{id}', ...options }); /** * Get provider by ID * * Get a provider configuration by its ID */ export const getProvidersById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/providers/{id}', ...options }); /** * Update provider * * Update an existing provider configuration */ export const putProvidersById = (options: Options): RequestResult => (options.client ?? client).put({ url: '/providers/{id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Import models from provider * * Fetch models from provider and import them */ export const postProvidersByIdImportModels = (options: Options): RequestResult => (options.client ?? client).post({ url: '/providers/{id}/import-models', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List provider models * * Get models for a provider by id, optionally filtered by type */ export const getProvidersByIdModels = (options: Options): RequestResult => (options.client ?? client).get({ url: '/providers/{id}/models', ...options }); /** * Start OAuth2 authorization for an LLM provider */ export const getProvidersByIdOauthAuthorize = (options: Options): RequestResult => (options.client ?? client).get({ url: '/providers/{id}/oauth/authorize', ...options }); /** * Poll OAuth device authorization for an LLM provider */ export const postProvidersByIdOauthPoll = (options: Options): RequestResult => (options.client ?? client).post({ url: '/providers/{id}/oauth/poll', ...options }); /** * Get OAuth2 status for an LLM provider */ export const getProvidersByIdOauthStatus = (options: Options): RequestResult => (options.client ?? client).get({ url: '/providers/{id}/oauth/status', ...options }); /** * Revoke stored OAuth2 tokens for an LLM provider */ export const deleteProvidersByIdOauthToken = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/providers/{id}/oauth/token', ...options }); /** * Test provider connectivity * * Probe a provider's base URL to check reachability, supported client types, and embedding support */ export const postProvidersByIdTest = (options: Options): RequestResult => (options.client ?? client).post({ url: '/providers/{id}/test', ...options }); /** * List search providers * * List configured search providers */ export const getSearchProviders = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/search-providers', ...options }); /** * Create a search provider * * Create a search provider configuration */ export const postSearchProviders = (options: Options): RequestResult => (options.client ?? client).post({ url: '/search-providers', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List search provider metadata * * List available search provider types and config schemas */ export const getSearchProvidersMeta = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/search-providers/meta', ...options }); /** * Delete a search provider * * Delete search provider by ID */ export const deleteSearchProvidersById = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/search-providers/{id}', ...options }); /** * Get a search provider * * Get search provider by ID */ export const getSearchProvidersById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/search-providers/{id}', ...options }); /** * Update a search provider * * Update search provider by ID */ export const putSearchProvidersById = (options: Options): RequestResult => (options.client ?? client).put({ url: '/search-providers/{id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Resolve a public site's favicons for light and dark color schemes */ export const getSiteIcon = (options: Options): RequestResult => (options.client ?? client).get({ url: '/site-icon', ...options }); /** * List all speech models * * List all models of type 'speech' (filtered view of unified models table) */ export const getSpeechModels = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/speech-models', ...options }); /** * Get a speech model */ export const getSpeechModelsById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/speech-models/{id}', ...options }); /** * Update a speech model */ export const putSpeechModelsById = (options: Options): RequestResult => (options.client ?? client).put({ url: '/speech-models/{id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get speech model capabilities */ export const getSpeechModelsByIdCapabilities = (options: Options): RequestResult => (options.client ?? client).get({ url: '/speech-models/{id}/capabilities', ...options }); /** * Test speech model synthesis * * Synthesize text using a specific model's config and return audio */ export const postSpeechModelsByIdTest = (options: Options): RequestResult => (options.client ?? client).post({ url: '/speech-models/{id}/test', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List speech providers * * List providers that support speech (filtered view of unified providers table) */ export const getSpeechProviders = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/speech-providers', ...options }); /** * List speech provider metadata * * List available speech provider types with their models and capabilities */ export const getSpeechProvidersMeta = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/speech-providers/meta', ...options }); /** * Get speech provider * * Get a speech provider with masked config values */ export const getSpeechProvidersById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/speech-providers/{id}', ...options }); /** * Import speech models from provider * * Fetch models using the configured speech provider and import them into the unified models table */ export const postSpeechProvidersByIdImportModels = (options: Options): RequestResult => (options.client ?? client).post({ url: '/speech-providers/{id}/import-models', ...options }); /** * List speech models by provider * * List models of type 'speech' for a specific speech provider */ export const getSpeechProvidersByIdModels = (options: Options): RequestResult => (options.client ?? client).get({ url: '/speech-providers/{id}/models', ...options }); /** * List Skill Apps across supermarket Registries */ export const getSupermarketApps = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/supermarket/apps', ...options }); /** * Get a mirrored Skill icon */ export const getSupermarketArtifactsIconByDigest = (options: Options): RequestResult => (options.client ?? client).get({ url: '/supermarket/artifacts/icon/{digest}', ...options }); /** * List App categories with localized names */ export const getSupermarketCategories = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/supermarket/categories', ...options }); /** * List Skill Registries from supermarket */ export const getSupermarketRegistries = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/supermarket/registries', ...options }); /** * List Skill Apps in one Registry */ export const getSupermarketRegistriesByRegistryIdApps = (options: Options): RequestResult => (options.client ?? client).get({ url: '/supermarket/registries/{registry_id}/apps', ...options }); /** * Get a namespaced Skill App */ export const getSupermarketRegistriesByRegistryIdAppsByAppId = (options: Options): RequestResult => (options.client ?? client).get({ url: '/supermarket/registries/{registry_id}/apps/{app_id}', ...options }); /** * Get an immutable Skill App release */ export const getSupermarketRegistriesByRegistryIdAppsByAppIdReleasesByRevision = (options: Options): RequestResult => (options.client ?? client).get({ url: '/supermarket/registries/{registry_id}/apps/{app_id}/releases/{revision}', ...options }); /** * Get a namespaced Registry Skill */ export const getSupermarketRegistriesByRegistryIdAppsByAppIdSkillsBySkillId = (options: Options): RequestResult => (options.client ?? client).get({ url: '/supermarket/registries/{registry_id}/apps/{app_id}/skills/{skill_id}', ...options }); /** * List Skills across supermarket Registries */ export const getSupermarketSkills = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/supermarket/skills', ...options }); /** * List all transcription models * * List all models of type 'transcription' (filtered view of unified models table) */ export const getTranscriptionModels = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/transcription-models', ...options }); /** * Get a transcription model */ export const getTranscriptionModelsById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/transcription-models/{id}', ...options }); /** * Update a transcription model */ export const putTranscriptionModelsById = (options: Options): RequestResult => (options.client ?? client).put({ url: '/transcription-models/{id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get transcription model capabilities */ export const getTranscriptionModelsByIdCapabilities = (options: Options): RequestResult => (options.client ?? client).get({ url: '/transcription-models/{id}/capabilities', ...options }); /** * Test transcription model recognition * * Transcribe uploaded audio using a specific model's config and return structured text output */ export const postTranscriptionModelsByIdTest = (options: Options): RequestResult => (options.client ?? client).post({ ...formDataBodySerializer, url: '/transcription-models/{id}/test', ...options, headers: { 'Content-Type': null, ...options.headers } }); /** * List transcription providers * * List providers that support transcription (filtered view of unified providers table) */ export const getTranscriptionProviders = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/transcription-providers', ...options }); /** * List transcription provider metadata * * List available transcription provider types with their models and capabilities */ export const getTranscriptionProvidersMeta = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/transcription-providers/meta', ...options }); /** * Get speech provider * * Get a speech provider with masked config values */ export const getTranscriptionProvidersById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/transcription-providers/{id}', ...options }); /** * Import transcription models from provider * * Fetch models using the configured transcription provider and import them into the unified models table */ export const postTranscriptionProvidersByIdImportModels = (options: Options): RequestResult => (options.client ?? client).post({ url: '/transcription-providers/{id}/import-models', ...options }); /** * List transcription models by provider * * List models of type 'transcription' for a specific transcription provider */ export const getTranscriptionProvidersByIdModels = (options: Options): RequestResult => (options.client ?? client).get({ url: '/transcription-providers/{id}/models', ...options }); /** * List users (admin only) * * List users */ export const getUsers = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/users', ...options }); /** * Create human user (admin only) * * Create a new human user account */ export const postUsers = (options: Options): RequestResult => (options.client ?? client).post({ url: '/users', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Get current user * * Get current user profile */ export const getUsersMe = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/users/me', ...options }); /** * Update current user profile * * Update current user profile and preferences */ export const putUsersMe = (options: Options): RequestResult => (options.client ?? client).put({ url: '/users/me', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List connected channel identities * * List the IM channel identities bound to the current user's account */ export const getUsersMeChannelIdentities = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/users/me/channel-identities', ...options }); /** * Disconnect a channel identity * * Remove a channel identity binding from the current user's account */ export const deleteUsersMeChannelIdentitiesByChannelIdentityId = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/users/me/channel-identities/{channel_identity_id}', ...options }); /** * Issue an account link code * * Generate a one-time code to send as /link in IM to bind that channel identity to your account */ export const postUsersMeChannelLinks = (options?: Options): RequestResult => (options?.client ?? client).post({ url: '/users/me/channel-links', ...options, headers: { 'Content-Type': 'application/json', ...options?.headers } }); /** * Get channel user config * * Get channel binding configuration for current user */ export const getUsersMeChannelsByPlatform = (options: Options): RequestResult => (options.client ?? client).get({ url: '/users/me/channels/{platform}', ...options }); /** * Update channel user config * * Update channel binding configuration for current user */ export const putUsersMeChannelsByPlatform = (options: Options): RequestResult => (options.client ?? client).put({ url: '/users/me/channels/{platform}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List the caller's bot-to-Computer access grants * * Every live Remote Runtime mount held by the caller's bots, across all of their runtimes. */ export const getUsersMeComputerAccess = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/users/me/computer-access', ...options }); /** * Update current user password * * Update current user password with current password check */ export const putUsersMePassword = (options: Options): RequestResult => (options.client ?? client).put({ url: '/users/me/password', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List Remote Runtime credentials */ export const getUsersMeRuntimes = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/users/me/runtimes', ...options }); /** * Create a Remote Runtime credential * * Register a Remote Runtime and return its reusable API token. */ export const postUsersMeRuntimes = (options: Options): RequestResult => (options.client ?? client).post({ url: '/users/me/runtimes', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * Revoke a Remote Runtime credential */ export const deleteUsersMeRuntimesById = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/users/me/runtimes/{id}', ...options }); /** * Deactivate member (admin only) * * Deactivate the member in the current workspace without changing global credentials */ export const deleteUsersById = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/users/{id}', ...options }); /** * Get user by ID * * Get user details (self or admin only) */ export const getUsersById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/users/{id}', ...options }); /** * Update user (admin only) * * Update the user's role or membership status in the current workspace */ export const putUsersById = (options: Options): RequestResult => (options.client ?? client).put({ url: '/users/{id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List all video models */ export const getVideoModels = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/video-models', ...options }); /** * Get a video model */ export const getVideoModelsById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/video-models/{id}', ...options }); /** * Update a video model */ export const putVideoModelsById = (options: Options): RequestResult => (options.client ?? client).put({ url: '/video-models/{id}', ...options, headers: { 'Content-Type': 'application/json', ...options.headers } }); /** * List video providers * * List providers that support video generation */ export const getVideoProviders = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/video-providers', ...options }); /** * List video provider metadata * * List available video provider types with their models and capabilities */ export const getVideoProvidersMeta = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/video-providers/meta', ...options }); /** * Get video provider */ export const getVideoProvidersById = (options: Options): RequestResult => (options.client ?? client).get({ url: '/video-providers/{id}', ...options }); /** * Import video models from provider */ export const postVideoProvidersByIdImportModels = (options: Options): RequestResult => (options.client ?? client).post({ url: '/video-providers/{id}/import-models', ...options }); /** * List video models by provider */ export const getVideoProvidersByIdModels = (options: Options): RequestResult => (options.client ?? client).get({ url: '/video-providers/{id}/models', ...options }); /** * Get webhook tunnel status */ export const getWebhookTunnelStatus = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/webhook-tunnel/status', ...options }); /** * List published workspace dependency metadata * * Reads names, descriptions and verified icon URLs without inspecting or starting a bot workspace. */ export const getWorkspaceDependencies = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/workspace-dependencies', ...options }); /** * Read a cached verified dependency icon */ export const getWorkspaceDependenciesIconsByDigest = (options: Options): RequestResult => (options.client ?? client).get({ url: '/workspace-dependencies/icons/{digest}', ...options });