@alicloud/agentcore20260804 2.3.2 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +684 -228
- package/dist/client.js +1332 -303
- package/dist/client.js.map +1 -1
- package/dist/models/AddMemoriesRequest.d.ts +140 -0
- package/dist/models/AddMemoriesRequest.js +145 -0
- package/dist/models/AddMemoriesRequest.js.map +1 -0
- package/dist/models/AddMemoriesResponse.d.ts +19 -0
- package/dist/models/AddMemoriesResponse.js +69 -0
- package/dist/models/AddMemoriesResponse.js.map +1 -0
- package/dist/models/AddMemoriesResponseBody.d.ts +100 -0
- package/dist/models/AddMemoriesResponseBody.js +114 -0
- package/dist/models/AddMemoriesResponseBody.js.map +1 -0
- package/dist/models/AddMemoriesShrinkRequest.d.ts +20 -0
- package/dist/models/AddMemoriesShrinkRequest.js +58 -0
- package/dist/models/AddMemoriesShrinkRequest.js.map +1 -0
- package/dist/models/BatchDeleteModelsRequest.d.ts +1 -3
- package/dist/models/BatchDeleteModelsRequest.js +0 -2
- package/dist/models/BatchDeleteModelsRequest.js.map +1 -1
- package/dist/models/BatchDeleteModelsResponseBody.d.ts +3 -3
- package/dist/models/BatchDeleteModelsShrinkRequest.d.ts +1 -1
- package/dist/models/BatchUploadSkillsViaOssRequest.d.ts +1 -1
- package/dist/models/BatchUploadSkillsViaOssResponseBody.d.ts +1 -1
- package/dist/models/ConvertMcpToFreeEditRequest.d.ts +1 -1
- package/dist/models/ConvertMcpToFreeEditResponseBody.d.ts +51 -51
- package/dist/models/CreateAgentImchannelRequest.d.ts +5 -8
- package/dist/models/CreateAgentImchannelRequest.js.map +1 -1
- package/dist/models/CreateAgentImchannelResponseBody.d.ts +10 -13
- package/dist/models/CreateAgentImchannelResponseBody.js.map +1 -1
- package/dist/models/CreateAgentImchannelShrinkRequest.d.ts +1 -1
- package/dist/models/CreateAgentSpecRequest.d.ts +1 -1
- package/dist/models/CreateAgentSpecVersionRequest.d.ts +1 -1
- package/dist/models/CreateCredentialRequest.d.ts +8 -8
- package/dist/models/CreateCredentialResponseBody.d.ts +13 -13
- package/dist/models/CreateCustomAgentRequest.d.ts +66 -49
- package/dist/models/CreateCustomAgentRequest.js +27 -1
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +190 -57
- package/dist/models/CreateCustomAgentResponseBody.js +59 -1
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +1 -1
- package/dist/models/CreateExternalAgentBootstrapTokenRequest.d.ts +1 -3
- package/dist/models/CreateExternalAgentBootstrapTokenRequest.js.map +1 -1
- package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.d.ts +9 -11
- package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.js.map +1 -1
- package/dist/models/CreateIdentityProviderRequest.d.ts +7 -9
- package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
- package/dist/models/CreateIdentityProviderResponseBody.d.ts +9 -11
- package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/CreateImageCacheRequest.d.ts +122 -0
- package/dist/models/CreateImageCacheRequest.js +96 -0
- package/dist/models/CreateImageCacheRequest.js.map +1 -0
- package/dist/models/CreateImageCacheResponse.d.ts +19 -0
- package/dist/models/CreateImageCacheResponse.js +69 -0
- package/dist/models/CreateImageCacheResponse.js.map +1 -0
- package/dist/models/CreateImageCacheResponseBody.d.ts +260 -0
- package/dist/models/CreateImageCacheResponseBody.js +140 -0
- package/dist/models/CreateImageCacheResponseBody.js.map +1 -0
- package/dist/models/CreateImageCacheShrinkRequest.d.ts +50 -0
- package/dist/models/CreateImageCacheShrinkRequest.js +64 -0
- package/dist/models/CreateImageCacheShrinkRequest.js.map +1 -0
- package/dist/models/CreateMemoryStoreRequest.d.ts +66 -0
- package/dist/models/CreateMemoryStoreRequest.js +86 -0
- package/dist/models/CreateMemoryStoreRequest.js.map +1 -0
- package/dist/models/CreateMemoryStoreResponse.d.ts +19 -0
- package/dist/models/CreateMemoryStoreResponse.js +69 -0
- package/dist/models/CreateMemoryStoreResponse.js.map +1 -0
- package/dist/models/CreateMemoryStoreResponseBody.d.ts +131 -0
- package/dist/models/CreateMemoryStoreResponseBody.js +104 -0
- package/dist/models/CreateMemoryStoreResponseBody.js.map +1 -0
- package/dist/models/CreateMemoryStoreShrinkRequest.d.ts +28 -0
- package/dist/models/CreateMemoryStoreShrinkRequest.js +60 -0
- package/dist/models/CreateMemoryStoreShrinkRequest.js.map +1 -0
- package/dist/models/CreateModelConnectionRequest.d.ts +4 -4
- package/dist/models/CreateModelConnectionResponseBody.d.ts +13 -13
- package/dist/models/CreateModelConnectionShrinkRequest.d.ts +1 -1
- package/dist/models/CreateModelRequest.d.ts +6 -6
- package/dist/models/CreateModelResponseBody.d.ts +11 -11
- package/dist/models/CreateModelShrinkRequest.d.ts +1 -1
- package/dist/models/CreateTeamRequest.d.ts +4 -4
- package/dist/models/CreateTeamResponseBody.d.ts +7 -7
- package/dist/models/CreateUserRequest.d.ts +6 -6
- package/dist/models/CreateUserResponseBody.d.ts +11 -11
- package/dist/models/CreateWorkspaceRequest.d.ts +22 -10
- package/dist/models/CreateWorkspaceRequest.js +4 -0
- package/dist/models/CreateWorkspaceRequest.js.map +1 -1
- package/dist/models/CreateWorkspaceResponseBody.d.ts +29 -13
- package/dist/models/CreateWorkspaceResponseBody.js +4 -0
- package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
- package/dist/models/CreateWorkspaceShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteAgentSpecResponseBody.d.ts +1 -1
- package/dist/models/DeleteCredentialResponseBody.d.ts +2 -2
- package/dist/models/DeleteCustomAgentResponseBody.d.ts +11 -4
- package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -1
- package/dist/models/DeleteExternalAgentResponseBody.d.ts +6 -12
- package/dist/models/DeleteExternalAgentResponseBody.js.map +1 -1
- package/dist/models/DeleteImageCacheRequest.d.ts +33 -0
- package/dist/models/DeleteImageCacheRequest.js +60 -0
- package/dist/models/DeleteImageCacheRequest.js.map +1 -0
- package/dist/models/DeleteImageCacheResponse.d.ts +19 -0
- package/dist/models/DeleteImageCacheResponse.js +69 -0
- package/dist/models/DeleteImageCacheResponse.js.map +1 -0
- package/dist/models/DeleteImageCacheResponseBody.d.ts +102 -0
- package/dist/models/DeleteImageCacheResponseBody.js +92 -0
- package/dist/models/DeleteImageCacheResponseBody.js.map +1 -0
- package/dist/models/DeleteManagedAgentResponseBody.d.ts +6 -6
- package/dist/models/DeleteMcpResponseBody.d.ts +3 -3
- package/dist/models/DeleteMemoryRequest.d.ts +13 -0
- package/dist/models/DeleteMemoryRequest.js +54 -0
- package/dist/models/DeleteMemoryRequest.js.map +1 -0
- package/dist/models/DeleteMemoryResponse.d.ts +19 -0
- package/dist/models/DeleteMemoryResponse.js +69 -0
- package/dist/models/DeleteMemoryResponse.js.map +1 -0
- package/dist/models/DeleteMemoryResponseBody.d.ts +50 -0
- package/dist/models/DeleteMemoryResponseBody.js +66 -0
- package/dist/models/DeleteMemoryResponseBody.js.map +1 -0
- package/dist/models/DeleteMemoryStoreRequest.d.ts +13 -0
- package/dist/models/DeleteMemoryStoreRequest.js +54 -0
- package/dist/models/DeleteMemoryStoreRequest.js.map +1 -0
- package/dist/models/DeleteMemoryStoreResponse.d.ts +19 -0
- package/dist/models/DeleteMemoryStoreResponse.js +69 -0
- package/dist/models/DeleteMemoryStoreResponse.js.map +1 -0
- package/dist/models/DeleteMemoryStoreResponseBody.d.ts +131 -0
- package/dist/models/DeleteMemoryStoreResponseBody.js +104 -0
- package/dist/models/DeleteMemoryStoreResponseBody.js.map +1 -0
- package/dist/models/DeleteWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/DownloadAgentSpecViaOssRequest.d.ts +1 -1
- package/dist/models/GetAgentImchannelResponseBody.d.ts +11 -20
- package/dist/models/GetAgentImchannelResponseBody.js.map +1 -1
- package/dist/models/GetAgentSpecImportFileUrlRequest.d.ts +1 -1
- package/dist/models/GetAgentSpecImportFileUrlResponseBody.d.ts +3 -3
- package/dist/models/GetAgentSpecResponseBody.d.ts +9 -9
- package/dist/models/GetAgentSpecVersionResponseBody.d.ts +3 -3
- package/dist/models/GetCredentialResponseBody.d.ts +11 -11
- package/dist/models/GetCustomAgentResponseBody.d.ts +341 -9
- package/dist/models/GetCustomAgentResponseBody.js +31 -1
- package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
- package/dist/models/GetExternalAgentBootstrapOptionsResponseBody.d.ts +8 -10
- package/dist/models/GetExternalAgentBootstrapOptionsResponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderResponseBody.d.ts +20 -20
- package/dist/models/GetImageCacheRequest.d.ts +33 -0
- package/dist/models/GetImageCacheRequest.js +60 -0
- package/dist/models/GetImageCacheRequest.js.map +1 -0
- package/dist/models/GetImageCacheResponse.d.ts +19 -0
- package/dist/models/GetImageCacheResponse.js +69 -0
- package/dist/models/GetImageCacheResponse.js.map +1 -0
- package/dist/models/GetImageCacheResponseBody.d.ts +264 -0
- package/dist/models/GetImageCacheResponseBody.js +140 -0
- package/dist/models/GetImageCacheResponseBody.js.map +1 -0
- package/dist/models/GetMemoryRequest.d.ts +13 -0
- package/dist/models/GetMemoryRequest.js +54 -0
- package/dist/models/GetMemoryRequest.js.map +1 -0
- package/dist/models/GetMemoryResponse.d.ts +19 -0
- package/dist/models/GetMemoryResponse.js +69 -0
- package/dist/models/GetMemoryResponse.js.map +1 -0
- package/dist/models/GetMemoryResponseBody.d.ts +164 -0
- package/dist/models/GetMemoryResponseBody.js +151 -0
- package/dist/models/GetMemoryResponseBody.js.map +1 -0
- package/dist/models/GetMemoryStoreRequest.d.ts +13 -0
- package/dist/models/GetMemoryStoreRequest.js +54 -0
- package/dist/models/GetMemoryStoreRequest.js.map +1 -0
- package/dist/models/GetMemoryStoreResponse.d.ts +19 -0
- package/dist/models/GetMemoryStoreResponse.js +69 -0
- package/dist/models/GetMemoryStoreResponse.js.map +1 -0
- package/dist/models/GetMemoryStoreResponseBody.d.ts +131 -0
- package/dist/models/GetMemoryStoreResponseBody.js +104 -0
- package/dist/models/GetMemoryStoreResponseBody.js.map +1 -0
- package/dist/models/GetMemoryTaskRequest.d.ts +13 -0
- package/dist/models/GetMemoryTaskRequest.js +54 -0
- package/dist/models/GetMemoryTaskRequest.js.map +1 -0
- package/dist/models/GetMemoryTaskResponse.d.ts +19 -0
- package/dist/models/GetMemoryTaskResponse.js +69 -0
- package/dist/models/GetMemoryTaskResponse.js.map +1 -0
- package/dist/models/GetMemoryTaskResponseBody.d.ts +145 -0
- package/dist/models/GetMemoryTaskResponseBody.js +142 -0
- package/dist/models/GetMemoryTaskResponseBody.js.map +1 -0
- package/dist/models/GetModelConnectionResponseBody.d.ts +13 -13
- package/dist/models/GetModelResponseBody.d.ts +10 -10
- package/dist/models/GetServiceEndpointApiKeyResponseBody.d.ts +13 -14
- package/dist/models/GetServiceEndpointApiKeyResponseBody.js.map +1 -1
- package/dist/models/GetSkillImportFileUrlRequest.d.ts +1 -1
- package/dist/models/GetSkillImportFileUrlResponseBody.d.ts +4 -4
- package/dist/models/GetUserResponseBody.d.ts +10 -16
- package/dist/models/GetUserResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +3 -3
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +27 -5
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.d.ts +3 -3
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.d.ts +2 -2
- package/dist/models/GetWorkspaceResponseBody.d.ts +22 -6
- package/dist/models/GetWorkspaceResponseBody.js +4 -0
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
- package/dist/models/InstallWorkspacePluginRequest.d.ts +5 -5
- package/dist/models/InstallWorkspacePluginResponseBody.d.ts +2 -2
- package/dist/models/ListAgentTeamsRequest.d.ts +1 -1
- package/dist/models/ListAgentTeamsResponseBody.d.ts +6 -6
- package/dist/models/ListAgentTeamsShrinkRequest.d.ts +1 -1
- package/dist/models/ListCredentialsRequest.d.ts +2 -2
- package/dist/models/ListCredentialsResponseBody.d.ts +15 -15
- package/dist/models/ListCustomAgentsRequest.d.ts +1 -1
- package/dist/models/ListCustomAgentsResponseBody.d.ts +22 -12
- package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
- package/dist/models/ListExternalAgentsRequest.d.ts +1 -1
- package/dist/models/ListExternalAgentsResponseBody.d.ts +10 -16
- package/dist/models/ListExternalAgentsResponseBody.js.map +1 -1
- package/dist/models/ListIdentityProvidersRequest.d.ts +2 -2
- package/dist/models/ListIdentityProvidersResponseBody.d.ts +24 -15
- package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
- package/dist/models/ListImageCachesRequest.d.ts +113 -0
- package/dist/models/ListImageCachesRequest.js +80 -0
- package/dist/models/ListImageCachesRequest.js.map +1 -0
- package/dist/models/ListImageCachesResponse.d.ts +19 -0
- package/dist/models/ListImageCachesResponse.js +69 -0
- package/dist/models/ListImageCachesResponse.js.map +1 -0
- package/dist/models/ListImageCachesResponseBody.d.ts +290 -0
- package/dist/models/ListImageCachesResponseBody.js +146 -0
- package/dist/models/ListImageCachesResponseBody.js.map +1 -0
- package/dist/models/ListMemoriesRequest.d.ts +53 -0
- package/dist/models/ListMemoriesRequest.js +66 -0
- package/dist/models/ListMemoriesRequest.js.map +1 -0
- package/dist/models/ListMemoriesResponse.d.ts +19 -0
- package/dist/models/ListMemoriesResponse.js +69 -0
- package/dist/models/ListMemoriesResponse.js.map +1 -0
- package/dist/models/ListMemoriesResponseBody.d.ts +180 -0
- package/dist/models/ListMemoriesResponseBody.js +155 -0
- package/dist/models/ListMemoriesResponseBody.js.map +1 -0
- package/dist/models/ListMemorySessionMessagesRequest.d.ts +55 -0
- package/dist/models/ListMemorySessionMessagesRequest.js +66 -0
- package/dist/models/ListMemorySessionMessagesRequest.js.map +1 -0
- package/dist/models/ListMemorySessionMessagesResponse.d.ts +19 -0
- package/dist/models/ListMemorySessionMessagesResponse.js +69 -0
- package/dist/models/ListMemorySessionMessagesResponse.js.map +1 -0
- package/dist/models/ListMemorySessionMessagesResponseBody.d.ts +99 -0
- package/dist/models/ListMemorySessionMessagesResponseBody.js +96 -0
- package/dist/models/ListMemorySessionMessagesResponseBody.js.map +1 -0
- package/dist/models/ListMemorySessionsRequest.d.ts +45 -0
- package/dist/models/ListMemorySessionsRequest.js +64 -0
- package/dist/models/ListMemorySessionsRequest.js.map +1 -0
- package/dist/models/ListMemorySessionsResponse.d.ts +19 -0
- package/dist/models/ListMemorySessionsResponse.js +69 -0
- package/dist/models/ListMemorySessionsResponse.js.map +1 -0
- package/dist/models/ListMemorySessionsResponseBody.d.ts +107 -0
- package/dist/models/ListMemorySessionsResponseBody.js +98 -0
- package/dist/models/ListMemorySessionsResponseBody.js.map +1 -0
- package/dist/models/ListMemoryStoresRequest.d.ts +29 -0
- package/dist/models/ListMemoryStoresRequest.js +60 -0
- package/dist/models/ListMemoryStoresRequest.js.map +1 -0
- package/dist/models/ListMemoryStoresResponse.d.ts +19 -0
- package/dist/models/ListMemoryStoresResponse.js +69 -0
- package/dist/models/ListMemoryStoresResponse.js.map +1 -0
- package/dist/models/ListMemoryStoresResponseBody.d.ts +158 -0
- package/dist/models/ListMemoryStoresResponseBody.js +110 -0
- package/dist/models/ListMemoryStoresResponseBody.js.map +1 -0
- package/dist/models/ListPredefinedModelProvidersResponseBody.d.ts +64 -0
- package/dist/models/ListPredefinedModelProvidersResponseBody.js.map +1 -1
- package/dist/models/ListPredefinedModelsResponseBody.d.ts +9 -9
- package/dist/models/ListServiceEndpointsRequest.d.ts +8 -8
- package/dist/models/ListServiceEndpointsResponseBody.d.ts +19 -19
- package/dist/models/ListSkillReferencesRequest.d.ts +4 -4
- package/dist/models/ListSkillReferencesResponseBody.d.ts +6 -6
- package/dist/models/ListTeamsRequest.d.ts +3 -3
- package/dist/models/ListTeamsResponseBody.d.ts +12 -24
- package/dist/models/ListTeamsResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesRequest.d.ts +1 -1
- package/dist/models/ListWorkspacesResponseBody.d.ts +26 -14
- package/dist/models/ListWorkspacesResponseBody.js +4 -0
- package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
- package/dist/models/ResetUserPasswordRequest.d.ts +3 -3
- package/dist/models/ResetUserPasswordResponseBody.d.ts +3 -3
- package/dist/models/RetryImageCacheRequest.d.ts +60 -0
- package/dist/models/RetryImageCacheRequest.js +82 -0
- package/dist/models/RetryImageCacheRequest.js.map +1 -0
- package/dist/models/RetryImageCacheResponse.d.ts +19 -0
- package/dist/models/RetryImageCacheResponse.js +69 -0
- package/dist/models/RetryImageCacheResponse.js.map +1 -0
- package/dist/models/RetryImageCacheResponseBody.d.ts +264 -0
- package/dist/models/RetryImageCacheResponseBody.js +140 -0
- package/dist/models/RetryImageCacheResponseBody.js.map +1 -0
- package/dist/models/RetryImageCacheShrinkRequest.d.ts +48 -0
- package/dist/models/RetryImageCacheShrinkRequest.js +64 -0
- package/dist/models/RetryImageCacheShrinkRequest.js.map +1 -0
- package/dist/models/SearchMemoriesRequest.d.ts +119 -0
- package/dist/models/SearchMemoriesRequest.js +121 -0
- package/dist/models/SearchMemoriesRequest.js.map +1 -0
- package/dist/models/SearchMemoriesResponse.d.ts +19 -0
- package/dist/models/SearchMemoriesResponse.js +69 -0
- package/dist/models/SearchMemoriesResponse.js.map +1 -0
- package/dist/models/SearchMemoriesResponseBody.d.ts +214 -0
- package/dist/models/SearchMemoriesResponseBody.js +199 -0
- package/dist/models/SearchMemoriesResponseBody.js.map +1 -0
- package/dist/models/SearchMemoriesShrinkRequest.d.ts +20 -0
- package/dist/models/SearchMemoriesShrinkRequest.js +58 -0
- package/dist/models/SearchMemoriesShrinkRequest.js.map +1 -0
- package/dist/models/UpdateAgentImchannelCredentialRequest.d.ts +2 -2
- package/dist/models/UpdateAgentImchannelCredentialResponseBody.d.ts +6 -6
- package/dist/models/UpdateAgentImchannelCredentialShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateAgentImchannelRequest.d.ts +4 -4
- package/dist/models/UpdateAgentImchannelResponseBody.d.ts +9 -18
- package/dist/models/UpdateAgentImchannelResponseBody.js.map +1 -1
- package/dist/models/UpdateAgentImchannelShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateCredentialRequest.d.ts +6 -6
- package/dist/models/UpdateCredentialResponseBody.d.ts +10 -10
- package/dist/models/UpdateCustomAgentRequest.d.ts +62 -32
- package/dist/models/UpdateCustomAgentRequest.js +27 -1
- package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +191 -43
- package/dist/models/UpdateCustomAgentResponseBody.js +59 -1
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateMemoryRequest.d.ts +47 -0
- package/dist/models/UpdateMemoryRequest.js +85 -0
- package/dist/models/UpdateMemoryRequest.js.map +1 -0
- package/dist/models/UpdateMemoryResponse.d.ts +19 -0
- package/dist/models/UpdateMemoryResponse.js +69 -0
- package/dist/models/UpdateMemoryResponse.js.map +1 -0
- package/dist/models/UpdateMemoryResponseBody.d.ts +164 -0
- package/dist/models/UpdateMemoryResponseBody.js +151 -0
- package/dist/models/UpdateMemoryResponseBody.js.map +1 -0
- package/dist/models/UpdateMemoryShrinkRequest.d.ts +20 -0
- package/dist/models/UpdateMemoryShrinkRequest.js +58 -0
- package/dist/models/UpdateMemoryShrinkRequest.js.map +1 -0
- package/dist/models/UpdateMemoryStoreRequest.d.ts +56 -0
- package/dist/models/UpdateMemoryStoreRequest.js +84 -0
- package/dist/models/UpdateMemoryStoreRequest.js.map +1 -0
- package/dist/models/UpdateMemoryStoreResponse.d.ts +19 -0
- package/dist/models/UpdateMemoryStoreResponse.js +69 -0
- package/dist/models/UpdateMemoryStoreResponse.js.map +1 -0
- package/dist/models/UpdateMemoryStoreResponseBody.d.ts +131 -0
- package/dist/models/UpdateMemoryStoreResponseBody.js +104 -0
- package/dist/models/UpdateMemoryStoreResponseBody.js.map +1 -0
- package/dist/models/UpdateMemoryStoreShrinkRequest.d.ts +28 -0
- package/dist/models/UpdateMemoryStoreShrinkRequest.js +60 -0
- package/dist/models/UpdateMemoryStoreShrinkRequest.js.map +1 -0
- package/dist/models/UpdateModelConnectionRequest.d.ts +4 -4
- package/dist/models/UpdateModelConnectionResponseBody.d.ts +12 -12
- package/dist/models/UpdateModelConnectionShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateModelRequest.d.ts +31 -14
- package/dist/models/UpdateModelRequest.js.map +1 -1
- package/dist/models/UpdateModelResponseBody.d.ts +12 -12
- package/dist/models/UpdateModelShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateSkillBizTagsRequest.d.ts +1 -1
- package/dist/models/UpdateSkillScopeRequest.d.ts +1 -1
- package/dist/models/UpdateTeamRequest.d.ts +7 -13
- package/dist/models/UpdateTeamRequest.js.map +1 -1
- package/dist/models/UpdateTeamResponseBody.d.ts +11 -25
- package/dist/models/UpdateTeamResponseBody.js.map +1 -1
- package/dist/models/UpdateTeamShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateUserRequest.d.ts +3 -3
- package/dist/models/UpdateUserResponseBody.d.ts +8 -8
- package/dist/models/UpdateWorkspaceRequest.d.ts +21 -7
- package/dist/models/UpdateWorkspaceRequest.js +4 -0
- package/dist/models/UpdateWorkspaceRequest.js.map +1 -1
- package/dist/models/UpdateWorkspaceResponseBody.d.ts +26 -10
- package/dist/models/UpdateWorkspaceResponseBody.js +4 -0
- package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
- package/dist/models/UpdateWorkspaceShrinkRequest.d.ts +1 -1
- package/dist/models/UploadAgentSpecViaOssRequest.d.ts +3 -3
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.d.ts +3 -3
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +37 -7
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +116 -0
- package/dist/models/model.js +320 -85
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1456 -335
- package/src/models/AddMemoriesRequest.ts +209 -0
- package/src/models/AddMemoriesResponse.ts +40 -0
- package/src/models/AddMemoriesResponseBody.ts +151 -0
- package/src/models/AddMemoriesShrinkRequest.ts +33 -0
- package/src/models/BatchDeleteModelsRequest.ts +1 -3
- package/src/models/BatchDeleteModelsResponseBody.ts +3 -3
- package/src/models/BatchDeleteModelsShrinkRequest.ts +1 -1
- package/src/models/BatchUploadSkillsViaOssRequest.ts +1 -1
- package/src/models/BatchUploadSkillsViaOssResponseBody.ts +1 -1
- package/src/models/ConvertMcpToFreeEditRequest.ts +1 -1
- package/src/models/ConvertMcpToFreeEditResponseBody.ts +51 -51
- package/src/models/CreateAgentImchannelRequest.ts +5 -8
- package/src/models/CreateAgentImchannelResponseBody.ts +10 -13
- package/src/models/CreateAgentImchannelShrinkRequest.ts +1 -1
- package/src/models/CreateAgentSpecRequest.ts +1 -1
- package/src/models/CreateAgentSpecVersionRequest.ts +1 -1
- package/src/models/CreateCredentialRequest.ts +8 -8
- package/src/models/CreateCredentialResponseBody.ts +13 -13
- package/src/models/CreateCustomAgentRequest.ts +83 -49
- package/src/models/CreateCustomAgentResponseBody.ts +230 -57
- package/src/models/CreateCustomAgentShrinkRequest.ts +1 -1
- package/src/models/CreateExternalAgentBootstrapTokenRequest.ts +1 -3
- package/src/models/CreateExternalAgentBootstrapTokenResponseBody.ts +9 -11
- package/src/models/CreateIdentityProviderRequest.ts +7 -9
- package/src/models/CreateIdentityProviderResponseBody.ts +9 -11
- package/src/models/CreateImageCacheRequest.ts +164 -0
- package/src/models/CreateImageCacheResponse.ts +40 -0
- package/src/models/CreateImageCacheResponseBody.ts +337 -0
- package/src/models/CreateImageCacheShrinkRequest.ts +69 -0
- package/src/models/CreateMemoryStoreRequest.ts +98 -0
- package/src/models/CreateMemoryStoreResponse.ts +40 -0
- package/src/models/CreateMemoryStoreResponseBody.ts +181 -0
- package/src/models/CreateMemoryStoreShrinkRequest.ts +43 -0
- package/src/models/CreateModelConnectionRequest.ts +4 -4
- package/src/models/CreateModelConnectionResponseBody.ts +13 -13
- package/src/models/CreateModelConnectionShrinkRequest.ts +1 -1
- package/src/models/CreateModelRequest.ts +6 -6
- package/src/models/CreateModelResponseBody.ts +11 -11
- package/src/models/CreateModelShrinkRequest.ts +1 -1
- package/src/models/CreateTeamRequest.ts +4 -4
- package/src/models/CreateTeamResponseBody.ts +7 -7
- package/src/models/CreateUserRequest.ts +6 -6
- package/src/models/CreateUserResponseBody.ts +11 -11
- package/src/models/CreateWorkspaceRequest.ts +26 -10
- package/src/models/CreateWorkspaceResponseBody.ts +33 -13
- package/src/models/CreateWorkspaceShrinkRequest.ts +1 -1
- package/src/models/DeleteAgentSpecResponseBody.ts +1 -1
- package/src/models/DeleteCredentialResponseBody.ts +2 -2
- package/src/models/DeleteCustomAgentResponseBody.ts +11 -4
- package/src/models/DeleteExternalAgentResponseBody.ts +6 -12
- package/src/models/DeleteImageCacheRequest.ts +48 -0
- package/src/models/DeleteImageCacheResponse.ts +40 -0
- package/src/models/DeleteImageCacheResponseBody.ts +140 -0
- package/src/models/DeleteManagedAgentResponseBody.ts +6 -6
- package/src/models/DeleteMcpResponseBody.ts +3 -3
- package/src/models/DeleteMemoryRequest.ts +24 -0
- package/src/models/DeleteMemoryResponse.ts +40 -0
- package/src/models/DeleteMemoryResponseBody.ts +71 -0
- package/src/models/DeleteMemoryStoreRequest.ts +24 -0
- package/src/models/DeleteMemoryStoreResponse.ts +40 -0
- package/src/models/DeleteMemoryStoreResponseBody.ts +181 -0
- package/src/models/DeleteWorkspaceResponseBody.ts +1 -1
- package/src/models/DownloadAgentSpecViaOssRequest.ts +1 -1
- package/src/models/GetAgentImchannelResponseBody.ts +11 -20
- package/src/models/GetAgentSpecImportFileUrlRequest.ts +1 -1
- package/src/models/GetAgentSpecImportFileUrlResponseBody.ts +3 -3
- package/src/models/GetAgentSpecResponseBody.ts +9 -9
- package/src/models/GetAgentSpecVersionResponseBody.ts +3 -3
- package/src/models/GetCredentialResponseBody.ts +11 -11
- package/src/models/GetCustomAgentResponseBody.ts +362 -9
- package/src/models/GetExternalAgentBootstrapOptionsResponseBody.ts +8 -10
- package/src/models/GetIdentityProviderResponseBody.ts +20 -20
- package/src/models/GetImageCacheRequest.ts +48 -0
- package/src/models/GetImageCacheResponse.ts +40 -0
- package/src/models/GetImageCacheResponseBody.ts +341 -0
- package/src/models/GetMemoryRequest.ts +24 -0
- package/src/models/GetMemoryResponse.ts +40 -0
- package/src/models/GetMemoryResponseBody.ts +241 -0
- package/src/models/GetMemoryStoreRequest.ts +24 -0
- package/src/models/GetMemoryStoreResponse.ts +40 -0
- package/src/models/GetMemoryStoreResponseBody.ts +181 -0
- package/src/models/GetMemoryTaskRequest.ts +24 -0
- package/src/models/GetMemoryTaskResponse.ts +40 -0
- package/src/models/GetMemoryTaskResponseBody.ts +215 -0
- package/src/models/GetModelConnectionResponseBody.ts +13 -13
- package/src/models/GetModelResponseBody.ts +10 -10
- package/src/models/GetServiceEndpointApiKeyResponseBody.ts +13 -14
- package/src/models/GetSkillImportFileUrlRequest.ts +1 -1
- package/src/models/GetSkillImportFileUrlResponseBody.ts +4 -4
- package/src/models/GetUserResponseBody.ts +10 -16
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +3 -3
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +27 -5
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.ts +3 -3
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.ts +2 -2
- package/src/models/GetWorkspaceResponseBody.ts +26 -6
- package/src/models/InstallWorkspacePluginRequest.ts +5 -5
- package/src/models/InstallWorkspacePluginResponseBody.ts +2 -2
- package/src/models/ListAgentTeamsRequest.ts +1 -1
- package/src/models/ListAgentTeamsResponseBody.ts +6 -6
- package/src/models/ListAgentTeamsShrinkRequest.ts +1 -1
- package/src/models/ListCredentialsRequest.ts +2 -2
- package/src/models/ListCredentialsResponseBody.ts +15 -15
- package/src/models/ListCustomAgentsRequest.ts +1 -1
- package/src/models/ListCustomAgentsResponseBody.ts +22 -12
- package/src/models/ListExternalAgentsRequest.ts +1 -1
- package/src/models/ListExternalAgentsResponseBody.ts +10 -16
- package/src/models/ListIdentityProvidersRequest.ts +2 -2
- package/src/models/ListIdentityProvidersResponseBody.ts +24 -15
- package/src/models/ListImageCachesRequest.ts +148 -0
- package/src/models/ListImageCachesResponse.ts +40 -0
- package/src/models/ListImageCachesResponseBody.ts +373 -0
- package/src/models/ListMemoriesRequest.ts +74 -0
- package/src/models/ListMemoriesResponse.ts +40 -0
- package/src/models/ListMemoriesResponseBody.ts +261 -0
- package/src/models/ListMemorySessionMessagesRequest.ts +76 -0
- package/src/models/ListMemorySessionMessagesResponse.ts +40 -0
- package/src/models/ListMemorySessionMessagesResponseBody.ts +141 -0
- package/src/models/ListMemorySessionsRequest.ts +64 -0
- package/src/models/ListMemorySessionsResponse.ts +40 -0
- package/src/models/ListMemorySessionsResponseBody.ts +151 -0
- package/src/models/ListMemoryStoresRequest.ts +44 -0
- package/src/models/ListMemoryStoresResponse.ts +40 -0
- package/src/models/ListMemoryStoresResponseBody.ts +214 -0
- package/src/models/ListPredefinedModelProvidersResponseBody.ts +64 -0
- package/src/models/ListPredefinedModelsResponseBody.ts +9 -9
- package/src/models/ListServiceEndpointsRequest.ts +8 -8
- package/src/models/ListServiceEndpointsResponseBody.ts +19 -19
- package/src/models/ListSkillReferencesRequest.ts +4 -4
- package/src/models/ListSkillReferencesResponseBody.ts +6 -6
- package/src/models/ListTeamsRequest.ts +3 -3
- package/src/models/ListTeamsResponseBody.ts +12 -24
- package/src/models/ListWorkspacesRequest.ts +1 -1
- package/src/models/ListWorkspacesResponseBody.ts +30 -14
- package/src/models/ResetUserPasswordRequest.ts +3 -3
- package/src/models/ResetUserPasswordResponseBody.ts +3 -3
- package/src/models/RetryImageCacheRequest.ts +90 -0
- package/src/models/RetryImageCacheResponse.ts +40 -0
- package/src/models/RetryImageCacheResponseBody.ts +341 -0
- package/src/models/RetryImageCacheShrinkRequest.ts +67 -0
- package/src/models/SearchMemoriesRequest.ts +175 -0
- package/src/models/SearchMemoriesResponse.ts +40 -0
- package/src/models/SearchMemoriesResponseBody.ts +321 -0
- package/src/models/SearchMemoriesShrinkRequest.ts +33 -0
- package/src/models/UpdateAgentImchannelCredentialRequest.ts +2 -2
- package/src/models/UpdateAgentImchannelCredentialResponseBody.ts +6 -6
- package/src/models/UpdateAgentImchannelCredentialShrinkRequest.ts +1 -1
- package/src/models/UpdateAgentImchannelRequest.ts +4 -4
- package/src/models/UpdateAgentImchannelResponseBody.ts +9 -18
- package/src/models/UpdateAgentImchannelShrinkRequest.ts +1 -1
- package/src/models/UpdateCredentialRequest.ts +6 -6
- package/src/models/UpdateCredentialResponseBody.ts +10 -10
- package/src/models/UpdateCustomAgentRequest.ts +79 -32
- package/src/models/UpdateCustomAgentResponseBody.ts +231 -43
- package/src/models/UpdateCustomAgentShrinkRequest.ts +2 -2
- package/src/models/UpdateMemoryRequest.ts +76 -0
- package/src/models/UpdateMemoryResponse.ts +40 -0
- package/src/models/UpdateMemoryResponseBody.ts +241 -0
- package/src/models/UpdateMemoryShrinkRequest.ts +33 -0
- package/src/models/UpdateMemoryStoreRequest.ts +86 -0
- package/src/models/UpdateMemoryStoreResponse.ts +40 -0
- package/src/models/UpdateMemoryStoreResponseBody.ts +181 -0
- package/src/models/UpdateMemoryStoreShrinkRequest.ts +43 -0
- package/src/models/UpdateModelConnectionRequest.ts +4 -4
- package/src/models/UpdateModelConnectionResponseBody.ts +12 -12
- package/src/models/UpdateModelConnectionShrinkRequest.ts +1 -1
- package/src/models/UpdateModelRequest.ts +31 -14
- package/src/models/UpdateModelResponseBody.ts +12 -12
- package/src/models/UpdateModelShrinkRequest.ts +2 -2
- package/src/models/UpdateSkillBizTagsRequest.ts +1 -1
- package/src/models/UpdateSkillScopeRequest.ts +1 -1
- package/src/models/UpdateTeamRequest.ts +7 -13
- package/src/models/UpdateTeamResponseBody.ts +11 -25
- package/src/models/UpdateTeamShrinkRequest.ts +1 -1
- package/src/models/UpdateUserRequest.ts +3 -3
- package/src/models/UpdateUserResponseBody.ts +8 -8
- package/src/models/UpdateWorkspaceRequest.ts +25 -7
- package/src/models/UpdateWorkspaceResponseBody.ts +30 -10
- package/src/models/UpdateWorkspaceShrinkRequest.ts +1 -1
- package/src/models/UploadAgentSpecViaOssRequest.ts +3 -3
- package/src/models/VerifyWorkspaceAcrRamAuthorizationRequest.ts +3 -3
- package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +37 -7
- package/src/models/model.ts +116 -0
package/dist/client.js
CHANGED
|
@@ -62,7 +62,60 @@ class Client extends openapi_core_1.default {
|
|
|
62
62
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
|
|
66
|
+
*
|
|
67
|
+
* @remarks
|
|
68
|
+
* Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
|
|
69
|
+
*
|
|
70
|
+
* @param tmpReq - AddMemoriesRequest
|
|
71
|
+
* @param headers - map
|
|
72
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
73
|
+
* @returns AddMemoriesResponse
|
|
74
|
+
*/
|
|
75
|
+
async addMemoriesWithOptions(workspaceId, memoryStoreName, tmpReq, headers, runtime) {
|
|
76
|
+
tmpReq.validate();
|
|
77
|
+
let request = new $_model.AddMemoriesShrinkRequest({});
|
|
78
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
79
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
80
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
81
|
+
}
|
|
82
|
+
let body = {};
|
|
83
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
84
|
+
body["body"] = request.bodyShrink;
|
|
85
|
+
}
|
|
86
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
87
|
+
headers: headers,
|
|
88
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
89
|
+
});
|
|
90
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
91
|
+
action: "AddMemories",
|
|
92
|
+
version: "2026-08-04",
|
|
93
|
+
protocol: "HTTPS",
|
|
94
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories`,
|
|
95
|
+
method: "POST",
|
|
96
|
+
authType: "AK",
|
|
97
|
+
style: "ROA",
|
|
98
|
+
reqBodyType: "formData",
|
|
99
|
+
bodyType: "json",
|
|
100
|
+
});
|
|
101
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddMemoriesResponse({}));
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
|
|
105
|
+
*
|
|
106
|
+
* @remarks
|
|
107
|
+
* Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
|
|
108
|
+
*
|
|
109
|
+
* @param request - AddMemoriesRequest
|
|
110
|
+
* @returns AddMemoriesResponse
|
|
111
|
+
*/
|
|
112
|
+
async addMemories(workspaceId, memoryStoreName, request) {
|
|
113
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
114
|
+
let headers = {};
|
|
115
|
+
return await this.addMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Deletes multiple models in a specified workspace. If any model is in use, the entire batch request fails.
|
|
66
119
|
*
|
|
67
120
|
* @param tmpReq - BatchDeleteModelsRequest
|
|
68
121
|
* @param headers - map
|
|
@@ -103,7 +156,7 @@ class Client extends openapi_core_1.default {
|
|
|
103
156
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchDeleteModelsResponse({}));
|
|
104
157
|
}
|
|
105
158
|
/**
|
|
106
|
-
* Deletes models in a specified workspace
|
|
159
|
+
* Deletes multiple models in a specified workspace. If any model is in use, the entire batch request fails.
|
|
107
160
|
*
|
|
108
161
|
* @param request - BatchDeleteModelsRequest
|
|
109
162
|
* @returns BatchDeleteModelsResponse
|
|
@@ -114,11 +167,11 @@ class Client extends openapi_core_1.default {
|
|
|
114
167
|
return await this.batchDeleteModelsWithOptions(workspaceId, request, headers, runtime);
|
|
115
168
|
}
|
|
116
169
|
/**
|
|
117
|
-
* Uploads
|
|
170
|
+
* Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
|
|
118
171
|
*
|
|
119
172
|
* @remarks
|
|
120
|
-
* ##
|
|
121
|
-
* Uploads
|
|
173
|
+
* ## Request description
|
|
174
|
+
* Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
|
|
122
175
|
*
|
|
123
176
|
* @param tmpReq - BatchUploadSkillsViaOssRequest
|
|
124
177
|
* @param headers - map
|
|
@@ -154,11 +207,11 @@ class Client extends openapi_core_1.default {
|
|
|
154
207
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchUploadSkillsViaOssResponse({}));
|
|
155
208
|
}
|
|
156
209
|
/**
|
|
157
|
-
* Uploads
|
|
210
|
+
* Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
|
|
158
211
|
*
|
|
159
212
|
* @remarks
|
|
160
|
-
* ##
|
|
161
|
-
* Uploads
|
|
213
|
+
* ## Request description
|
|
214
|
+
* Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
|
|
162
215
|
*
|
|
163
216
|
* @param request - BatchUploadSkillsViaOssRequest
|
|
164
217
|
* @returns BatchUploadSkillsViaOssResponse
|
|
@@ -169,10 +222,10 @@ class Client extends openapi_core_1.default {
|
|
|
169
222
|
return await this.batchUploadSkillsViaOssWithOptions(workspaceId, request, headers, runtime);
|
|
170
223
|
}
|
|
171
224
|
/**
|
|
172
|
-
* Converts an MCP to free
|
|
225
|
+
* Converts an MCP to free-edit mode.
|
|
173
226
|
*
|
|
174
227
|
* @remarks
|
|
175
|
-
* Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
|
|
228
|
+
* Disables template usage constraints. After the conversion, the MCP retains its source and tags, but no longer appears on the usage page.
|
|
176
229
|
*
|
|
177
230
|
* @param request - ConvertMcpToFreeEditRequest
|
|
178
231
|
* @param headers - map
|
|
@@ -203,10 +256,10 @@ class Client extends openapi_core_1.default {
|
|
|
203
256
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ConvertMcpToFreeEditResponse({}));
|
|
204
257
|
}
|
|
205
258
|
/**
|
|
206
|
-
* Converts an MCP to free
|
|
259
|
+
* Converts an MCP to free-edit mode.
|
|
207
260
|
*
|
|
208
261
|
* @remarks
|
|
209
|
-
* Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
|
|
262
|
+
* Disables template usage constraints. After the conversion, the MCP retains its source and tags, but no longer appears on the usage page.
|
|
210
263
|
*
|
|
211
264
|
* @param request - ConvertMcpToFreeEditRequest
|
|
212
265
|
* @returns ConvertMcpToFreeEditResponse
|
|
@@ -217,10 +270,10 @@ class Client extends openapi_core_1.default {
|
|
|
217
270
|
return await this.convertMcpToFreeEditWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
218
271
|
}
|
|
219
272
|
/**
|
|
220
|
-
* Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
|
|
273
|
+
* Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
|
|
221
274
|
*
|
|
222
275
|
* @remarks
|
|
223
|
-
* Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
|
|
276
|
+
* Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
|
|
224
277
|
*
|
|
225
278
|
* @param tmpReq - CreateAgentIMChannelRequest
|
|
226
279
|
* @param headers - map
|
|
@@ -261,10 +314,10 @@ class Client extends openapi_core_1.default {
|
|
|
261
314
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAgentIMChannelResponse({}));
|
|
262
315
|
}
|
|
263
316
|
/**
|
|
264
|
-
* Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
|
|
317
|
+
* Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
|
|
265
318
|
*
|
|
266
319
|
* @remarks
|
|
267
|
-
* Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
|
|
320
|
+
* Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
|
|
268
321
|
*
|
|
269
322
|
* @param request - CreateAgentIMChannelRequest
|
|
270
323
|
* @returns CreateAgentIMChannelResponse
|
|
@@ -275,11 +328,11 @@ class Client extends openapi_core_1.default {
|
|
|
275
328
|
return await this.createAgentIMChannelWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
276
329
|
}
|
|
277
330
|
/**
|
|
278
|
-
* Creates an AgentSpec in
|
|
331
|
+
* Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
|
|
279
332
|
*
|
|
280
333
|
* @remarks
|
|
281
|
-
* ##
|
|
282
|
-
* Creates an AgentSpec in
|
|
334
|
+
* ## Request description
|
|
335
|
+
* Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
|
|
283
336
|
*
|
|
284
337
|
* @param tmpReq - CreateAgentSpecRequest
|
|
285
338
|
* @param headers - map
|
|
@@ -315,11 +368,11 @@ class Client extends openapi_core_1.default {
|
|
|
315
368
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAgentSpecResponse({}));
|
|
316
369
|
}
|
|
317
370
|
/**
|
|
318
|
-
* Creates an AgentSpec in
|
|
371
|
+
* Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
|
|
319
372
|
*
|
|
320
373
|
* @remarks
|
|
321
|
-
* ##
|
|
322
|
-
* Creates an AgentSpec in
|
|
374
|
+
* ## Request description
|
|
375
|
+
* Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
|
|
323
376
|
*
|
|
324
377
|
* @param request - CreateAgentSpecRequest
|
|
325
378
|
* @returns CreateAgentSpecResponse
|
|
@@ -330,11 +383,11 @@ class Client extends openapi_core_1.default {
|
|
|
330
383
|
return await this.createAgentSpecWithOptions(workspaceId, request, headers, runtime);
|
|
331
384
|
}
|
|
332
385
|
/**
|
|
333
|
-
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist
|
|
386
|
+
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
|
|
334
387
|
*
|
|
335
388
|
* @remarks
|
|
336
389
|
* ## Request description
|
|
337
|
-
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist
|
|
390
|
+
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
|
|
338
391
|
*
|
|
339
392
|
* @param tmpReq - CreateAgentSpecVersionRequest
|
|
340
393
|
* @param headers - map
|
|
@@ -370,11 +423,11 @@ class Client extends openapi_core_1.default {
|
|
|
370
423
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAgentSpecVersionResponse({}));
|
|
371
424
|
}
|
|
372
425
|
/**
|
|
373
|
-
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist
|
|
426
|
+
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
|
|
374
427
|
*
|
|
375
428
|
* @remarks
|
|
376
429
|
* ## Request description
|
|
377
|
-
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist
|
|
430
|
+
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
|
|
378
431
|
*
|
|
379
432
|
* @param request - CreateAgentSpecVersionRequest
|
|
380
433
|
* @returns CreateAgentSpecVersionResponse
|
|
@@ -385,7 +438,7 @@ class Client extends openapi_core_1.default {
|
|
|
385
438
|
return await this.createAgentSpecVersionWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
386
439
|
}
|
|
387
440
|
/**
|
|
388
|
-
* Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed
|
|
441
|
+
* Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed as a JSON string through credentialMetadata and can only be queried in a desensitized format after it is written.
|
|
389
442
|
*
|
|
390
443
|
* @remarks
|
|
391
444
|
* Creates a credential in a workspace for authentication of services such as Connector.
|
|
@@ -429,7 +482,7 @@ class Client extends openapi_core_1.default {
|
|
|
429
482
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCredentialResponse({}));
|
|
430
483
|
}
|
|
431
484
|
/**
|
|
432
|
-
* Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed
|
|
485
|
+
* Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed as a JSON string through credentialMetadata and can only be queried in a desensitized format after it is written.
|
|
433
486
|
*
|
|
434
487
|
* @remarks
|
|
435
488
|
* Creates a credential in a workspace for authentication of services such as Connector.
|
|
@@ -443,13 +496,13 @@ class Client extends openapi_core_1.default {
|
|
|
443
496
|
return await this.createCredentialWithOptions(workspaceId, request, headers, runtime);
|
|
444
497
|
}
|
|
445
498
|
/**
|
|
446
|
-
* Creates a custom agent in a specified workspace and submits
|
|
499
|
+
* Creates a custom agent in a specified workspace and submits a container image deployment configuration. The creation is an asynchronous process. You can call GetCustomAgent to query the deployment result.
|
|
447
500
|
*
|
|
448
501
|
* @remarks
|
|
449
|
-
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and
|
|
502
|
+
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and a runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
|
|
450
503
|
* Currently, only ACR container image deployment is supported. Use artifact.container and specify the service listening port in artifact.port. Omit artifact.code. The image must have the required access permissions and be accessible over the network allowed by the workspace.
|
|
451
|
-
* The creation
|
|
452
|
-
* The clientToken parameter does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
|
|
504
|
+
* The creation is an asynchronous process. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure an access endpoint.
|
|
505
|
+
* The clientToken parameter does not currently provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not currently take effect. Omit this parameter.
|
|
453
506
|
*
|
|
454
507
|
* @param tmpReq - CreateCustomAgentRequest
|
|
455
508
|
* @param headers - map
|
|
@@ -490,13 +543,13 @@ class Client extends openapi_core_1.default {
|
|
|
490
543
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCustomAgentResponse({}));
|
|
491
544
|
}
|
|
492
545
|
/**
|
|
493
|
-
* Creates a custom agent in a specified workspace and submits
|
|
546
|
+
* Creates a custom agent in a specified workspace and submits a container image deployment configuration. The creation is an asynchronous process. You can call GetCustomAgent to query the deployment result.
|
|
494
547
|
*
|
|
495
548
|
* @remarks
|
|
496
|
-
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and
|
|
549
|
+
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and a runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
|
|
497
550
|
* Currently, only ACR container image deployment is supported. Use artifact.container and specify the service listening port in artifact.port. Omit artifact.code. The image must have the required access permissions and be accessible over the network allowed by the workspace.
|
|
498
|
-
* The creation
|
|
499
|
-
* The clientToken parameter does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
|
|
551
|
+
* The creation is an asynchronous process. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure an access endpoint.
|
|
552
|
+
* The clientToken parameter does not currently provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not currently take effect. Omit this parameter.
|
|
500
553
|
*
|
|
501
554
|
* @param request - CreateCustomAgentRequest
|
|
502
555
|
* @returns CreateCustomAgentResponse
|
|
@@ -565,10 +618,10 @@ class Client extends openapi_core_1.default {
|
|
|
565
618
|
return await this.createExternalAgentWithOptions(workspaceId, request, headers, runtime);
|
|
566
619
|
}
|
|
567
620
|
/**
|
|
568
|
-
* Creates
|
|
621
|
+
* Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
|
|
569
622
|
*
|
|
570
623
|
* @remarks
|
|
571
|
-
* Creates
|
|
624
|
+
* Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
|
|
572
625
|
*
|
|
573
626
|
* @param request - CreateExternalAgentBootstrapTokenRequest
|
|
574
627
|
* @param headers - map
|
|
@@ -599,10 +652,10 @@ class Client extends openapi_core_1.default {
|
|
|
599
652
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateExternalAgentBootstrapTokenResponse({}));
|
|
600
653
|
}
|
|
601
654
|
/**
|
|
602
|
-
* Creates
|
|
655
|
+
* Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
|
|
603
656
|
*
|
|
604
657
|
* @remarks
|
|
605
|
-
* Creates
|
|
658
|
+
* Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
|
|
606
659
|
*
|
|
607
660
|
* @param request - CreateExternalAgentBootstrapTokenRequest
|
|
608
661
|
* @returns CreateExternalAgentBootstrapTokenResponse
|
|
@@ -613,7 +666,7 @@ class Client extends openapi_core_1.default {
|
|
|
613
666
|
return await this.createExternalAgentBootstrapTokenWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
614
667
|
}
|
|
615
668
|
/**
|
|
616
|
-
* Binds an external identity provider to a specified workspace
|
|
669
|
+
* Binds an external identity provider to a specified workspace to enable single sign-on and organization member synchronization for workspace users. Each workspace can be bound to a maximum of one external identity provider. This is an asynchronous operation. After the API call returns, you can call GetIdentityProvider to query the status and track the progress.
|
|
617
670
|
*
|
|
618
671
|
* @param tmpReq - CreateIdentityProviderRequest
|
|
619
672
|
* @param headers - map
|
|
@@ -649,7 +702,7 @@ class Client extends openapi_core_1.default {
|
|
|
649
702
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateIdentityProviderResponse({}));
|
|
650
703
|
}
|
|
651
704
|
/**
|
|
652
|
-
* Binds an external identity provider to a specified workspace
|
|
705
|
+
* Binds an external identity provider to a specified workspace to enable single sign-on and organization member synchronization for workspace users. Each workspace can be bound to a maximum of one external identity provider. This is an asynchronous operation. After the API call returns, you can call GetIdentityProvider to query the status and track the progress.
|
|
653
706
|
*
|
|
654
707
|
* @param request - CreateIdentityProviderRequest
|
|
655
708
|
* @returns CreateIdentityProviderResponse
|
|
@@ -659,6 +712,70 @@ class Client extends openapi_core_1.default {
|
|
|
659
712
|
let headers = {};
|
|
660
713
|
return await this.createIdentityProviderWithOptions(workspaceId, request, headers, runtime);
|
|
661
714
|
}
|
|
715
|
+
/**
|
|
716
|
+
* Creates an image cache.
|
|
717
|
+
*
|
|
718
|
+
* @remarks
|
|
719
|
+
* Creates or reuses an image cache in the current workspace based on the image source and tag. Both public and private images uniformly reuse the workspace\\"s source image pull authorization and resource roles. The resource manager parses the tag during the transfer node and performs image replication based on the parsed summary. The digest is empty before parsing is complete. For regular tags, the saved summary is reused after parsing. For the latest tag, it is parsed again when registered after reaching the desired state, and duplicate registrations in progress reuse the node. The logical imageId remains stable. accessInternet and accessVpc only determine the source reading and transfer for the current request and do not modify the agent network. An HTTP 200 response returns an acceptance snapshot of PENDING, READY, or FAILED, which does not indicate that the creation is complete. ClientToken does not guarantee to deduplicate requests or recover the original result. If the result is unconfirmed, query the query cache status first before deciding whether to recommit.
|
|
720
|
+
*
|
|
721
|
+
* @param tmpReq - CreateImageCacheRequest
|
|
722
|
+
* @param headers - map
|
|
723
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
724
|
+
* @returns CreateImageCacheResponse
|
|
725
|
+
*/
|
|
726
|
+
async createImageCacheWithOptions(tmpReq, headers, runtime) {
|
|
727
|
+
tmpReq.validate();
|
|
728
|
+
let request = new $_model.CreateImageCacheShrinkRequest({});
|
|
729
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
730
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
731
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
732
|
+
}
|
|
733
|
+
let query = {};
|
|
734
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
735
|
+
query["clientToken"] = request.clientToken;
|
|
736
|
+
}
|
|
737
|
+
if (!$dara.isNull(request.regionId)) {
|
|
738
|
+
query["regionId"] = request.regionId;
|
|
739
|
+
}
|
|
740
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
741
|
+
query["workspaceId"] = request.workspaceId;
|
|
742
|
+
}
|
|
743
|
+
let body = {};
|
|
744
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
745
|
+
body["body"] = request.bodyShrink;
|
|
746
|
+
}
|
|
747
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
748
|
+
headers: headers,
|
|
749
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
750
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
751
|
+
});
|
|
752
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
753
|
+
action: "CreateImageCache",
|
|
754
|
+
version: "2026-08-04",
|
|
755
|
+
protocol: "HTTPS",
|
|
756
|
+
pathname: `/image-caches`,
|
|
757
|
+
method: "POST",
|
|
758
|
+
authType: "AK",
|
|
759
|
+
style: "ROA",
|
|
760
|
+
reqBodyType: "formData",
|
|
761
|
+
bodyType: "json",
|
|
762
|
+
});
|
|
763
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateImageCacheResponse({}));
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Creates an image cache.
|
|
767
|
+
*
|
|
768
|
+
* @remarks
|
|
769
|
+
* Creates or reuses an image cache in the current workspace based on the image source and tag. Both public and private images uniformly reuse the workspace\\"s source image pull authorization and resource roles. The resource manager parses the tag during the transfer node and performs image replication based on the parsed summary. The digest is empty before parsing is complete. For regular tags, the saved summary is reused after parsing. For the latest tag, it is parsed again when registered after reaching the desired state, and duplicate registrations in progress reuse the node. The logical imageId remains stable. accessInternet and accessVpc only determine the source reading and transfer for the current request and do not modify the agent network. An HTTP 200 response returns an acceptance snapshot of PENDING, READY, or FAILED, which does not indicate that the creation is complete. ClientToken does not guarantee to deduplicate requests or recover the original result. If the result is unconfirmed, query the query cache status first before deciding whether to recommit.
|
|
770
|
+
*
|
|
771
|
+
* @param request - CreateImageCacheRequest
|
|
772
|
+
* @returns CreateImageCacheResponse
|
|
773
|
+
*/
|
|
774
|
+
async createImageCache(request) {
|
|
775
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
776
|
+
let headers = {};
|
|
777
|
+
return await this.createImageCacheWithOptions(request, headers, runtime);
|
|
778
|
+
}
|
|
662
779
|
/**
|
|
663
780
|
* Creates a managed agent in a specified workspace.
|
|
664
781
|
*
|
|
@@ -772,7 +889,65 @@ class Client extends openapi_core_1.default {
|
|
|
772
889
|
return await this.createMcpWithOptions(workspaceId, request, headers, runtime);
|
|
773
890
|
}
|
|
774
891
|
/**
|
|
775
|
-
* Creates a
|
|
892
|
+
* Creates a long-term memory store in a specified workspace.
|
|
893
|
+
*
|
|
894
|
+
* @remarks
|
|
895
|
+
* Creates a long-term memory store in a specified workspace.
|
|
896
|
+
*
|
|
897
|
+
* @param tmpReq - CreateMemoryStoreRequest
|
|
898
|
+
* @param headers - map
|
|
899
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
900
|
+
* @returns CreateMemoryStoreResponse
|
|
901
|
+
*/
|
|
902
|
+
async createMemoryStoreWithOptions(workspaceId, tmpReq, headers, runtime) {
|
|
903
|
+
tmpReq.validate();
|
|
904
|
+
let request = new $_model.CreateMemoryStoreShrinkRequest({});
|
|
905
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
906
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
907
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
908
|
+
}
|
|
909
|
+
let query = {};
|
|
910
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
911
|
+
query["clientToken"] = request.clientToken;
|
|
912
|
+
}
|
|
913
|
+
let body = {};
|
|
914
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
915
|
+
body["body"] = request.bodyShrink;
|
|
916
|
+
}
|
|
917
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
918
|
+
headers: headers,
|
|
919
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
920
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
921
|
+
});
|
|
922
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
923
|
+
action: "CreateMemoryStore",
|
|
924
|
+
version: "2026-08-04",
|
|
925
|
+
protocol: "HTTPS",
|
|
926
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores`,
|
|
927
|
+
method: "POST",
|
|
928
|
+
authType: "AK",
|
|
929
|
+
style: "ROA",
|
|
930
|
+
reqBodyType: "formData",
|
|
931
|
+
bodyType: "json",
|
|
932
|
+
});
|
|
933
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateMemoryStoreResponse({}));
|
|
934
|
+
}
|
|
935
|
+
/**
|
|
936
|
+
* Creates a long-term memory store in a specified workspace.
|
|
937
|
+
*
|
|
938
|
+
* @remarks
|
|
939
|
+
* Creates a long-term memory store in a specified workspace.
|
|
940
|
+
*
|
|
941
|
+
* @param request - CreateMemoryStoreRequest
|
|
942
|
+
* @returns CreateMemoryStoreResponse
|
|
943
|
+
*/
|
|
944
|
+
async createMemoryStore(workspaceId, request) {
|
|
945
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
946
|
+
let headers = {};
|
|
947
|
+
return await this.createMemoryStoreWithOptions(workspaceId, request, headers, runtime);
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* Creates a model configuration for model creation under a model connection in a specified workspace.
|
|
776
951
|
*
|
|
777
952
|
* @param tmpReq - CreateModelRequest
|
|
778
953
|
* @param headers - map
|
|
@@ -813,7 +988,7 @@ class Client extends openapi_core_1.default {
|
|
|
813
988
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateModelResponse({}));
|
|
814
989
|
}
|
|
815
990
|
/**
|
|
816
|
-
* Creates a model configuration under a
|
|
991
|
+
* Creates a model configuration for model creation under a model connection in a specified workspace.
|
|
817
992
|
*
|
|
818
993
|
* @param request - CreateModelRequest
|
|
819
994
|
* @returns CreateModelResponse
|
|
@@ -824,7 +999,7 @@ class Client extends openapi_core_1.default {
|
|
|
824
999
|
return await this.createModelWithOptions(workspaceId, request, headers, runtime);
|
|
825
1000
|
}
|
|
826
1001
|
/**
|
|
827
|
-
* Creates a model connection in a specified workspace and configures the upstream model service
|
|
1002
|
+
* Creates a model connection in a specified workspace and configures the upstream model service endpoint, invoke protocol, and access credentials to support model creation.
|
|
828
1003
|
*
|
|
829
1004
|
* @param tmpReq - CreateModelConnectionRequest
|
|
830
1005
|
* @param headers - map
|
|
@@ -865,7 +1040,7 @@ class Client extends openapi_core_1.default {
|
|
|
865
1040
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateModelConnectionResponse({}));
|
|
866
1041
|
}
|
|
867
1042
|
/**
|
|
868
|
-
* Creates a model connection in a specified workspace and configures the upstream model service
|
|
1043
|
+
* Creates a model connection in a specified workspace and configures the upstream model service endpoint, invoke protocol, and access credentials to support model creation.
|
|
869
1044
|
*
|
|
870
1045
|
* @param request - CreateModelConnectionRequest
|
|
871
1046
|
* @returns CreateModelConnectionResponse
|
|
@@ -931,7 +1106,7 @@ class Client extends openapi_core_1.default {
|
|
|
931
1106
|
return await this.createSkillDraftWithOptions(workspaceId, request, headers, runtime);
|
|
932
1107
|
}
|
|
933
1108
|
/**
|
|
934
|
-
* Creates a team in a specified workspace and
|
|
1109
|
+
* Creates a team in a specified workspace and configures user members and agent members at the same time. Exactly one user member must have the ADMIN role, and agent members can only have the LEADER or WORKER role.
|
|
935
1110
|
*
|
|
936
1111
|
* @param tmpReq - CreateTeamRequest
|
|
937
1112
|
* @param headers - map
|
|
@@ -972,7 +1147,7 @@ class Client extends openapi_core_1.default {
|
|
|
972
1147
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateTeamResponse({}));
|
|
973
1148
|
}
|
|
974
1149
|
/**
|
|
975
|
-
* Creates a team in a specified workspace and
|
|
1150
|
+
* Creates a team in a specified workspace and configures user members and agent members at the same time. Exactly one user member must have the ADMIN role, and agent members can only have the LEADER or WORKER role.
|
|
976
1151
|
*
|
|
977
1152
|
* @param request - CreateTeamRequest
|
|
978
1153
|
* @returns CreateTeamResponse
|
|
@@ -983,7 +1158,7 @@ class Client extends openapi_core_1.default {
|
|
|
983
1158
|
return await this.createTeamWithOptions(workspaceId, request, headers, runtime);
|
|
984
1159
|
}
|
|
985
1160
|
/**
|
|
986
|
-
* Creates a user in a specified workspace. The username must be unique within the workspace
|
|
1161
|
+
* Creates a user in a specified workspace. The username must be unique within the workspace, can contain only lowercase letters, digits, and hyphens, and cannot use reserved names such as manager, admin, or names starting with worker-. If the password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
|
|
987
1162
|
*
|
|
988
1163
|
* @param tmpReq - CreateUserRequest
|
|
989
1164
|
* @param headers - map
|
|
@@ -1024,7 +1199,7 @@ class Client extends openapi_core_1.default {
|
|
|
1024
1199
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateUserResponse({}));
|
|
1025
1200
|
}
|
|
1026
1201
|
/**
|
|
1027
|
-
* Creates a user in a specified workspace. The username must be unique within the workspace
|
|
1202
|
+
* Creates a user in a specified workspace. The username must be unique within the workspace, can contain only lowercase letters, digits, and hyphens, and cannot use reserved names such as manager, admin, or names starting with worker-. If the password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
|
|
1028
1203
|
*
|
|
1029
1204
|
* @param request - CreateUserRequest
|
|
1030
1205
|
* @returns CreateUserResponse
|
|
@@ -1038,7 +1213,7 @@ class Client extends openapi_core_1.default {
|
|
|
1038
1213
|
* Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
|
|
1039
1214
|
*
|
|
1040
1215
|
* @remarks
|
|
1041
|
-
* ##
|
|
1216
|
+
* ## Request description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
1042
1217
|
*
|
|
1043
1218
|
* @param tmpReq - CreateWorkspaceRequest
|
|
1044
1219
|
* @param headers - map
|
|
@@ -1082,7 +1257,7 @@ class Client extends openapi_core_1.default {
|
|
|
1082
1257
|
* Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
|
|
1083
1258
|
*
|
|
1084
1259
|
* @remarks
|
|
1085
|
-
* ##
|
|
1260
|
+
* ## Request description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
1086
1261
|
*
|
|
1087
1262
|
* @param request - CreateWorkspaceRequest
|
|
1088
1263
|
* @returns CreateWorkspaceResponse
|
|
@@ -1188,11 +1363,11 @@ class Client extends openapi_core_1.default {
|
|
|
1188
1363
|
return await this.deleteAgentIMChannelWithOptions(workspaceId, agentId, imChannelId, request, headers, runtime);
|
|
1189
1364
|
}
|
|
1190
1365
|
/**
|
|
1191
|
-
* Deletes
|
|
1366
|
+
* Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
|
|
1192
1367
|
*
|
|
1193
1368
|
* @remarks
|
|
1194
|
-
* ##
|
|
1195
|
-
* Deletes
|
|
1369
|
+
* ## Operation description
|
|
1370
|
+
* Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
|
|
1196
1371
|
*
|
|
1197
1372
|
* @param request - DeleteAgentSpecRequest
|
|
1198
1373
|
* @param headers - map
|
|
@@ -1218,11 +1393,11 @@ class Client extends openapi_core_1.default {
|
|
|
1218
1393
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAgentSpecResponse({}));
|
|
1219
1394
|
}
|
|
1220
1395
|
/**
|
|
1221
|
-
* Deletes
|
|
1396
|
+
* Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
|
|
1222
1397
|
*
|
|
1223
1398
|
* @remarks
|
|
1224
|
-
* ##
|
|
1225
|
-
* Deletes
|
|
1399
|
+
* ## Operation description
|
|
1400
|
+
* Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
|
|
1226
1401
|
*
|
|
1227
1402
|
* @param request - DeleteAgentSpecRequest
|
|
1228
1403
|
* @returns DeleteAgentSpecResponse
|
|
@@ -1278,10 +1453,10 @@ class Client extends openapi_core_1.default {
|
|
|
1278
1453
|
return await this.deleteAgentSpecVersionWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
1279
1454
|
}
|
|
1280
1455
|
/**
|
|
1281
|
-
* Deletes a credential
|
|
1456
|
+
* Deletes a credential in a specified workspace and deletes the ciphertext hosted in the credential service. After deletion, agents bound to the credential can no longer obtain the credential content.
|
|
1282
1457
|
*
|
|
1283
1458
|
* @remarks
|
|
1284
|
-
* Deletes an access credential
|
|
1459
|
+
* Deletes an access credential in a specified workspace. A credential cannot be deleted if it is still bound to an MCP service.
|
|
1285
1460
|
*
|
|
1286
1461
|
* @param request - DeleteCredentialRequest
|
|
1287
1462
|
* @param headers - map
|
|
@@ -1312,10 +1487,10 @@ class Client extends openapi_core_1.default {
|
|
|
1312
1487
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCredentialResponse({}));
|
|
1313
1488
|
}
|
|
1314
1489
|
/**
|
|
1315
|
-
* Deletes a credential
|
|
1490
|
+
* Deletes a credential in a specified workspace and deletes the ciphertext hosted in the credential service. After deletion, agents bound to the credential can no longer obtain the credential content.
|
|
1316
1491
|
*
|
|
1317
1492
|
* @remarks
|
|
1318
|
-
* Deletes an access credential
|
|
1493
|
+
* Deletes an access credential in a specified workspace. A credential cannot be deleted if it is still bound to an MCP service.
|
|
1319
1494
|
*
|
|
1320
1495
|
* @param request - DeleteCredentialRequest
|
|
1321
1496
|
* @returns DeleteCredentialResponse
|
|
@@ -1326,11 +1501,11 @@ class Client extends openapi_core_1.default {
|
|
|
1326
1501
|
return await this.deleteCredentialWithOptions(workspaceId, credentialId, request, headers, runtime);
|
|
1327
1502
|
}
|
|
1328
1503
|
/**
|
|
1329
|
-
* Deletes a custom agent
|
|
1504
|
+
* Deletes a custom agent from a specified workspace. A successful request indicates that the deletion is accepted. The runtime resources are subsequently cleaned up in the background.
|
|
1330
1505
|
*
|
|
1331
1506
|
* @remarks
|
|
1332
|
-
* Before
|
|
1333
|
-
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already
|
|
1507
|
+
* Before calling this operation, ensure that the workspace is writable. If the agent is still associated with a team, you must dissociate it from the team first.
|
|
1508
|
+
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already in the deletion process, a subsequent request returns the current summary.
|
|
1334
1509
|
* You can call GetCustomAgent to check the deletion progress. After the deletion is complete, a detail query returns a resource not found error.
|
|
1335
1510
|
*
|
|
1336
1511
|
* @param request - DeleteCustomAgentRequest
|
|
@@ -1357,11 +1532,11 @@ class Client extends openapi_core_1.default {
|
|
|
1357
1532
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCustomAgentResponse({}));
|
|
1358
1533
|
}
|
|
1359
1534
|
/**
|
|
1360
|
-
* Deletes a custom agent
|
|
1535
|
+
* Deletes a custom agent from a specified workspace. A successful request indicates that the deletion is accepted. The runtime resources are subsequently cleaned up in the background.
|
|
1361
1536
|
*
|
|
1362
1537
|
* @remarks
|
|
1363
|
-
* Before
|
|
1364
|
-
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already
|
|
1538
|
+
* Before calling this operation, ensure that the workspace is writable. If the agent is still associated with a team, you must dissociate it from the team first.
|
|
1539
|
+
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already in the deletion process, a subsequent request returns the current summary.
|
|
1365
1540
|
* You can call GetCustomAgent to check the deletion progress. After the deletion is complete, a detail query returns a resource not found error.
|
|
1366
1541
|
*
|
|
1367
1542
|
* @param request - DeleteCustomAgentRequest
|
|
@@ -1457,6 +1632,57 @@ class Client extends openapi_core_1.default {
|
|
|
1457
1632
|
let headers = {};
|
|
1458
1633
|
return await this.deleteIdentityProviderWithOptions(workspaceId, identityProviderType, request, headers, runtime);
|
|
1459
1634
|
}
|
|
1635
|
+
/**
|
|
1636
|
+
* Deletes an image cache.
|
|
1637
|
+
*
|
|
1638
|
+
* @remarks
|
|
1639
|
+
* Deletes the logical image cache of the current workspace. The deletion requires that no enabled agent configurations reference the cache and no active instances are using it. Concurrency is rechecked upon submission. Caches in the PENDING or FAILED state can still be deleted, and the backend handles the cleanup. An HTTP 200 response returns an imageId that matches the request. If deletionPending is true, the current workspace is still undergoing deletion, and a Get request returns DELETING until ImageCacheNotFound is explicitly returned. If false, the deletion is complete or the current workspace no longer exists. Usage by other workspaces does not block the deletion for the current workspace. The physical content is reclaimed only after all workspaces in the same region have removed their associations and no active instances are using it.
|
|
1640
|
+
*
|
|
1641
|
+
* @param request - DeleteImageCacheRequest
|
|
1642
|
+
* @param headers - map
|
|
1643
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1644
|
+
* @returns DeleteImageCacheResponse
|
|
1645
|
+
*/
|
|
1646
|
+
async deleteImageCacheWithOptions(imageId, request, headers, runtime) {
|
|
1647
|
+
request.validate();
|
|
1648
|
+
let query = {};
|
|
1649
|
+
if (!$dara.isNull(request.regionId)) {
|
|
1650
|
+
query["regionId"] = request.regionId;
|
|
1651
|
+
}
|
|
1652
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
1653
|
+
query["workspaceId"] = request.workspaceId;
|
|
1654
|
+
}
|
|
1655
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1656
|
+
headers: headers,
|
|
1657
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1658
|
+
});
|
|
1659
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1660
|
+
action: "DeleteImageCache",
|
|
1661
|
+
version: "2026-08-04",
|
|
1662
|
+
protocol: "HTTPS",
|
|
1663
|
+
pathname: `/image-caches/${$dara.URL.percentEncode(imageId)}`,
|
|
1664
|
+
method: "DELETE",
|
|
1665
|
+
authType: "AK",
|
|
1666
|
+
style: "ROA",
|
|
1667
|
+
reqBodyType: "json",
|
|
1668
|
+
bodyType: "json",
|
|
1669
|
+
});
|
|
1670
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteImageCacheResponse({}));
|
|
1671
|
+
}
|
|
1672
|
+
/**
|
|
1673
|
+
* Deletes an image cache.
|
|
1674
|
+
*
|
|
1675
|
+
* @remarks
|
|
1676
|
+
* Deletes the logical image cache of the current workspace. The deletion requires that no enabled agent configurations reference the cache and no active instances are using it. Concurrency is rechecked upon submission. Caches in the PENDING or FAILED state can still be deleted, and the backend handles the cleanup. An HTTP 200 response returns an imageId that matches the request. If deletionPending is true, the current workspace is still undergoing deletion, and a Get request returns DELETING until ImageCacheNotFound is explicitly returned. If false, the deletion is complete or the current workspace no longer exists. Usage by other workspaces does not block the deletion for the current workspace. The physical content is reclaimed only after all workspaces in the same region have removed their associations and no active instances are using it.
|
|
1677
|
+
*
|
|
1678
|
+
* @param request - DeleteImageCacheRequest
|
|
1679
|
+
* @returns DeleteImageCacheResponse
|
|
1680
|
+
*/
|
|
1681
|
+
async deleteImageCache(imageId, request) {
|
|
1682
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1683
|
+
let headers = {};
|
|
1684
|
+
return await this.deleteImageCacheWithOptions(imageId, request, headers, runtime);
|
|
1685
|
+
}
|
|
1460
1686
|
/**
|
|
1461
1687
|
* Deletes a specified managed agent.
|
|
1462
1688
|
*
|
|
@@ -1495,11 +1721,11 @@ class Client extends openapi_core_1.default {
|
|
|
1495
1721
|
return await this.deleteManagedAgentWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
1496
1722
|
}
|
|
1497
1723
|
/**
|
|
1498
|
-
* Deletes a specified MCP
|
|
1724
|
+
* Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
|
|
1499
1725
|
*
|
|
1500
1726
|
* @remarks
|
|
1501
|
-
* ##
|
|
1502
|
-
* Deletes a specified MCP
|
|
1727
|
+
* ## Request description
|
|
1728
|
+
* Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
|
|
1503
1729
|
*
|
|
1504
1730
|
* @param request - DeleteMcpRequest
|
|
1505
1731
|
* @param headers - map
|
|
@@ -1525,11 +1751,11 @@ class Client extends openapi_core_1.default {
|
|
|
1525
1751
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMcpResponse({}));
|
|
1526
1752
|
}
|
|
1527
1753
|
/**
|
|
1528
|
-
* Deletes a specified MCP
|
|
1754
|
+
* Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
|
|
1529
1755
|
*
|
|
1530
1756
|
* @remarks
|
|
1531
|
-
* ##
|
|
1532
|
-
* Deletes a specified MCP
|
|
1757
|
+
* ## Request description
|
|
1758
|
+
* Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
|
|
1533
1759
|
*
|
|
1534
1760
|
* @param request - DeleteMcpRequest
|
|
1535
1761
|
* @returns DeleteMcpResponse
|
|
@@ -1539,6 +1765,92 @@ class Client extends openapi_core_1.default {
|
|
|
1539
1765
|
let headers = {};
|
|
1540
1766
|
return await this.deleteMcpWithOptions(mcpServerId, workspaceId, request, headers, runtime);
|
|
1541
1767
|
}
|
|
1768
|
+
/**
|
|
1769
|
+
* Deletes a long-term memory based on the memory ID.
|
|
1770
|
+
*
|
|
1771
|
+
* @remarks
|
|
1772
|
+
* Deletes a long-term memory based on the memory ID.
|
|
1773
|
+
*
|
|
1774
|
+
* @param request - DeleteMemoryRequest
|
|
1775
|
+
* @param headers - map
|
|
1776
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1777
|
+
* @returns DeleteMemoryResponse
|
|
1778
|
+
*/
|
|
1779
|
+
async deleteMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime) {
|
|
1780
|
+
request.validate();
|
|
1781
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1782
|
+
headers: headers,
|
|
1783
|
+
});
|
|
1784
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1785
|
+
action: "DeleteMemory",
|
|
1786
|
+
version: "2026-08-04",
|
|
1787
|
+
protocol: "HTTPS",
|
|
1788
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
|
|
1789
|
+
method: "DELETE",
|
|
1790
|
+
authType: "AK",
|
|
1791
|
+
style: "ROA",
|
|
1792
|
+
reqBodyType: "json",
|
|
1793
|
+
bodyType: "json",
|
|
1794
|
+
});
|
|
1795
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMemoryResponse({}));
|
|
1796
|
+
}
|
|
1797
|
+
/**
|
|
1798
|
+
* Deletes a long-term memory based on the memory ID.
|
|
1799
|
+
*
|
|
1800
|
+
* @remarks
|
|
1801
|
+
* Deletes a long-term memory based on the memory ID.
|
|
1802
|
+
*
|
|
1803
|
+
* @param request - DeleteMemoryRequest
|
|
1804
|
+
* @returns DeleteMemoryResponse
|
|
1805
|
+
*/
|
|
1806
|
+
async deleteMemory(workspaceId, memoryStoreName, memoryId, request) {
|
|
1807
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1808
|
+
let headers = {};
|
|
1809
|
+
return await this.deleteMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
|
|
1810
|
+
}
|
|
1811
|
+
/**
|
|
1812
|
+
* Asynchronously deletes a MemoryStore and all its long-term memory.
|
|
1813
|
+
*
|
|
1814
|
+
* @remarks
|
|
1815
|
+
* Asynchronously deletes a MemoryStore and all its long-term memory.
|
|
1816
|
+
*
|
|
1817
|
+
* @param request - DeleteMemoryStoreRequest
|
|
1818
|
+
* @param headers - map
|
|
1819
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1820
|
+
* @returns DeleteMemoryStoreResponse
|
|
1821
|
+
*/
|
|
1822
|
+
async deleteMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime) {
|
|
1823
|
+
request.validate();
|
|
1824
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1825
|
+
headers: headers,
|
|
1826
|
+
});
|
|
1827
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1828
|
+
action: "DeleteMemoryStore",
|
|
1829
|
+
version: "2026-08-04",
|
|
1830
|
+
protocol: "HTTPS",
|
|
1831
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
|
|
1832
|
+
method: "DELETE",
|
|
1833
|
+
authType: "AK",
|
|
1834
|
+
style: "ROA",
|
|
1835
|
+
reqBodyType: "json",
|
|
1836
|
+
bodyType: "json",
|
|
1837
|
+
});
|
|
1838
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMemoryStoreResponse({}));
|
|
1839
|
+
}
|
|
1840
|
+
/**
|
|
1841
|
+
* Asynchronously deletes a MemoryStore and all its long-term memory.
|
|
1842
|
+
*
|
|
1843
|
+
* @remarks
|
|
1844
|
+
* Asynchronously deletes a MemoryStore and all its long-term memory.
|
|
1845
|
+
*
|
|
1846
|
+
* @param request - DeleteMemoryStoreRequest
|
|
1847
|
+
* @returns DeleteMemoryStoreResponse
|
|
1848
|
+
*/
|
|
1849
|
+
async deleteMemoryStore(workspaceId, memoryStoreName, request) {
|
|
1850
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1851
|
+
let headers = {};
|
|
1852
|
+
return await this.deleteMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
1853
|
+
}
|
|
1542
1854
|
/**
|
|
1543
1855
|
* Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
|
|
1544
1856
|
*
|
|
@@ -1798,10 +2110,10 @@ class Client extends openapi_core_1.default {
|
|
|
1798
2110
|
return await this.deleteUserWithOptions(workspaceId, agentCoreUserId, request, headers, runtime);
|
|
1799
2111
|
}
|
|
1800
2112
|
/**
|
|
1801
|
-
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction.
|
|
2113
|
+
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. The server processes repeated deletion requests for workspaces in the Deleting or Deleted state idempotently.
|
|
1802
2114
|
*
|
|
1803
2115
|
* @remarks
|
|
1804
|
-
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction.
|
|
2116
|
+
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. The server processes repeated deletion requests for workspaces in the `Deleting` or `Deleted` state idempotently.\\n.
|
|
1805
2117
|
*
|
|
1806
2118
|
* @param request - DeleteWorkspaceRequest
|
|
1807
2119
|
* @param headers - map
|
|
@@ -1827,10 +2139,10 @@ class Client extends openapi_core_1.default {
|
|
|
1827
2139
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteWorkspaceResponse({}));
|
|
1828
2140
|
}
|
|
1829
2141
|
/**
|
|
1830
|
-
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction.
|
|
2142
|
+
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. The server processes repeated deletion requests for workspaces in the Deleting or Deleted state idempotently.
|
|
1831
2143
|
*
|
|
1832
2144
|
* @remarks
|
|
1833
|
-
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction.
|
|
2145
|
+
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. The server processes repeated deletion requests for workspaces in the `Deleting` or `Deleted` state idempotently.\\n.
|
|
1834
2146
|
*
|
|
1835
2147
|
* @param request - DeleteWorkspaceRequest
|
|
1836
2148
|
* @returns DeleteWorkspaceResponse
|
|
@@ -1884,11 +2196,11 @@ class Client extends openapi_core_1.default {
|
|
|
1884
2196
|
return await this.disableConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
|
|
1885
2197
|
}
|
|
1886
2198
|
/**
|
|
1887
|
-
* Retrieves
|
|
2199
|
+
* Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
|
|
1888
2200
|
*
|
|
1889
2201
|
* @remarks
|
|
1890
|
-
* ##
|
|
1891
|
-
* Retrieves
|
|
2202
|
+
* ## Request description
|
|
2203
|
+
* Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
|
|
1892
2204
|
*
|
|
1893
2205
|
* @param request - DownloadAgentSpecViaOssRequest
|
|
1894
2206
|
* @param headers - map
|
|
@@ -1919,11 +2231,11 @@ class Client extends openapi_core_1.default {
|
|
|
1919
2231
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DownloadAgentSpecViaOssResponse({}));
|
|
1920
2232
|
}
|
|
1921
2233
|
/**
|
|
1922
|
-
* Retrieves
|
|
2234
|
+
* Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
|
|
1923
2235
|
*
|
|
1924
2236
|
* @remarks
|
|
1925
|
-
* ##
|
|
1926
|
-
* Retrieves
|
|
2237
|
+
* ## Request description
|
|
2238
|
+
* Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
|
|
1927
2239
|
*
|
|
1928
2240
|
* @param request - DownloadAgentSpecViaOssRequest
|
|
1929
2241
|
* @returns DownloadAgentSpecViaOssResponse
|
|
@@ -2133,7 +2445,7 @@ class Client extends openapi_core_1.default {
|
|
|
2133
2445
|
* Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
|
|
2134
2446
|
*
|
|
2135
2447
|
* @remarks
|
|
2136
|
-
* ##
|
|
2448
|
+
* ## Request description
|
|
2137
2449
|
* Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
|
|
2138
2450
|
*
|
|
2139
2451
|
* @param request - GetAgentSpecRequest
|
|
@@ -2163,7 +2475,7 @@ class Client extends openapi_core_1.default {
|
|
|
2163
2475
|
* Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
|
|
2164
2476
|
*
|
|
2165
2477
|
* @remarks
|
|
2166
|
-
* ##
|
|
2478
|
+
* ## Request description
|
|
2167
2479
|
* Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
|
|
2168
2480
|
*
|
|
2169
2481
|
* @param request - GetAgentSpecRequest
|
|
@@ -2175,11 +2487,11 @@ class Client extends openapi_core_1.default {
|
|
|
2175
2487
|
return await this.getAgentSpecWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
2176
2488
|
}
|
|
2177
2489
|
/**
|
|
2178
|
-
* Retrieves the OSS
|
|
2490
|
+
* Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
|
|
2179
2491
|
*
|
|
2180
2492
|
* @remarks
|
|
2181
|
-
* ##
|
|
2182
|
-
* Retrieves the OSS
|
|
2493
|
+
* ## Request description
|
|
2494
|
+
* Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
|
|
2183
2495
|
*
|
|
2184
2496
|
* @param request - GetAgentSpecImportFileUrlRequest
|
|
2185
2497
|
* @param headers - map
|
|
@@ -2210,11 +2522,11 @@ class Client extends openapi_core_1.default {
|
|
|
2210
2522
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgentSpecImportFileUrlResponse({}));
|
|
2211
2523
|
}
|
|
2212
2524
|
/**
|
|
2213
|
-
* Retrieves the OSS
|
|
2525
|
+
* Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
|
|
2214
2526
|
*
|
|
2215
2527
|
* @remarks
|
|
2216
|
-
* ##
|
|
2217
|
-
* Retrieves the OSS
|
|
2528
|
+
* ## Request description
|
|
2529
|
+
* Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
|
|
2218
2530
|
*
|
|
2219
2531
|
* @param request - GetAgentSpecImportFileUrlRequest
|
|
2220
2532
|
* @returns GetAgentSpecImportFileUrlResponse
|
|
@@ -2270,11 +2582,11 @@ class Client extends openapi_core_1.default {
|
|
|
2270
2582
|
return await this.getAgentSpecLatestWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
2271
2583
|
}
|
|
2272
2584
|
/**
|
|
2273
|
-
* Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
|
|
2585
|
+
* Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
|
|
2274
2586
|
*
|
|
2275
2587
|
* @remarks
|
|
2276
|
-
* ##
|
|
2277
|
-
* Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
|
|
2588
|
+
* ## Request description
|
|
2589
|
+
* Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
|
|
2278
2590
|
*
|
|
2279
2591
|
* @param request - GetAgentSpecVersionRequest
|
|
2280
2592
|
* @param headers - map
|
|
@@ -2300,11 +2612,11 @@ class Client extends openapi_core_1.default {
|
|
|
2300
2612
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgentSpecVersionResponse({}));
|
|
2301
2613
|
}
|
|
2302
2614
|
/**
|
|
2303
|
-
* Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
|
|
2615
|
+
* Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
|
|
2304
2616
|
*
|
|
2305
2617
|
* @remarks
|
|
2306
|
-
* ##
|
|
2307
|
-
* Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
|
|
2618
|
+
* ## Request description
|
|
2619
|
+
* Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
|
|
2308
2620
|
*
|
|
2309
2621
|
* @param request - GetAgentSpecVersionRequest
|
|
2310
2622
|
* @returns GetAgentSpecVersionResponse
|
|
@@ -2315,7 +2627,7 @@ class Client extends openapi_core_1.default {
|
|
|
2315
2627
|
return await this.getAgentSpecVersionWithOptions(workspaceId, agentSpecName, agentSpecVersion, request, headers, runtime);
|
|
2316
2628
|
}
|
|
2317
2629
|
/**
|
|
2318
|
-
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked
|
|
2630
|
+
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in a masked format.
|
|
2319
2631
|
*
|
|
2320
2632
|
* @remarks
|
|
2321
2633
|
* Queries the details of a single credential. Sensitive fields are not returned.
|
|
@@ -2344,7 +2656,7 @@ class Client extends openapi_core_1.default {
|
|
|
2344
2656
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCredentialResponse({}));
|
|
2345
2657
|
}
|
|
2346
2658
|
/**
|
|
2347
|
-
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked
|
|
2659
|
+
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in a masked format.
|
|
2348
2660
|
*
|
|
2349
2661
|
* @remarks
|
|
2350
2662
|
* Queries the details of a single credential. Sensitive fields are not returned.
|
|
@@ -2358,12 +2670,12 @@ class Client extends openapi_core_1.default {
|
|
|
2358
2670
|
return await this.getCredentialWithOptions(workspaceId, credentialId, request, headers, runtime);
|
|
2359
2671
|
}
|
|
2360
2672
|
/**
|
|
2361
|
-
*
|
|
2673
|
+
* Queries the details of a custom agent in a specified workspace, including deployment configurations, the execute status of the latest configuration version, and the running instance status statistics.
|
|
2362
2674
|
*
|
|
2363
2675
|
* @remarks
|
|
2364
|
-
*
|
|
2365
|
-
*
|
|
2366
|
-
*
|
|
2676
|
+
* After you create or update a custom agent, you can poll this operation to query the execution result of the latest configuration version. `latestVersionStatus` corresponds to `latestSpecVersion`. `latestExecutionError` indicates the cause of the pending or failed status for this version. If `retryable` is true, you can query again later.
|
|
2677
|
+
* The returned configuration is the most recently submitted configuration and may not have taken effect. Verify the deployment and running status by checking `latestVersionStatus`, the overall agent status `status`, and the running instance statistics `sandboxPhaseCounts`.
|
|
2678
|
+
* If the queried custom agent does not exist, has been deleted, or does not belong to the specified workspace, a resource not found error is returned.
|
|
2367
2679
|
*
|
|
2368
2680
|
* @param request - GetCustomAgentRequest
|
|
2369
2681
|
* @param headers - map
|
|
@@ -2389,12 +2701,12 @@ class Client extends openapi_core_1.default {
|
|
|
2389
2701
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCustomAgentResponse({}));
|
|
2390
2702
|
}
|
|
2391
2703
|
/**
|
|
2392
|
-
*
|
|
2704
|
+
* Queries the details of a custom agent in a specified workspace, including deployment configurations, the execute status of the latest configuration version, and the running instance status statistics.
|
|
2393
2705
|
*
|
|
2394
2706
|
* @remarks
|
|
2395
|
-
*
|
|
2396
|
-
*
|
|
2397
|
-
*
|
|
2707
|
+
* After you create or update a custom agent, you can poll this operation to query the execution result of the latest configuration version. `latestVersionStatus` corresponds to `latestSpecVersion`. `latestExecutionError` indicates the cause of the pending or failed status for this version. If `retryable` is true, you can query again later.
|
|
2708
|
+
* The returned configuration is the most recently submitted configuration and may not have taken effect. Verify the deployment and running status by checking `latestVersionStatus`, the overall agent status `status`, and the running instance statistics `sandboxPhaseCounts`.
|
|
2709
|
+
* If the queried custom agent does not exist, has been deleted, or does not belong to the specified workspace, a resource not found error is returned.
|
|
2398
2710
|
*
|
|
2399
2711
|
* @param request - GetCustomAgentRequest
|
|
2400
2712
|
* @returns GetCustomAgentResponse
|
|
@@ -2448,10 +2760,10 @@ class Client extends openapi_core_1.default {
|
|
|
2448
2760
|
return await this.getExternalAgentWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
2449
2761
|
}
|
|
2450
2762
|
/**
|
|
2451
|
-
* Queries the available network types for a specified external agent.
|
|
2763
|
+
* Queries the available access network types for a specified external agent.
|
|
2452
2764
|
*
|
|
2453
2765
|
* @remarks
|
|
2454
|
-
* Queries the available network types for a specified external agent.
|
|
2766
|
+
* Queries the available access network types for a specified external agent.
|
|
2455
2767
|
*
|
|
2456
2768
|
* @param request - GetExternalAgentBootstrapOptionsRequest
|
|
2457
2769
|
* @param headers - map
|
|
@@ -2477,10 +2789,10 @@ class Client extends openapi_core_1.default {
|
|
|
2477
2789
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetExternalAgentBootstrapOptionsResponse({}));
|
|
2478
2790
|
}
|
|
2479
2791
|
/**
|
|
2480
|
-
* Queries the available network types for a specified external agent.
|
|
2792
|
+
* Queries the available access network types for a specified external agent.
|
|
2481
2793
|
*
|
|
2482
2794
|
* @remarks
|
|
2483
|
-
* Queries the available network types for a specified external agent.
|
|
2795
|
+
* Queries the available access network types for a specified external agent.
|
|
2484
2796
|
*
|
|
2485
2797
|
* @param request - GetExternalAgentBootstrapOptionsRequest
|
|
2486
2798
|
* @returns GetExternalAgentBootstrapOptionsResponse
|
|
@@ -2491,7 +2803,7 @@ class Client extends openapi_core_1.default {
|
|
|
2491
2803
|
return await this.getExternalAgentBootstrapOptionsWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
2492
2804
|
}
|
|
2493
2805
|
/**
|
|
2494
|
-
* Queries the binding details of
|
|
2806
|
+
* Queries the binding details of the external identity provider for a specified workspace, including the binding status, application configurations, and callback URLs to be configured on the identity provider side. Application secret configurations are not returned.
|
|
2495
2807
|
*
|
|
2496
2808
|
* @param request - GetIdentityProviderRequest
|
|
2497
2809
|
* @param headers - map
|
|
@@ -2517,7 +2829,7 @@ class Client extends openapi_core_1.default {
|
|
|
2517
2829
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetIdentityProviderResponse({}));
|
|
2518
2830
|
}
|
|
2519
2831
|
/**
|
|
2520
|
-
* Queries the binding details of
|
|
2832
|
+
* Queries the binding details of the external identity provider for a specified workspace, including the binding status, application configurations, and callback URLs to be configured on the identity provider side. Application secret configurations are not returned.
|
|
2521
2833
|
*
|
|
2522
2834
|
* @param request - GetIdentityProviderRequest
|
|
2523
2835
|
* @returns GetIdentityProviderResponse
|
|
@@ -2528,16 +2840,67 @@ class Client extends openapi_core_1.default {
|
|
|
2528
2840
|
return await this.getIdentityProviderWithOptions(workspaceId, identityProviderType, request, headers, runtime);
|
|
2529
2841
|
}
|
|
2530
2842
|
/**
|
|
2531
|
-
* Queries the details of
|
|
2843
|
+
* Queries the details of an image cache.
|
|
2532
2844
|
*
|
|
2533
|
-
* @
|
|
2845
|
+
* @remarks
|
|
2846
|
+
* Queries the details of the logical image cache in the current workspace. Returns the complete source, current digest, actual size, creation time, status, and secure error messages. AgentCount counts configuration references with the switch enabled. CanDelete verifies both configuration references and instance usage. If the switch is disabled, the count is 0, but deletion is still prohibited if old instances are not released. If the resource does not belong to the current workspace, resources with the same content from other workspaces are not returned.
|
|
2847
|
+
*
|
|
2848
|
+
* @param request - GetImageCacheRequest
|
|
2534
2849
|
* @param headers - map
|
|
2535
2850
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2536
|
-
* @returns
|
|
2851
|
+
* @returns GetImageCacheResponse
|
|
2537
2852
|
*/
|
|
2538
|
-
async
|
|
2853
|
+
async getImageCacheWithOptions(imageId, request, headers, runtime) {
|
|
2539
2854
|
request.validate();
|
|
2540
|
-
let
|
|
2855
|
+
let query = {};
|
|
2856
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2857
|
+
query["regionId"] = request.regionId;
|
|
2858
|
+
}
|
|
2859
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
2860
|
+
query["workspaceId"] = request.workspaceId;
|
|
2861
|
+
}
|
|
2862
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2863
|
+
headers: headers,
|
|
2864
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2865
|
+
});
|
|
2866
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2867
|
+
action: "GetImageCache",
|
|
2868
|
+
version: "2026-08-04",
|
|
2869
|
+
protocol: "HTTPS",
|
|
2870
|
+
pathname: `/image-caches/${$dara.URL.percentEncode(imageId)}`,
|
|
2871
|
+
method: "GET",
|
|
2872
|
+
authType: "AK",
|
|
2873
|
+
style: "ROA",
|
|
2874
|
+
reqBodyType: "json",
|
|
2875
|
+
bodyType: "json",
|
|
2876
|
+
});
|
|
2877
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetImageCacheResponse({}));
|
|
2878
|
+
}
|
|
2879
|
+
/**
|
|
2880
|
+
* Queries the details of an image cache.
|
|
2881
|
+
*
|
|
2882
|
+
* @remarks
|
|
2883
|
+
* Queries the details of the logical image cache in the current workspace. Returns the complete source, current digest, actual size, creation time, status, and secure error messages. AgentCount counts configuration references with the switch enabled. CanDelete verifies both configuration references and instance usage. If the switch is disabled, the count is 0, but deletion is still prohibited if old instances are not released. If the resource does not belong to the current workspace, resources with the same content from other workspaces are not returned.
|
|
2884
|
+
*
|
|
2885
|
+
* @param request - GetImageCacheRequest
|
|
2886
|
+
* @returns GetImageCacheResponse
|
|
2887
|
+
*/
|
|
2888
|
+
async getImageCache(imageId, request) {
|
|
2889
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2890
|
+
let headers = {};
|
|
2891
|
+
return await this.getImageCacheWithOptions(imageId, request, headers, runtime);
|
|
2892
|
+
}
|
|
2893
|
+
/**
|
|
2894
|
+
* Queries the details of a specified managed agent.
|
|
2895
|
+
*
|
|
2896
|
+
* @param request - GetManagedAgentRequest
|
|
2897
|
+
* @param headers - map
|
|
2898
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2899
|
+
* @returns GetManagedAgentResponse
|
|
2900
|
+
*/
|
|
2901
|
+
async getManagedAgentWithOptions(workspaceId, agentId, request, headers, runtime) {
|
|
2902
|
+
request.validate();
|
|
2903
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2541
2904
|
headers: headers,
|
|
2542
2905
|
});
|
|
2543
2906
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
@@ -2652,6 +3015,135 @@ class Client extends openapi_core_1.default {
|
|
|
2652
3015
|
let headers = {};
|
|
2653
3016
|
return await this.getMcpMarketItemWithOptions(workspaceId, marketItemId, request, headers, runtime);
|
|
2654
3017
|
}
|
|
3018
|
+
/**
|
|
3019
|
+
* Queries a long-term memory by memory ID.
|
|
3020
|
+
*
|
|
3021
|
+
* @remarks
|
|
3022
|
+
* Queries a long-term memory by memory ID.
|
|
3023
|
+
*
|
|
3024
|
+
* @param request - GetMemoryRequest
|
|
3025
|
+
* @param headers - map
|
|
3026
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3027
|
+
* @returns GetMemoryResponse
|
|
3028
|
+
*/
|
|
3029
|
+
async getMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime) {
|
|
3030
|
+
request.validate();
|
|
3031
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3032
|
+
headers: headers,
|
|
3033
|
+
});
|
|
3034
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3035
|
+
action: "GetMemory",
|
|
3036
|
+
version: "2026-08-04",
|
|
3037
|
+
protocol: "HTTPS",
|
|
3038
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
|
|
3039
|
+
method: "GET",
|
|
3040
|
+
authType: "AK",
|
|
3041
|
+
style: "ROA",
|
|
3042
|
+
reqBodyType: "json",
|
|
3043
|
+
bodyType: "json",
|
|
3044
|
+
});
|
|
3045
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMemoryResponse({}));
|
|
3046
|
+
}
|
|
3047
|
+
/**
|
|
3048
|
+
* Queries a long-term memory by memory ID.
|
|
3049
|
+
*
|
|
3050
|
+
* @remarks
|
|
3051
|
+
* Queries a long-term memory by memory ID.
|
|
3052
|
+
*
|
|
3053
|
+
* @param request - GetMemoryRequest
|
|
3054
|
+
* @returns GetMemoryResponse
|
|
3055
|
+
*/
|
|
3056
|
+
async getMemory(workspaceId, memoryStoreName, memoryId, request) {
|
|
3057
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3058
|
+
let headers = {};
|
|
3059
|
+
return await this.getMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
|
|
3060
|
+
}
|
|
3061
|
+
/**
|
|
3062
|
+
* Queries the public information and current status of a MemoryStore in a specified workspace.
|
|
3063
|
+
*
|
|
3064
|
+
* @remarks
|
|
3065
|
+
* Queries the public information and current status of a MemoryStore in a specified workspace.
|
|
3066
|
+
*
|
|
3067
|
+
* @param request - GetMemoryStoreRequest
|
|
3068
|
+
* @param headers - map
|
|
3069
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3070
|
+
* @returns GetMemoryStoreResponse
|
|
3071
|
+
*/
|
|
3072
|
+
async getMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime) {
|
|
3073
|
+
request.validate();
|
|
3074
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3075
|
+
headers: headers,
|
|
3076
|
+
});
|
|
3077
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3078
|
+
action: "GetMemoryStore",
|
|
3079
|
+
version: "2026-08-04",
|
|
3080
|
+
protocol: "HTTPS",
|
|
3081
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
|
|
3082
|
+
method: "GET",
|
|
3083
|
+
authType: "AK",
|
|
3084
|
+
style: "ROA",
|
|
3085
|
+
reqBodyType: "json",
|
|
3086
|
+
bodyType: "json",
|
|
3087
|
+
});
|
|
3088
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMemoryStoreResponse({}));
|
|
3089
|
+
}
|
|
3090
|
+
/**
|
|
3091
|
+
* Queries the public information and current status of a MemoryStore in a specified workspace.
|
|
3092
|
+
*
|
|
3093
|
+
* @remarks
|
|
3094
|
+
* Queries the public information and current status of a MemoryStore in a specified workspace.
|
|
3095
|
+
*
|
|
3096
|
+
* @param request - GetMemoryStoreRequest
|
|
3097
|
+
* @returns GetMemoryStoreResponse
|
|
3098
|
+
*/
|
|
3099
|
+
async getMemoryStore(workspaceId, memoryStoreName, request) {
|
|
3100
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3101
|
+
let headers = {};
|
|
3102
|
+
return await this.getMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
3103
|
+
}
|
|
3104
|
+
/**
|
|
3105
|
+
* Queries the task ID returned by the asynchronous AddMemories operation.
|
|
3106
|
+
*
|
|
3107
|
+
* @remarks
|
|
3108
|
+
* Queries the task ID returned by the asynchronous AddMemories operation.
|
|
3109
|
+
*
|
|
3110
|
+
* @param request - GetMemoryTaskRequest
|
|
3111
|
+
* @param headers - map
|
|
3112
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3113
|
+
* @returns GetMemoryTaskResponse
|
|
3114
|
+
*/
|
|
3115
|
+
async getMemoryTaskWithOptions(workspaceId, memoryStoreName, taskId, request, headers, runtime) {
|
|
3116
|
+
request.validate();
|
|
3117
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3118
|
+
headers: headers,
|
|
3119
|
+
});
|
|
3120
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3121
|
+
action: "GetMemoryTask",
|
|
3122
|
+
version: "2026-08-04",
|
|
3123
|
+
protocol: "HTTPS",
|
|
3124
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memory-tasks/${$dara.URL.percentEncode(taskId)}`,
|
|
3125
|
+
method: "GET",
|
|
3126
|
+
authType: "AK",
|
|
3127
|
+
style: "ROA",
|
|
3128
|
+
reqBodyType: "json",
|
|
3129
|
+
bodyType: "json",
|
|
3130
|
+
});
|
|
3131
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMemoryTaskResponse({}));
|
|
3132
|
+
}
|
|
3133
|
+
/**
|
|
3134
|
+
* Queries the task ID returned by the asynchronous AddMemories operation.
|
|
3135
|
+
*
|
|
3136
|
+
* @remarks
|
|
3137
|
+
* Queries the task ID returned by the asynchronous AddMemories operation.
|
|
3138
|
+
*
|
|
3139
|
+
* @param request - GetMemoryTaskRequest
|
|
3140
|
+
* @returns GetMemoryTaskResponse
|
|
3141
|
+
*/
|
|
3142
|
+
async getMemoryTask(workspaceId, memoryStoreName, taskId, request) {
|
|
3143
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3144
|
+
let headers = {};
|
|
3145
|
+
return await this.getMemoryTaskWithOptions(workspaceId, memoryStoreName, taskId, request, headers, runtime);
|
|
3146
|
+
}
|
|
2655
3147
|
/**
|
|
2656
3148
|
* Queries the detailed configuration and region of a model in a specified workspace.
|
|
2657
3149
|
*
|
|
@@ -2770,10 +3262,10 @@ class Client extends openapi_core_1.default {
|
|
|
2770
3262
|
return await this.getServiceEndpointWithOptions(workspaceId, serviceEndpointId, request, headers, runtime);
|
|
2771
3263
|
}
|
|
2772
3264
|
/**
|
|
2773
|
-
* Queries the currently active API
|
|
3265
|
+
* Queries the currently active API key and its invocation method for a service endpoint in a specified workspace.
|
|
2774
3266
|
*
|
|
2775
3267
|
* @remarks
|
|
2776
|
-
* Queries the currently active API
|
|
3268
|
+
* Queries the currently active API key for a specified service endpoint. The call succeeds only when API key authentication is enabled for the service endpoint and the gateway consumer and credentials are ready. The service reads the API key from the gateway in real time, and AgentCore does not persist the plaintext. Keep the returned API key secure and avoid logging it or exposing it in public configurations.
|
|
2777
3269
|
*
|
|
2778
3270
|
* @param request - GetServiceEndpointApiKeyRequest
|
|
2779
3271
|
* @param headers - map
|
|
@@ -2799,10 +3291,10 @@ class Client extends openapi_core_1.default {
|
|
|
2799
3291
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetServiceEndpointApiKeyResponse({}));
|
|
2800
3292
|
}
|
|
2801
3293
|
/**
|
|
2802
|
-
* Queries the currently active API
|
|
3294
|
+
* Queries the currently active API key and its invocation method for a service endpoint in a specified workspace.
|
|
2803
3295
|
*
|
|
2804
3296
|
* @remarks
|
|
2805
|
-
* Queries the currently active API
|
|
3297
|
+
* Queries the currently active API key for a specified service endpoint. The call succeeds only when API key authentication is enabled for the service endpoint and the gateway consumer and credentials are ready. The service reads the API key from the gateway in real time, and AgentCore does not persist the plaintext. Keep the returned API key secure and avoid logging it or exposing it in public configurations.
|
|
2806
3298
|
*
|
|
2807
3299
|
* @param request - GetServiceEndpointApiKeyRequest
|
|
2808
3300
|
* @returns GetServiceEndpointApiKeyResponse
|
|
@@ -2858,11 +3350,11 @@ class Client extends openapi_core_1.default {
|
|
|
2858
3350
|
return await this.getSkillDetailWithOptions(workspaceId, skillName, request, headers, runtime);
|
|
2859
3351
|
}
|
|
2860
3352
|
/**
|
|
2861
|
-
* Retrieves the OSS
|
|
3353
|
+
* Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
|
|
2862
3354
|
*
|
|
2863
3355
|
* @remarks
|
|
2864
3356
|
* ## Request description
|
|
2865
|
-
* Retrieves the OSS
|
|
3357
|
+
* Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
|
|
2866
3358
|
*
|
|
2867
3359
|
* @param request - GetSkillImportFileUrlRequest
|
|
2868
3360
|
* @param headers - map
|
|
@@ -2893,11 +3385,11 @@ class Client extends openapi_core_1.default {
|
|
|
2893
3385
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSkillImportFileUrlResponse({}));
|
|
2894
3386
|
}
|
|
2895
3387
|
/**
|
|
2896
|
-
* Retrieves the OSS
|
|
3388
|
+
* Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
|
|
2897
3389
|
*
|
|
2898
3390
|
* @remarks
|
|
2899
3391
|
* ## Request description
|
|
2900
|
-
* Retrieves the OSS
|
|
3392
|
+
* Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
|
|
2901
3393
|
*
|
|
2902
3394
|
* @param request - GetSkillImportFileUrlRequest
|
|
2903
3395
|
* @returns GetSkillImportFileUrlResponse
|
|
@@ -2990,7 +3482,7 @@ class Client extends openapi_core_1.default {
|
|
|
2990
3482
|
return await this.getTeamWithOptions(workspaceId, teamId, request, headers, runtime);
|
|
2991
3483
|
}
|
|
2992
3484
|
/**
|
|
2993
|
-
* Queries the details of a
|
|
3485
|
+
* Queries the details of a specific user in a specified workspace. Returns an error if the user does not exist.
|
|
2994
3486
|
*
|
|
2995
3487
|
* @param request - GetUserRequest
|
|
2996
3488
|
* @param headers - map
|
|
@@ -3016,7 +3508,7 @@ class Client extends openapi_core_1.default {
|
|
|
3016
3508
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetUserResponse({}));
|
|
3017
3509
|
}
|
|
3018
3510
|
/**
|
|
3019
|
-
* Queries the details of a
|
|
3511
|
+
* Queries the details of a specific user in a specified workspace. Returns an error if the user does not exist.
|
|
3020
3512
|
*
|
|
3021
3513
|
* @param request - GetUserRequest
|
|
3022
3514
|
* @returns GetUserResponse
|
|
@@ -3027,10 +3519,10 @@ class Client extends openapi_core_1.default {
|
|
|
3027
3519
|
return await this.getUserWithOptions(workspaceId, agentCoreUserId, request, headers, runtime);
|
|
3028
3520
|
}
|
|
3029
3521
|
/**
|
|
3030
|
-
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network
|
|
3522
|
+
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.
|
|
3031
3523
|
*
|
|
3032
3524
|
* @remarks
|
|
3033
|
-
* ##
|
|
3525
|
+
* ## Request description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.\\n.
|
|
3034
3526
|
*
|
|
3035
3527
|
* @param request - GetWorkspaceRequest
|
|
3036
3528
|
* @param headers - map
|
|
@@ -3056,10 +3548,10 @@ class Client extends openapi_core_1.default {
|
|
|
3056
3548
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceResponse({}));
|
|
3057
3549
|
}
|
|
3058
3550
|
/**
|
|
3059
|
-
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network
|
|
3551
|
+
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.
|
|
3060
3552
|
*
|
|
3061
3553
|
* @remarks
|
|
3062
|
-
* ##
|
|
3554
|
+
* ## Request description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.\\n.
|
|
3063
3555
|
*
|
|
3064
3556
|
* @param request - GetWorkspaceRequest
|
|
3065
3557
|
* @returns GetWorkspaceResponse
|
|
@@ -3070,10 +3562,10 @@ class Client extends openapi_core_1.default {
|
|
|
3070
3562
|
return await this.getWorkspaceWithOptions(workspaceId, request, headers, runtime);
|
|
3071
3563
|
}
|
|
3072
3564
|
/**
|
|
3073
|
-
* Queries the ACR RAM authorization URL
|
|
3565
|
+
* Queries the ACR RAM authorization URL of a workspace.
|
|
3074
3566
|
*
|
|
3075
3567
|
* @remarks
|
|
3076
|
-
* ACR and user OSS mounts share the
|
|
3568
|
+
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is reused and permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. Returns the role resolved by the backend and the authorization URL for the target repository. This operation does not create ACR or agent execution versions, nor does it deliver runtime configurations. After authorization is complete, you can call Verify before creating or updating an agent, without the need to call an independent Ensure operation.
|
|
3077
3569
|
*
|
|
3078
3570
|
* @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
|
|
3079
3571
|
* @param headers - map
|
|
@@ -3110,10 +3602,10 @@ class Client extends openapi_core_1.default {
|
|
|
3110
3602
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceAcrRamAuthorizeUrlResponse({}));
|
|
3111
3603
|
}
|
|
3112
3604
|
/**
|
|
3113
|
-
* Queries the ACR RAM authorization URL
|
|
3605
|
+
* Queries the ACR RAM authorization URL of a workspace.
|
|
3114
3606
|
*
|
|
3115
3607
|
* @remarks
|
|
3116
|
-
* ACR and user OSS mounts share the
|
|
3608
|
+
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is reused and permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. Returns the role resolved by the backend and the authorization URL for the target repository. This operation does not create ACR or agent execution versions, nor does it deliver runtime configurations. After authorization is complete, you can call Verify before creating or updating an agent, without the need to call an independent Ensure operation.
|
|
3117
3609
|
*
|
|
3118
3610
|
* @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
|
|
3119
3611
|
* @returns GetWorkspaceAcrRamAuthorizeUrlResponse
|
|
@@ -3127,7 +3619,7 @@ class Client extends openapi_core_1.default {
|
|
|
3127
3619
|
* Queries the RAM authorization URL for mounting AgenticFS in a workspace.
|
|
3128
3620
|
*
|
|
3129
3621
|
* @remarks
|
|
3130
|
-
*
|
|
3622
|
+
* Determines the account, region, and shared role based on the workspace, and concatenates the resource ARN based on the provided fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check the resource status, and returns an authorization URL that contains only the target NAS policy. After completing RAM authorization, you must call the verification API.
|
|
3131
3623
|
*
|
|
3132
3624
|
* @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
|
|
3133
3625
|
* @param headers - map
|
|
@@ -3167,7 +3659,7 @@ class Client extends openapi_core_1.default {
|
|
|
3167
3659
|
* Queries the RAM authorization URL for mounting AgenticFS in a workspace.
|
|
3168
3660
|
*
|
|
3169
3661
|
* @remarks
|
|
3170
|
-
*
|
|
3662
|
+
* Determines the account, region, and shared role based on the workspace, and concatenates the resource ARN based on the provided fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check the resource status, and returns an authorization URL that contains only the target NAS policy. After completing RAM authorization, you must call the verification API.
|
|
3171
3663
|
*
|
|
3172
3664
|
* @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
|
|
3173
3665
|
* @returns GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse
|
|
@@ -3282,10 +3774,10 @@ class Client extends openapi_core_1.default {
|
|
|
3282
3774
|
return await this.installMcpMarketItemWithOptions(workspaceId, marketItemId, request, headers, runtime);
|
|
3283
3775
|
}
|
|
3284
3776
|
/**
|
|
3285
|
-
* Installs a plugin for a specified AgentCore workspace. Currently
|
|
3777
|
+
* Installs a plugin for a specified AgentCore workspace. Currently, only the collaboration plugin is supported. The installation process runs asynchronously.
|
|
3286
3778
|
*
|
|
3287
3779
|
* @remarks
|
|
3288
|
-
* ##
|
|
3780
|
+
* ## Request description\\nInstalls a plugin for a specified AgentCore workspace. Currently, only the `collaboration` plugin is supported. Plugin configurations are passed through the `Config` parameter, and different plugins can define their own configuration structures. The `collaboration` plugin uses `Config.NetworkConfiguration` to specify the VPC and public network access policy. The installation procedure executes asynchronously. If you repeatedly invoke this operation for a plugin with the same name that is being installed or already installed, the operation returns the current status based on idempotent semantics if the configurations are identical. If the configurations are different, the operation returns an operation conflict.\\n
|
|
3289
3781
|
*
|
|
3290
3782
|
* @param tmpReq - InstallWorkspacePluginRequest
|
|
3291
3783
|
* @param headers - map
|
|
@@ -3326,10 +3818,10 @@ class Client extends openapi_core_1.default {
|
|
|
3326
3818
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallWorkspacePluginResponse({}));
|
|
3327
3819
|
}
|
|
3328
3820
|
/**
|
|
3329
|
-
* Installs a plugin for a specified AgentCore workspace. Currently
|
|
3821
|
+
* Installs a plugin for a specified AgentCore workspace. Currently, only the collaboration plugin is supported. The installation process runs asynchronously.
|
|
3330
3822
|
*
|
|
3331
3823
|
* @remarks
|
|
3332
|
-
* ##
|
|
3824
|
+
* ## Request description\\nInstalls a plugin for a specified AgentCore workspace. Currently, only the `collaboration` plugin is supported. Plugin configurations are passed through the `Config` parameter, and different plugins can define their own configuration structures. The `collaboration` plugin uses `Config.NetworkConfiguration` to specify the VPC and public network access policy. The installation procedure executes asynchronously. If you repeatedly invoke this operation for a plugin with the same name that is being installed or already installed, the operation returns the current status based on idempotent semantics if the configurations are identical. If the configurations are different, the operation returns an operation conflict.\\n
|
|
3333
3825
|
*
|
|
3334
3826
|
* @param request - InstallWorkspacePluginRequest
|
|
3335
3827
|
* @returns InstallWorkspacePluginResponse
|
|
@@ -3471,7 +3963,7 @@ class Client extends openapi_core_1.default {
|
|
|
3471
3963
|
return await this.listAgentSpecsWithOptions(workspaceId, request, headers, runtime);
|
|
3472
3964
|
}
|
|
3473
3965
|
/**
|
|
3474
|
-
* Queries the
|
|
3966
|
+
* Queries the teams to which specified agents belong. Specify the agent IDs by using agentIds to retrieve the membership information of each agent in the teams, including the team ID, team name, and the role of the agent in the team.
|
|
3475
3967
|
*
|
|
3476
3968
|
* @param tmpReq - ListAgentTeamsRequest
|
|
3477
3969
|
* @param headers - map
|
|
@@ -3507,7 +3999,7 @@ class Client extends openapi_core_1.default {
|
|
|
3507
3999
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgentTeamsResponse({}));
|
|
3508
4000
|
}
|
|
3509
4001
|
/**
|
|
3510
|
-
* Queries the
|
|
4002
|
+
* Queries the teams to which specified agents belong. Specify the agent IDs by using agentIds to retrieve the membership information of each agent in the teams, including the team ID, team name, and the role of the agent in the team.
|
|
3511
4003
|
*
|
|
3512
4004
|
* @param request - ListAgentTeamsRequest
|
|
3513
4005
|
* @returns ListAgentTeamsResponse
|
|
@@ -3623,10 +4115,10 @@ class Client extends openapi_core_1.default {
|
|
|
3623
4115
|
return await this.listConnectorsWithOptions(workspaceId, request, headers, runtime);
|
|
3624
4116
|
}
|
|
3625
4117
|
/**
|
|
3626
|
-
*
|
|
4118
|
+
* Performs a paged query for credentials in a specified workspace. Filters by type using credentialType, performs fuzzy filtering by credential name using nameLike, configures paging by specifying the maximum number of records per page using maxResults, and retrieves the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
|
|
3627
4119
|
*
|
|
3628
4120
|
* @remarks
|
|
3629
|
-
*
|
|
4121
|
+
* Performs a paged query for the credential list in a workspace, and supports filtering by type and name during paging.
|
|
3630
4122
|
*
|
|
3631
4123
|
* @param request - ListCredentialsRequest
|
|
3632
4124
|
* @param headers - map
|
|
@@ -3669,10 +4161,10 @@ class Client extends openapi_core_1.default {
|
|
|
3669
4161
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCredentialsResponse({}));
|
|
3670
4162
|
}
|
|
3671
4163
|
/**
|
|
3672
|
-
*
|
|
4164
|
+
* Performs a paged query for credentials in a specified workspace. Filters by type using credentialType, performs fuzzy filtering by credential name using nameLike, configures paging by specifying the maximum number of records per page using maxResults, and retrieves the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
|
|
3673
4165
|
*
|
|
3674
4166
|
* @remarks
|
|
3675
|
-
*
|
|
4167
|
+
* Performs a paged query for the credential list in a workspace, and supports filtering by type and name during paging.
|
|
3676
4168
|
*
|
|
3677
4169
|
* @param request - ListCredentialsRequest
|
|
3678
4170
|
* @returns ListCredentialsResponse
|
|
@@ -3683,11 +4175,11 @@ class Client extends openapi_core_1.default {
|
|
|
3683
4175
|
return await this.listCredentialsWithOptions(workspaceId, request, headers, runtime);
|
|
3684
4176
|
}
|
|
3685
4177
|
/**
|
|
3686
|
-
*
|
|
4178
|
+
* Queries the summaries of custom agents in a specified workspace by using paging. For the complete configuration and the execution results of the latest version, call GetCustomAgent.
|
|
3687
4179
|
*
|
|
3688
4180
|
* @remarks
|
|
3689
4181
|
* The default value of maxResults is 20, and the maximum value is 100. If this parameter is omitted or set to 0, the default value is used.
|
|
3690
|
-
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it
|
|
4182
|
+
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it. If the token in the response is empty, it indicates that no more pages are available.
|
|
3691
4183
|
* This operation returns the summaries of the current page and does not return the complete deployment configuration or the execution errors of the latest version. To obtain this information, call GetCustomAgent by using the agentId in items.
|
|
3692
4184
|
*
|
|
3693
4185
|
* @param request - ListCustomAgentsRequest
|
|
@@ -3722,11 +4214,11 @@ class Client extends openapi_core_1.default {
|
|
|
3722
4214
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomAgentsResponse({}));
|
|
3723
4215
|
}
|
|
3724
4216
|
/**
|
|
3725
|
-
*
|
|
4217
|
+
* Queries the summaries of custom agents in a specified workspace by using paging. For the complete configuration and the execution results of the latest version, call GetCustomAgent.
|
|
3726
4218
|
*
|
|
3727
4219
|
* @remarks
|
|
3728
4220
|
* The default value of maxResults is 20, and the maximum value is 100. If this parameter is omitted or set to 0, the default value is used.
|
|
3729
|
-
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it
|
|
4221
|
+
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it. If the token in the response is empty, it indicates that no more pages are available.
|
|
3730
4222
|
* This operation returns the summaries of the current page and does not return the complete deployment configuration or the execution errors of the latest version. To obtain this information, call GetCustomAgent by using the agentId in items.
|
|
3731
4223
|
*
|
|
3732
4224
|
* @param request - ListCustomAgentsRequest
|
|
@@ -3789,7 +4281,7 @@ class Client extends openapi_core_1.default {
|
|
|
3789
4281
|
return await this.listExternalAgentsWithOptions(workspaceId, request, headers, runtime);
|
|
3790
4282
|
}
|
|
3791
4283
|
/**
|
|
3792
|
-
* Queries the external identity
|
|
4284
|
+
* Queries the external identity providers bound to a specified workspace. Each workspace can be bound to at most one external identity provider, so the response returns at most one record. Application secret configurations are not returned.
|
|
3793
4285
|
*
|
|
3794
4286
|
* @param request - ListIdentityProvidersRequest
|
|
3795
4287
|
* @param headers - map
|
|
@@ -3823,7 +4315,7 @@ class Client extends openapi_core_1.default {
|
|
|
3823
4315
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListIdentityProvidersResponse({}));
|
|
3824
4316
|
}
|
|
3825
4317
|
/**
|
|
3826
|
-
* Queries the external identity
|
|
4318
|
+
* Queries the external identity providers bound to a specified workspace. Each workspace can be bound to at most one external identity provider, so the response returns at most one record. Application secret configurations are not returned.
|
|
3827
4319
|
*
|
|
3828
4320
|
* @param request - ListIdentityProvidersRequest
|
|
3829
4321
|
* @returns ListIdentityProvidersResponse
|
|
@@ -3833,6 +4325,87 @@ class Client extends openapi_core_1.default {
|
|
|
3833
4325
|
let headers = {};
|
|
3834
4326
|
return await this.listIdentityProvidersWithOptions(workspaceId, request, headers, runtime);
|
|
3835
4327
|
}
|
|
4328
|
+
/**
|
|
4329
|
+
* Queries image caches.
|
|
4330
|
+
*
|
|
4331
|
+
* @remarks
|
|
4332
|
+
* Queries the logical image caches within the current account, region, and workspace. WorkspaceId is required, and caches are not visible across workspaces. All conditions filter the full set using the AND operator before pagination is calculated. Results are sorted in descending order of logical resource creation time and ascending order of ImageId. The cursor is bound to the account, region, workspace, all filters, and the sort order. Returns the complete cache objects, the AgentCount based on the configuration switch, and the actual deletion eligibility. Query failures do not return a disguised empty list, and the nextToken on the last page is an empty string.
|
|
4333
|
+
*
|
|
4334
|
+
* @param request - ListImageCachesRequest
|
|
4335
|
+
* @param headers - map
|
|
4336
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4337
|
+
* @returns ListImageCachesResponse
|
|
4338
|
+
*/
|
|
4339
|
+
async listImageCachesWithOptions(request, headers, runtime) {
|
|
4340
|
+
request.validate();
|
|
4341
|
+
let query = {};
|
|
4342
|
+
if (!$dara.isNull(request.acrInstanceId)) {
|
|
4343
|
+
query["acrInstanceId"] = request.acrInstanceId;
|
|
4344
|
+
}
|
|
4345
|
+
if (!$dara.isNull(request.digest)) {
|
|
4346
|
+
query["digest"] = request.digest;
|
|
4347
|
+
}
|
|
4348
|
+
if (!$dara.isNull(request.imageRefContains)) {
|
|
4349
|
+
query["imageRefContains"] = request.imageRefContains;
|
|
4350
|
+
}
|
|
4351
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4352
|
+
query["maxResults"] = request.maxResults;
|
|
4353
|
+
}
|
|
4354
|
+
if (!$dara.isNull(request.namespace)) {
|
|
4355
|
+
query["namespace"] = request.namespace;
|
|
4356
|
+
}
|
|
4357
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4358
|
+
query["nextToken"] = request.nextToken;
|
|
4359
|
+
}
|
|
4360
|
+
if (!$dara.isNull(request.regionId)) {
|
|
4361
|
+
query["regionId"] = request.regionId;
|
|
4362
|
+
}
|
|
4363
|
+
if (!$dara.isNull(request.registry)) {
|
|
4364
|
+
query["registry"] = request.registry;
|
|
4365
|
+
}
|
|
4366
|
+
if (!$dara.isNull(request.repository)) {
|
|
4367
|
+
query["repository"] = request.repository;
|
|
4368
|
+
}
|
|
4369
|
+
if (!$dara.isNull(request.status)) {
|
|
4370
|
+
query["status"] = request.status;
|
|
4371
|
+
}
|
|
4372
|
+
if (!$dara.isNull(request.tag)) {
|
|
4373
|
+
query["tag"] = request.tag;
|
|
4374
|
+
}
|
|
4375
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
4376
|
+
query["workspaceId"] = request.workspaceId;
|
|
4377
|
+
}
|
|
4378
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4379
|
+
headers: headers,
|
|
4380
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4381
|
+
});
|
|
4382
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4383
|
+
action: "ListImageCaches",
|
|
4384
|
+
version: "2026-08-04",
|
|
4385
|
+
protocol: "HTTPS",
|
|
4386
|
+
pathname: `/image-caches`,
|
|
4387
|
+
method: "GET",
|
|
4388
|
+
authType: "AK",
|
|
4389
|
+
style: "ROA",
|
|
4390
|
+
reqBodyType: "json",
|
|
4391
|
+
bodyType: "json",
|
|
4392
|
+
});
|
|
4393
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListImageCachesResponse({}));
|
|
4394
|
+
}
|
|
4395
|
+
/**
|
|
4396
|
+
* Queries image caches.
|
|
4397
|
+
*
|
|
4398
|
+
* @remarks
|
|
4399
|
+
* Queries the logical image caches within the current account, region, and workspace. WorkspaceId is required, and caches are not visible across workspaces. All conditions filter the full set using the AND operator before pagination is calculated. Results are sorted in descending order of logical resource creation time and ascending order of ImageId. The cursor is bound to the account, region, workspace, all filters, and the sort order. Returns the complete cache objects, the AgentCount based on the configuration switch, and the actual deletion eligibility. Query failures do not return a disguised empty list, and the nextToken on the last page is an empty string.
|
|
4400
|
+
*
|
|
4401
|
+
* @param request - ListImageCachesRequest
|
|
4402
|
+
* @returns ListImageCachesResponse
|
|
4403
|
+
*/
|
|
4404
|
+
async listImageCaches(request) {
|
|
4405
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4406
|
+
let headers = {};
|
|
4407
|
+
return await this.listImageCachesWithOptions(request, headers, runtime);
|
|
4408
|
+
}
|
|
3836
4409
|
/**
|
|
3837
4410
|
* Queries the list of managed agents in a specified workspace.
|
|
3838
4411
|
*
|
|
@@ -3879,191 +4452,419 @@ class Client extends openapi_core_1.default {
|
|
|
3879
4452
|
* @param request - ListManagedAgentsRequest
|
|
3880
4453
|
* @returns ListManagedAgentsResponse
|
|
3881
4454
|
*/
|
|
3882
|
-
async listManagedAgents(workspaceId, request) {
|
|
4455
|
+
async listManagedAgents(workspaceId, request) {
|
|
4456
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4457
|
+
let headers = {};
|
|
4458
|
+
return await this.listManagedAgentsWithOptions(workspaceId, request, headers, runtime);
|
|
4459
|
+
}
|
|
4460
|
+
/**
|
|
4461
|
+
* Queries MCP marketplace templates.
|
|
4462
|
+
*
|
|
4463
|
+
* @remarks
|
|
4464
|
+
* Queries all online official MCP templates. You can filter results by keyword, usage tag, and MCP type.
|
|
4465
|
+
*
|
|
4466
|
+
* @param request - ListMcpMarketItemsRequest
|
|
4467
|
+
* @param headers - map
|
|
4468
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4469
|
+
* @returns ListMcpMarketItemsResponse
|
|
4470
|
+
*/
|
|
4471
|
+
async listMcpMarketItemsWithOptions(workspaceId, request, headers, runtime) {
|
|
4472
|
+
request.validate();
|
|
4473
|
+
let query = {};
|
|
4474
|
+
if (!$dara.isNull(request.keyword)) {
|
|
4475
|
+
query["keyword"] = request.keyword;
|
|
4476
|
+
}
|
|
4477
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4478
|
+
query["maxResults"] = request.maxResults;
|
|
4479
|
+
}
|
|
4480
|
+
if (!$dara.isNull(request.mcpType)) {
|
|
4481
|
+
query["mcpType"] = request.mcpType;
|
|
4482
|
+
}
|
|
4483
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4484
|
+
query["nextToken"] = request.nextToken;
|
|
4485
|
+
}
|
|
4486
|
+
if (!$dara.isNull(request.officialTag)) {
|
|
4487
|
+
query["officialTag"] = request.officialTag;
|
|
4488
|
+
}
|
|
4489
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4490
|
+
headers: headers,
|
|
4491
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4492
|
+
});
|
|
4493
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4494
|
+
action: "ListMcpMarketItems",
|
|
4495
|
+
version: "2026-08-04",
|
|
4496
|
+
protocol: "HTTPS",
|
|
4497
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-market/items`,
|
|
4498
|
+
method: "GET",
|
|
4499
|
+
authType: "AK",
|
|
4500
|
+
style: "ROA",
|
|
4501
|
+
reqBodyType: "json",
|
|
4502
|
+
bodyType: "json",
|
|
4503
|
+
});
|
|
4504
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMcpMarketItemsResponse({}));
|
|
4505
|
+
}
|
|
4506
|
+
/**
|
|
4507
|
+
* Queries MCP marketplace templates.
|
|
4508
|
+
*
|
|
4509
|
+
* @remarks
|
|
4510
|
+
* Queries all online official MCP templates. You can filter results by keyword, usage tag, and MCP type.
|
|
4511
|
+
*
|
|
4512
|
+
* @param request - ListMcpMarketItemsRequest
|
|
4513
|
+
* @returns ListMcpMarketItemsResponse
|
|
4514
|
+
*/
|
|
4515
|
+
async listMcpMarketItems(workspaceId, request) {
|
|
4516
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4517
|
+
let headers = {};
|
|
4518
|
+
return await this.listMcpMarketItemsWithOptions(workspaceId, request, headers, runtime);
|
|
4519
|
+
}
|
|
4520
|
+
/**
|
|
4521
|
+
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
4522
|
+
*
|
|
4523
|
+
* @remarks
|
|
4524
|
+
* ## Operation description
|
|
4525
|
+
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
4526
|
+
*
|
|
4527
|
+
* @param request - ListMcpToolsRequest
|
|
4528
|
+
* @param headers - map
|
|
4529
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4530
|
+
* @returns ListMcpToolsResponse
|
|
4531
|
+
*/
|
|
4532
|
+
async listMcpToolsWithOptions(workspaceId, mcpServerId, request, headers, runtime) {
|
|
4533
|
+
request.validate();
|
|
4534
|
+
let query = {};
|
|
4535
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4536
|
+
query["maxResults"] = request.maxResults;
|
|
4537
|
+
}
|
|
4538
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4539
|
+
query["nextToken"] = request.nextToken;
|
|
4540
|
+
}
|
|
4541
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4542
|
+
headers: headers,
|
|
4543
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4544
|
+
});
|
|
4545
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4546
|
+
action: "ListMcpTools",
|
|
4547
|
+
version: "2026-08-04",
|
|
4548
|
+
protocol: "HTTPS",
|
|
4549
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-servers/${$dara.URL.percentEncode(mcpServerId)}/tools`,
|
|
4550
|
+
method: "GET",
|
|
4551
|
+
authType: "AK",
|
|
4552
|
+
style: "ROA",
|
|
4553
|
+
reqBodyType: "json",
|
|
4554
|
+
bodyType: "json",
|
|
4555
|
+
});
|
|
4556
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMcpToolsResponse({}));
|
|
4557
|
+
}
|
|
4558
|
+
/**
|
|
4559
|
+
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
4560
|
+
*
|
|
4561
|
+
* @remarks
|
|
4562
|
+
* ## Operation description
|
|
4563
|
+
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
4564
|
+
*
|
|
4565
|
+
* @param request - ListMcpToolsRequest
|
|
4566
|
+
* @returns ListMcpToolsResponse
|
|
4567
|
+
*/
|
|
4568
|
+
async listMcpTools(workspaceId, mcpServerId, request) {
|
|
4569
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4570
|
+
let headers = {};
|
|
4571
|
+
return await this.listMcpToolsWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
4572
|
+
}
|
|
4573
|
+
/**
|
|
4574
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
4575
|
+
*
|
|
4576
|
+
* @remarks
|
|
4577
|
+
* ## Operation description
|
|
4578
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
4579
|
+
*
|
|
4580
|
+
* @param request - ListMcpsRequest
|
|
4581
|
+
* @param headers - map
|
|
4582
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4583
|
+
* @returns ListMcpsResponse
|
|
4584
|
+
*/
|
|
4585
|
+
async listMcpsWithOptions(workspaceId, request, headers, runtime) {
|
|
4586
|
+
request.validate();
|
|
4587
|
+
let query = {};
|
|
4588
|
+
if (!$dara.isNull(request.customTag)) {
|
|
4589
|
+
query["customTag"] = request.customTag;
|
|
4590
|
+
}
|
|
4591
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4592
|
+
query["maxResults"] = request.maxResults;
|
|
4593
|
+
}
|
|
4594
|
+
if (!$dara.isNull(request.name)) {
|
|
4595
|
+
query["name"] = request.name;
|
|
4596
|
+
}
|
|
4597
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4598
|
+
query["nextToken"] = request.nextToken;
|
|
4599
|
+
}
|
|
4600
|
+
if (!$dara.isNull(request.officialTag)) {
|
|
4601
|
+
query["officialTag"] = request.officialTag;
|
|
4602
|
+
}
|
|
4603
|
+
if (!$dara.isNull(request.searchType)) {
|
|
4604
|
+
query["searchType"] = request.searchType;
|
|
4605
|
+
}
|
|
4606
|
+
if (!$dara.isNull(request.usageActive)) {
|
|
4607
|
+
query["usageActive"] = request.usageActive;
|
|
4608
|
+
}
|
|
4609
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4610
|
+
headers: headers,
|
|
4611
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4612
|
+
});
|
|
4613
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4614
|
+
action: "ListMcps",
|
|
4615
|
+
version: "2026-08-04",
|
|
4616
|
+
protocol: "HTTPS",
|
|
4617
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-servers`,
|
|
4618
|
+
method: "GET",
|
|
4619
|
+
authType: "AK",
|
|
4620
|
+
style: "ROA",
|
|
4621
|
+
reqBodyType: "json",
|
|
4622
|
+
bodyType: "json",
|
|
4623
|
+
});
|
|
4624
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMcpsResponse({}));
|
|
4625
|
+
}
|
|
4626
|
+
/**
|
|
4627
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
4628
|
+
*
|
|
4629
|
+
* @remarks
|
|
4630
|
+
* ## Operation description
|
|
4631
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
4632
|
+
*
|
|
4633
|
+
* @param request - ListMcpsRequest
|
|
4634
|
+
* @returns ListMcpsResponse
|
|
4635
|
+
*/
|
|
4636
|
+
async listMcps(workspaceId, request) {
|
|
4637
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4638
|
+
let headers = {};
|
|
4639
|
+
return await this.listMcpsWithOptions(workspaceId, request, headers, runtime);
|
|
4640
|
+
}
|
|
4641
|
+
/**
|
|
4642
|
+
* Performs a paged query on long-term memory. Paging is supported, and you can filter the results independently by user ID, agent ID, and session ID.
|
|
4643
|
+
*
|
|
4644
|
+
* @remarks
|
|
4645
|
+
* Performs a paged query on long-term memory. Paging is supported, and you can filter the results independently by user ID, agent ID, and session ID.
|
|
4646
|
+
*
|
|
4647
|
+
* @param request - ListMemoriesRequest
|
|
4648
|
+
* @param headers - map
|
|
4649
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4650
|
+
* @returns ListMemoriesResponse
|
|
4651
|
+
*/
|
|
4652
|
+
async listMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime) {
|
|
4653
|
+
request.validate();
|
|
4654
|
+
let query = {};
|
|
4655
|
+
if (!$dara.isNull(request.agentId)) {
|
|
4656
|
+
query["agentId"] = request.agentId;
|
|
4657
|
+
}
|
|
4658
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4659
|
+
query["maxResults"] = request.maxResults;
|
|
4660
|
+
}
|
|
4661
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4662
|
+
query["nextToken"] = request.nextToken;
|
|
4663
|
+
}
|
|
4664
|
+
if (!$dara.isNull(request.sessionId)) {
|
|
4665
|
+
query["sessionId"] = request.sessionId;
|
|
4666
|
+
}
|
|
4667
|
+
if (!$dara.isNull(request.userId)) {
|
|
4668
|
+
query["userId"] = request.userId;
|
|
4669
|
+
}
|
|
4670
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4671
|
+
headers: headers,
|
|
4672
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4673
|
+
});
|
|
4674
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4675
|
+
action: "ListMemories",
|
|
4676
|
+
version: "2026-08-04",
|
|
4677
|
+
protocol: "HTTPS",
|
|
4678
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories`,
|
|
4679
|
+
method: "GET",
|
|
4680
|
+
authType: "AK",
|
|
4681
|
+
style: "ROA",
|
|
4682
|
+
reqBodyType: "json",
|
|
4683
|
+
bodyType: "json",
|
|
4684
|
+
});
|
|
4685
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMemoriesResponse({}));
|
|
4686
|
+
}
|
|
4687
|
+
/**
|
|
4688
|
+
* Performs a paged query on long-term memory. Paging is supported, and you can filter the results independently by user ID, agent ID, and session ID.
|
|
4689
|
+
*
|
|
4690
|
+
* @remarks
|
|
4691
|
+
* Performs a paged query on long-term memory. Paging is supported, and you can filter the results independently by user ID, agent ID, and session ID.
|
|
4692
|
+
*
|
|
4693
|
+
* @param request - ListMemoriesRequest
|
|
4694
|
+
* @returns ListMemoriesResponse
|
|
4695
|
+
*/
|
|
4696
|
+
async listMemories(workspaceId, memoryStoreName, request) {
|
|
3883
4697
|
let runtime = new $dara.RuntimeOptions({});
|
|
3884
4698
|
let headers = {};
|
|
3885
|
-
return await this.
|
|
4699
|
+
return await this.listMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
3886
4700
|
}
|
|
3887
4701
|
/**
|
|
3888
|
-
*
|
|
4702
|
+
* Performs a paged query for raw messages by exact scope with paging. SessionId is required, and at least one of UserId and AgentId must be provided.
|
|
3889
4703
|
*
|
|
3890
4704
|
* @remarks
|
|
3891
|
-
*
|
|
4705
|
+
* Performs a paged query for raw messages by exact scope with paging. SessionId is required, and at least one of UserId and AgentId must be provided.
|
|
3892
4706
|
*
|
|
3893
|
-
* @param request -
|
|
4707
|
+
* @param request - ListMemorySessionMessagesRequest
|
|
3894
4708
|
* @param headers - map
|
|
3895
4709
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3896
|
-
* @returns
|
|
4710
|
+
* @returns ListMemorySessionMessagesResponse
|
|
3897
4711
|
*/
|
|
3898
|
-
async
|
|
4712
|
+
async listMemorySessionMessagesWithOptions(workspaceId, memoryStoreName, request, headers, runtime) {
|
|
3899
4713
|
request.validate();
|
|
3900
4714
|
let query = {};
|
|
3901
|
-
if (!$dara.isNull(request.
|
|
3902
|
-
query["
|
|
4715
|
+
if (!$dara.isNull(request.agentId)) {
|
|
4716
|
+
query["agentId"] = request.agentId;
|
|
3903
4717
|
}
|
|
3904
4718
|
if (!$dara.isNull(request.maxResults)) {
|
|
3905
4719
|
query["maxResults"] = request.maxResults;
|
|
3906
4720
|
}
|
|
3907
|
-
if (!$dara.isNull(request.mcpType)) {
|
|
3908
|
-
query["mcpType"] = request.mcpType;
|
|
3909
|
-
}
|
|
3910
4721
|
if (!$dara.isNull(request.nextToken)) {
|
|
3911
4722
|
query["nextToken"] = request.nextToken;
|
|
3912
4723
|
}
|
|
3913
|
-
if (!$dara.isNull(request.
|
|
3914
|
-
query["
|
|
4724
|
+
if (!$dara.isNull(request.sessionId)) {
|
|
4725
|
+
query["sessionId"] = request.sessionId;
|
|
4726
|
+
}
|
|
4727
|
+
if (!$dara.isNull(request.userId)) {
|
|
4728
|
+
query["userId"] = request.userId;
|
|
3915
4729
|
}
|
|
3916
4730
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3917
4731
|
headers: headers,
|
|
3918
4732
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3919
4733
|
});
|
|
3920
4734
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3921
|
-
action: "
|
|
4735
|
+
action: "ListMemorySessionMessages",
|
|
3922
4736
|
version: "2026-08-04",
|
|
3923
4737
|
protocol: "HTTPS",
|
|
3924
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
4738
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/messages`,
|
|
3925
4739
|
method: "GET",
|
|
3926
4740
|
authType: "AK",
|
|
3927
4741
|
style: "ROA",
|
|
3928
4742
|
reqBodyType: "json",
|
|
3929
4743
|
bodyType: "json",
|
|
3930
4744
|
});
|
|
3931
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4745
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMemorySessionMessagesResponse({}));
|
|
3932
4746
|
}
|
|
3933
4747
|
/**
|
|
3934
|
-
*
|
|
4748
|
+
* Performs a paged query for raw messages by exact scope with paging. SessionId is required, and at least one of UserId and AgentId must be provided.
|
|
3935
4749
|
*
|
|
3936
4750
|
* @remarks
|
|
3937
|
-
*
|
|
4751
|
+
* Performs a paged query for raw messages by exact scope with paging. SessionId is required, and at least one of UserId and AgentId must be provided.
|
|
3938
4752
|
*
|
|
3939
|
-
* @param request -
|
|
3940
|
-
* @returns
|
|
4753
|
+
* @param request - ListMemorySessionMessagesRequest
|
|
4754
|
+
* @returns ListMemorySessionMessagesResponse
|
|
3941
4755
|
*/
|
|
3942
|
-
async
|
|
4756
|
+
async listMemorySessionMessages(workspaceId, memoryStoreName, request) {
|
|
3943
4757
|
let runtime = new $dara.RuntimeOptions({});
|
|
3944
4758
|
let headers = {};
|
|
3945
|
-
return await this.
|
|
4759
|
+
return await this.listMemorySessionMessagesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
3946
4760
|
}
|
|
3947
4761
|
/**
|
|
3948
|
-
*
|
|
4762
|
+
* Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
|
|
3949
4763
|
*
|
|
3950
4764
|
* @remarks
|
|
3951
|
-
*
|
|
3952
|
-
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
4765
|
+
* Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
|
|
3953
4766
|
*
|
|
3954
|
-
* @param request -
|
|
4767
|
+
* @param request - ListMemorySessionsRequest
|
|
3955
4768
|
* @param headers - map
|
|
3956
4769
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3957
|
-
* @returns
|
|
4770
|
+
* @returns ListMemorySessionsResponse
|
|
3958
4771
|
*/
|
|
3959
|
-
async
|
|
4772
|
+
async listMemorySessionsWithOptions(workspaceId, memoryStoreName, request, headers, runtime) {
|
|
3960
4773
|
request.validate();
|
|
3961
4774
|
let query = {};
|
|
4775
|
+
if (!$dara.isNull(request.agentId)) {
|
|
4776
|
+
query["agentId"] = request.agentId;
|
|
4777
|
+
}
|
|
3962
4778
|
if (!$dara.isNull(request.maxResults)) {
|
|
3963
4779
|
query["maxResults"] = request.maxResults;
|
|
3964
4780
|
}
|
|
3965
4781
|
if (!$dara.isNull(request.nextToken)) {
|
|
3966
4782
|
query["nextToken"] = request.nextToken;
|
|
3967
4783
|
}
|
|
4784
|
+
if (!$dara.isNull(request.userId)) {
|
|
4785
|
+
query["userId"] = request.userId;
|
|
4786
|
+
}
|
|
3968
4787
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3969
4788
|
headers: headers,
|
|
3970
4789
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3971
4790
|
});
|
|
3972
4791
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3973
|
-
action: "
|
|
4792
|
+
action: "ListMemorySessions",
|
|
3974
4793
|
version: "2026-08-04",
|
|
3975
4794
|
protocol: "HTTPS",
|
|
3976
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
4795
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/sessions`,
|
|
3977
4796
|
method: "GET",
|
|
3978
4797
|
authType: "AK",
|
|
3979
4798
|
style: "ROA",
|
|
3980
4799
|
reqBodyType: "json",
|
|
3981
4800
|
bodyType: "json",
|
|
3982
4801
|
});
|
|
3983
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4802
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMemorySessionsResponse({}));
|
|
3984
4803
|
}
|
|
3985
4804
|
/**
|
|
3986
|
-
*
|
|
4805
|
+
* Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
|
|
3987
4806
|
*
|
|
3988
4807
|
* @remarks
|
|
3989
|
-
*
|
|
3990
|
-
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
4808
|
+
* Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
|
|
3991
4809
|
*
|
|
3992
|
-
* @param request -
|
|
3993
|
-
* @returns
|
|
4810
|
+
* @param request - ListMemorySessionsRequest
|
|
4811
|
+
* @returns ListMemorySessionsResponse
|
|
3994
4812
|
*/
|
|
3995
|
-
async
|
|
4813
|
+
async listMemorySessions(workspaceId, memoryStoreName, request) {
|
|
3996
4814
|
let runtime = new $dara.RuntimeOptions({});
|
|
3997
4815
|
let headers = {};
|
|
3998
|
-
return await this.
|
|
4816
|
+
return await this.listMemorySessionsWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
3999
4817
|
}
|
|
4000
4818
|
/**
|
|
4001
|
-
* Queries
|
|
4819
|
+
* Queries MemoryStores in a specified workspace by using paging.
|
|
4002
4820
|
*
|
|
4003
4821
|
* @remarks
|
|
4004
|
-
*
|
|
4005
|
-
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
4822
|
+
* Queries MemoryStores in a specified workspace by using paging.
|
|
4006
4823
|
*
|
|
4007
|
-
* @param request -
|
|
4824
|
+
* @param request - ListMemoryStoresRequest
|
|
4008
4825
|
* @param headers - map
|
|
4009
4826
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4010
|
-
* @returns
|
|
4827
|
+
* @returns ListMemoryStoresResponse
|
|
4011
4828
|
*/
|
|
4012
|
-
async
|
|
4829
|
+
async listMemoryStoresWithOptions(workspaceId, request, headers, runtime) {
|
|
4013
4830
|
request.validate();
|
|
4014
4831
|
let query = {};
|
|
4015
|
-
if (!$dara.isNull(request.customTag)) {
|
|
4016
|
-
query["customTag"] = request.customTag;
|
|
4017
|
-
}
|
|
4018
4832
|
if (!$dara.isNull(request.maxResults)) {
|
|
4019
4833
|
query["maxResults"] = request.maxResults;
|
|
4020
4834
|
}
|
|
4021
|
-
if (!$dara.isNull(request.name)) {
|
|
4022
|
-
query["name"] = request.name;
|
|
4023
|
-
}
|
|
4024
4835
|
if (!$dara.isNull(request.nextToken)) {
|
|
4025
4836
|
query["nextToken"] = request.nextToken;
|
|
4026
4837
|
}
|
|
4027
|
-
if (!$dara.isNull(request.officialTag)) {
|
|
4028
|
-
query["officialTag"] = request.officialTag;
|
|
4029
|
-
}
|
|
4030
|
-
if (!$dara.isNull(request.searchType)) {
|
|
4031
|
-
query["searchType"] = request.searchType;
|
|
4032
|
-
}
|
|
4033
|
-
if (!$dara.isNull(request.usageActive)) {
|
|
4034
|
-
query["usageActive"] = request.usageActive;
|
|
4035
|
-
}
|
|
4036
4838
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4037
4839
|
headers: headers,
|
|
4038
4840
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4039
4841
|
});
|
|
4040
4842
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4041
|
-
action: "
|
|
4843
|
+
action: "ListMemoryStores",
|
|
4042
4844
|
version: "2026-08-04",
|
|
4043
4845
|
protocol: "HTTPS",
|
|
4044
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
4846
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores`,
|
|
4045
4847
|
method: "GET",
|
|
4046
4848
|
authType: "AK",
|
|
4047
4849
|
style: "ROA",
|
|
4048
4850
|
reqBodyType: "json",
|
|
4049
4851
|
bodyType: "json",
|
|
4050
4852
|
});
|
|
4051
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4853
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMemoryStoresResponse({}));
|
|
4052
4854
|
}
|
|
4053
4855
|
/**
|
|
4054
|
-
* Queries
|
|
4856
|
+
* Queries MemoryStores in a specified workspace by using paging.
|
|
4055
4857
|
*
|
|
4056
4858
|
* @remarks
|
|
4057
|
-
*
|
|
4058
|
-
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
4859
|
+
* Queries MemoryStores in a specified workspace by using paging.
|
|
4059
4860
|
*
|
|
4060
|
-
* @param request -
|
|
4061
|
-
* @returns
|
|
4861
|
+
* @param request - ListMemoryStoresRequest
|
|
4862
|
+
* @returns ListMemoryStoresResponse
|
|
4062
4863
|
*/
|
|
4063
|
-
async
|
|
4864
|
+
async listMemoryStores(workspaceId, request) {
|
|
4064
4865
|
let runtime = new $dara.RuntimeOptions({});
|
|
4065
4866
|
let headers = {};
|
|
4066
|
-
return await this.
|
|
4867
|
+
return await this.listMemoryStoresWithOptions(workspaceId, request, headers, runtime);
|
|
4067
4868
|
}
|
|
4068
4869
|
/**
|
|
4069
4870
|
* Queries model connections in a specified workspace with paging. Supports filtering by name, provider type, and invoke protocol.
|
|
@@ -4183,7 +4984,7 @@ class Client extends openapi_core_1.default {
|
|
|
4183
4984
|
return await this.listModelsWithOptions(workspaceId, request, headers, runtime);
|
|
4184
4985
|
}
|
|
4185
4986
|
/**
|
|
4186
|
-
*
|
|
4987
|
+
* Queries the providers supported by the built-in model catalog of AgentCore and their default service configurations.
|
|
4187
4988
|
*
|
|
4188
4989
|
* @param request - ListPredefinedModelProvidersRequest
|
|
4189
4990
|
* @param headers - map
|
|
@@ -4209,7 +5010,7 @@ class Client extends openapi_core_1.default {
|
|
|
4209
5010
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPredefinedModelProvidersResponse({}));
|
|
4210
5011
|
}
|
|
4211
5012
|
/**
|
|
4212
|
-
*
|
|
5013
|
+
* Queries the providers supported by the built-in model catalog of AgentCore and their default service configurations.
|
|
4213
5014
|
*
|
|
4214
5015
|
* @param request - ListPredefinedModelProvidersRequest
|
|
4215
5016
|
* @returns ListPredefinedModelProvidersResponse
|
|
@@ -4220,7 +5021,7 @@ class Client extends openapi_core_1.default {
|
|
|
4220
5021
|
return await this.listPredefinedModelProvidersWithOptions(request, headers, runtime);
|
|
4221
5022
|
}
|
|
4222
5023
|
/**
|
|
4223
|
-
* Queries the models and their
|
|
5024
|
+
* Queries the models and their capabilities in the built-in model catalog of AgentCore for a specified provider.
|
|
4224
5025
|
*
|
|
4225
5026
|
* @param request - ListPredefinedModelsRequest
|
|
4226
5027
|
* @param headers - map
|
|
@@ -4246,7 +5047,7 @@ class Client extends openapi_core_1.default {
|
|
|
4246
5047
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPredefinedModelsResponse({}));
|
|
4247
5048
|
}
|
|
4248
5049
|
/**
|
|
4249
|
-
* Queries the models and their
|
|
5050
|
+
* Queries the models and their capabilities in the built-in model catalog of AgentCore for a specified provider.
|
|
4250
5051
|
*
|
|
4251
5052
|
* @param request - ListPredefinedModelsRequest
|
|
4252
5053
|
* @returns ListPredefinedModelsResponse
|
|
@@ -4365,10 +5166,10 @@ class Client extends openapi_core_1.default {
|
|
|
4365
5166
|
return await this.listSandboxesWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
4366
5167
|
}
|
|
4367
5168
|
/**
|
|
4368
|
-
* Queries service endpoints in a specified workspace
|
|
5169
|
+
* Queries service endpoints in a specified workspace with paging and supports filtering by target type, agent, collaboration component, and status.
|
|
4369
5170
|
*
|
|
4370
5171
|
* @remarks
|
|
4371
|
-
* ##
|
|
5172
|
+
* ## Request description\\nQueries service endpoints in a specified workspace with paging. You can filter the results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page, and use nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
|
|
4372
5173
|
*
|
|
4373
5174
|
* @param request - ListServiceEndpointsRequest
|
|
4374
5175
|
* @param headers - map
|
|
@@ -4420,10 +5221,10 @@ class Client extends openapi_core_1.default {
|
|
|
4420
5221
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListServiceEndpointsResponse({}));
|
|
4421
5222
|
}
|
|
4422
5223
|
/**
|
|
4423
|
-
* Queries service endpoints in a specified workspace
|
|
5224
|
+
* Queries service endpoints in a specified workspace with paging and supports filtering by target type, agent, collaboration component, and status.
|
|
4424
5225
|
*
|
|
4425
5226
|
* @remarks
|
|
4426
|
-
* ##
|
|
5227
|
+
* ## Request description\\nQueries service endpoints in a specified workspace with paging. You can filter the results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page, and use nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
|
|
4427
5228
|
*
|
|
4428
5229
|
* @param request - ListServiceEndpointsRequest
|
|
4429
5230
|
* @returns ListServiceEndpointsResponse
|
|
@@ -4434,7 +5235,7 @@ class Client extends openapi_core_1.default {
|
|
|
4434
5235
|
return await this.listServiceEndpointsWithOptions(workspaceId, request, headers, runtime);
|
|
4435
5236
|
}
|
|
4436
5237
|
/**
|
|
4437
|
-
* Queries
|
|
5238
|
+
* Queries skill reference relationships.
|
|
4438
5239
|
*
|
|
4439
5240
|
* @param request - ListSkillReferencesRequest
|
|
4440
5241
|
* @param headers - map
|
|
@@ -4474,7 +5275,7 @@ class Client extends openapi_core_1.default {
|
|
|
4474
5275
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSkillReferencesResponse({}));
|
|
4475
5276
|
}
|
|
4476
5277
|
/**
|
|
4477
|
-
* Queries
|
|
5278
|
+
* Queries skill reference relationships.
|
|
4478
5279
|
*
|
|
4479
5280
|
* @param request - ListSkillReferencesRequest
|
|
4480
5281
|
* @returns ListSkillReferencesResponse
|
|
@@ -4559,7 +5360,7 @@ class Client extends openapi_core_1.default {
|
|
|
4559
5360
|
return await this.listSkillsWithOptions(workspaceId, request, headers, runtime);
|
|
4560
5361
|
}
|
|
4561
5362
|
/**
|
|
4562
|
-
*
|
|
5363
|
+
* Queries teams in a specified workspace by using paging. You can use nameLike to filter teams by fuzzy matching the team name, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. The member information in the list includes only the member identifier, name, and team role.
|
|
4563
5364
|
*
|
|
4564
5365
|
* @param request - ListTeamsRequest
|
|
4565
5366
|
* @param headers - map
|
|
@@ -4596,7 +5397,7 @@ class Client extends openapi_core_1.default {
|
|
|
4596
5397
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTeamsResponse({}));
|
|
4597
5398
|
}
|
|
4598
5399
|
/**
|
|
4599
|
-
*
|
|
5400
|
+
* Queries teams in a specified workspace by using paging. You can use nameLike to filter teams by fuzzy matching the team name, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. The member information in the list includes only the member identifier, name, and team role.
|
|
4600
5401
|
*
|
|
4601
5402
|
* @param request - ListTeamsRequest
|
|
4602
5403
|
* @returns ListTeamsResponse
|
|
@@ -4661,10 +5462,10 @@ class Client extends openapi_core_1.default {
|
|
|
4661
5462
|
return await this.listUsersWithOptions(workspaceId, request, headers, runtime);
|
|
4662
5463
|
}
|
|
4663
5464
|
/**
|
|
4664
|
-
*
|
|
5465
|
+
* Performs a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging.
|
|
4665
5466
|
*
|
|
4666
5467
|
* @remarks
|
|
4667
|
-
* ##
|
|
5468
|
+
* ## Request description\\nPerforms a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging. You can use nextToken to obtain the next page, skip to skip a specified number of workspaces, maxResults to specify the maximum number of records per page, and nameLike to perform fuzzy filtering by workspace name. If maxResults is not specified or is set to 0, the server returns 20 records by default.\\n
|
|
4668
5469
|
*
|
|
4669
5470
|
* @param request - ListWorkspacesRequest
|
|
4670
5471
|
* @param headers - map
|
|
@@ -4701,10 +5502,10 @@ class Client extends openapi_core_1.default {
|
|
|
4701
5502
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWorkspacesResponse({}));
|
|
4702
5503
|
}
|
|
4703
5504
|
/**
|
|
4704
|
-
*
|
|
5505
|
+
* Performs a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging.
|
|
4705
5506
|
*
|
|
4706
5507
|
* @remarks
|
|
4707
|
-
* ##
|
|
5508
|
+
* ## Request description\\nPerforms a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging. You can use nextToken to obtain the next page, skip to skip a specified number of workspaces, maxResults to specify the maximum number of records per page, and nameLike to perform fuzzy filtering by workspace name. If maxResults is not specified or is set to 0, the server returns 20 records by default.\\n
|
|
4708
5509
|
*
|
|
4709
5510
|
* @param request - ListWorkspacesRequest
|
|
4710
5511
|
* @returns ListWorkspacesResponse
|
|
@@ -4990,7 +5791,7 @@ class Client extends openapi_core_1.default {
|
|
|
4990
5791
|
return await this.redraftSkillVersionWithOptions(workspaceId, skillName, skillVersion, request, headers, runtime);
|
|
4991
5792
|
}
|
|
4992
5793
|
/**
|
|
4993
|
-
* Resets the logon password of a specified user.
|
|
5794
|
+
* Resets the logon password of a specified user. You can specify the user by using agentCoreUserId or username, and you must specify at least one of them. This operation only supports resetting passwords for users who use local password authentication in the workspace. If you do not specify the password parameter, the server generates a random password and returns it in the response.
|
|
4994
5795
|
*
|
|
4995
5796
|
* @param tmpReq - ResetUserPasswordRequest
|
|
4996
5797
|
* @param headers - map
|
|
@@ -5026,7 +5827,7 @@ class Client extends openapi_core_1.default {
|
|
|
5026
5827
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResetUserPasswordResponse({}));
|
|
5027
5828
|
}
|
|
5028
5829
|
/**
|
|
5029
|
-
* Resets the logon password of a specified user.
|
|
5830
|
+
* Resets the logon password of a specified user. You can specify the user by using agentCoreUserId or username, and you must specify at least one of them. This operation only supports resetting passwords for users who use local password authentication in the workspace. If you do not specify the password parameter, the server generates a random password and returns it in the response.
|
|
5030
5831
|
*
|
|
5031
5832
|
* @param request - ResetUserPasswordRequest
|
|
5032
5833
|
* @returns ResetUserPasswordResponse
|
|
@@ -5037,11 +5838,128 @@ class Client extends openapi_core_1.default {
|
|
|
5037
5838
|
return await this.resetUserPasswordWithOptions(workspaceId, request, headers, runtime);
|
|
5038
5839
|
}
|
|
5039
5840
|
/**
|
|
5040
|
-
*
|
|
5841
|
+
* Retries the image cache.
|
|
5041
5842
|
*
|
|
5042
5843
|
* @remarks
|
|
5043
|
-
*
|
|
5044
|
-
*
|
|
5844
|
+
* Retries the image cache for the original ImageId in the current workspace. WorkspaceId is required. The business request body is not required and can be omitted or provided as an empty object. The source authorization and transfer network reuse the trusted context of the original registration. If a digest exists, the retry uses the original digest. If no digest exists, the original tag is resolved again. A new request for a FAILED status can start a new production round. PENDING and READY statuses are reused. DELETING status is rejected, and deleted resources are not recreated. PUBLIC and PRIVATE statuses reuse the pull authorization of the original workspace. Returns a complete acceptance snapshot and retains the original ImageId and CreatedAt. ClientToken does not guarantee request deduplication. If the result is not confirmed, query the real-time status first before deciding whether to resubmit.
|
|
5845
|
+
*
|
|
5846
|
+
* @param tmpReq - RetryImageCacheRequest
|
|
5847
|
+
* @param headers - map
|
|
5848
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5849
|
+
* @returns RetryImageCacheResponse
|
|
5850
|
+
*/
|
|
5851
|
+
async retryImageCacheWithOptions(imageId, tmpReq, headers, runtime) {
|
|
5852
|
+
tmpReq.validate();
|
|
5853
|
+
let request = new $_model.RetryImageCacheShrinkRequest({});
|
|
5854
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
5855
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
5856
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
5857
|
+
}
|
|
5858
|
+
let query = {};
|
|
5859
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
5860
|
+
query["clientToken"] = request.clientToken;
|
|
5861
|
+
}
|
|
5862
|
+
if (!$dara.isNull(request.regionId)) {
|
|
5863
|
+
query["regionId"] = request.regionId;
|
|
5864
|
+
}
|
|
5865
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
5866
|
+
query["workspaceId"] = request.workspaceId;
|
|
5867
|
+
}
|
|
5868
|
+
let body = {};
|
|
5869
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
5870
|
+
body["body"] = request.bodyShrink;
|
|
5871
|
+
}
|
|
5872
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5873
|
+
headers: headers,
|
|
5874
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5875
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
5876
|
+
});
|
|
5877
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5878
|
+
action: "RetryImageCache",
|
|
5879
|
+
version: "2026-08-04",
|
|
5880
|
+
protocol: "HTTPS",
|
|
5881
|
+
pathname: `/image-caches/${$dara.URL.percentEncode(imageId)}/retry`,
|
|
5882
|
+
method: "POST",
|
|
5883
|
+
authType: "AK",
|
|
5884
|
+
style: "ROA",
|
|
5885
|
+
reqBodyType: "formData",
|
|
5886
|
+
bodyType: "json",
|
|
5887
|
+
});
|
|
5888
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RetryImageCacheResponse({}));
|
|
5889
|
+
}
|
|
5890
|
+
/**
|
|
5891
|
+
* Retries the image cache.
|
|
5892
|
+
*
|
|
5893
|
+
* @remarks
|
|
5894
|
+
* Retries the image cache for the original ImageId in the current workspace. WorkspaceId is required. The business request body is not required and can be omitted or provided as an empty object. The source authorization and transfer network reuse the trusted context of the original registration. If a digest exists, the retry uses the original digest. If no digest exists, the original tag is resolved again. A new request for a FAILED status can start a new production round. PENDING and READY statuses are reused. DELETING status is rejected, and deleted resources are not recreated. PUBLIC and PRIVATE statuses reuse the pull authorization of the original workspace. Returns a complete acceptance snapshot and retains the original ImageId and CreatedAt. ClientToken does not guarantee request deduplication. If the result is not confirmed, query the real-time status first before deciding whether to resubmit.
|
|
5895
|
+
*
|
|
5896
|
+
* @param request - RetryImageCacheRequest
|
|
5897
|
+
* @returns RetryImageCacheResponse
|
|
5898
|
+
*/
|
|
5899
|
+
async retryImageCache(imageId, request) {
|
|
5900
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5901
|
+
let headers = {};
|
|
5902
|
+
return await this.retryImageCacheWithOptions(imageId, request, headers, runtime);
|
|
5903
|
+
}
|
|
5904
|
+
/**
|
|
5905
|
+
* Retrieves long-term memory from a MemoryStore based on semantics queries.
|
|
5906
|
+
*
|
|
5907
|
+
* @remarks
|
|
5908
|
+
* Retrieves long-term memory from a MemoryStore based on semantics queries.
|
|
5909
|
+
*
|
|
5910
|
+
* @param tmpReq - SearchMemoriesRequest
|
|
5911
|
+
* @param headers - map
|
|
5912
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5913
|
+
* @returns SearchMemoriesResponse
|
|
5914
|
+
*/
|
|
5915
|
+
async searchMemoriesWithOptions(workspaceId, memoryStoreName, tmpReq, headers, runtime) {
|
|
5916
|
+
tmpReq.validate();
|
|
5917
|
+
let request = new $_model.SearchMemoriesShrinkRequest({});
|
|
5918
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
5919
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
5920
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
5921
|
+
}
|
|
5922
|
+
let body = {};
|
|
5923
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
5924
|
+
body["body"] = request.bodyShrink;
|
|
5925
|
+
}
|
|
5926
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5927
|
+
headers: headers,
|
|
5928
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
5929
|
+
});
|
|
5930
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5931
|
+
action: "SearchMemories",
|
|
5932
|
+
version: "2026-08-04",
|
|
5933
|
+
protocol: "HTTPS",
|
|
5934
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/search`,
|
|
5935
|
+
method: "POST",
|
|
5936
|
+
authType: "AK",
|
|
5937
|
+
style: "ROA",
|
|
5938
|
+
reqBodyType: "formData",
|
|
5939
|
+
bodyType: "json",
|
|
5940
|
+
});
|
|
5941
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchMemoriesResponse({}));
|
|
5942
|
+
}
|
|
5943
|
+
/**
|
|
5944
|
+
* Retrieves long-term memory from a MemoryStore based on semantics queries.
|
|
5945
|
+
*
|
|
5946
|
+
* @remarks
|
|
5947
|
+
* Retrieves long-term memory from a MemoryStore based on semantics queries.
|
|
5948
|
+
*
|
|
5949
|
+
* @param request - SearchMemoriesRequest
|
|
5950
|
+
* @returns SearchMemoriesResponse
|
|
5951
|
+
*/
|
|
5952
|
+
async searchMemories(workspaceId, memoryStoreName, request) {
|
|
5953
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5954
|
+
let headers = {};
|
|
5955
|
+
return await this.searchMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
5956
|
+
}
|
|
5957
|
+
/**
|
|
5958
|
+
* Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
|
|
5959
|
+
*
|
|
5960
|
+
* @remarks
|
|
5961
|
+
* ## Request description
|
|
5962
|
+
* Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
|
|
5045
5963
|
*
|
|
5046
5964
|
* @param tmpReq - SubmitAgentSpecVersionRequest
|
|
5047
5965
|
* @param headers - map
|
|
@@ -5077,11 +5995,11 @@ class Client extends openapi_core_1.default {
|
|
|
5077
5995
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SubmitAgentSpecVersionResponse({}));
|
|
5078
5996
|
}
|
|
5079
5997
|
/**
|
|
5080
|
-
* Submits a specified
|
|
5998
|
+
* Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
|
|
5081
5999
|
*
|
|
5082
6000
|
* @remarks
|
|
5083
|
-
* ##
|
|
5084
|
-
* Submits a specified
|
|
6001
|
+
* ## Request description
|
|
6002
|
+
* Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
|
|
5085
6003
|
*
|
|
5086
6004
|
* @param request - SubmitAgentSpecVersionRequest
|
|
5087
6005
|
* @returns SubmitAgentSpecVersionResponse
|
|
@@ -5147,10 +6065,10 @@ class Client extends openapi_core_1.default {
|
|
|
5147
6065
|
return await this.submitSkillVersionWithOptions(workspaceId, skillName, skillVersion, request, headers, runtime);
|
|
5148
6066
|
}
|
|
5149
6067
|
/**
|
|
5150
|
-
* Updates the ServiceEndpoint
|
|
6068
|
+
* Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
|
|
5151
6069
|
*
|
|
5152
6070
|
* @remarks
|
|
5153
|
-
* Updates the ServiceEndpoint
|
|
6071
|
+
* Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
|
|
5154
6072
|
*
|
|
5155
6073
|
* @param tmpReq - UpdateAgentIMChannelRequest
|
|
5156
6074
|
* @param headers - map
|
|
@@ -5191,10 +6109,10 @@ class Client extends openapi_core_1.default {
|
|
|
5191
6109
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAgentIMChannelResponse({}));
|
|
5192
6110
|
}
|
|
5193
6111
|
/**
|
|
5194
|
-
* Updates the ServiceEndpoint
|
|
6112
|
+
* Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
|
|
5195
6113
|
*
|
|
5196
6114
|
* @remarks
|
|
5197
|
-
* Updates the ServiceEndpoint
|
|
6115
|
+
* Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
|
|
5198
6116
|
*
|
|
5199
6117
|
* @param request - UpdateAgentIMChannelRequest
|
|
5200
6118
|
* @returns UpdateAgentIMChannelResponse
|
|
@@ -5205,10 +6123,10 @@ class Client extends openapi_core_1.default {
|
|
|
5205
6123
|
return await this.updateAgentIMChannelWithOptions(workspaceId, agentId, imChannelId, request, headers, runtime);
|
|
5206
6124
|
}
|
|
5207
6125
|
/**
|
|
5208
|
-
*
|
|
6126
|
+
* Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
|
|
5209
6127
|
*
|
|
5210
6128
|
* @remarks
|
|
5211
|
-
*
|
|
6129
|
+
* Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
|
|
5212
6130
|
*
|
|
5213
6131
|
* @param tmpReq - UpdateAgentIMChannelCredentialRequest
|
|
5214
6132
|
* @param headers - map
|
|
@@ -5249,10 +6167,10 @@ class Client extends openapi_core_1.default {
|
|
|
5249
6167
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAgentIMChannelCredentialResponse({}));
|
|
5250
6168
|
}
|
|
5251
6169
|
/**
|
|
5252
|
-
*
|
|
6170
|
+
* Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
|
|
5253
6171
|
*
|
|
5254
6172
|
* @remarks
|
|
5255
|
-
*
|
|
6173
|
+
* Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
|
|
5256
6174
|
*
|
|
5257
6175
|
* @param request - UpdateAgentIMChannelCredentialRequest
|
|
5258
6176
|
* @returns UpdateAgentIMChannelCredentialResponse
|
|
@@ -5371,10 +6289,10 @@ class Client extends openapi_core_1.default {
|
|
|
5371
6289
|
return await this.updateConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
|
|
5372
6290
|
}
|
|
5373
6291
|
/**
|
|
5374
|
-
* Updates the content or description of a specified credential.
|
|
6292
|
+
* Updates the content or description of a specified credential. You must specify at least one of credentialMetadata and description. Unspecified attributes remain unchanged. The credential name and credential type cannot be modified after creation.
|
|
5375
6293
|
*
|
|
5376
6294
|
* @remarks
|
|
5377
|
-
* Updates the metadata or
|
|
6295
|
+
* Updates the metadata or application scope of a specified credential.
|
|
5378
6296
|
*
|
|
5379
6297
|
* @param tmpReq - UpdateCredentialRequest
|
|
5380
6298
|
* @param headers - map
|
|
@@ -5415,10 +6333,10 @@ class Client extends openapi_core_1.default {
|
|
|
5415
6333
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCredentialResponse({}));
|
|
5416
6334
|
}
|
|
5417
6335
|
/**
|
|
5418
|
-
* Updates the content or description of a specified credential.
|
|
6336
|
+
* Updates the content or description of a specified credential. You must specify at least one of credentialMetadata and description. Unspecified attributes remain unchanged. The credential name and credential type cannot be modified after creation.
|
|
5419
6337
|
*
|
|
5420
6338
|
* @remarks
|
|
5421
|
-
* Updates the metadata or
|
|
6339
|
+
* Updates the metadata or application scope of a specified credential.
|
|
5422
6340
|
*
|
|
5423
6341
|
* @param request - UpdateCredentialRequest
|
|
5424
6342
|
* @returns UpdateCredentialResponse
|
|
@@ -5432,10 +6350,10 @@ class Client extends openapi_core_1.default {
|
|
|
5432
6350
|
* Updates the configuration of a specified custom agent in a workspace and executes the update asynchronously. Omitted top-level fields retain their original configurations. You can call the GetCustomAgent operation to query the update result.
|
|
5433
6351
|
*
|
|
5434
6352
|
* @remarks
|
|
5435
|
-
*
|
|
5436
|
-
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only
|
|
5437
|
-
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them
|
|
5438
|
-
* The update is an asynchronous process. A successful response indicates that the request is accepted.
|
|
6353
|
+
* Specify at least one top-level field to update. Omitted top-level fields retain their original configurations. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole. Pass an empty array [] to clear a list. The agenticFsMounts field does not accept null. Pass null for the description field to clear the description, and pass null for the healthCheck field to remove the health check.
|
|
6354
|
+
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only ACR container image deployment is supported. Omit the artifact.code field.
|
|
6355
|
+
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them all. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to the workspace network restrictions. To retain the original restrictions, provide both accessInternet and accessVpc. When providing healthCheck, you must specify the port field, and other unspecified items use default values. When providing logging.sls, you must specify both project and logstore.
|
|
6356
|
+
* The update is an asynchronous process. A successful response indicates that the request is accepted. You can call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
|
|
5439
6357
|
* The clientToken field currently does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold field for health checks currently does not take effect. Omit this field.
|
|
5440
6358
|
*
|
|
5441
6359
|
* @param tmpReq - UpdateCustomAgentRequest
|
|
@@ -5480,10 +6398,10 @@ class Client extends openapi_core_1.default {
|
|
|
5480
6398
|
* Updates the configuration of a specified custom agent in a workspace and executes the update asynchronously. Omitted top-level fields retain their original configurations. You can call the GetCustomAgent operation to query the update result.
|
|
5481
6399
|
*
|
|
5482
6400
|
* @remarks
|
|
5483
|
-
*
|
|
5484
|
-
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only
|
|
5485
|
-
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them
|
|
5486
|
-
* The update is an asynchronous process. A successful response indicates that the request is accepted.
|
|
6401
|
+
* Specify at least one top-level field to update. Omitted top-level fields retain their original configurations. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole. Pass an empty array [] to clear a list. The agenticFsMounts field does not accept null. Pass null for the description field to clear the description, and pass null for the healthCheck field to remove the health check.
|
|
6402
|
+
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only ACR container image deployment is supported. Omit the artifact.code field.
|
|
6403
|
+
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them all. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to the workspace network restrictions. To retain the original restrictions, provide both accessInternet and accessVpc. When providing healthCheck, you must specify the port field, and other unspecified items use default values. When providing logging.sls, you must specify both project and logstore.
|
|
6404
|
+
* The update is an asynchronous process. A successful response indicates that the request is accepted. You can call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
|
|
5487
6405
|
* The clientToken field currently does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold field for health checks currently does not take effect. Omit this field.
|
|
5488
6406
|
*
|
|
5489
6407
|
* @param request - UpdateCustomAgentRequest
|
|
@@ -5773,12 +6691,123 @@ class Client extends openapi_core_1.default {
|
|
|
5773
6691
|
return await this.updateMcpTemplateConfigWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
5774
6692
|
}
|
|
5775
6693
|
/**
|
|
5776
|
-
* Updates the
|
|
6694
|
+
* Updates the long-term memory text or metadata based on the memory ID.
|
|
6695
|
+
*
|
|
6696
|
+
* @remarks
|
|
6697
|
+
* Updates the long-term memory text or metadata based on the memory ID.
|
|
6698
|
+
*
|
|
6699
|
+
* @param tmpReq - UpdateMemoryRequest
|
|
6700
|
+
* @param headers - map
|
|
6701
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6702
|
+
* @returns UpdateMemoryResponse
|
|
6703
|
+
*/
|
|
6704
|
+
async updateMemoryWithOptions(workspaceId, memoryStoreName, memoryId, tmpReq, headers, runtime) {
|
|
6705
|
+
tmpReq.validate();
|
|
6706
|
+
let request = new $_model.UpdateMemoryShrinkRequest({});
|
|
6707
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
6708
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
6709
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
6710
|
+
}
|
|
6711
|
+
let body = {};
|
|
6712
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
6713
|
+
body["body"] = request.bodyShrink;
|
|
6714
|
+
}
|
|
6715
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6716
|
+
headers: headers,
|
|
6717
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6718
|
+
});
|
|
6719
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6720
|
+
action: "UpdateMemory",
|
|
6721
|
+
version: "2026-08-04",
|
|
6722
|
+
protocol: "HTTPS",
|
|
6723
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
|
|
6724
|
+
method: "PUT",
|
|
6725
|
+
authType: "AK",
|
|
6726
|
+
style: "ROA",
|
|
6727
|
+
reqBodyType: "formData",
|
|
6728
|
+
bodyType: "json",
|
|
6729
|
+
});
|
|
6730
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMemoryResponse({}));
|
|
6731
|
+
}
|
|
6732
|
+
/**
|
|
6733
|
+
* Updates the long-term memory text or metadata based on the memory ID.
|
|
6734
|
+
*
|
|
6735
|
+
* @remarks
|
|
6736
|
+
* Updates the long-term memory text or metadata based on the memory ID.
|
|
6737
|
+
*
|
|
6738
|
+
* @param request - UpdateMemoryRequest
|
|
6739
|
+
* @returns UpdateMemoryResponse
|
|
6740
|
+
*/
|
|
6741
|
+
async updateMemory(workspaceId, memoryStoreName, memoryId, request) {
|
|
6742
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6743
|
+
let headers = {};
|
|
6744
|
+
return await this.updateMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
|
|
6745
|
+
}
|
|
6746
|
+
/**
|
|
6747
|
+
* Updates a memory store.
|
|
6748
|
+
*
|
|
6749
|
+
* @remarks
|
|
6750
|
+
* Updates a memory store.
|
|
6751
|
+
*
|
|
6752
|
+
* @param tmpReq - UpdateMemoryStoreRequest
|
|
6753
|
+
* @param headers - map
|
|
6754
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6755
|
+
* @returns UpdateMemoryStoreResponse
|
|
6756
|
+
*/
|
|
6757
|
+
async updateMemoryStoreWithOptions(workspaceId, memoryStoreName, tmpReq, headers, runtime) {
|
|
6758
|
+
tmpReq.validate();
|
|
6759
|
+
let request = new $_model.UpdateMemoryStoreShrinkRequest({});
|
|
6760
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
6761
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
6762
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
6763
|
+
}
|
|
6764
|
+
let query = {};
|
|
6765
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
6766
|
+
query["clientToken"] = request.clientToken;
|
|
6767
|
+
}
|
|
6768
|
+
let body = {};
|
|
6769
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
6770
|
+
body["body"] = request.bodyShrink;
|
|
6771
|
+
}
|
|
6772
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6773
|
+
headers: headers,
|
|
6774
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6775
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6776
|
+
});
|
|
6777
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6778
|
+
action: "UpdateMemoryStore",
|
|
6779
|
+
version: "2026-08-04",
|
|
6780
|
+
protocol: "HTTPS",
|
|
6781
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
|
|
6782
|
+
method: "PUT",
|
|
6783
|
+
authType: "AK",
|
|
6784
|
+
style: "ROA",
|
|
6785
|
+
reqBodyType: "formData",
|
|
6786
|
+
bodyType: "json",
|
|
6787
|
+
});
|
|
6788
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMemoryStoreResponse({}));
|
|
6789
|
+
}
|
|
6790
|
+
/**
|
|
6791
|
+
* Updates a memory store.
|
|
5777
6792
|
*
|
|
5778
6793
|
* @remarks
|
|
5779
|
-
*
|
|
5780
|
-
*
|
|
5781
|
-
*
|
|
6794
|
+
* Updates a memory store.
|
|
6795
|
+
*
|
|
6796
|
+
* @param request - UpdateMemoryStoreRequest
|
|
6797
|
+
* @returns UpdateMemoryStoreResponse
|
|
6798
|
+
*/
|
|
6799
|
+
async updateMemoryStore(workspaceId, memoryStoreName, request) {
|
|
6800
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6801
|
+
let headers = {};
|
|
6802
|
+
return await this.updateMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
6803
|
+
}
|
|
6804
|
+
/**
|
|
6805
|
+
* Updates the description, context token limit, maximum output token count, or capability configurations of a specified model.
|
|
6806
|
+
*
|
|
6807
|
+
* @remarks
|
|
6808
|
+
* This operation supports updating description, contextSize, maxTokens, and capabilities. You must specify at least one non-null parameter. Parameters that are not specified or are set to null retain their original values. The capabilities parameter is replaced as a whole object. Capability fields that are not specified in the object are treated as false.
|
|
6809
|
+
* Modifying only the description does not refresh the model configurations of associated agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed agents that reference the model within the same workspace, as well as external agents whose model source is PLATFORM. External agents whose model source is RUNTIME are not affected. Repeatedly submitting the same configuration does not trigger a new model configuration refresh.
|
|
6810
|
+
* A successful response indicates that the model configuration has been saved, but does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. You can call GetModel to query the saved model configuration.
|
|
5782
6811
|
*
|
|
5783
6812
|
* @param tmpReq - UpdateModelRequest
|
|
5784
6813
|
* @param headers - map
|
|
@@ -5819,12 +6848,12 @@ class Client extends openapi_core_1.default {
|
|
|
5819
6848
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateModelResponse({}));
|
|
5820
6849
|
}
|
|
5821
6850
|
/**
|
|
5822
|
-
* Updates the description, context token limit, maximum output token count, or capability
|
|
6851
|
+
* Updates the description, context token limit, maximum output token count, or capability configurations of a specified model.
|
|
5823
6852
|
*
|
|
5824
6853
|
* @remarks
|
|
5825
|
-
* This operation supports updating description, contextSize, maxTokens, and capabilities.
|
|
5826
|
-
* Modifying only description does not refresh the model
|
|
5827
|
-
* A successful response indicates that the model configuration has been saved
|
|
6854
|
+
* This operation supports updating description, contextSize, maxTokens, and capabilities. You must specify at least one non-null parameter. Parameters that are not specified or are set to null retain their original values. The capabilities parameter is replaced as a whole object. Capability fields that are not specified in the object are treated as false.
|
|
6855
|
+
* Modifying only the description does not refresh the model configurations of associated agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed agents that reference the model within the same workspace, as well as external agents whose model source is PLATFORM. External agents whose model source is RUNTIME are not affected. Repeatedly submitting the same configuration does not trigger a new model configuration refresh.
|
|
6856
|
+
* A successful response indicates that the model configuration has been saved, but does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. You can call GetModel to query the saved model configuration.
|
|
5828
6857
|
*
|
|
5829
6858
|
* @param request - UpdateModelRequest
|
|
5830
6859
|
* @returns UpdateModelResponse
|
|
@@ -5835,7 +6864,7 @@ class Client extends openapi_core_1.default {
|
|
|
5835
6864
|
return await this.updateModelWithOptions(workspaceId, modelId, request, headers, runtime);
|
|
5836
6865
|
}
|
|
5837
6866
|
/**
|
|
5838
|
-
* Updates the mutable
|
|
6867
|
+
* Updates the mutable configurations of a specified model connection and resubmits the publish task. The invocation protocol cannot be modified after creation.
|
|
5839
6868
|
*
|
|
5840
6869
|
* @param tmpReq - UpdateModelConnectionRequest
|
|
5841
6870
|
* @param headers - map
|
|
@@ -5876,7 +6905,7 @@ class Client extends openapi_core_1.default {
|
|
|
5876
6905
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateModelConnectionResponse({}));
|
|
5877
6906
|
}
|
|
5878
6907
|
/**
|
|
5879
|
-
* Updates the mutable
|
|
6908
|
+
* Updates the mutable configurations of a specified model connection and resubmits the publish task. The invocation protocol cannot be modified after creation.
|
|
5880
6909
|
*
|
|
5881
6910
|
* @param request - UpdateModelConnectionRequest
|
|
5882
6911
|
* @returns UpdateModelConnectionResponse
|
|
@@ -5887,11 +6916,11 @@ class Client extends openapi_core_1.default {
|
|
|
5887
6916
|
return await this.updateModelConnectionWithOptions(workspaceId, connectionId, request, headers, runtime);
|
|
5888
6917
|
}
|
|
5889
6918
|
/**
|
|
5890
|
-
* Updates the business tags of a specified
|
|
6919
|
+
* Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
|
|
5891
6920
|
*
|
|
5892
6921
|
* @remarks
|
|
5893
|
-
* ##
|
|
5894
|
-
* Updates the business tags of a specified
|
|
6922
|
+
* ## Request description
|
|
6923
|
+
* Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
|
|
5895
6924
|
*
|
|
5896
6925
|
* @param tmpReq - UpdateSkillBizTagsRequest
|
|
5897
6926
|
* @param headers - map
|
|
@@ -5927,11 +6956,11 @@ class Client extends openapi_core_1.default {
|
|
|
5927
6956
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateSkillBizTagsResponse({}));
|
|
5928
6957
|
}
|
|
5929
6958
|
/**
|
|
5930
|
-
* Updates the business tags of a specified
|
|
6959
|
+
* Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
|
|
5931
6960
|
*
|
|
5932
6961
|
* @remarks
|
|
5933
|
-
* ##
|
|
5934
|
-
* Updates the business tags of a specified
|
|
6962
|
+
* ## Request description
|
|
6963
|
+
* Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
|
|
5935
6964
|
*
|
|
5936
6965
|
* @param request - UpdateSkillBizTagsRequest
|
|
5937
6966
|
* @returns UpdateSkillBizTagsResponse
|
|
@@ -6052,7 +7081,7 @@ class Client extends openapi_core_1.default {
|
|
|
6052
7081
|
return await this.updateSkillScopeWithOptions(workspaceId, skillName, request, headers, runtime);
|
|
6053
7082
|
}
|
|
6054
7083
|
/**
|
|
6055
|
-
* Updates the description and members of a specified team. When users or agents are passed
|
|
7084
|
+
* Updates the description and members of a specified team. When users or agents are passed, the corresponding member list is replaced based on full overwrite semantics. Member lists that are not passed remain unchanged. The team name cannot be modified after creation.
|
|
6056
7085
|
*
|
|
6057
7086
|
* @param tmpReq - UpdateTeamRequest
|
|
6058
7087
|
* @param headers - map
|
|
@@ -6093,7 +7122,7 @@ class Client extends openapi_core_1.default {
|
|
|
6093
7122
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateTeamResponse({}));
|
|
6094
7123
|
}
|
|
6095
7124
|
/**
|
|
6096
|
-
* Updates the description and members of a specified team. When users or agents are passed
|
|
7125
|
+
* Updates the description and members of a specified team. When users or agents are passed, the corresponding member list is replaced based on full overwrite semantics. Member lists that are not passed remain unchanged. The team name cannot be modified after creation.
|
|
6097
7126
|
*
|
|
6098
7127
|
* @param request - UpdateTeamRequest
|
|
6099
7128
|
* @returns UpdateTeamResponse
|
|
@@ -6104,7 +7133,7 @@ class Client extends openapi_core_1.default {
|
|
|
6104
7133
|
return await this.updateTeamWithOptions(workspaceId, teamId, request, headers, runtime);
|
|
6105
7134
|
}
|
|
6106
7135
|
/**
|
|
6107
|
-
* Updates the display name, email address, or note of a specified user.
|
|
7136
|
+
* Updates the display name, email address, or note of a specified user. You must specify at least one of the displayName, email, and note parameters. Unspecified attributes remain unchanged. The username cannot be modified after creation.
|
|
6108
7137
|
*
|
|
6109
7138
|
* @param tmpReq - UpdateUserRequest
|
|
6110
7139
|
* @param headers - map
|
|
@@ -6145,7 +7174,7 @@ class Client extends openapi_core_1.default {
|
|
|
6145
7174
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateUserResponse({}));
|
|
6146
7175
|
}
|
|
6147
7176
|
/**
|
|
6148
|
-
* Updates the display name, email address, or note of a specified user.
|
|
7177
|
+
* Updates the display name, email address, or note of a specified user. You must specify at least one of the displayName, email, and note parameters. Unspecified attributes remain unchanged. The username cannot be modified after creation.
|
|
6149
7178
|
*
|
|
6150
7179
|
* @param request - UpdateUserRequest
|
|
6151
7180
|
* @returns UpdateUserResponse
|
|
@@ -6156,10 +7185,10 @@ class Client extends openapi_core_1.default {
|
|
|
6156
7185
|
return await this.updateUserWithOptions(workspaceId, agentCoreUserId, request, headers, runtime);
|
|
6157
7186
|
}
|
|
6158
7187
|
/**
|
|
6159
|
-
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized
|
|
7188
|
+
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this API operation.
|
|
6160
7189
|
*
|
|
6161
7190
|
* @remarks
|
|
6162
|
-
* ##
|
|
7191
|
+
* ## Request description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` state can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this API operation. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
6163
7192
|
*
|
|
6164
7193
|
* @param tmpReq - UpdateWorkspaceRequest
|
|
6165
7194
|
* @param headers - map
|
|
@@ -6200,10 +7229,10 @@ class Client extends openapi_core_1.default {
|
|
|
6200
7229
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWorkspaceResponse({}));
|
|
6201
7230
|
}
|
|
6202
7231
|
/**
|
|
6203
|
-
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized
|
|
7232
|
+
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this API operation.
|
|
6204
7233
|
*
|
|
6205
7234
|
* @remarks
|
|
6206
|
-
* ##
|
|
7235
|
+
* ## Request description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` state can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this API operation. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
6207
7236
|
*
|
|
6208
7237
|
* @param request - UpdateWorkspaceRequest
|
|
6209
7238
|
* @returns UpdateWorkspaceResponse
|
|
@@ -6214,11 +7243,11 @@ class Client extends openapi_core_1.default {
|
|
|
6214
7243
|
return await this.updateWorkspaceWithOptions(workspaceId, request, headers, runtime);
|
|
6215
7244
|
}
|
|
6216
7245
|
/**
|
|
6217
|
-
*
|
|
7246
|
+
* Imports an AgentSpec into the current workspace by retrieving and parsing an uploaded AgentSpec ZIP package from OSS.
|
|
6218
7247
|
*
|
|
6219
7248
|
* @remarks
|
|
6220
|
-
* ##
|
|
6221
|
-
* Retrieves an uploaded AgentSpec ZIP package from OSS, parses
|
|
7249
|
+
* ## Request description
|
|
7250
|
+
* Retrieves an uploaded AgentSpec ZIP package from OSS, parses the package, and imports the AgentSpec into the current workspace.
|
|
6222
7251
|
*
|
|
6223
7252
|
* @param tmpReq - UploadAgentSpecViaOssRequest
|
|
6224
7253
|
* @param headers - map
|
|
@@ -6254,11 +7283,11 @@ class Client extends openapi_core_1.default {
|
|
|
6254
7283
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UploadAgentSpecViaOssResponse({}));
|
|
6255
7284
|
}
|
|
6256
7285
|
/**
|
|
6257
|
-
*
|
|
7286
|
+
* Imports an AgentSpec into the current workspace by retrieving and parsing an uploaded AgentSpec ZIP package from OSS.
|
|
6258
7287
|
*
|
|
6259
7288
|
* @remarks
|
|
6260
|
-
* ##
|
|
6261
|
-
* Retrieves an uploaded AgentSpec ZIP package from OSS, parses
|
|
7289
|
+
* ## Request description
|
|
7290
|
+
* Retrieves an uploaded AgentSpec ZIP package from OSS, parses the package, and imports the AgentSpec into the current workspace.
|
|
6262
7291
|
*
|
|
6263
7292
|
* @param request - UploadAgentSpecViaOssRequest
|
|
6264
7293
|
* @returns UploadAgentSpecViaOssResponse
|
|
@@ -6377,10 +7406,10 @@ class Client extends openapi_core_1.default {
|
|
|
6377
7406
|
return await this.verifyConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
|
|
6378
7407
|
}
|
|
6379
7408
|
/**
|
|
6380
|
-
* Verifies the ACR RAM authorization
|
|
7409
|
+
* Verifies the ACR RAM authorization for a workspace.
|
|
6381
7410
|
*
|
|
6382
7411
|
* @remarks
|
|
6383
|
-
* ACR and user OSS mounts share the
|
|
7412
|
+
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is retained and only new permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. This operation performs a read-only check to verify whether the custom policies corresponding to the target instance, namespace, and repository are attached to the shared role, and checks the workspace prerequisites. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached, without parsing the policy content or simulating the final permissions. ELIGIBLE does not mean that RuntimeManager capacity or template admission is complete, nor does it require ACR configuration to be delivered. Creating or updating an agent re-verifies permissions and processes ACR dependencies on the backend. Configuration waiting, failures, and retries are reported through agent details.
|
|
6384
7413
|
*
|
|
6385
7414
|
* @param request - VerifyWorkspaceAcrRamAuthorizationRequest
|
|
6386
7415
|
* @param headers - map
|
|
@@ -6417,10 +7446,10 @@ class Client extends openapi_core_1.default {
|
|
|
6417
7446
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.VerifyWorkspaceAcrRamAuthorizationResponse({}));
|
|
6418
7447
|
}
|
|
6419
7448
|
/**
|
|
6420
|
-
* Verifies the ACR RAM authorization
|
|
7449
|
+
* Verifies the ACR RAM authorization for a workspace.
|
|
6421
7450
|
*
|
|
6422
7451
|
* @remarks
|
|
6423
|
-
* ACR and user OSS mounts share the
|
|
7452
|
+
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is retained and only new permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. This operation performs a read-only check to verify whether the custom policies corresponding to the target instance, namespace, and repository are attached to the shared role, and checks the workspace prerequisites. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached, without parsing the policy content or simulating the final permissions. ELIGIBLE does not mean that RuntimeManager capacity or template admission is complete, nor does it require ACR configuration to be delivered. Creating or updating an agent re-verifies permissions and processes ACR dependencies on the backend. Configuration waiting, failures, and retries are reported through agent details.
|
|
6424
7453
|
*
|
|
6425
7454
|
* @param request - VerifyWorkspaceAcrRamAuthorizationRequest
|
|
6426
7455
|
* @returns VerifyWorkspaceAcrRamAuthorizationResponse
|