@alicloud/agentcore20260804 2.3.2 → 2.4.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.
Files changed (469) hide show
  1. package/dist/client.d.ts +562 -226
  2. package/dist/client.js +1005 -287
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddMemoriesRequest.d.ts +140 -0
  5. package/dist/models/AddMemoriesRequest.js +145 -0
  6. package/dist/models/AddMemoriesRequest.js.map +1 -0
  7. package/dist/models/AddMemoriesResponse.d.ts +19 -0
  8. package/dist/models/AddMemoriesResponse.js +69 -0
  9. package/dist/models/AddMemoriesResponse.js.map +1 -0
  10. package/dist/models/AddMemoriesResponseBody.d.ts +100 -0
  11. package/dist/models/AddMemoriesResponseBody.js +114 -0
  12. package/dist/models/AddMemoriesResponseBody.js.map +1 -0
  13. package/dist/models/AddMemoriesShrinkRequest.d.ts +20 -0
  14. package/dist/models/AddMemoriesShrinkRequest.js +58 -0
  15. package/dist/models/AddMemoriesShrinkRequest.js.map +1 -0
  16. package/dist/models/BatchDeleteModelsRequest.d.ts +1 -3
  17. package/dist/models/BatchDeleteModelsRequest.js +0 -2
  18. package/dist/models/BatchDeleteModelsRequest.js.map +1 -1
  19. package/dist/models/BatchDeleteModelsResponseBody.d.ts +3 -3
  20. package/dist/models/BatchDeleteModelsShrinkRequest.d.ts +1 -1
  21. package/dist/models/BatchUploadSkillsViaOssRequest.d.ts +1 -1
  22. package/dist/models/BatchUploadSkillsViaOssResponseBody.d.ts +1 -1
  23. package/dist/models/ConvertMcpToFreeEditRequest.d.ts +1 -1
  24. package/dist/models/ConvertMcpToFreeEditResponseBody.d.ts +51 -51
  25. package/dist/models/CreateAgentImchannelRequest.d.ts +5 -8
  26. package/dist/models/CreateAgentImchannelRequest.js.map +1 -1
  27. package/dist/models/CreateAgentImchannelResponseBody.d.ts +10 -13
  28. package/dist/models/CreateAgentImchannelResponseBody.js.map +1 -1
  29. package/dist/models/CreateAgentImchannelShrinkRequest.d.ts +1 -1
  30. package/dist/models/CreateAgentSpecRequest.d.ts +1 -1
  31. package/dist/models/CreateAgentSpecVersionRequest.d.ts +1 -1
  32. package/dist/models/CreateCredentialRequest.d.ts +8 -8
  33. package/dist/models/CreateCredentialResponseBody.d.ts +13 -13
  34. package/dist/models/CreateCustomAgentRequest.d.ts +32 -45
  35. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  36. package/dist/models/CreateCustomAgentResponseBody.d.ts +36 -55
  37. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  38. package/dist/models/CreateExternalAgentBootstrapTokenRequest.d.ts +1 -3
  39. package/dist/models/CreateExternalAgentBootstrapTokenRequest.js.map +1 -1
  40. package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.d.ts +9 -11
  41. package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.js.map +1 -1
  42. package/dist/models/CreateIdentityProviderRequest.d.ts +7 -9
  43. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  44. package/dist/models/CreateIdentityProviderResponseBody.d.ts +9 -11
  45. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  46. package/dist/models/CreateMemoryStoreRequest.d.ts +66 -0
  47. package/dist/models/CreateMemoryStoreRequest.js +86 -0
  48. package/dist/models/CreateMemoryStoreRequest.js.map +1 -0
  49. package/dist/models/CreateMemoryStoreResponse.d.ts +19 -0
  50. package/dist/models/CreateMemoryStoreResponse.js +69 -0
  51. package/dist/models/CreateMemoryStoreResponse.js.map +1 -0
  52. package/dist/models/CreateMemoryStoreResponseBody.d.ts +131 -0
  53. package/dist/models/CreateMemoryStoreResponseBody.js +104 -0
  54. package/dist/models/CreateMemoryStoreResponseBody.js.map +1 -0
  55. package/dist/models/CreateMemoryStoreShrinkRequest.d.ts +28 -0
  56. package/dist/models/CreateMemoryStoreShrinkRequest.js +60 -0
  57. package/dist/models/CreateMemoryStoreShrinkRequest.js.map +1 -0
  58. package/dist/models/CreateModelConnectionRequest.d.ts +4 -4
  59. package/dist/models/CreateModelConnectionResponseBody.d.ts +13 -13
  60. package/dist/models/CreateModelConnectionShrinkRequest.d.ts +1 -1
  61. package/dist/models/CreateModelRequest.d.ts +6 -6
  62. package/dist/models/CreateModelResponseBody.d.ts +11 -11
  63. package/dist/models/CreateModelShrinkRequest.d.ts +1 -1
  64. package/dist/models/CreateTeamRequest.d.ts +4 -4
  65. package/dist/models/CreateTeamResponseBody.d.ts +7 -7
  66. package/dist/models/CreateUserRequest.d.ts +6 -6
  67. package/dist/models/CreateUserResponseBody.d.ts +11 -11
  68. package/dist/models/CreateWorkspaceRequest.d.ts +22 -10
  69. package/dist/models/CreateWorkspaceRequest.js +4 -0
  70. package/dist/models/CreateWorkspaceRequest.js.map +1 -1
  71. package/dist/models/CreateWorkspaceResponseBody.d.ts +29 -13
  72. package/dist/models/CreateWorkspaceResponseBody.js +4 -0
  73. package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
  74. package/dist/models/CreateWorkspaceShrinkRequest.d.ts +1 -1
  75. package/dist/models/DeleteAgentSpecResponseBody.d.ts +1 -1
  76. package/dist/models/DeleteCredentialResponseBody.d.ts +2 -2
  77. package/dist/models/DeleteCustomAgentResponseBody.d.ts +11 -4
  78. package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -1
  79. package/dist/models/DeleteExternalAgentResponseBody.d.ts +6 -12
  80. package/dist/models/DeleteExternalAgentResponseBody.js.map +1 -1
  81. package/dist/models/DeleteManagedAgentResponseBody.d.ts +6 -6
  82. package/dist/models/DeleteMcpResponseBody.d.ts +3 -3
  83. package/dist/models/DeleteMemoryRequest.d.ts +13 -0
  84. package/dist/models/DeleteMemoryRequest.js +54 -0
  85. package/dist/models/DeleteMemoryRequest.js.map +1 -0
  86. package/dist/models/DeleteMemoryResponse.d.ts +19 -0
  87. package/dist/models/DeleteMemoryResponse.js +69 -0
  88. package/dist/models/DeleteMemoryResponse.js.map +1 -0
  89. package/dist/models/DeleteMemoryResponseBody.d.ts +50 -0
  90. package/dist/models/DeleteMemoryResponseBody.js +66 -0
  91. package/dist/models/DeleteMemoryResponseBody.js.map +1 -0
  92. package/dist/models/DeleteMemoryStoreRequest.d.ts +13 -0
  93. package/dist/models/DeleteMemoryStoreRequest.js +54 -0
  94. package/dist/models/DeleteMemoryStoreRequest.js.map +1 -0
  95. package/dist/models/DeleteMemoryStoreResponse.d.ts +19 -0
  96. package/dist/models/DeleteMemoryStoreResponse.js +69 -0
  97. package/dist/models/DeleteMemoryStoreResponse.js.map +1 -0
  98. package/dist/models/DeleteMemoryStoreResponseBody.d.ts +131 -0
  99. package/dist/models/DeleteMemoryStoreResponseBody.js +104 -0
  100. package/dist/models/DeleteMemoryStoreResponseBody.js.map +1 -0
  101. package/dist/models/DeleteWorkspaceResponseBody.d.ts +1 -1
  102. package/dist/models/DownloadAgentSpecViaOssRequest.d.ts +1 -1
  103. package/dist/models/GetAgentImchannelResponseBody.d.ts +11 -20
  104. package/dist/models/GetAgentImchannelResponseBody.js.map +1 -1
  105. package/dist/models/GetAgentSpecImportFileUrlRequest.d.ts +1 -1
  106. package/dist/models/GetAgentSpecImportFileUrlResponseBody.d.ts +3 -3
  107. package/dist/models/GetAgentSpecResponseBody.d.ts +9 -9
  108. package/dist/models/GetAgentSpecVersionResponseBody.d.ts +3 -3
  109. package/dist/models/GetCredentialResponseBody.d.ts +11 -11
  110. package/dist/models/GetCustomAgentResponseBody.d.ts +277 -9
  111. package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
  112. package/dist/models/GetExternalAgentBootstrapOptionsResponseBody.d.ts +8 -10
  113. package/dist/models/GetExternalAgentBootstrapOptionsResponseBody.js.map +1 -1
  114. package/dist/models/GetIdentityProviderResponseBody.d.ts +20 -20
  115. package/dist/models/GetMemoryRequest.d.ts +13 -0
  116. package/dist/models/GetMemoryRequest.js +54 -0
  117. package/dist/models/GetMemoryRequest.js.map +1 -0
  118. package/dist/models/GetMemoryResponse.d.ts +19 -0
  119. package/dist/models/GetMemoryResponse.js +69 -0
  120. package/dist/models/GetMemoryResponse.js.map +1 -0
  121. package/dist/models/GetMemoryResponseBody.d.ts +164 -0
  122. package/dist/models/GetMemoryResponseBody.js +151 -0
  123. package/dist/models/GetMemoryResponseBody.js.map +1 -0
  124. package/dist/models/GetMemoryStoreRequest.d.ts +13 -0
  125. package/dist/models/GetMemoryStoreRequest.js +54 -0
  126. package/dist/models/GetMemoryStoreRequest.js.map +1 -0
  127. package/dist/models/GetMemoryStoreResponse.d.ts +19 -0
  128. package/dist/models/GetMemoryStoreResponse.js +69 -0
  129. package/dist/models/GetMemoryStoreResponse.js.map +1 -0
  130. package/dist/models/GetMemoryStoreResponseBody.d.ts +131 -0
  131. package/dist/models/GetMemoryStoreResponseBody.js +104 -0
  132. package/dist/models/GetMemoryStoreResponseBody.js.map +1 -0
  133. package/dist/models/GetMemoryTaskRequest.d.ts +13 -0
  134. package/dist/models/GetMemoryTaskRequest.js +54 -0
  135. package/dist/models/GetMemoryTaskRequest.js.map +1 -0
  136. package/dist/models/GetMemoryTaskResponse.d.ts +19 -0
  137. package/dist/models/GetMemoryTaskResponse.js +69 -0
  138. package/dist/models/GetMemoryTaskResponse.js.map +1 -0
  139. package/dist/models/GetMemoryTaskResponseBody.d.ts +145 -0
  140. package/dist/models/GetMemoryTaskResponseBody.js +142 -0
  141. package/dist/models/GetMemoryTaskResponseBody.js.map +1 -0
  142. package/dist/models/GetModelConnectionResponseBody.d.ts +13 -13
  143. package/dist/models/GetModelResponseBody.d.ts +10 -10
  144. package/dist/models/GetServiceEndpointApiKeyResponseBody.d.ts +13 -14
  145. package/dist/models/GetServiceEndpointApiKeyResponseBody.js.map +1 -1
  146. package/dist/models/GetSkillImportFileUrlRequest.d.ts +1 -1
  147. package/dist/models/GetSkillImportFileUrlResponseBody.d.ts +4 -4
  148. package/dist/models/GetUserResponseBody.d.ts +10 -16
  149. package/dist/models/GetUserResponseBody.js.map +1 -1
  150. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +3 -3
  151. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +5 -5
  152. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.d.ts +3 -3
  153. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.d.ts +2 -2
  154. package/dist/models/GetWorkspaceResponseBody.d.ts +22 -6
  155. package/dist/models/GetWorkspaceResponseBody.js +4 -0
  156. package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
  157. package/dist/models/InstallWorkspacePluginRequest.d.ts +5 -5
  158. package/dist/models/InstallWorkspacePluginResponseBody.d.ts +2 -2
  159. package/dist/models/ListAgentTeamsRequest.d.ts +1 -1
  160. package/dist/models/ListAgentTeamsResponseBody.d.ts +6 -6
  161. package/dist/models/ListAgentTeamsShrinkRequest.d.ts +1 -1
  162. package/dist/models/ListCredentialsRequest.d.ts +2 -2
  163. package/dist/models/ListCredentialsResponseBody.d.ts +15 -15
  164. package/dist/models/ListCustomAgentsRequest.d.ts +1 -1
  165. package/dist/models/ListCustomAgentsResponseBody.d.ts +22 -12
  166. package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
  167. package/dist/models/ListExternalAgentsRequest.d.ts +1 -1
  168. package/dist/models/ListExternalAgentsResponseBody.d.ts +10 -16
  169. package/dist/models/ListExternalAgentsResponseBody.js.map +1 -1
  170. package/dist/models/ListIdentityProvidersRequest.d.ts +2 -2
  171. package/dist/models/ListIdentityProvidersResponseBody.d.ts +24 -15
  172. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  173. package/dist/models/ListMemoriesRequest.d.ts +53 -0
  174. package/dist/models/ListMemoriesRequest.js +66 -0
  175. package/dist/models/ListMemoriesRequest.js.map +1 -0
  176. package/dist/models/ListMemoriesResponse.d.ts +19 -0
  177. package/dist/models/ListMemoriesResponse.js +69 -0
  178. package/dist/models/ListMemoriesResponse.js.map +1 -0
  179. package/dist/models/ListMemoriesResponseBody.d.ts +180 -0
  180. package/dist/models/ListMemoriesResponseBody.js +155 -0
  181. package/dist/models/ListMemoriesResponseBody.js.map +1 -0
  182. package/dist/models/ListMemorySessionMessagesRequest.d.ts +55 -0
  183. package/dist/models/ListMemorySessionMessagesRequest.js +66 -0
  184. package/dist/models/ListMemorySessionMessagesRequest.js.map +1 -0
  185. package/dist/models/ListMemorySessionMessagesResponse.d.ts +19 -0
  186. package/dist/models/ListMemorySessionMessagesResponse.js +69 -0
  187. package/dist/models/ListMemorySessionMessagesResponse.js.map +1 -0
  188. package/dist/models/ListMemorySessionMessagesResponseBody.d.ts +99 -0
  189. package/dist/models/ListMemorySessionMessagesResponseBody.js +96 -0
  190. package/dist/models/ListMemorySessionMessagesResponseBody.js.map +1 -0
  191. package/dist/models/ListMemorySessionsRequest.d.ts +45 -0
  192. package/dist/models/ListMemorySessionsRequest.js +64 -0
  193. package/dist/models/ListMemorySessionsRequest.js.map +1 -0
  194. package/dist/models/ListMemorySessionsResponse.d.ts +19 -0
  195. package/dist/models/ListMemorySessionsResponse.js +69 -0
  196. package/dist/models/ListMemorySessionsResponse.js.map +1 -0
  197. package/dist/models/ListMemorySessionsResponseBody.d.ts +107 -0
  198. package/dist/models/ListMemorySessionsResponseBody.js +98 -0
  199. package/dist/models/ListMemorySessionsResponseBody.js.map +1 -0
  200. package/dist/models/ListMemoryStoresRequest.d.ts +29 -0
  201. package/dist/models/ListMemoryStoresRequest.js +60 -0
  202. package/dist/models/ListMemoryStoresRequest.js.map +1 -0
  203. package/dist/models/ListMemoryStoresResponse.d.ts +19 -0
  204. package/dist/models/ListMemoryStoresResponse.js +69 -0
  205. package/dist/models/ListMemoryStoresResponse.js.map +1 -0
  206. package/dist/models/ListMemoryStoresResponseBody.d.ts +158 -0
  207. package/dist/models/ListMemoryStoresResponseBody.js +110 -0
  208. package/dist/models/ListMemoryStoresResponseBody.js.map +1 -0
  209. package/dist/models/ListPredefinedModelProvidersResponseBody.d.ts +64 -0
  210. package/dist/models/ListPredefinedModelProvidersResponseBody.js.map +1 -1
  211. package/dist/models/ListPredefinedModelsResponseBody.d.ts +9 -9
  212. package/dist/models/ListServiceEndpointsRequest.d.ts +8 -8
  213. package/dist/models/ListServiceEndpointsResponseBody.d.ts +19 -19
  214. package/dist/models/ListSkillReferencesRequest.d.ts +4 -4
  215. package/dist/models/ListSkillReferencesResponseBody.d.ts +6 -6
  216. package/dist/models/ListTeamsRequest.d.ts +3 -3
  217. package/dist/models/ListTeamsResponseBody.d.ts +12 -24
  218. package/dist/models/ListTeamsResponseBody.js.map +1 -1
  219. package/dist/models/ListWorkspacesRequest.d.ts +1 -1
  220. package/dist/models/ListWorkspacesResponseBody.d.ts +26 -14
  221. package/dist/models/ListWorkspacesResponseBody.js +4 -0
  222. package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
  223. package/dist/models/ResetUserPasswordRequest.d.ts +3 -3
  224. package/dist/models/ResetUserPasswordResponseBody.d.ts +3 -3
  225. package/dist/models/SearchMemoriesRequest.d.ts +119 -0
  226. package/dist/models/SearchMemoriesRequest.js +121 -0
  227. package/dist/models/SearchMemoriesRequest.js.map +1 -0
  228. package/dist/models/SearchMemoriesResponse.d.ts +19 -0
  229. package/dist/models/SearchMemoriesResponse.js +69 -0
  230. package/dist/models/SearchMemoriesResponse.js.map +1 -0
  231. package/dist/models/SearchMemoriesResponseBody.d.ts +214 -0
  232. package/dist/models/SearchMemoriesResponseBody.js +199 -0
  233. package/dist/models/SearchMemoriesResponseBody.js.map +1 -0
  234. package/dist/models/SearchMemoriesShrinkRequest.d.ts +20 -0
  235. package/dist/models/SearchMemoriesShrinkRequest.js +58 -0
  236. package/dist/models/SearchMemoriesShrinkRequest.js.map +1 -0
  237. package/dist/models/UpdateAgentImchannelCredentialRequest.d.ts +2 -2
  238. package/dist/models/UpdateAgentImchannelCredentialResponseBody.d.ts +6 -6
  239. package/dist/models/UpdateAgentImchannelCredentialShrinkRequest.d.ts +1 -1
  240. package/dist/models/UpdateAgentImchannelRequest.d.ts +4 -4
  241. package/dist/models/UpdateAgentImchannelResponseBody.d.ts +9 -18
  242. package/dist/models/UpdateAgentImchannelResponseBody.js.map +1 -1
  243. package/dist/models/UpdateAgentImchannelShrinkRequest.d.ts +1 -1
  244. package/dist/models/UpdateCredentialRequest.d.ts +6 -6
  245. package/dist/models/UpdateCredentialResponseBody.d.ts +10 -10
  246. package/dist/models/UpdateCustomAgentRequest.d.ts +30 -33
  247. package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
  248. package/dist/models/UpdateCustomAgentResponseBody.d.ts +43 -30
  249. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
  250. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +1 -1
  251. package/dist/models/UpdateMemoryRequest.d.ts +47 -0
  252. package/dist/models/UpdateMemoryRequest.js +85 -0
  253. package/dist/models/UpdateMemoryRequest.js.map +1 -0
  254. package/dist/models/UpdateMemoryResponse.d.ts +19 -0
  255. package/dist/models/UpdateMemoryResponse.js +69 -0
  256. package/dist/models/UpdateMemoryResponse.js.map +1 -0
  257. package/dist/models/UpdateMemoryResponseBody.d.ts +164 -0
  258. package/dist/models/UpdateMemoryResponseBody.js +151 -0
  259. package/dist/models/UpdateMemoryResponseBody.js.map +1 -0
  260. package/dist/models/UpdateMemoryShrinkRequest.d.ts +20 -0
  261. package/dist/models/UpdateMemoryShrinkRequest.js +58 -0
  262. package/dist/models/UpdateMemoryShrinkRequest.js.map +1 -0
  263. package/dist/models/UpdateMemoryStoreRequest.d.ts +56 -0
  264. package/dist/models/UpdateMemoryStoreRequest.js +84 -0
  265. package/dist/models/UpdateMemoryStoreRequest.js.map +1 -0
  266. package/dist/models/UpdateMemoryStoreResponse.d.ts +19 -0
  267. package/dist/models/UpdateMemoryStoreResponse.js +69 -0
  268. package/dist/models/UpdateMemoryStoreResponse.js.map +1 -0
  269. package/dist/models/UpdateMemoryStoreResponseBody.d.ts +131 -0
  270. package/dist/models/UpdateMemoryStoreResponseBody.js +104 -0
  271. package/dist/models/UpdateMemoryStoreResponseBody.js.map +1 -0
  272. package/dist/models/UpdateMemoryStoreShrinkRequest.d.ts +28 -0
  273. package/dist/models/UpdateMemoryStoreShrinkRequest.js +60 -0
  274. package/dist/models/UpdateMemoryStoreShrinkRequest.js.map +1 -0
  275. package/dist/models/UpdateModelConnectionRequest.d.ts +4 -4
  276. package/dist/models/UpdateModelConnectionResponseBody.d.ts +12 -12
  277. package/dist/models/UpdateModelConnectionShrinkRequest.d.ts +1 -1
  278. package/dist/models/UpdateModelRequest.d.ts +31 -14
  279. package/dist/models/UpdateModelRequest.js.map +1 -1
  280. package/dist/models/UpdateModelResponseBody.d.ts +12 -12
  281. package/dist/models/UpdateModelShrinkRequest.d.ts +2 -2
  282. package/dist/models/UpdateSkillBizTagsRequest.d.ts +1 -1
  283. package/dist/models/UpdateSkillScopeRequest.d.ts +1 -1
  284. package/dist/models/UpdateTeamRequest.d.ts +7 -13
  285. package/dist/models/UpdateTeamRequest.js.map +1 -1
  286. package/dist/models/UpdateTeamResponseBody.d.ts +11 -25
  287. package/dist/models/UpdateTeamResponseBody.js.map +1 -1
  288. package/dist/models/UpdateTeamShrinkRequest.d.ts +1 -1
  289. package/dist/models/UpdateUserRequest.d.ts +3 -3
  290. package/dist/models/UpdateUserResponseBody.d.ts +8 -8
  291. package/dist/models/UpdateWorkspaceRequest.d.ts +21 -7
  292. package/dist/models/UpdateWorkspaceRequest.js +4 -0
  293. package/dist/models/UpdateWorkspaceRequest.js.map +1 -1
  294. package/dist/models/UpdateWorkspaceResponseBody.d.ts +26 -10
  295. package/dist/models/UpdateWorkspaceResponseBody.js +4 -0
  296. package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
  297. package/dist/models/UpdateWorkspaceShrinkRequest.d.ts +1 -1
  298. package/dist/models/UploadAgentSpecViaOssRequest.d.ts +3 -3
  299. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.d.ts +3 -3
  300. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +6 -6
  301. package/dist/models/model.d.ts +81 -0
  302. package/dist/models/model.js +187 -23
  303. package/dist/models/model.js.map +1 -1
  304. package/package.json +1 -1
  305. package/src/client.ts +1052 -278
  306. package/src/models/AddMemoriesRequest.ts +209 -0
  307. package/src/models/AddMemoriesResponse.ts +40 -0
  308. package/src/models/AddMemoriesResponseBody.ts +151 -0
  309. package/src/models/AddMemoriesShrinkRequest.ts +33 -0
  310. package/src/models/BatchDeleteModelsRequest.ts +1 -3
  311. package/src/models/BatchDeleteModelsResponseBody.ts +3 -3
  312. package/src/models/BatchDeleteModelsShrinkRequest.ts +1 -1
  313. package/src/models/BatchUploadSkillsViaOssRequest.ts +1 -1
  314. package/src/models/BatchUploadSkillsViaOssResponseBody.ts +1 -1
  315. package/src/models/ConvertMcpToFreeEditRequest.ts +1 -1
  316. package/src/models/ConvertMcpToFreeEditResponseBody.ts +51 -51
  317. package/src/models/CreateAgentImchannelRequest.ts +5 -8
  318. package/src/models/CreateAgentImchannelResponseBody.ts +10 -13
  319. package/src/models/CreateAgentImchannelShrinkRequest.ts +1 -1
  320. package/src/models/CreateAgentSpecRequest.ts +1 -1
  321. package/src/models/CreateAgentSpecVersionRequest.ts +1 -1
  322. package/src/models/CreateCredentialRequest.ts +8 -8
  323. package/src/models/CreateCredentialResponseBody.ts +13 -13
  324. package/src/models/CreateCustomAgentRequest.ts +32 -45
  325. package/src/models/CreateCustomAgentResponseBody.ts +36 -55
  326. package/src/models/CreateExternalAgentBootstrapTokenRequest.ts +1 -3
  327. package/src/models/CreateExternalAgentBootstrapTokenResponseBody.ts +9 -11
  328. package/src/models/CreateIdentityProviderRequest.ts +7 -9
  329. package/src/models/CreateIdentityProviderResponseBody.ts +9 -11
  330. package/src/models/CreateMemoryStoreRequest.ts +98 -0
  331. package/src/models/CreateMemoryStoreResponse.ts +40 -0
  332. package/src/models/CreateMemoryStoreResponseBody.ts +181 -0
  333. package/src/models/CreateMemoryStoreShrinkRequest.ts +43 -0
  334. package/src/models/CreateModelConnectionRequest.ts +4 -4
  335. package/src/models/CreateModelConnectionResponseBody.ts +13 -13
  336. package/src/models/CreateModelConnectionShrinkRequest.ts +1 -1
  337. package/src/models/CreateModelRequest.ts +6 -6
  338. package/src/models/CreateModelResponseBody.ts +11 -11
  339. package/src/models/CreateModelShrinkRequest.ts +1 -1
  340. package/src/models/CreateTeamRequest.ts +4 -4
  341. package/src/models/CreateTeamResponseBody.ts +7 -7
  342. package/src/models/CreateUserRequest.ts +6 -6
  343. package/src/models/CreateUserResponseBody.ts +11 -11
  344. package/src/models/CreateWorkspaceRequest.ts +26 -10
  345. package/src/models/CreateWorkspaceResponseBody.ts +33 -13
  346. package/src/models/CreateWorkspaceShrinkRequest.ts +1 -1
  347. package/src/models/DeleteAgentSpecResponseBody.ts +1 -1
  348. package/src/models/DeleteCredentialResponseBody.ts +2 -2
  349. package/src/models/DeleteCustomAgentResponseBody.ts +11 -4
  350. package/src/models/DeleteExternalAgentResponseBody.ts +6 -12
  351. package/src/models/DeleteManagedAgentResponseBody.ts +6 -6
  352. package/src/models/DeleteMcpResponseBody.ts +3 -3
  353. package/src/models/DeleteMemoryRequest.ts +24 -0
  354. package/src/models/DeleteMemoryResponse.ts +40 -0
  355. package/src/models/DeleteMemoryResponseBody.ts +71 -0
  356. package/src/models/DeleteMemoryStoreRequest.ts +24 -0
  357. package/src/models/DeleteMemoryStoreResponse.ts +40 -0
  358. package/src/models/DeleteMemoryStoreResponseBody.ts +181 -0
  359. package/src/models/DeleteWorkspaceResponseBody.ts +1 -1
  360. package/src/models/DownloadAgentSpecViaOssRequest.ts +1 -1
  361. package/src/models/GetAgentImchannelResponseBody.ts +11 -20
  362. package/src/models/GetAgentSpecImportFileUrlRequest.ts +1 -1
  363. package/src/models/GetAgentSpecImportFileUrlResponseBody.ts +3 -3
  364. package/src/models/GetAgentSpecResponseBody.ts +9 -9
  365. package/src/models/GetAgentSpecVersionResponseBody.ts +3 -3
  366. package/src/models/GetCredentialResponseBody.ts +11 -11
  367. package/src/models/GetCustomAgentResponseBody.ts +277 -9
  368. package/src/models/GetExternalAgentBootstrapOptionsResponseBody.ts +8 -10
  369. package/src/models/GetIdentityProviderResponseBody.ts +20 -20
  370. package/src/models/GetMemoryRequest.ts +24 -0
  371. package/src/models/GetMemoryResponse.ts +40 -0
  372. package/src/models/GetMemoryResponseBody.ts +241 -0
  373. package/src/models/GetMemoryStoreRequest.ts +24 -0
  374. package/src/models/GetMemoryStoreResponse.ts +40 -0
  375. package/src/models/GetMemoryStoreResponseBody.ts +181 -0
  376. package/src/models/GetMemoryTaskRequest.ts +24 -0
  377. package/src/models/GetMemoryTaskResponse.ts +40 -0
  378. package/src/models/GetMemoryTaskResponseBody.ts +215 -0
  379. package/src/models/GetModelConnectionResponseBody.ts +13 -13
  380. package/src/models/GetModelResponseBody.ts +10 -10
  381. package/src/models/GetServiceEndpointApiKeyResponseBody.ts +13 -14
  382. package/src/models/GetSkillImportFileUrlRequest.ts +1 -1
  383. package/src/models/GetSkillImportFileUrlResponseBody.ts +4 -4
  384. package/src/models/GetUserResponseBody.ts +10 -16
  385. package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +3 -3
  386. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +5 -5
  387. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.ts +3 -3
  388. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.ts +2 -2
  389. package/src/models/GetWorkspaceResponseBody.ts +26 -6
  390. package/src/models/InstallWorkspacePluginRequest.ts +5 -5
  391. package/src/models/InstallWorkspacePluginResponseBody.ts +2 -2
  392. package/src/models/ListAgentTeamsRequest.ts +1 -1
  393. package/src/models/ListAgentTeamsResponseBody.ts +6 -6
  394. package/src/models/ListAgentTeamsShrinkRequest.ts +1 -1
  395. package/src/models/ListCredentialsRequest.ts +2 -2
  396. package/src/models/ListCredentialsResponseBody.ts +15 -15
  397. package/src/models/ListCustomAgentsRequest.ts +1 -1
  398. package/src/models/ListCustomAgentsResponseBody.ts +22 -12
  399. package/src/models/ListExternalAgentsRequest.ts +1 -1
  400. package/src/models/ListExternalAgentsResponseBody.ts +10 -16
  401. package/src/models/ListIdentityProvidersRequest.ts +2 -2
  402. package/src/models/ListIdentityProvidersResponseBody.ts +24 -15
  403. package/src/models/ListMemoriesRequest.ts +74 -0
  404. package/src/models/ListMemoriesResponse.ts +40 -0
  405. package/src/models/ListMemoriesResponseBody.ts +261 -0
  406. package/src/models/ListMemorySessionMessagesRequest.ts +76 -0
  407. package/src/models/ListMemorySessionMessagesResponse.ts +40 -0
  408. package/src/models/ListMemorySessionMessagesResponseBody.ts +141 -0
  409. package/src/models/ListMemorySessionsRequest.ts +64 -0
  410. package/src/models/ListMemorySessionsResponse.ts +40 -0
  411. package/src/models/ListMemorySessionsResponseBody.ts +151 -0
  412. package/src/models/ListMemoryStoresRequest.ts +44 -0
  413. package/src/models/ListMemoryStoresResponse.ts +40 -0
  414. package/src/models/ListMemoryStoresResponseBody.ts +214 -0
  415. package/src/models/ListPredefinedModelProvidersResponseBody.ts +64 -0
  416. package/src/models/ListPredefinedModelsResponseBody.ts +9 -9
  417. package/src/models/ListServiceEndpointsRequest.ts +8 -8
  418. package/src/models/ListServiceEndpointsResponseBody.ts +19 -19
  419. package/src/models/ListSkillReferencesRequest.ts +4 -4
  420. package/src/models/ListSkillReferencesResponseBody.ts +6 -6
  421. package/src/models/ListTeamsRequest.ts +3 -3
  422. package/src/models/ListTeamsResponseBody.ts +12 -24
  423. package/src/models/ListWorkspacesRequest.ts +1 -1
  424. package/src/models/ListWorkspacesResponseBody.ts +30 -14
  425. package/src/models/ResetUserPasswordRequest.ts +3 -3
  426. package/src/models/ResetUserPasswordResponseBody.ts +3 -3
  427. package/src/models/SearchMemoriesRequest.ts +175 -0
  428. package/src/models/SearchMemoriesResponse.ts +40 -0
  429. package/src/models/SearchMemoriesResponseBody.ts +321 -0
  430. package/src/models/SearchMemoriesShrinkRequest.ts +33 -0
  431. package/src/models/UpdateAgentImchannelCredentialRequest.ts +2 -2
  432. package/src/models/UpdateAgentImchannelCredentialResponseBody.ts +6 -6
  433. package/src/models/UpdateAgentImchannelCredentialShrinkRequest.ts +1 -1
  434. package/src/models/UpdateAgentImchannelRequest.ts +4 -4
  435. package/src/models/UpdateAgentImchannelResponseBody.ts +9 -18
  436. package/src/models/UpdateAgentImchannelShrinkRequest.ts +1 -1
  437. package/src/models/UpdateCredentialRequest.ts +6 -6
  438. package/src/models/UpdateCredentialResponseBody.ts +10 -10
  439. package/src/models/UpdateCustomAgentRequest.ts +30 -33
  440. package/src/models/UpdateCustomAgentResponseBody.ts +43 -30
  441. package/src/models/UpdateCustomAgentShrinkRequest.ts +1 -1
  442. package/src/models/UpdateMemoryRequest.ts +76 -0
  443. package/src/models/UpdateMemoryResponse.ts +40 -0
  444. package/src/models/UpdateMemoryResponseBody.ts +241 -0
  445. package/src/models/UpdateMemoryShrinkRequest.ts +33 -0
  446. package/src/models/UpdateMemoryStoreRequest.ts +86 -0
  447. package/src/models/UpdateMemoryStoreResponse.ts +40 -0
  448. package/src/models/UpdateMemoryStoreResponseBody.ts +181 -0
  449. package/src/models/UpdateMemoryStoreShrinkRequest.ts +43 -0
  450. package/src/models/UpdateModelConnectionRequest.ts +4 -4
  451. package/src/models/UpdateModelConnectionResponseBody.ts +12 -12
  452. package/src/models/UpdateModelConnectionShrinkRequest.ts +1 -1
  453. package/src/models/UpdateModelRequest.ts +31 -14
  454. package/src/models/UpdateModelResponseBody.ts +12 -12
  455. package/src/models/UpdateModelShrinkRequest.ts +2 -2
  456. package/src/models/UpdateSkillBizTagsRequest.ts +1 -1
  457. package/src/models/UpdateSkillScopeRequest.ts +1 -1
  458. package/src/models/UpdateTeamRequest.ts +7 -13
  459. package/src/models/UpdateTeamResponseBody.ts +11 -25
  460. package/src/models/UpdateTeamShrinkRequest.ts +1 -1
  461. package/src/models/UpdateUserRequest.ts +3 -3
  462. package/src/models/UpdateUserResponseBody.ts +8 -8
  463. package/src/models/UpdateWorkspaceRequest.ts +25 -7
  464. package/src/models/UpdateWorkspaceResponseBody.ts +30 -10
  465. package/src/models/UpdateWorkspaceShrinkRequest.ts +1 -1
  466. package/src/models/UploadAgentSpecViaOssRequest.ts +3 -3
  467. package/src/models/VerifyWorkspaceAcrRamAuthorizationRequest.ts +3 -3
  468. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +6 -6
  469. package/src/models/model.ts +81 -0
package/src/client.ts CHANGED
@@ -30,7 +30,64 @@ export default class Client extends OpenApi {
30
30
  }
31
31
 
32
32
  /**
33
- * Deletes models in a specified workspace in batches. If any model is in use, the entire batch request fails.
33
+ * 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.
34
+ *
35
+ * @remarks
36
+ * 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.
37
+ *
38
+ * @param tmpReq - AddMemoriesRequest
39
+ * @param headers - map
40
+ * @param runtime - runtime options for this request RuntimeOptions
41
+ * @returns AddMemoriesResponse
42
+ */
43
+ async addMemoriesWithOptions(workspaceId: string, memoryStoreName: string, tmpReq: $_model.AddMemoriesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.AddMemoriesResponse> {
44
+ tmpReq.validate();
45
+ let request = new $_model.AddMemoriesShrinkRequest({ });
46
+ OpenApiUtil.convert(tmpReq, request);
47
+ if (!$dara.isNull(tmpReq.body)) {
48
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
49
+ }
50
+
51
+ let body : {[key: string ]: any} = { };
52
+ if (!$dara.isNull(request.bodyShrink)) {
53
+ body["body"] = request.bodyShrink;
54
+ }
55
+
56
+ let req = new $OpenApiUtil.OpenApiRequest({
57
+ headers: headers,
58
+ body: OpenApiUtil.parseToMap(body),
59
+ });
60
+ let params = new $OpenApiUtil.Params({
61
+ action: "AddMemories",
62
+ version: "2026-08-04",
63
+ protocol: "HTTPS",
64
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories`,
65
+ method: "POST",
66
+ authType: "AK",
67
+ style: "ROA",
68
+ reqBodyType: "formData",
69
+ bodyType: "json",
70
+ });
71
+ return $dara.cast<$_model.AddMemoriesResponse>(await this.callApi(params, req, runtime), new $_model.AddMemoriesResponse({}));
72
+ }
73
+
74
+ /**
75
+ * 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.
76
+ *
77
+ * @remarks
78
+ * 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.
79
+ *
80
+ * @param request - AddMemoriesRequest
81
+ * @returns AddMemoriesResponse
82
+ */
83
+ async addMemories(workspaceId: string, memoryStoreName: string, request: $_model.AddMemoriesRequest): Promise<$_model.AddMemoriesResponse> {
84
+ let runtime = new $dara.RuntimeOptions({ });
85
+ let headers : {[key: string ]: string} = { };
86
+ return await this.addMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
87
+ }
88
+
89
+ /**
90
+ * Deletes multiple models in a specified workspace. If any model is in use, the entire batch request fails.
34
91
  *
35
92
  * @param tmpReq - BatchDeleteModelsRequest
36
93
  * @param headers - map
@@ -75,7 +132,7 @@ export default class Client extends OpenApi {
75
132
  }
76
133
 
77
134
  /**
78
- * Deletes models in a specified workspace in batches. If any model is in use, the entire batch request fails.
135
+ * Deletes multiple models in a specified workspace. If any model is in use, the entire batch request fails.
79
136
  *
80
137
  * @param request - BatchDeleteModelsRequest
81
138
  * @returns BatchDeleteModelsResponse
@@ -87,11 +144,11 @@ export default class Client extends OpenApi {
87
144
  }
88
145
 
89
146
  /**
90
- * Uploads Skill ZIP packages in bulk through OSS and returns the processing result of each Skill.
147
+ * Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
91
148
  *
92
149
  * @remarks
93
- * ## Operation description
94
- * Uploads Skill ZIP packages in bulk through OSS and returns the processing result of each Skill.
150
+ * ## Request description
151
+ * Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
95
152
  *
96
153
  * @param tmpReq - BatchUploadSkillsViaOssRequest
97
154
  * @param headers - map
@@ -130,11 +187,11 @@ export default class Client extends OpenApi {
130
187
  }
131
188
 
132
189
  /**
133
- * Uploads Skill ZIP packages in bulk through OSS and returns the processing result of each Skill.
190
+ * Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
134
191
  *
135
192
  * @remarks
136
- * ## Operation description
137
- * Uploads Skill ZIP packages in bulk through OSS and returns the processing result of each Skill.
193
+ * ## Request description
194
+ * Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
138
195
  *
139
196
  * @param request - BatchUploadSkillsViaOssRequest
140
197
  * @returns BatchUploadSkillsViaOssResponse
@@ -146,10 +203,10 @@ export default class Client extends OpenApi {
146
203
  }
147
204
 
148
205
  /**
149
- * Converts an MCP to free editing.
206
+ * Converts an MCP to free-edit mode.
150
207
  *
151
208
  * @remarks
152
- * Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
209
+ * Disables template usage constraints. After the conversion, the MCP retains its source and tags, but no longer appears on the usage page.
153
210
  *
154
211
  * @param request - ConvertMcpToFreeEditRequest
155
212
  * @param headers - map
@@ -182,10 +239,10 @@ export default class Client extends OpenApi {
182
239
  }
183
240
 
184
241
  /**
185
- * Converts an MCP to free editing.
242
+ * Converts an MCP to free-edit mode.
186
243
  *
187
244
  * @remarks
188
- * Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
245
+ * Disables template usage constraints. After the conversion, the MCP retains its source and tags, but no longer appears on the usage page.
189
246
  *
190
247
  * @param request - ConvertMcpToFreeEditRequest
191
248
  * @returns ConvertMcpToFreeEditResponse
@@ -197,10 +254,10 @@ export default class Client extends OpenApi {
197
254
  }
198
255
 
199
256
  /**
200
- * Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
257
+ * Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
201
258
  *
202
259
  * @remarks
203
- * Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
260
+ * Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
204
261
  *
205
262
  * @param tmpReq - CreateAgentIMChannelRequest
206
263
  * @param headers - map
@@ -245,10 +302,10 @@ export default class Client extends OpenApi {
245
302
  }
246
303
 
247
304
  /**
248
- * Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
305
+ * Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
249
306
  *
250
307
  * @remarks
251
- * Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
308
+ * Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
252
309
  *
253
310
  * @param request - CreateAgentIMChannelRequest
254
311
  * @returns CreateAgentIMChannelResponse
@@ -260,11 +317,11 @@ export default class Client extends OpenApi {
260
317
  }
261
318
 
262
319
  /**
263
- * Creates an AgentSpec in the specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
320
+ * 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.
264
321
  *
265
322
  * @remarks
266
- * ## Operation description
267
- * Creates an AgentSpec in the specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
323
+ * ## Request description
324
+ * 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.
268
325
  *
269
326
  * @param tmpReq - CreateAgentSpecRequest
270
327
  * @param headers - map
@@ -303,11 +360,11 @@ export default class Client extends OpenApi {
303
360
  }
304
361
 
305
362
  /**
306
- * Creates an AgentSpec in the specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
363
+ * 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.
307
364
  *
308
365
  * @remarks
309
- * ## Operation description
310
- * Creates an AgentSpec in the specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
366
+ * ## Request description
367
+ * 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.
311
368
  *
312
369
  * @param request - CreateAgentSpecRequest
313
370
  * @returns CreateAgentSpecResponse
@@ -319,11 +376,11 @@ export default class Client extends OpenApi {
319
376
  }
320
377
 
321
378
  /**
322
- * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must be no draft currently being edited.
379
+ * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
323
380
  *
324
381
  * @remarks
325
382
  * ## Request description
326
- * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must be no draft currently being edited.
383
+ * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
327
384
  *
328
385
  * @param tmpReq - CreateAgentSpecVersionRequest
329
386
  * @param headers - map
@@ -362,11 +419,11 @@ export default class Client extends OpenApi {
362
419
  }
363
420
 
364
421
  /**
365
- * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must be no draft currently being edited.
422
+ * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
366
423
  *
367
424
  * @remarks
368
425
  * ## Request description
369
- * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must be no draft currently being edited.
426
+ * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
370
427
  *
371
428
  * @param request - CreateAgentSpecVersionRequest
372
429
  * @returns CreateAgentSpecVersionResponse
@@ -378,7 +435,7 @@ export default class Client extends OpenApi {
378
435
  }
379
436
 
380
437
  /**
381
- * 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 in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
438
+ * 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.
382
439
  *
383
440
  * @remarks
384
441
  * Creates a credential in a workspace for authentication of services such as Connector.
@@ -426,7 +483,7 @@ export default class Client extends OpenApi {
426
483
  }
427
484
 
428
485
  /**
429
- * 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 in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
486
+ * 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.
430
487
  *
431
488
  * @remarks
432
489
  * Creates a credential in a workspace for authentication of services such as Connector.
@@ -441,13 +498,13 @@ export default class Client extends OpenApi {
441
498
  }
442
499
 
443
500
  /**
444
- * Creates a custom agent in a specified workspace and submits the container image deployment configuration. The creation process is asynchronous. You can call the GetCustomAgent operation to query the deployment result.
501
+ * 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.
445
502
  *
446
503
  * @remarks
447
- * Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and the runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
504
+ * 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.
448
505
  * 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.
449
- * The creation process is asynchronous. 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 the access endpoint.
450
- * 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.
506
+ * 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 the access endpoint.
507
+ * 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 take effect. Omit this parameter.
451
508
  *
452
509
  * @param tmpReq - CreateCustomAgentRequest
453
510
  * @param headers - map
@@ -492,13 +549,13 @@ export default class Client extends OpenApi {
492
549
  }
493
550
 
494
551
  /**
495
- * Creates a custom agent in a specified workspace and submits the container image deployment configuration. The creation process is asynchronous. You can call the GetCustomAgent operation to query the deployment result.
552
+ * 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.
496
553
  *
497
554
  * @remarks
498
- * Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and the runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
555
+ * 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.
499
556
  * 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.
500
- * The creation process is asynchronous. 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 the access endpoint.
501
- * 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.
557
+ * 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 the access endpoint.
558
+ * 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 take effect. Omit this parameter.
502
559
  *
503
560
  * @param request - CreateCustomAgentRequest
504
561
  * @returns CreateCustomAgentResponse
@@ -573,10 +630,10 @@ export default class Client extends OpenApi {
573
630
  }
574
631
 
575
632
  /**
576
- * Creates a bootstrap token and CMS configuration required for connecting a specified external agent.
633
+ * Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
577
634
  *
578
635
  * @remarks
579
- * Creates a bootstrap token and CMS configuration required for connecting a specified external agent.
636
+ * Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
580
637
  *
581
638
  * @param request - CreateExternalAgentBootstrapTokenRequest
582
639
  * @param headers - map
@@ -609,10 +666,10 @@ export default class Client extends OpenApi {
609
666
  }
610
667
 
611
668
  /**
612
- * Creates a bootstrap token and CMS configuration required for connecting a specified external agent.
669
+ * Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
613
670
  *
614
671
  * @remarks
615
- * Creates a bootstrap token and CMS configuration required for connecting a specified external agent.
672
+ * Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
616
673
  *
617
674
  * @param request - CreateExternalAgentBootstrapTokenRequest
618
675
  * @returns CreateExternalAgentBootstrapTokenResponse
@@ -624,7 +681,7 @@ export default class Client extends OpenApi {
624
681
  }
625
682
 
626
683
  /**
627
- * Binds an external identity provider to a specified workspace for single sign-on and organization member synchronization. Each workspace can be bound to at most one external identity provider. The binding is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track the progress.
684
+ * 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.
628
685
  *
629
686
  * @param tmpReq - CreateIdentityProviderRequest
630
687
  * @param headers - map
@@ -663,7 +720,7 @@ export default class Client extends OpenApi {
663
720
  }
664
721
 
665
722
  /**
666
- * Binds an external identity provider to a specified workspace for single sign-on and organization member synchronization. Each workspace can be bound to at most one external identity provider. The binding is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track the progress.
723
+ * 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.
667
724
  *
668
725
  * @param request - CreateIdentityProviderRequest
669
726
  * @returns CreateIdentityProviderResponse
@@ -797,7 +854,70 @@ export default class Client extends OpenApi {
797
854
  }
798
855
 
799
856
  /**
800
- * Creates a model configuration under a specified model connection in a workspace.
857
+ * Creates a long-term memory store in a specified workspace.
858
+ *
859
+ * @remarks
860
+ * Creates a long-term memory store in a specified workspace.
861
+ *
862
+ * @param tmpReq - CreateMemoryStoreRequest
863
+ * @param headers - map
864
+ * @param runtime - runtime options for this request RuntimeOptions
865
+ * @returns CreateMemoryStoreResponse
866
+ */
867
+ async createMemoryStoreWithOptions(workspaceId: string, tmpReq: $_model.CreateMemoryStoreRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMemoryStoreResponse> {
868
+ tmpReq.validate();
869
+ let request = new $_model.CreateMemoryStoreShrinkRequest({ });
870
+ OpenApiUtil.convert(tmpReq, request);
871
+ if (!$dara.isNull(tmpReq.body)) {
872
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
873
+ }
874
+
875
+ let query : {[key: string ]: any} = { };
876
+ if (!$dara.isNull(request.clientToken)) {
877
+ query["clientToken"] = request.clientToken;
878
+ }
879
+
880
+ let body : {[key: string ]: any} = { };
881
+ if (!$dara.isNull(request.bodyShrink)) {
882
+ body["body"] = request.bodyShrink;
883
+ }
884
+
885
+ let req = new $OpenApiUtil.OpenApiRequest({
886
+ headers: headers,
887
+ query: OpenApiUtil.query(query),
888
+ body: OpenApiUtil.parseToMap(body),
889
+ });
890
+ let params = new $OpenApiUtil.Params({
891
+ action: "CreateMemoryStore",
892
+ version: "2026-08-04",
893
+ protocol: "HTTPS",
894
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores`,
895
+ method: "POST",
896
+ authType: "AK",
897
+ style: "ROA",
898
+ reqBodyType: "formData",
899
+ bodyType: "json",
900
+ });
901
+ return $dara.cast<$_model.CreateMemoryStoreResponse>(await this.callApi(params, req, runtime), new $_model.CreateMemoryStoreResponse({}));
902
+ }
903
+
904
+ /**
905
+ * Creates a long-term memory store in a specified workspace.
906
+ *
907
+ * @remarks
908
+ * Creates a long-term memory store in a specified workspace.
909
+ *
910
+ * @param request - CreateMemoryStoreRequest
911
+ * @returns CreateMemoryStoreResponse
912
+ */
913
+ async createMemoryStore(workspaceId: string, request: $_model.CreateMemoryStoreRequest): Promise<$_model.CreateMemoryStoreResponse> {
914
+ let runtime = new $dara.RuntimeOptions({ });
915
+ let headers : {[key: string ]: string} = { };
916
+ return await this.createMemoryStoreWithOptions(workspaceId, request, headers, runtime);
917
+ }
918
+
919
+ /**
920
+ * Creates a model configuration for model creation under a model connection in a specified workspace.
801
921
  *
802
922
  * @param tmpReq - CreateModelRequest
803
923
  * @param headers - map
@@ -842,7 +962,7 @@ export default class Client extends OpenApi {
842
962
  }
843
963
 
844
964
  /**
845
- * Creates a model configuration under a specified model connection in a workspace.
965
+ * Creates a model configuration for model creation under a model connection in a specified workspace.
846
966
  *
847
967
  * @param request - CreateModelRequest
848
968
  * @returns CreateModelResponse
@@ -854,7 +974,7 @@ export default class Client extends OpenApi {
854
974
  }
855
975
 
856
976
  /**
857
- * Creates a model connection in a specified workspace and configures the upstream model service address, invoke protocol, and access credentials.
977
+ * Creates a model connection in a specified workspace and configures the upstream model service endpoint, invoke protocol, and access credentials to support model creation.
858
978
  *
859
979
  * @param tmpReq - CreateModelConnectionRequest
860
980
  * @param headers - map
@@ -899,7 +1019,7 @@ export default class Client extends OpenApi {
899
1019
  }
900
1020
 
901
1021
  /**
902
- * Creates a model connection in a specified workspace and configures the upstream model service address, invoke protocol, and access credentials.
1022
+ * Creates a model connection in a specified workspace and configures the upstream model service endpoint, invoke protocol, and access credentials to support model creation.
903
1023
  *
904
1024
  * @param request - CreateModelConnectionRequest
905
1025
  * @returns CreateModelConnectionResponse
@@ -970,7 +1090,7 @@ export default class Client extends OpenApi {
970
1090
  }
971
1091
 
972
1092
  /**
973
- * Creates a team in a specified workspace and sets user members and agent members at the same time. The user members must include exactly one member with the ADMIN role. Agent members can only have the LEADER or WORKER role.
1093
+ * 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.
974
1094
  *
975
1095
  * @param tmpReq - CreateTeamRequest
976
1096
  * @param headers - map
@@ -1015,7 +1135,7 @@ export default class Client extends OpenApi {
1015
1135
  }
1016
1136
 
1017
1137
  /**
1018
- * Creates a team in a specified workspace and sets user members and agent members at the same time. The user members must include exactly one member with the ADMIN role. Agent members can only have the LEADER or WORKER role.
1138
+ * 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.
1019
1139
  *
1020
1140
  * @param request - CreateTeamRequest
1021
1141
  * @returns CreateTeamResponse
@@ -1027,7 +1147,7 @@ export default class Client extends OpenApi {
1027
1147
  }
1028
1148
 
1029
1149
  /**
1030
- * Creates a user in a specified workspace. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens. Reserved names such as manager, admin, or names starting with worker- cannot be used. If password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
1150
+ * 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.
1031
1151
  *
1032
1152
  * @param tmpReq - CreateUserRequest
1033
1153
  * @param headers - map
@@ -1072,7 +1192,7 @@ export default class Client extends OpenApi {
1072
1192
  }
1073
1193
 
1074
1194
  /**
1075
- * Creates a user in a specified workspace. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens. Reserved names such as manager, admin, or names starting with worker- cannot be used. If password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
1195
+ * 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.
1076
1196
  *
1077
1197
  * @param request - CreateUserRequest
1078
1198
  * @returns CreateUserResponse
@@ -1087,7 +1207,7 @@ export default class Client extends OpenApi {
1087
1207
  * Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
1088
1208
  *
1089
1209
  * @remarks
1090
- * ## Operation description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. Use `Enabled` in the network configuration to specify whether to enable VPC networking. If VPC networking is enabled, you must provide a `VpcId` and at least one entry in `VSwitchIds`.\\n.
1210
+ * ## 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.
1091
1211
  *
1092
1212
  * @param tmpReq - CreateWorkspaceRequest
1093
1213
  * @param headers - map
@@ -1135,7 +1255,7 @@ export default class Client extends OpenApi {
1135
1255
  * Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
1136
1256
  *
1137
1257
  * @remarks
1138
- * ## Operation description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. Use `Enabled` in the network configuration to specify whether to enable VPC networking. If VPC networking is enabled, you must provide a `VpcId` and at least one entry in `VSwitchIds`.\\n.
1258
+ * ## 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.
1139
1259
  *
1140
1260
  * @param request - CreateWorkspaceRequest
1141
1261
  * @returns CreateWorkspaceResponse
@@ -1249,11 +1369,11 @@ export default class Client extends OpenApi {
1249
1369
  }
1250
1370
 
1251
1371
  /**
1252
- * Deletes a specified AgentSpec along with all its versions and metadata. This operation is irreversible.
1372
+ * Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
1253
1373
  *
1254
1374
  * @remarks
1255
- * ## Request description
1256
- * Deletes a specified AgentSpec along with all its versions and metadata. This operation is irreversible.
1375
+ * ## Operation description
1376
+ * Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
1257
1377
  *
1258
1378
  * @param request - DeleteAgentSpecRequest
1259
1379
  * @param headers - map
@@ -1280,11 +1400,11 @@ export default class Client extends OpenApi {
1280
1400
  }
1281
1401
 
1282
1402
  /**
1283
- * Deletes a specified AgentSpec along with all its versions and metadata. This operation is irreversible.
1403
+ * Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
1284
1404
  *
1285
1405
  * @remarks
1286
- * ## Request description
1287
- * Deletes a specified AgentSpec along with all its versions and metadata. This operation is irreversible.
1406
+ * ## Operation description
1407
+ * Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
1288
1408
  *
1289
1409
  * @param request - DeleteAgentSpecRequest
1290
1410
  * @returns DeleteAgentSpecResponse
@@ -1343,10 +1463,10 @@ export default class Client extends OpenApi {
1343
1463
  }
1344
1464
 
1345
1465
  /**
1346
- * Deletes a credential from a specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
1466
+ * 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.
1347
1467
  *
1348
1468
  * @remarks
1349
- * Deletes an access credential from a specified workspace. A credential cannot be deleted while it is still bound to an MCP service.
1469
+ * Deletes an access credential in a specified workspace. A credential cannot be deleted if it is still bound to an MCP service.
1350
1470
  *
1351
1471
  * @param request - DeleteCredentialRequest
1352
1472
  * @param headers - map
@@ -1379,10 +1499,10 @@ export default class Client extends OpenApi {
1379
1499
  }
1380
1500
 
1381
1501
  /**
1382
- * Deletes a credential from a specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
1502
+ * 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.
1383
1503
  *
1384
1504
  * @remarks
1385
- * Deletes an access credential from a specified workspace. A credential cannot be deleted while it is still bound to an MCP service.
1505
+ * Deletes an access credential in a specified workspace. A credential cannot be deleted if it is still bound to an MCP service.
1386
1506
  *
1387
1507
  * @param request - DeleteCredentialRequest
1388
1508
  * @returns DeleteCredentialResponse
@@ -1394,11 +1514,11 @@ export default class Client extends OpenApi {
1394
1514
  }
1395
1515
 
1396
1516
  /**
1397
- * Deletes a custom agent in a specified workspace. A successful request indicates that the deletion is accepted, and the runtime resources are subsequently cleaned up in the background.
1517
+ * 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.
1398
1518
  *
1399
1519
  * @remarks
1400
- * Before you call this operation, make sure that the workspace is writable. If the agent is still associated with a team, you must dissociate the team first.
1401
- * 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 being deleted, a subsequent request returns the current summary.
1520
+ * 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.
1521
+ * 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.
1402
1522
  * You can call GetCustomAgent to check the deletion progress. After the deletion is complete, a detail query returns a resource not found error.
1403
1523
  *
1404
1524
  * @param request - DeleteCustomAgentRequest
@@ -1426,11 +1546,11 @@ export default class Client extends OpenApi {
1426
1546
  }
1427
1547
 
1428
1548
  /**
1429
- * Deletes a custom agent in a specified workspace. A successful request indicates that the deletion is accepted, and the runtime resources are subsequently cleaned up in the background.
1549
+ * 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.
1430
1550
  *
1431
1551
  * @remarks
1432
- * Before you call this operation, make sure that the workspace is writable. If the agent is still associated with a team, you must dissociate the team first.
1433
- * 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 being deleted, a subsequent request returns the current summary.
1552
+ * 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.
1553
+ * 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.
1434
1554
  * You can call GetCustomAgent to check the deletion progress. After the deletion is complete, a detail query returns a resource not found error.
1435
1555
  *
1436
1556
  * @param request - DeleteCustomAgentRequest
@@ -1572,11 +1692,11 @@ export default class Client extends OpenApi {
1572
1692
  }
1573
1693
 
1574
1694
  /**
1575
- * Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
1695
+ * Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
1576
1696
  *
1577
1697
  * @remarks
1578
- * ## Operation description
1579
- * Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
1698
+ * ## Request description
1699
+ * Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
1580
1700
  *
1581
1701
  * @param request - DeleteMcpRequest
1582
1702
  * @param headers - map
@@ -1603,11 +1723,11 @@ export default class Client extends OpenApi {
1603
1723
  }
1604
1724
 
1605
1725
  /**
1606
- * Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
1726
+ * Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
1607
1727
  *
1608
1728
  * @remarks
1609
- * ## Operation description
1610
- * Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
1729
+ * ## Request description
1730
+ * Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
1611
1731
  *
1612
1732
  * @param request - DeleteMcpRequest
1613
1733
  * @returns DeleteMcpResponse
@@ -1618,6 +1738,96 @@ export default class Client extends OpenApi {
1618
1738
  return await this.deleteMcpWithOptions(mcpServerId, workspaceId, request, headers, runtime);
1619
1739
  }
1620
1740
 
1741
+ /**
1742
+ * Deletes a long-term memory based on the memory ID.
1743
+ *
1744
+ * @remarks
1745
+ * Deletes a long-term memory based on the memory ID.
1746
+ *
1747
+ * @param request - DeleteMemoryRequest
1748
+ * @param headers - map
1749
+ * @param runtime - runtime options for this request RuntimeOptions
1750
+ * @returns DeleteMemoryResponse
1751
+ */
1752
+ async deleteMemoryWithOptions(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.DeleteMemoryRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMemoryResponse> {
1753
+ request.validate();
1754
+ let req = new $OpenApiUtil.OpenApiRequest({
1755
+ headers: headers,
1756
+ });
1757
+ let params = new $OpenApiUtil.Params({
1758
+ action: "DeleteMemory",
1759
+ version: "2026-08-04",
1760
+ protocol: "HTTPS",
1761
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
1762
+ method: "DELETE",
1763
+ authType: "AK",
1764
+ style: "ROA",
1765
+ reqBodyType: "json",
1766
+ bodyType: "json",
1767
+ });
1768
+ return $dara.cast<$_model.DeleteMemoryResponse>(await this.callApi(params, req, runtime), new $_model.DeleteMemoryResponse({}));
1769
+ }
1770
+
1771
+ /**
1772
+ * Deletes a long-term memory based on the memory ID.
1773
+ *
1774
+ * @remarks
1775
+ * Deletes a long-term memory based on the memory ID.
1776
+ *
1777
+ * @param request - DeleteMemoryRequest
1778
+ * @returns DeleteMemoryResponse
1779
+ */
1780
+ async deleteMemory(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.DeleteMemoryRequest): Promise<$_model.DeleteMemoryResponse> {
1781
+ let runtime = new $dara.RuntimeOptions({ });
1782
+ let headers : {[key: string ]: string} = { };
1783
+ return await this.deleteMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
1784
+ }
1785
+
1786
+ /**
1787
+ * Asynchronously deletes a MemoryStore and all its long-term memory.
1788
+ *
1789
+ * @remarks
1790
+ * Asynchronously deletes a MemoryStore and all its long-term memory.
1791
+ *
1792
+ * @param request - DeleteMemoryStoreRequest
1793
+ * @param headers - map
1794
+ * @param runtime - runtime options for this request RuntimeOptions
1795
+ * @returns DeleteMemoryStoreResponse
1796
+ */
1797
+ async deleteMemoryStoreWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.DeleteMemoryStoreRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMemoryStoreResponse> {
1798
+ request.validate();
1799
+ let req = new $OpenApiUtil.OpenApiRequest({
1800
+ headers: headers,
1801
+ });
1802
+ let params = new $OpenApiUtil.Params({
1803
+ action: "DeleteMemoryStore",
1804
+ version: "2026-08-04",
1805
+ protocol: "HTTPS",
1806
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
1807
+ method: "DELETE",
1808
+ authType: "AK",
1809
+ style: "ROA",
1810
+ reqBodyType: "json",
1811
+ bodyType: "json",
1812
+ });
1813
+ return $dara.cast<$_model.DeleteMemoryStoreResponse>(await this.callApi(params, req, runtime), new $_model.DeleteMemoryStoreResponse({}));
1814
+ }
1815
+
1816
+ /**
1817
+ * Asynchronously deletes a MemoryStore and all its long-term memory.
1818
+ *
1819
+ * @remarks
1820
+ * Asynchronously deletes a MemoryStore and all its long-term memory.
1821
+ *
1822
+ * @param request - DeleteMemoryStoreRequest
1823
+ * @returns DeleteMemoryStoreResponse
1824
+ */
1825
+ async deleteMemoryStore(workspaceId: string, memoryStoreName: string, request: $_model.DeleteMemoryStoreRequest): Promise<$_model.DeleteMemoryStoreResponse> {
1826
+ let runtime = new $dara.RuntimeOptions({ });
1827
+ let headers : {[key: string ]: string} = { };
1828
+ return await this.deleteMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
1829
+ }
1830
+
1621
1831
  /**
1622
1832
  * Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
1623
1833
  *
@@ -1893,10 +2103,10 @@ export default class Client extends OpenApi {
1893
2103
  }
1894
2104
 
1895
2105
  /**
1896
- * Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. When you repeatedly delete a workspace that is in the Deleting or Deleted state, the server handles the request with idempotence semantics.
2106
+ * 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.
1897
2107
  *
1898
2108
  * @remarks
1899
- * ## 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. When you repeatedly delete a workspace that is in the `Deleting` or `Deleted` state, the server handles the request with idempotence semantics.\\n.
2109
+ * ## 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.
1900
2110
  *
1901
2111
  * @param request - DeleteWorkspaceRequest
1902
2112
  * @param headers - map
@@ -1923,10 +2133,10 @@ export default class Client extends OpenApi {
1923
2133
  }
1924
2134
 
1925
2135
  /**
1926
- * Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. When you repeatedly delete a workspace that is in the Deleting or Deleted state, the server handles the request with idempotence semantics.
2136
+ * 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.
1927
2137
  *
1928
2138
  * @remarks
1929
- * ## 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. When you repeatedly delete a workspace that is in the `Deleting` or `Deleted` state, the server handles the request with idempotence semantics.\\n.
2139
+ * ## 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.
1930
2140
  *
1931
2141
  * @param request - DeleteWorkspaceRequest
1932
2142
  * @returns DeleteWorkspaceResponse
@@ -1983,11 +2193,11 @@ export default class Client extends OpenApi {
1983
2193
  }
1984
2194
 
1985
2195
  /**
1986
- * Retrieves a pre-signed OSS download URL for a specified AgentSpec, which is used to download the AgentSpec ZIP package.
2196
+ * Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
1987
2197
  *
1988
2198
  * @remarks
1989
- * ## Operation description
1990
- * Retrieves a pre-signed OSS download URL for a specified AgentSpec, which is used to download the AgentSpec ZIP package.
2199
+ * ## Request description
2200
+ * Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
1991
2201
  *
1992
2202
  * @param request - DownloadAgentSpecViaOssRequest
1993
2203
  * @param headers - map
@@ -2020,11 +2230,11 @@ export default class Client extends OpenApi {
2020
2230
  }
2021
2231
 
2022
2232
  /**
2023
- * Retrieves a pre-signed OSS download URL for a specified AgentSpec, which is used to download the AgentSpec ZIP package.
2233
+ * Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
2024
2234
  *
2025
2235
  * @remarks
2026
- * ## Operation description
2027
- * Retrieves a pre-signed OSS download URL for a specified AgentSpec, which is used to download the AgentSpec ZIP package.
2236
+ * ## Request description
2237
+ * Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
2028
2238
  *
2029
2239
  * @param request - DownloadAgentSpecViaOssRequest
2030
2240
  * @returns DownloadAgentSpecViaOssResponse
@@ -2247,7 +2457,7 @@ export default class Client extends OpenApi {
2247
2457
  * Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
2248
2458
  *
2249
2459
  * @remarks
2250
- * ## Operation description
2460
+ * ## Request description
2251
2461
  * Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
2252
2462
  *
2253
2463
  * @param request - GetAgentSpecRequest
@@ -2278,7 +2488,7 @@ export default class Client extends OpenApi {
2278
2488
  * Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
2279
2489
  *
2280
2490
  * @remarks
2281
- * ## Operation description
2491
+ * ## Request description
2282
2492
  * Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
2283
2493
  *
2284
2494
  * @param request - GetAgentSpecRequest
@@ -2291,11 +2501,11 @@ export default class Client extends OpenApi {
2291
2501
  }
2292
2502
 
2293
2503
  /**
2294
- * Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2504
+ * 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.
2295
2505
  *
2296
2506
  * @remarks
2297
- * ## Operation description
2298
- * Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2507
+ * ## Request description
2508
+ * 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.
2299
2509
  *
2300
2510
  * @param request - GetAgentSpecImportFileUrlRequest
2301
2511
  * @param headers - map
@@ -2328,11 +2538,11 @@ export default class Client extends OpenApi {
2328
2538
  }
2329
2539
 
2330
2540
  /**
2331
- * Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2541
+ * 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.
2332
2542
  *
2333
2543
  * @remarks
2334
- * ## Operation description
2335
- * Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2544
+ * ## Request description
2545
+ * 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.
2336
2546
  *
2337
2547
  * @param request - GetAgentSpecImportFileUrlRequest
2338
2548
  * @returns GetAgentSpecImportFileUrlResponse
@@ -2391,11 +2601,11 @@ export default class Client extends OpenApi {
2391
2601
  }
2392
2602
 
2393
2603
  /**
2394
- * Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
2604
+ * Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
2395
2605
  *
2396
2606
  * @remarks
2397
- * ## Operation description
2398
- * Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
2607
+ * ## Request description
2608
+ * Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
2399
2609
  *
2400
2610
  * @param request - GetAgentSpecVersionRequest
2401
2611
  * @param headers - map
@@ -2422,11 +2632,11 @@ export default class Client extends OpenApi {
2422
2632
  }
2423
2633
 
2424
2634
  /**
2425
- * Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
2635
+ * Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
2426
2636
  *
2427
2637
  * @remarks
2428
- * ## Operation description
2429
- * Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
2638
+ * ## Request description
2639
+ * Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
2430
2640
  *
2431
2641
  * @param request - GetAgentSpecVersionRequest
2432
2642
  * @returns GetAgentSpecVersionResponse
@@ -2438,7 +2648,7 @@ export default class Client extends OpenApi {
2438
2648
  }
2439
2649
 
2440
2650
  /**
2441
- * Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked form.
2651
+ * 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.
2442
2652
  *
2443
2653
  * @remarks
2444
2654
  * Queries the details of a single credential. Sensitive fields are not returned.
@@ -2468,7 +2678,7 @@ export default class Client extends OpenApi {
2468
2678
  }
2469
2679
 
2470
2680
  /**
2471
- * Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked form.
2681
+ * 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.
2472
2682
  *
2473
2683
  * @remarks
2474
2684
  * Queries the details of a single credential. Sensitive fields are not returned.
@@ -2483,12 +2693,12 @@ export default class Client extends OpenApi {
2483
2693
  }
2484
2694
 
2485
2695
  /**
2486
- * 查询自定义智能体
2696
+ * Queries the details of a custom agent in a specified workspace, including the deployment configuration, the execute status of the latest configuration version, and the running instance status statistics.
2487
2697
  *
2488
2698
  * @remarks
2489
- * 创建或更新后,可轮询本接口查询最新配置版本的执行结果。latestVersionStatus 与 latestSpecVersion 对应;latestExecutionError 表示该版本的等待或失败原因,retryable 为 true 时可稍后再次查询。
2490
- * 返回的配置为最新提交的配置,可能尚未生效。请结合 latestVersionStatus、智能体整体状态 status 和运行实例统计 sandboxPhaseCounts 确认部署及运行情况。
2491
- * 查询不存在、已完成删除或不属于指定工作空间的自定义智能体时,返回资源不存在错误。
2699
+ * After creating or updating 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.
2700
+ * The returned configuration is the latest submitted configuration and may not have taken effect. Check latestVersionStatus, the overall agent status, and the running instance statistics in sandboxPhaseCounts to confirm the deployment and running status.
2701
+ * If you query a custom agent that does not exist, has been deleted, or does not belong to the specified workspace, a resource not found error is returned.
2492
2702
  *
2493
2703
  * @param request - GetCustomAgentRequest
2494
2704
  * @param headers - map
@@ -2515,12 +2725,12 @@ export default class Client extends OpenApi {
2515
2725
  }
2516
2726
 
2517
2727
  /**
2518
- * 查询自定义智能体
2728
+ * Queries the details of a custom agent in a specified workspace, including the deployment configuration, the execute status of the latest configuration version, and the running instance status statistics.
2519
2729
  *
2520
2730
  * @remarks
2521
- * 创建或更新后,可轮询本接口查询最新配置版本的执行结果。latestVersionStatus 与 latestSpecVersion 对应;latestExecutionError 表示该版本的等待或失败原因,retryable 为 true 时可稍后再次查询。
2522
- * 返回的配置为最新提交的配置,可能尚未生效。请结合 latestVersionStatus、智能体整体状态 status 和运行实例统计 sandboxPhaseCounts 确认部署及运行情况。
2523
- * 查询不存在、已完成删除或不属于指定工作空间的自定义智能体时,返回资源不存在错误。
2731
+ * After creating or updating 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.
2732
+ * The returned configuration is the latest submitted configuration and may not have taken effect. Check latestVersionStatus, the overall agent status, and the running instance statistics in sandboxPhaseCounts to confirm the deployment and running status.
2733
+ * If you query a custom agent that does not exist, has been deleted, or does not belong to the specified workspace, a resource not found error is returned.
2524
2734
  *
2525
2735
  * @param request - GetCustomAgentRequest
2526
2736
  * @returns GetCustomAgentResponse
@@ -2577,10 +2787,10 @@ export default class Client extends OpenApi {
2577
2787
  }
2578
2788
 
2579
2789
  /**
2580
- * Queries the available network types for a specified external agent.
2790
+ * Queries the available access network types for a specified external agent.
2581
2791
  *
2582
2792
  * @remarks
2583
- * Queries the available network types for a specified external agent.
2793
+ * Queries the available access network types for a specified external agent.
2584
2794
  *
2585
2795
  * @param request - GetExternalAgentBootstrapOptionsRequest
2586
2796
  * @param headers - map
@@ -2607,10 +2817,10 @@ export default class Client extends OpenApi {
2607
2817
  }
2608
2818
 
2609
2819
  /**
2610
- * Queries the available network types for a specified external agent.
2820
+ * Queries the available access network types for a specified external agent.
2611
2821
  *
2612
2822
  * @remarks
2613
- * Queries the available network types for a specified external agent.
2823
+ * Queries the available access network types for a specified external agent.
2614
2824
  *
2615
2825
  * @param request - GetExternalAgentBootstrapOptionsRequest
2616
2826
  * @returns GetExternalAgentBootstrapOptionsResponse
@@ -2622,7 +2832,7 @@ export default class Client extends OpenApi {
2622
2832
  }
2623
2833
 
2624
2834
  /**
2625
- * Queries the binding details of an external identity provider for a specified workspace, including the binding status, application configuration, and callback URLs that need to be configured on the identity provider side. Application secret configurations are not returned.
2835
+ * 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.
2626
2836
  *
2627
2837
  * @param request - GetIdentityProviderRequest
2628
2838
  * @param headers - map
@@ -2649,7 +2859,7 @@ export default class Client extends OpenApi {
2649
2859
  }
2650
2860
 
2651
2861
  /**
2652
- * Queries the binding details of an external identity provider for a specified workspace, including the binding status, application configuration, and callback URLs that need to be configured on the identity provider side. Application secret configurations are not returned.
2862
+ * 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.
2653
2863
  *
2654
2864
  * @param request - GetIdentityProviderRequest
2655
2865
  * @returns GetIdentityProviderResponse
@@ -2792,168 +3002,303 @@ export default class Client extends OpenApi {
2792
3002
  }
2793
3003
 
2794
3004
  /**
2795
- * Queries the detailed configuration and region of a model in a specified workspace.
3005
+ * Queries a long-term memory by memory ID.
2796
3006
  *
2797
- * @param request - GetModelRequest
3007
+ * @remarks
3008
+ * Queries a long-term memory by memory ID.
3009
+ *
3010
+ * @param request - GetMemoryRequest
2798
3011
  * @param headers - map
2799
3012
  * @param runtime - runtime options for this request RuntimeOptions
2800
- * @returns GetModelResponse
3013
+ * @returns GetMemoryResponse
2801
3014
  */
2802
- async getModelWithOptions(workspaceId: string, modelId: string, request: $_model.GetModelRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetModelResponse> {
3015
+ async getMemoryWithOptions(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.GetMemoryRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetMemoryResponse> {
2803
3016
  request.validate();
2804
3017
  let req = new $OpenApiUtil.OpenApiRequest({
2805
3018
  headers: headers,
2806
3019
  });
2807
3020
  let params = new $OpenApiUtil.Params({
2808
- action: "GetModel",
3021
+ action: "GetMemory",
2809
3022
  version: "2026-08-04",
2810
3023
  protocol: "HTTPS",
2811
- pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/models/${$dara.URL.percentEncode(modelId)}`,
3024
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
2812
3025
  method: "GET",
2813
3026
  authType: "AK",
2814
3027
  style: "ROA",
2815
3028
  reqBodyType: "json",
2816
3029
  bodyType: "json",
2817
3030
  });
2818
- return $dara.cast<$_model.GetModelResponse>(await this.callApi(params, req, runtime), new $_model.GetModelResponse({}));
3031
+ return $dara.cast<$_model.GetMemoryResponse>(await this.callApi(params, req, runtime), new $_model.GetMemoryResponse({}));
2819
3032
  }
2820
3033
 
2821
3034
  /**
2822
- * Queries the detailed configuration and region of a model in a specified workspace.
3035
+ * Queries a long-term memory by memory ID.
2823
3036
  *
2824
- * @param request - GetModelRequest
2825
- * @returns GetModelResponse
3037
+ * @remarks
3038
+ * Queries a long-term memory by memory ID.
3039
+ *
3040
+ * @param request - GetMemoryRequest
3041
+ * @returns GetMemoryResponse
2826
3042
  */
2827
- async getModel(workspaceId: string, modelId: string, request: $_model.GetModelRequest): Promise<$_model.GetModelResponse> {
3043
+ async getMemory(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.GetMemoryRequest): Promise<$_model.GetMemoryResponse> {
2828
3044
  let runtime = new $dara.RuntimeOptions({ });
2829
3045
  let headers : {[key: string ]: string} = { };
2830
- return await this.getModelWithOptions(workspaceId, modelId, request, headers, runtime);
3046
+ return await this.getMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
2831
3047
  }
2832
3048
 
2833
3049
  /**
2834
- * Queries the detailed configuration, credential configuration status, publish status, and region of a specified model connection.
3050
+ * Queries the public information and current status of a MemoryStore in a specified workspace.
2835
3051
  *
2836
- * @param request - GetModelConnectionRequest
3052
+ * @remarks
3053
+ * Queries the public information and current status of a MemoryStore in a specified workspace.
3054
+ *
3055
+ * @param request - GetMemoryStoreRequest
2837
3056
  * @param headers - map
2838
3057
  * @param runtime - runtime options for this request RuntimeOptions
2839
- * @returns GetModelConnectionResponse
3058
+ * @returns GetMemoryStoreResponse
2840
3059
  */
2841
- async getModelConnectionWithOptions(workspaceId: string, connectionId: string, request: $_model.GetModelConnectionRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetModelConnectionResponse> {
3060
+ async getMemoryStoreWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.GetMemoryStoreRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetMemoryStoreResponse> {
2842
3061
  request.validate();
2843
3062
  let req = new $OpenApiUtil.OpenApiRequest({
2844
3063
  headers: headers,
2845
3064
  });
2846
3065
  let params = new $OpenApiUtil.Params({
2847
- action: "GetModelConnection",
3066
+ action: "GetMemoryStore",
2848
3067
  version: "2026-08-04",
2849
3068
  protocol: "HTTPS",
2850
- pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/model-connections/${$dara.URL.percentEncode(connectionId)}`,
3069
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
2851
3070
  method: "GET",
2852
3071
  authType: "AK",
2853
3072
  style: "ROA",
2854
3073
  reqBodyType: "json",
2855
3074
  bodyType: "json",
2856
3075
  });
2857
- return $dara.cast<$_model.GetModelConnectionResponse>(await this.callApi(params, req, runtime), new $_model.GetModelConnectionResponse({}));
3076
+ return $dara.cast<$_model.GetMemoryStoreResponse>(await this.callApi(params, req, runtime), new $_model.GetMemoryStoreResponse({}));
2858
3077
  }
2859
3078
 
2860
3079
  /**
2861
- * Queries the detailed configuration, credential configuration status, publish status, and region of a specified model connection.
3080
+ * Queries the public information and current status of a MemoryStore in a specified workspace.
2862
3081
  *
2863
- * @param request - GetModelConnectionRequest
2864
- * @returns GetModelConnectionResponse
3082
+ * @remarks
3083
+ * Queries the public information and current status of a MemoryStore in a specified workspace.
3084
+ *
3085
+ * @param request - GetMemoryStoreRequest
3086
+ * @returns GetMemoryStoreResponse
2865
3087
  */
2866
- async getModelConnection(workspaceId: string, connectionId: string, request: $_model.GetModelConnectionRequest): Promise<$_model.GetModelConnectionResponse> {
3088
+ async getMemoryStore(workspaceId: string, memoryStoreName: string, request: $_model.GetMemoryStoreRequest): Promise<$_model.GetMemoryStoreResponse> {
2867
3089
  let runtime = new $dara.RuntimeOptions({ });
2868
3090
  let headers : {[key: string ]: string} = { };
2869
- return await this.getModelConnectionWithOptions(workspaceId, connectionId, request, headers, runtime);
3091
+ return await this.getMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
2870
3092
  }
2871
3093
 
2872
3094
  /**
2873
- * Queries the details of a specified service endpoint, including target routing, access URLs, authentication configuration, and current status.
3095
+ * Queries the task ID returned by the asynchronous AddMemories operation.
2874
3096
  *
2875
3097
  * @remarks
2876
- * ## Operation description\\nQueries the details of a specified service endpoint. A service endpoint (ServiceEndpoint) provides a stable access URL for a specific agent version (AgentVersion) or workspace collaboration component. The response includes target routing, access URL list, authentication configuration, and current lifecycle status.\\n.
3098
+ * Queries the task ID returned by the asynchronous AddMemories operation.
2877
3099
  *
2878
- * @param request - GetServiceEndpointRequest
3100
+ * @param request - GetMemoryTaskRequest
2879
3101
  * @param headers - map
2880
3102
  * @param runtime - runtime options for this request RuntimeOptions
2881
- * @returns GetServiceEndpointResponse
3103
+ * @returns GetMemoryTaskResponse
2882
3104
  */
2883
- async getServiceEndpointWithOptions(workspaceId: string, serviceEndpointId: string, request: $_model.GetServiceEndpointRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetServiceEndpointResponse> {
3105
+ async getMemoryTaskWithOptions(workspaceId: string, memoryStoreName: string, taskId: string, request: $_model.GetMemoryTaskRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetMemoryTaskResponse> {
2884
3106
  request.validate();
2885
3107
  let req = new $OpenApiUtil.OpenApiRequest({
2886
3108
  headers: headers,
2887
3109
  });
2888
3110
  let params = new $OpenApiUtil.Params({
2889
- action: "GetServiceEndpoint",
3111
+ action: "GetMemoryTask",
2890
3112
  version: "2026-08-04",
2891
3113
  protocol: "HTTPS",
2892
- pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/service-endpoints/${$dara.URL.percentEncode(serviceEndpointId)}`,
3114
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memory-tasks/${$dara.URL.percentEncode(taskId)}`,
2893
3115
  method: "GET",
2894
3116
  authType: "AK",
2895
3117
  style: "ROA",
2896
3118
  reqBodyType: "json",
2897
3119
  bodyType: "json",
2898
3120
  });
2899
- return $dara.cast<$_model.GetServiceEndpointResponse>(await this.callApi(params, req, runtime), new $_model.GetServiceEndpointResponse({}));
3121
+ return $dara.cast<$_model.GetMemoryTaskResponse>(await this.callApi(params, req, runtime), new $_model.GetMemoryTaskResponse({}));
2900
3122
  }
2901
3123
 
2902
3124
  /**
2903
- * Queries the details of a specified service endpoint, including target routing, access URLs, authentication configuration, and current status.
3125
+ * Queries the task ID returned by the asynchronous AddMemories operation.
2904
3126
  *
2905
3127
  * @remarks
2906
- * ## Operation description\\nQueries the details of a specified service endpoint. A service endpoint (ServiceEndpoint) provides a stable access URL for a specific agent version (AgentVersion) or workspace collaboration component. The response includes target routing, access URL list, authentication configuration, and current lifecycle status.\\n.
3128
+ * Queries the task ID returned by the asynchronous AddMemories operation.
2907
3129
  *
2908
- * @param request - GetServiceEndpointRequest
2909
- * @returns GetServiceEndpointResponse
3130
+ * @param request - GetMemoryTaskRequest
3131
+ * @returns GetMemoryTaskResponse
2910
3132
  */
2911
- async getServiceEndpoint(workspaceId: string, serviceEndpointId: string, request: $_model.GetServiceEndpointRequest): Promise<$_model.GetServiceEndpointResponse> {
3133
+ async getMemoryTask(workspaceId: string, memoryStoreName: string, taskId: string, request: $_model.GetMemoryTaskRequest): Promise<$_model.GetMemoryTaskResponse> {
2912
3134
  let runtime = new $dara.RuntimeOptions({ });
2913
3135
  let headers : {[key: string ]: string} = { };
2914
- return await this.getServiceEndpointWithOptions(workspaceId, serviceEndpointId, request, headers, runtime);
3136
+ return await this.getMemoryTaskWithOptions(workspaceId, memoryStoreName, taskId, request, headers, runtime);
2915
3137
  }
2916
3138
 
2917
3139
  /**
2918
- * Queries the currently active API Key and its invocation method for a specified service endpoint within a workspace.
2919
- *
2920
- * @remarks
2921
- * Queries the currently active API Key for a specified service endpoint. The call succeeds only when the service endpoint has API_KEY authentication enabled and the gateway consumer and credentials are ready. The service reads the API Key from the gateway in real time. AgentCore does not persist the plaintext. Keep the returned API Key secure and avoid logging it or exposing it in public configurations.
3140
+ * Queries the detailed configuration and region of a model in a specified workspace.
2922
3141
  *
2923
- * @param request - GetServiceEndpointApiKeyRequest
3142
+ * @param request - GetModelRequest
2924
3143
  * @param headers - map
2925
3144
  * @param runtime - runtime options for this request RuntimeOptions
2926
- * @returns GetServiceEndpointApiKeyResponse
3145
+ * @returns GetModelResponse
2927
3146
  */
2928
- async getServiceEndpointApiKeyWithOptions(workspaceId: string, serviceEndpointId: string, request: $_model.GetServiceEndpointApiKeyRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetServiceEndpointApiKeyResponse> {
3147
+ async getModelWithOptions(workspaceId: string, modelId: string, request: $_model.GetModelRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetModelResponse> {
2929
3148
  request.validate();
2930
3149
  let req = new $OpenApiUtil.OpenApiRequest({
2931
3150
  headers: headers,
2932
3151
  });
2933
3152
  let params = new $OpenApiUtil.Params({
2934
- action: "GetServiceEndpointApiKey",
3153
+ action: "GetModel",
2935
3154
  version: "2026-08-04",
2936
3155
  protocol: "HTTPS",
2937
- pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/service-endpoints/${$dara.URL.percentEncode(serviceEndpointId)}/api-key/get`,
2938
- method: "POST",
3156
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/models/${$dara.URL.percentEncode(modelId)}`,
3157
+ method: "GET",
2939
3158
  authType: "AK",
2940
3159
  style: "ROA",
2941
3160
  reqBodyType: "json",
2942
3161
  bodyType: "json",
2943
3162
  });
2944
- return $dara.cast<$_model.GetServiceEndpointApiKeyResponse>(await this.callApi(params, req, runtime), new $_model.GetServiceEndpointApiKeyResponse({}));
3163
+ return $dara.cast<$_model.GetModelResponse>(await this.callApi(params, req, runtime), new $_model.GetModelResponse({}));
2945
3164
  }
2946
3165
 
2947
3166
  /**
2948
- * Queries the currently active API Key and its invocation method for a specified service endpoint within a workspace.
2949
- *
2950
- * @remarks
2951
- * Queries the currently active API Key for a specified service endpoint. The call succeeds only when the service endpoint has API_KEY authentication enabled and the gateway consumer and credentials are ready. The service reads the API Key from the gateway in real time. AgentCore does not persist the plaintext. Keep the returned API Key secure and avoid logging it or exposing it in public configurations.
3167
+ * Queries the detailed configuration and region of a model in a specified workspace.
2952
3168
  *
2953
- * @param request - GetServiceEndpointApiKeyRequest
2954
- * @returns GetServiceEndpointApiKeyResponse
3169
+ * @param request - GetModelRequest
3170
+ * @returns GetModelResponse
2955
3171
  */
2956
- async getServiceEndpointApiKey(workspaceId: string, serviceEndpointId: string, request: $_model.GetServiceEndpointApiKeyRequest): Promise<$_model.GetServiceEndpointApiKeyResponse> {
3172
+ async getModel(workspaceId: string, modelId: string, request: $_model.GetModelRequest): Promise<$_model.GetModelResponse> {
3173
+ let runtime = new $dara.RuntimeOptions({ });
3174
+ let headers : {[key: string ]: string} = { };
3175
+ return await this.getModelWithOptions(workspaceId, modelId, request, headers, runtime);
3176
+ }
3177
+
3178
+ /**
3179
+ * Queries the detailed configuration, credential configuration status, publish status, and region of a specified model connection.
3180
+ *
3181
+ * @param request - GetModelConnectionRequest
3182
+ * @param headers - map
3183
+ * @param runtime - runtime options for this request RuntimeOptions
3184
+ * @returns GetModelConnectionResponse
3185
+ */
3186
+ async getModelConnectionWithOptions(workspaceId: string, connectionId: string, request: $_model.GetModelConnectionRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetModelConnectionResponse> {
3187
+ request.validate();
3188
+ let req = new $OpenApiUtil.OpenApiRequest({
3189
+ headers: headers,
3190
+ });
3191
+ let params = new $OpenApiUtil.Params({
3192
+ action: "GetModelConnection",
3193
+ version: "2026-08-04",
3194
+ protocol: "HTTPS",
3195
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/model-connections/${$dara.URL.percentEncode(connectionId)}`,
3196
+ method: "GET",
3197
+ authType: "AK",
3198
+ style: "ROA",
3199
+ reqBodyType: "json",
3200
+ bodyType: "json",
3201
+ });
3202
+ return $dara.cast<$_model.GetModelConnectionResponse>(await this.callApi(params, req, runtime), new $_model.GetModelConnectionResponse({}));
3203
+ }
3204
+
3205
+ /**
3206
+ * Queries the detailed configuration, credential configuration status, publish status, and region of a specified model connection.
3207
+ *
3208
+ * @param request - GetModelConnectionRequest
3209
+ * @returns GetModelConnectionResponse
3210
+ */
3211
+ async getModelConnection(workspaceId: string, connectionId: string, request: $_model.GetModelConnectionRequest): Promise<$_model.GetModelConnectionResponse> {
3212
+ let runtime = new $dara.RuntimeOptions({ });
3213
+ let headers : {[key: string ]: string} = { };
3214
+ return await this.getModelConnectionWithOptions(workspaceId, connectionId, request, headers, runtime);
3215
+ }
3216
+
3217
+ /**
3218
+ * Queries the details of a specified service endpoint, including target routing, access URLs, authentication configuration, and current status.
3219
+ *
3220
+ * @remarks
3221
+ * ## Operation description\\nQueries the details of a specified service endpoint. A service endpoint (ServiceEndpoint) provides a stable access URL for a specific agent version (AgentVersion) or workspace collaboration component. The response includes target routing, access URL list, authentication configuration, and current lifecycle status.\\n.
3222
+ *
3223
+ * @param request - GetServiceEndpointRequest
3224
+ * @param headers - map
3225
+ * @param runtime - runtime options for this request RuntimeOptions
3226
+ * @returns GetServiceEndpointResponse
3227
+ */
3228
+ async getServiceEndpointWithOptions(workspaceId: string, serviceEndpointId: string, request: $_model.GetServiceEndpointRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetServiceEndpointResponse> {
3229
+ request.validate();
3230
+ let req = new $OpenApiUtil.OpenApiRequest({
3231
+ headers: headers,
3232
+ });
3233
+ let params = new $OpenApiUtil.Params({
3234
+ action: "GetServiceEndpoint",
3235
+ version: "2026-08-04",
3236
+ protocol: "HTTPS",
3237
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/service-endpoints/${$dara.URL.percentEncode(serviceEndpointId)}`,
3238
+ method: "GET",
3239
+ authType: "AK",
3240
+ style: "ROA",
3241
+ reqBodyType: "json",
3242
+ bodyType: "json",
3243
+ });
3244
+ return $dara.cast<$_model.GetServiceEndpointResponse>(await this.callApi(params, req, runtime), new $_model.GetServiceEndpointResponse({}));
3245
+ }
3246
+
3247
+ /**
3248
+ * Queries the details of a specified service endpoint, including target routing, access URLs, authentication configuration, and current status.
3249
+ *
3250
+ * @remarks
3251
+ * ## Operation description\\nQueries the details of a specified service endpoint. A service endpoint (ServiceEndpoint) provides a stable access URL for a specific agent version (AgentVersion) or workspace collaboration component. The response includes target routing, access URL list, authentication configuration, and current lifecycle status.\\n.
3252
+ *
3253
+ * @param request - GetServiceEndpointRequest
3254
+ * @returns GetServiceEndpointResponse
3255
+ */
3256
+ async getServiceEndpoint(workspaceId: string, serviceEndpointId: string, request: $_model.GetServiceEndpointRequest): Promise<$_model.GetServiceEndpointResponse> {
3257
+ let runtime = new $dara.RuntimeOptions({ });
3258
+ let headers : {[key: string ]: string} = { };
3259
+ return await this.getServiceEndpointWithOptions(workspaceId, serviceEndpointId, request, headers, runtime);
3260
+ }
3261
+
3262
+ /**
3263
+ * Queries the currently active API key and its invocation method for a service endpoint in a specified workspace.
3264
+ *
3265
+ * @remarks
3266
+ * 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.
3267
+ *
3268
+ * @param request - GetServiceEndpointApiKeyRequest
3269
+ * @param headers - map
3270
+ * @param runtime - runtime options for this request RuntimeOptions
3271
+ * @returns GetServiceEndpointApiKeyResponse
3272
+ */
3273
+ async getServiceEndpointApiKeyWithOptions(workspaceId: string, serviceEndpointId: string, request: $_model.GetServiceEndpointApiKeyRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetServiceEndpointApiKeyResponse> {
3274
+ request.validate();
3275
+ let req = new $OpenApiUtil.OpenApiRequest({
3276
+ headers: headers,
3277
+ });
3278
+ let params = new $OpenApiUtil.Params({
3279
+ action: "GetServiceEndpointApiKey",
3280
+ version: "2026-08-04",
3281
+ protocol: "HTTPS",
3282
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/service-endpoints/${$dara.URL.percentEncode(serviceEndpointId)}/api-key/get`,
3283
+ method: "POST",
3284
+ authType: "AK",
3285
+ style: "ROA",
3286
+ reqBodyType: "json",
3287
+ bodyType: "json",
3288
+ });
3289
+ return $dara.cast<$_model.GetServiceEndpointApiKeyResponse>(await this.callApi(params, req, runtime), new $_model.GetServiceEndpointApiKeyResponse({}));
3290
+ }
3291
+
3292
+ /**
3293
+ * Queries the currently active API key and its invocation method for a service endpoint in a specified workspace.
3294
+ *
3295
+ * @remarks
3296
+ * 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.
3297
+ *
3298
+ * @param request - GetServiceEndpointApiKeyRequest
3299
+ * @returns GetServiceEndpointApiKeyResponse
3300
+ */
3301
+ async getServiceEndpointApiKey(workspaceId: string, serviceEndpointId: string, request: $_model.GetServiceEndpointApiKeyRequest): Promise<$_model.GetServiceEndpointApiKeyResponse> {
2957
3302
  let runtime = new $dara.RuntimeOptions({ });
2958
3303
  let headers : {[key: string ]: string} = { };
2959
3304
  return await this.getServiceEndpointApiKeyWithOptions(workspaceId, serviceEndpointId, request, headers, runtime);
@@ -3007,11 +3352,11 @@ export default class Client extends OpenApi {
3007
3352
  }
3008
3353
 
3009
3354
  /**
3010
- * Retrieves the OSS pre-signed upload URL and object name required for importing a Skill ZIP package. After the upload is complete, call the Skill OSS upload operation to complete the import.
3355
+ * 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.
3011
3356
  *
3012
3357
  * @remarks
3013
3358
  * ## Request description
3014
- * Retrieves the OSS pre-signed upload URL and object name required for importing a Skill ZIP package. After the upload is complete, call the Skill OSS upload operation to complete the import.
3359
+ * 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.
3015
3360
  *
3016
3361
  * @param request - GetSkillImportFileUrlRequest
3017
3362
  * @param headers - map
@@ -3044,11 +3389,11 @@ export default class Client extends OpenApi {
3044
3389
  }
3045
3390
 
3046
3391
  /**
3047
- * Retrieves the OSS pre-signed upload URL and object name required for importing a Skill ZIP package. After the upload is complete, call the Skill OSS upload operation to complete the import.
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.
3048
3393
  *
3049
3394
  * @remarks
3050
3395
  * ## Request description
3051
- * Retrieves the OSS pre-signed upload URL and object name required for importing a Skill ZIP package. After the upload is complete, call the Skill OSS upload operation to complete the import.
3396
+ * 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.
3052
3397
  *
3053
3398
  * @param request - GetSkillImportFileUrlRequest
3054
3399
  * @returns GetSkillImportFileUrlResponse
@@ -3146,7 +3491,7 @@ export default class Client extends OpenApi {
3146
3491
  }
3147
3492
 
3148
3493
  /**
3149
- * Queries the details of a specified user in a specified workspace. Returns an error if the user does not exist.
3494
+ * Queries the details of a specific user in a specified workspace. Returns an error if the user does not exist.
3150
3495
  *
3151
3496
  * @param request - GetUserRequest
3152
3497
  * @param headers - map
@@ -3173,7 +3518,7 @@ export default class Client extends OpenApi {
3173
3518
  }
3174
3519
 
3175
3520
  /**
3176
- * Queries the details of a specified user in a specified workspace. Returns an error if the user does not exist.
3521
+ * Queries the details of a specific user in a specified workspace. Returns an error if the user does not exist.
3177
3522
  *
3178
3523
  * @param request - GetUserRequest
3179
3524
  * @returns GetUserResponse
@@ -3185,10 +3530,10 @@ export default class Client extends OpenApi {
3185
3530
  }
3186
3531
 
3187
3532
  /**
3188
- * Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
3533
+ * Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.
3189
3534
  *
3190
3535
  * @remarks
3191
- * ## Operation description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
3536
+ * ## Request description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.\\n.
3192
3537
  *
3193
3538
  * @param request - GetWorkspaceRequest
3194
3539
  * @param headers - map
@@ -3215,10 +3560,10 @@ export default class Client extends OpenApi {
3215
3560
  }
3216
3561
 
3217
3562
  /**
3218
- * Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
3563
+ * Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.
3219
3564
  *
3220
3565
  * @remarks
3221
- * ## Operation description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
3566
+ * ## Request description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.\\n.
3222
3567
  *
3223
3568
  * @param request - GetWorkspaceRequest
3224
3569
  * @returns GetWorkspaceResponse
@@ -3230,10 +3575,10 @@ export default class Client extends OpenApi {
3230
3575
  }
3231
3576
 
3232
3577
  /**
3233
- * Queries the ACR RAM authorization URL for a workspace.
3578
+ * Queries the RAM authorization URL for ACR in a workspace.
3234
3579
  *
3235
3580
  * @remarks
3236
- * ACR and user OSS mounts share the same workspace role. If no existing role is found, the system uses AliyunAgentCoreWorkspace-{workspaceId}. If a valid legacy OSS mount role exists, the system reuses it and only appends permissions without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not rebuilt or renamed because of new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. The response contains the backend-resolved role and the authorization URL for the target repository. This operation does not create ACR or Agent execution versions or deliver runtime configurations. After authorization is complete, you can call Verify, and then create or update an Agent without calling a separate Ensure operation.
3581
+ * 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. 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 verify it and then create or update the agent without calling a separate Ensure operation.
3237
3582
  *
3238
3583
  * @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
3239
3584
  * @param headers - map
@@ -3274,10 +3619,10 @@ export default class Client extends OpenApi {
3274
3619
  }
3275
3620
 
3276
3621
  /**
3277
- * Queries the ACR RAM authorization URL for a workspace.
3622
+ * Queries the RAM authorization URL for ACR in a workspace.
3278
3623
  *
3279
3624
  * @remarks
3280
- * ACR and user OSS mounts share the same workspace role. If no existing role is found, the system uses AliyunAgentCoreWorkspace-{workspaceId}. If a valid legacy OSS mount role exists, the system reuses it and only appends permissions without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not rebuilt or renamed because of new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. The response contains the backend-resolved role and the authorization URL for the target repository. This operation does not create ACR or Agent execution versions or deliver runtime configurations. After authorization is complete, you can call Verify, and then create or update an Agent without calling a separate Ensure operation.
3625
+ * 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. 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 verify it and then create or update the agent without calling a separate Ensure operation.
3281
3626
  *
3282
3627
  * @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
3283
3628
  * @returns GetWorkspaceAcrRamAuthorizeUrlResponse
@@ -3292,7 +3637,7 @@ export default class Client extends OpenApi {
3292
3637
  * Queries the RAM authorization URL for mounting AgenticFS in a workspace.
3293
3638
  *
3294
3639
  * @remarks
3295
- * The workspace determines the account, region, and shared role. The resource ARN is constructed based on the specified fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check resource status. The response contains only the authorization URL for the target NAS policy. After completing RAM authorization, call the verification operation.
3640
+ * 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.
3296
3641
  *
3297
3642
  * @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
3298
3643
  * @param headers - map
@@ -3336,7 +3681,7 @@ export default class Client extends OpenApi {
3336
3681
  * Queries the RAM authorization URL for mounting AgenticFS in a workspace.
3337
3682
  *
3338
3683
  * @remarks
3339
- * The workspace determines the account, region, and shared role. The resource ARN is constructed based on the specified fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check resource status. The response contains only the authorization URL for the target NAS policy. After completing RAM authorization, call the verification operation.
3684
+ * 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.
3340
3685
  *
3341
3686
  * @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
3342
3687
  * @returns GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse
@@ -3460,10 +3805,10 @@ export default class Client extends OpenApi {
3460
3805
  }
3461
3806
 
3462
3807
  /**
3463
- * Installs a plugin for a specified AgentCore workspace. Currently supports the collaboration plugin. The installation process is executed asynchronously.
3808
+ * Installs a plugin for a specified AgentCore workspace. Currently, only the collaboration plugin is supported. The installation process runs asynchronously.
3464
3809
  *
3465
3810
  * @remarks
3466
- * ## Operation description\\nInstalls a plugin for a specified AgentCore workspace. Currently supports the `collaboration` plugin. Plugin configuration is passed through the `Config` parameter, and different plugins can define their own configuration structures. The `collaboration` plugin uses `Config.NetworkConfiguration` to specify VPC and public network access policies. The installation process is executed asynchronously. When you repeatedly call this operation for a plugin with the same name that is being installed or already installed, the operation returns the current status with idempotent semantics if the configuration is the same. If the configuration is different, the operation returns an operation conflict error.\\n.
3811
+ * ## 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
3467
3812
  *
3468
3813
  * @param tmpReq - InstallWorkspacePluginRequest
3469
3814
  * @param headers - map
@@ -3508,10 +3853,10 @@ export default class Client extends OpenApi {
3508
3853
  }
3509
3854
 
3510
3855
  /**
3511
- * Installs a plugin for a specified AgentCore workspace. Currently supports the collaboration plugin. The installation process is executed asynchronously.
3856
+ * Installs a plugin for a specified AgentCore workspace. Currently, only the collaboration plugin is supported. The installation process runs asynchronously.
3512
3857
  *
3513
3858
  * @remarks
3514
- * ## Operation description\\nInstalls a plugin for a specified AgentCore workspace. Currently supports the `collaboration` plugin. Plugin configuration is passed through the `Config` parameter, and different plugins can define their own configuration structures. The `collaboration` plugin uses `Config.NetworkConfiguration` to specify VPC and public network access policies. The installation process is executed asynchronously. When you repeatedly call this operation for a plugin with the same name that is being installed or already installed, the operation returns the current status with idempotent semantics if the configuration is the same. If the configuration is different, the operation returns an operation conflict error.\\n.
3859
+ * ## 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
3515
3860
  *
3516
3861
  * @param request - InstallWorkspacePluginRequest
3517
3862
  * @returns InstallWorkspacePluginResponse
@@ -3671,7 +4016,7 @@ export default class Client extends OpenApi {
3671
4016
  }
3672
4017
 
3673
4018
  /**
3674
- * Queries the list of teams to which specified agents belong. Specify the agent IDs by using agentIds. The response includes the membership information between each agent and its teams, such as the team ID, team name, and the role that the agent assumes in the team.
4019
+ * 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.
3675
4020
  *
3676
4021
  * @param tmpReq - ListAgentTeamsRequest
3677
4022
  * @param headers - map
@@ -3710,7 +4055,7 @@ export default class Client extends OpenApi {
3710
4055
  }
3711
4056
 
3712
4057
  /**
3713
- * Queries the list of teams to which specified agents belong. Specify the agent IDs by using agentIds. The response includes the membership information between each agent and its teams, such as the team ID, team name, and the role that the agent assumes in the team.
4058
+ * 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.
3714
4059
  *
3715
4060
  * @param request - ListAgentTeamsRequest
3716
4061
  * @returns ListAgentTeamsResponse
@@ -3836,10 +4181,10 @@ export default class Client extends OpenApi {
3836
4181
  }
3837
4182
 
3838
4183
  /**
3839
- * Queries credentials in a specified workspace with paging. Use credentialType to filter by type, nameLike to perform a fuzzy match on credential names, 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.
4184
+ * 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.
3840
4185
  *
3841
4186
  * @remarks
3842
- * Queries credentials in a workspace with paging. Supports filtering by type and name.
4187
+ * Performs a paged query for the credential list in a workspace, and supports filtering by type and name during paging.
3843
4188
  *
3844
4189
  * @param request - ListCredentialsRequest
3845
4190
  * @param headers - map
@@ -3888,10 +4233,10 @@ export default class Client extends OpenApi {
3888
4233
  }
3889
4234
 
3890
4235
  /**
3891
- * Queries credentials in a specified workspace with paging. Use credentialType to filter by type, nameLike to perform a fuzzy match on credential names, 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.
4236
+ * 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.
3892
4237
  *
3893
4238
  * @remarks
3894
- * Queries credentials in a workspace with paging. Supports filtering by type and name.
4239
+ * Performs a paged query for the credential list in a workspace, and supports filtering by type and name during paging.
3895
4240
  *
3896
4241
  * @param request - ListCredentialsRequest
3897
4242
  * @returns ListCredentialsResponse
@@ -3903,11 +4248,11 @@ export default class Client extends OpenApi {
3903
4248
  }
3904
4249
 
3905
4250
  /**
3906
- * Performs a paged query to retrieve the summary of custom agents in a specified workspace. For paging, the complete configuration, and the execute results of the latest version, call GetCustomAgent.
4251
+ * 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.
3907
4252
  *
3908
4253
  * @remarks
3909
4254
  * 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.
3910
- * 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 yourself. An empty token in the response indicates that there are no more pages.
4255
+ * 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.
3911
4256
  * 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.
3912
4257
  *
3913
4258
  * @param request - ListCustomAgentsRequest
@@ -3945,11 +4290,11 @@ export default class Client extends OpenApi {
3945
4290
  }
3946
4291
 
3947
4292
  /**
3948
- * Performs a paged query to retrieve the summary of custom agents in a specified workspace. For paging, the complete configuration, and the execute results of the latest version, call GetCustomAgent.
4293
+ * 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.
3949
4294
  *
3950
4295
  * @remarks
3951
4296
  * 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.
3952
- * 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 yourself. An empty token in the response indicates that there are no more pages.
4297
+ * 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.
3953
4298
  * 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.
3954
4299
  *
3955
4300
  * @param request - ListCustomAgentsRequest
@@ -4017,7 +4362,7 @@ export default class Client extends OpenApi {
4017
4362
  }
4018
4363
 
4019
4364
  /**
4020
- * Queries the external identity provider 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.
4365
+ * 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.
4021
4366
  *
4022
4367
  * @param request - ListIdentityProvidersRequest
4023
4368
  * @param headers - map
@@ -4054,7 +4399,7 @@ export default class Client extends OpenApi {
4054
4399
  }
4055
4400
 
4056
4401
  /**
4057
- * Queries the external identity provider 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.
4402
+ * 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.
4058
4403
  *
4059
4404
  * @param request - ListIdentityProvidersRequest
4060
4405
  * @returns ListIdentityProvidersResponse
@@ -4321,6 +4666,258 @@ export default class Client extends OpenApi {
4321
4666
  return await this.listMcpsWithOptions(workspaceId, request, headers, runtime);
4322
4667
  }
4323
4668
 
4669
+ /**
4670
+ * 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.
4671
+ *
4672
+ * @remarks
4673
+ * 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.
4674
+ *
4675
+ * @param request - ListMemoriesRequest
4676
+ * @param headers - map
4677
+ * @param runtime - runtime options for this request RuntimeOptions
4678
+ * @returns ListMemoriesResponse
4679
+ */
4680
+ async listMemoriesWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.ListMemoriesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMemoriesResponse> {
4681
+ request.validate();
4682
+ let query : {[key: string ]: any} = { };
4683
+ if (!$dara.isNull(request.agentId)) {
4684
+ query["agentId"] = request.agentId;
4685
+ }
4686
+
4687
+ if (!$dara.isNull(request.maxResults)) {
4688
+ query["maxResults"] = request.maxResults;
4689
+ }
4690
+
4691
+ if (!$dara.isNull(request.nextToken)) {
4692
+ query["nextToken"] = request.nextToken;
4693
+ }
4694
+
4695
+ if (!$dara.isNull(request.sessionId)) {
4696
+ query["sessionId"] = request.sessionId;
4697
+ }
4698
+
4699
+ if (!$dara.isNull(request.userId)) {
4700
+ query["userId"] = request.userId;
4701
+ }
4702
+
4703
+ let req = new $OpenApiUtil.OpenApiRequest({
4704
+ headers: headers,
4705
+ query: OpenApiUtil.query(query),
4706
+ });
4707
+ let params = new $OpenApiUtil.Params({
4708
+ action: "ListMemories",
4709
+ version: "2026-08-04",
4710
+ protocol: "HTTPS",
4711
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories`,
4712
+ method: "GET",
4713
+ authType: "AK",
4714
+ style: "ROA",
4715
+ reqBodyType: "json",
4716
+ bodyType: "json",
4717
+ });
4718
+ return $dara.cast<$_model.ListMemoriesResponse>(await this.callApi(params, req, runtime), new $_model.ListMemoriesResponse({}));
4719
+ }
4720
+
4721
+ /**
4722
+ * 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.
4723
+ *
4724
+ * @remarks
4725
+ * 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.
4726
+ *
4727
+ * @param request - ListMemoriesRequest
4728
+ * @returns ListMemoriesResponse
4729
+ */
4730
+ async listMemories(workspaceId: string, memoryStoreName: string, request: $_model.ListMemoriesRequest): Promise<$_model.ListMemoriesResponse> {
4731
+ let runtime = new $dara.RuntimeOptions({ });
4732
+ let headers : {[key: string ]: string} = { };
4733
+ return await this.listMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
4734
+ }
4735
+
4736
+ /**
4737
+ * 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.
4738
+ *
4739
+ * @remarks
4740
+ * 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.
4741
+ *
4742
+ * @param request - ListMemorySessionMessagesRequest
4743
+ * @param headers - map
4744
+ * @param runtime - runtime options for this request RuntimeOptions
4745
+ * @returns ListMemorySessionMessagesResponse
4746
+ */
4747
+ async listMemorySessionMessagesWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.ListMemorySessionMessagesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMemorySessionMessagesResponse> {
4748
+ request.validate();
4749
+ let query : {[key: string ]: any} = { };
4750
+ if (!$dara.isNull(request.agentId)) {
4751
+ query["agentId"] = request.agentId;
4752
+ }
4753
+
4754
+ if (!$dara.isNull(request.maxResults)) {
4755
+ query["maxResults"] = request.maxResults;
4756
+ }
4757
+
4758
+ if (!$dara.isNull(request.nextToken)) {
4759
+ query["nextToken"] = request.nextToken;
4760
+ }
4761
+
4762
+ if (!$dara.isNull(request.sessionId)) {
4763
+ query["sessionId"] = request.sessionId;
4764
+ }
4765
+
4766
+ if (!$dara.isNull(request.userId)) {
4767
+ query["userId"] = request.userId;
4768
+ }
4769
+
4770
+ let req = new $OpenApiUtil.OpenApiRequest({
4771
+ headers: headers,
4772
+ query: OpenApiUtil.query(query),
4773
+ });
4774
+ let params = new $OpenApiUtil.Params({
4775
+ action: "ListMemorySessionMessages",
4776
+ version: "2026-08-04",
4777
+ protocol: "HTTPS",
4778
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/messages`,
4779
+ method: "GET",
4780
+ authType: "AK",
4781
+ style: "ROA",
4782
+ reqBodyType: "json",
4783
+ bodyType: "json",
4784
+ });
4785
+ return $dara.cast<$_model.ListMemorySessionMessagesResponse>(await this.callApi(params, req, runtime), new $_model.ListMemorySessionMessagesResponse({}));
4786
+ }
4787
+
4788
+ /**
4789
+ * 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.
4790
+ *
4791
+ * @remarks
4792
+ * 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.
4793
+ *
4794
+ * @param request - ListMemorySessionMessagesRequest
4795
+ * @returns ListMemorySessionMessagesResponse
4796
+ */
4797
+ async listMemorySessionMessages(workspaceId: string, memoryStoreName: string, request: $_model.ListMemorySessionMessagesRequest): Promise<$_model.ListMemorySessionMessagesResponse> {
4798
+ let runtime = new $dara.RuntimeOptions({ });
4799
+ let headers : {[key: string ]: string} = { };
4800
+ return await this.listMemorySessionMessagesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
4801
+ }
4802
+
4803
+ /**
4804
+ * Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
4805
+ *
4806
+ * @remarks
4807
+ * Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
4808
+ *
4809
+ * @param request - ListMemorySessionsRequest
4810
+ * @param headers - map
4811
+ * @param runtime - runtime options for this request RuntimeOptions
4812
+ * @returns ListMemorySessionsResponse
4813
+ */
4814
+ async listMemorySessionsWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.ListMemorySessionsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMemorySessionsResponse> {
4815
+ request.validate();
4816
+ let query : {[key: string ]: any} = { };
4817
+ if (!$dara.isNull(request.agentId)) {
4818
+ query["agentId"] = request.agentId;
4819
+ }
4820
+
4821
+ if (!$dara.isNull(request.maxResults)) {
4822
+ query["maxResults"] = request.maxResults;
4823
+ }
4824
+
4825
+ if (!$dara.isNull(request.nextToken)) {
4826
+ query["nextToken"] = request.nextToken;
4827
+ }
4828
+
4829
+ if (!$dara.isNull(request.userId)) {
4830
+ query["userId"] = request.userId;
4831
+ }
4832
+
4833
+ let req = new $OpenApiUtil.OpenApiRequest({
4834
+ headers: headers,
4835
+ query: OpenApiUtil.query(query),
4836
+ });
4837
+ let params = new $OpenApiUtil.Params({
4838
+ action: "ListMemorySessions",
4839
+ version: "2026-08-04",
4840
+ protocol: "HTTPS",
4841
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/sessions`,
4842
+ method: "GET",
4843
+ authType: "AK",
4844
+ style: "ROA",
4845
+ reqBodyType: "json",
4846
+ bodyType: "json",
4847
+ });
4848
+ return $dara.cast<$_model.ListMemorySessionsResponse>(await this.callApi(params, req, runtime), new $_model.ListMemorySessionsResponse({}));
4849
+ }
4850
+
4851
+ /**
4852
+ * Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
4853
+ *
4854
+ * @remarks
4855
+ * Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
4856
+ *
4857
+ * @param request - ListMemorySessionsRequest
4858
+ * @returns ListMemorySessionsResponse
4859
+ */
4860
+ async listMemorySessions(workspaceId: string, memoryStoreName: string, request: $_model.ListMemorySessionsRequest): Promise<$_model.ListMemorySessionsResponse> {
4861
+ let runtime = new $dara.RuntimeOptions({ });
4862
+ let headers : {[key: string ]: string} = { };
4863
+ return await this.listMemorySessionsWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
4864
+ }
4865
+
4866
+ /**
4867
+ * Queries MemoryStores in a specified workspace by using paging.
4868
+ *
4869
+ * @remarks
4870
+ * Queries MemoryStores in a specified workspace by using paging.
4871
+ *
4872
+ * @param request - ListMemoryStoresRequest
4873
+ * @param headers - map
4874
+ * @param runtime - runtime options for this request RuntimeOptions
4875
+ * @returns ListMemoryStoresResponse
4876
+ */
4877
+ async listMemoryStoresWithOptions(workspaceId: string, request: $_model.ListMemoryStoresRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMemoryStoresResponse> {
4878
+ request.validate();
4879
+ let query : {[key: string ]: any} = { };
4880
+ if (!$dara.isNull(request.maxResults)) {
4881
+ query["maxResults"] = request.maxResults;
4882
+ }
4883
+
4884
+ if (!$dara.isNull(request.nextToken)) {
4885
+ query["nextToken"] = request.nextToken;
4886
+ }
4887
+
4888
+ let req = new $OpenApiUtil.OpenApiRequest({
4889
+ headers: headers,
4890
+ query: OpenApiUtil.query(query),
4891
+ });
4892
+ let params = new $OpenApiUtil.Params({
4893
+ action: "ListMemoryStores",
4894
+ version: "2026-08-04",
4895
+ protocol: "HTTPS",
4896
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores`,
4897
+ method: "GET",
4898
+ authType: "AK",
4899
+ style: "ROA",
4900
+ reqBodyType: "json",
4901
+ bodyType: "json",
4902
+ });
4903
+ return $dara.cast<$_model.ListMemoryStoresResponse>(await this.callApi(params, req, runtime), new $_model.ListMemoryStoresResponse({}));
4904
+ }
4905
+
4906
+ /**
4907
+ * Queries MemoryStores in a specified workspace by using paging.
4908
+ *
4909
+ * @remarks
4910
+ * Queries MemoryStores in a specified workspace by using paging.
4911
+ *
4912
+ * @param request - ListMemoryStoresRequest
4913
+ * @returns ListMemoryStoresResponse
4914
+ */
4915
+ async listMemoryStores(workspaceId: string, request: $_model.ListMemoryStoresRequest): Promise<$_model.ListMemoryStoresResponse> {
4916
+ let runtime = new $dara.RuntimeOptions({ });
4917
+ let headers : {[key: string ]: string} = { };
4918
+ return await this.listMemoryStoresWithOptions(workspaceId, request, headers, runtime);
4919
+ }
4920
+
4324
4921
  /**
4325
4922
  * Queries model connections in a specified workspace with paging. Supports filtering by name, provider type, and invoke protocol.
4326
4923
  *
@@ -4454,7 +5051,7 @@ export default class Client extends OpenApi {
4454
5051
  }
4455
5052
 
4456
5053
  /**
4457
- * 查询预定义模型供应商目录
5054
+ * Queries the providers supported by the built-in model catalog of AgentCore and their default service configurations.
4458
5055
  *
4459
5056
  * @param request - ListPredefinedModelProvidersRequest
4460
5057
  * @param headers - map
@@ -4481,7 +5078,7 @@ export default class Client extends OpenApi {
4481
5078
  }
4482
5079
 
4483
5080
  /**
4484
- * 查询预定义模型供应商目录
5081
+ * Queries the providers supported by the built-in model catalog of AgentCore and their default service configurations.
4485
5082
  *
4486
5083
  * @param request - ListPredefinedModelProvidersRequest
4487
5084
  * @returns ListPredefinedModelProvidersResponse
@@ -4493,7 +5090,7 @@ export default class Client extends OpenApi {
4493
5090
  }
4494
5091
 
4495
5092
  /**
4496
- * Queries the models and their capability information for a specified provider in the AgentCore built-in model catalog.
5093
+ * Queries the models and their capabilities in the built-in model catalog of AgentCore for a specified provider.
4497
5094
  *
4498
5095
  * @param request - ListPredefinedModelsRequest
4499
5096
  * @param headers - map
@@ -4520,7 +5117,7 @@ export default class Client extends OpenApi {
4520
5117
  }
4521
5118
 
4522
5119
  /**
4523
- * Queries the models and their capability information for a specified provider in the AgentCore built-in model catalog.
5120
+ * Queries the models and their capabilities in the built-in model catalog of AgentCore for a specified provider.
4524
5121
  *
4525
5122
  * @param request - ListPredefinedModelsRequest
4526
5123
  * @returns ListPredefinedModelsResponse
@@ -4650,10 +5247,10 @@ export default class Client extends OpenApi {
4650
5247
  }
4651
5248
 
4652
5249
  /**
4653
- * Queries service endpoints in a specified workspace by using paging. Supports filtering by target type, agent, collaboration component, and status.
5250
+ * Queries service endpoints in a specified workspace with paging and supports filtering by target type, agent, collaboration component, and status.
4654
5251
  *
4655
5252
  * @remarks
4656
- * ## Operation description\\nQueries service endpoints in a specified workspace by using paging. Filter results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use 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 20 records by default.\\n
5253
+ * ## 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
4657
5254
  *
4658
5255
  * @param request - ListServiceEndpointsRequest
4659
5256
  * @param headers - map
@@ -4714,10 +5311,10 @@ export default class Client extends OpenApi {
4714
5311
  }
4715
5312
 
4716
5313
  /**
4717
- * Queries service endpoints in a specified workspace by using paging. Supports filtering by target type, agent, collaboration component, and status.
5314
+ * Queries service endpoints in a specified workspace with paging and supports filtering by target type, agent, collaboration component, and status.
4718
5315
  *
4719
5316
  * @remarks
4720
- * ## Operation description\\nQueries service endpoints in a specified workspace by using paging. Filter results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use 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 20 records by default.\\n
5317
+ * ## 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
4721
5318
  *
4722
5319
  * @param request - ListServiceEndpointsRequest
4723
5320
  * @returns ListServiceEndpointsResponse
@@ -4729,7 +5326,7 @@ export default class Client extends OpenApi {
4729
5326
  }
4730
5327
 
4731
5328
  /**
4732
- * Queries the reference relationships of a skill.
5329
+ * Queries skill reference relationships.
4733
5330
  *
4734
5331
  * @param request - ListSkillReferencesRequest
4735
5332
  * @param headers - map
@@ -4774,7 +5371,7 @@ export default class Client extends OpenApi {
4774
5371
  }
4775
5372
 
4776
5373
  /**
4777
- * Queries the reference relationships of a skill.
5374
+ * Queries skill reference relationships.
4778
5375
  *
4779
5376
  * @param request - ListSkillReferencesRequest
4780
5377
  * @returns ListSkillReferencesResponse
@@ -4871,7 +5468,7 @@ export default class Client extends OpenApi {
4871
5468
  }
4872
5469
 
4873
5470
  /**
4874
- * Performs a paged query of teams in a specified workspace. Use nameLike to filter by team name with fuzzy match, 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. Member information in the list includes only the member identity, name, and team role.
5471
+ * 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.
4875
5472
  *
4876
5473
  * @param request - ListTeamsRequest
4877
5474
  * @param headers - map
@@ -4912,7 +5509,7 @@ export default class Client extends OpenApi {
4912
5509
  }
4913
5510
 
4914
5511
  /**
4915
- * Performs a paged query of teams in a specified workspace. Use nameLike to filter by team name with fuzzy match, 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. Member information in the list includes only the member identity, name, and team role.
5512
+ * 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.
4916
5513
  *
4917
5514
  * @param request - ListTeamsRequest
4918
5515
  * @returns ListTeamsResponse
@@ -4985,10 +5582,10 @@ export default class Client extends OpenApi {
4985
5582
  }
4986
5583
 
4987
5584
  /**
4988
- * Queries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
5585
+ * 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.
4989
5586
  *
4990
5587
  * @remarks
4991
- * ## Operation description\\nQueries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per paging request, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
5588
+ * ## 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
4992
5589
  *
4993
5590
  * @param request - ListWorkspacesRequest
4994
5591
  * @param headers - map
@@ -5029,10 +5626,10 @@ export default class Client extends OpenApi {
5029
5626
  }
5030
5627
 
5031
5628
  /**
5032
- * Queries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
5629
+ * 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.
5033
5630
  *
5034
5631
  * @remarks
5035
- * ## Operation description\\nQueries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per paging request, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
5632
+ * ## 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
5036
5633
  *
5037
5634
  * @param request - ListWorkspacesRequest
5038
5635
  * @returns ListWorkspacesResponse
@@ -5339,7 +5936,7 @@ export default class Client extends OpenApi {
5339
5936
  }
5340
5937
 
5341
5938
  /**
5342
- * Resets the logon password of a specified user. Specify the user by agentCoreUserId or username. At least one of the two parameters must be specified. Only users who use workspace local password authentication can be reset. If password is not specified, the server generates a random password and returns it in the response.
5939
+ * 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.
5343
5940
  *
5344
5941
  * @param tmpReq - ResetUserPasswordRequest
5345
5942
  * @param headers - map
@@ -5378,7 +5975,7 @@ export default class Client extends OpenApi {
5378
5975
  }
5379
5976
 
5380
5977
  /**
5381
- * Resets the logon password of a specified user. Specify the user by agentCoreUserId or username. At least one of the two parameters must be specified. Only users who use workspace local password authentication can be reset. If password is not specified, the server generates a random password and returns it in the response.
5978
+ * 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.
5382
5979
  *
5383
5980
  * @param request - ResetUserPasswordRequest
5384
5981
  * @returns ResetUserPasswordResponse
@@ -5390,11 +5987,68 @@ export default class Client extends OpenApi {
5390
5987
  }
5391
5988
 
5392
5989
  /**
5393
- * Submits a specified AgentSpec draft version for review. If no release pipeline is configured, the version is published directly to online status.
5990
+ * Retrieves long-term memory from a MemoryStore based on semantics queries.
5394
5991
  *
5395
5992
  * @remarks
5396
- * ## Operation description
5397
- * Submits a specified AgentSpec draft version for review. If no release pipeline is configured, the version is published directly to online status.
5993
+ * Retrieves long-term memory from a MemoryStore based on semantics queries.
5994
+ *
5995
+ * @param tmpReq - SearchMemoriesRequest
5996
+ * @param headers - map
5997
+ * @param runtime - runtime options for this request RuntimeOptions
5998
+ * @returns SearchMemoriesResponse
5999
+ */
6000
+ async searchMemoriesWithOptions(workspaceId: string, memoryStoreName: string, tmpReq: $_model.SearchMemoriesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.SearchMemoriesResponse> {
6001
+ tmpReq.validate();
6002
+ let request = new $_model.SearchMemoriesShrinkRequest({ });
6003
+ OpenApiUtil.convert(tmpReq, request);
6004
+ if (!$dara.isNull(tmpReq.body)) {
6005
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
6006
+ }
6007
+
6008
+ let body : {[key: string ]: any} = { };
6009
+ if (!$dara.isNull(request.bodyShrink)) {
6010
+ body["body"] = request.bodyShrink;
6011
+ }
6012
+
6013
+ let req = new $OpenApiUtil.OpenApiRequest({
6014
+ headers: headers,
6015
+ body: OpenApiUtil.parseToMap(body),
6016
+ });
6017
+ let params = new $OpenApiUtil.Params({
6018
+ action: "SearchMemories",
6019
+ version: "2026-08-04",
6020
+ protocol: "HTTPS",
6021
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/search`,
6022
+ method: "POST",
6023
+ authType: "AK",
6024
+ style: "ROA",
6025
+ reqBodyType: "formData",
6026
+ bodyType: "json",
6027
+ });
6028
+ return $dara.cast<$_model.SearchMemoriesResponse>(await this.callApi(params, req, runtime), new $_model.SearchMemoriesResponse({}));
6029
+ }
6030
+
6031
+ /**
6032
+ * Retrieves long-term memory from a MemoryStore based on semantics queries.
6033
+ *
6034
+ * @remarks
6035
+ * Retrieves long-term memory from a MemoryStore based on semantics queries.
6036
+ *
6037
+ * @param request - SearchMemoriesRequest
6038
+ * @returns SearchMemoriesResponse
6039
+ */
6040
+ async searchMemories(workspaceId: string, memoryStoreName: string, request: $_model.SearchMemoriesRequest): Promise<$_model.SearchMemoriesResponse> {
6041
+ let runtime = new $dara.RuntimeOptions({ });
6042
+ let headers : {[key: string ]: string} = { };
6043
+ return await this.searchMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
6044
+ }
6045
+
6046
+ /**
6047
+ * Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
6048
+ *
6049
+ * @remarks
6050
+ * ## Request description
6051
+ * Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
5398
6052
  *
5399
6053
  * @param tmpReq - SubmitAgentSpecVersionRequest
5400
6054
  * @param headers - map
@@ -5433,11 +6087,11 @@ export default class Client extends OpenApi {
5433
6087
  }
5434
6088
 
5435
6089
  /**
5436
- * Submits a specified AgentSpec draft version for review. If no release pipeline is configured, the version is published directly to online status.
6090
+ * Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
5437
6091
  *
5438
6092
  * @remarks
5439
- * ## Operation description
5440
- * Submits a specified AgentSpec draft version for review. If no release pipeline is configured, the version is published directly to online status.
6093
+ * ## Request description
6094
+ * Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
5441
6095
  *
5442
6096
  * @param request - SubmitAgentSpecVersionRequest
5443
6097
  * @returns SubmitAgentSpecVersionResponse
@@ -5508,10 +6162,10 @@ export default class Client extends OpenApi {
5508
6162
  }
5509
6163
 
5510
6164
  /**
5511
- * Updates the ServiceEndpoint binding, enabled/disabled status, or channel behavior configuration of an IM channel. At least one updatable field must be provided.
6165
+ * Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
5512
6166
  *
5513
6167
  * @remarks
5514
- * Updates the ServiceEndpoint binding, enabled/disabled status, or channel behavior configuration of an IM channel. At least one updatable field must be provided.
6168
+ * Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
5515
6169
  *
5516
6170
  * @param tmpReq - UpdateAgentIMChannelRequest
5517
6171
  * @param headers - map
@@ -5556,10 +6210,10 @@ export default class Client extends OpenApi {
5556
6210
  }
5557
6211
 
5558
6212
  /**
5559
- * Updates the ServiceEndpoint binding, enabled/disabled status, or channel behavior configuration of an IM channel. At least one updatable field must be provided.
6213
+ * Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
5560
6214
  *
5561
6215
  * @remarks
5562
- * Updates the ServiceEndpoint binding, enabled/disabled status, or channel behavior configuration of an IM channel. At least one updatable field must be provided.
6216
+ * Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
5563
6217
  *
5564
6218
  * @param request - UpdateAgentIMChannelRequest
5565
6219
  * @returns UpdateAgentIMChannelResponse
@@ -5571,10 +6225,10 @@ export default class Client extends OpenApi {
5571
6225
  }
5572
6226
 
5573
6227
  /**
5574
- * Performs a full update of the channel credential for a specified IM channel of an agent. Secrets are not returned in the response.
6228
+ * Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
5575
6229
  *
5576
6230
  * @remarks
5577
- * Performs a full update of the channel credential for a specified IM channel of an agent. Secrets are not returned in the response.
6231
+ * Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
5578
6232
  *
5579
6233
  * @param tmpReq - UpdateAgentIMChannelCredentialRequest
5580
6234
  * @param headers - map
@@ -5619,10 +6273,10 @@ export default class Client extends OpenApi {
5619
6273
  }
5620
6274
 
5621
6275
  /**
5622
- * Performs a full update of the channel credential for a specified IM channel of an agent. Secrets are not returned in the response.
6276
+ * Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
5623
6277
  *
5624
6278
  * @remarks
5625
- * Performs a full update of the channel credential for a specified IM channel of an agent. Secrets are not returned in the response.
6279
+ * Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
5626
6280
  *
5627
6281
  * @param request - UpdateAgentIMChannelCredentialRequest
5628
6282
  * @returns UpdateAgentIMChannelCredentialResponse
@@ -5750,10 +6404,10 @@ export default class Client extends OpenApi {
5750
6404
  }
5751
6405
 
5752
6406
  /**
5753
- * Updates the content or description of a specified credential. At least one of credentialMetadata and description must be specified. Unspecified properties remain unchanged. The credential name and credential type cannot be modified after creation.
6407
+ * 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.
5754
6408
  *
5755
6409
  * @remarks
5756
- * Updates the metadata or resource scope of a specified credential.
6410
+ * Updates the metadata or application scope of a specified credential.
5757
6411
  *
5758
6412
  * @param tmpReq - UpdateCredentialRequest
5759
6413
  * @param headers - map
@@ -5798,10 +6452,10 @@ export default class Client extends OpenApi {
5798
6452
  }
5799
6453
 
5800
6454
  /**
5801
- * Updates the content or description of a specified credential. At least one of credentialMetadata and description must be specified. Unspecified properties remain unchanged. The credential name and credential type cannot be modified after creation.
6455
+ * 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.
5802
6456
  *
5803
6457
  * @remarks
5804
- * Updates the metadata or resource scope of a specified credential.
6458
+ * Updates the metadata or application scope of a specified credential.
5805
6459
  *
5806
6460
  * @param request - UpdateCredentialRequest
5807
6461
  * @returns UpdateCredentialResponse
@@ -5816,10 +6470,10 @@ export default class Client extends OpenApi {
5816
6470
  * 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.
5817
6471
  *
5818
6472
  * @remarks
5819
- * Provide 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 in their entirety. 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.
6473
+ * Provide 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.
5820
6474
  * 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 Alibaba Cloud Container Registry (ACR) container image deployment is supported. Omit the artifact.code field.
5821
- * 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 together. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to 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.
5822
- * The update is an asynchronous process. A successful response indicates that the request is accepted. Call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
6475
+ * When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or some of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, you must provide them together. When providing the network field, omitted access items are treated as allowed, but actual access is still restricted by the workspace network configurations. 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.
6476
+ * 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.
5823
6477
  * 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.
5824
6478
  *
5825
6479
  * @param tmpReq - UpdateCustomAgentRequest
@@ -5868,10 +6522,10 @@ export default class Client extends OpenApi {
5868
6522
  * 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.
5869
6523
  *
5870
6524
  * @remarks
5871
- * Provide 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 in their entirety. 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.
6525
+ * Provide 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.
5872
6526
  * 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 Alibaba Cloud Container Registry (ACR) container image deployment is supported. Omit the artifact.code field.
5873
- * 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 together. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to 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.
5874
- * The update is an asynchronous process. A successful response indicates that the request is accepted. Call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
6527
+ * When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or some of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, you must provide them together. When providing the network field, omitted access items are treated as allowed, but actual access is still restricted by the workspace network configurations. 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.
6528
+ * 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.
5875
6529
  * 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.
5876
6530
  *
5877
6531
  * @param request - UpdateCustomAgentRequest
@@ -6187,12 +6841,132 @@ export default class Client extends OpenApi {
6187
6841
  }
6188
6842
 
6189
6843
  /**
6190
- * Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
6844
+ * Updates the long-term memory text or metadata based on the memory ID.
6845
+ *
6846
+ * @remarks
6847
+ * Updates the long-term memory text or metadata based on the memory ID.
6848
+ *
6849
+ * @param tmpReq - UpdateMemoryRequest
6850
+ * @param headers - map
6851
+ * @param runtime - runtime options for this request RuntimeOptions
6852
+ * @returns UpdateMemoryResponse
6853
+ */
6854
+ async updateMemoryWithOptions(workspaceId: string, memoryStoreName: string, memoryId: string, tmpReq: $_model.UpdateMemoryRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMemoryResponse> {
6855
+ tmpReq.validate();
6856
+ let request = new $_model.UpdateMemoryShrinkRequest({ });
6857
+ OpenApiUtil.convert(tmpReq, request);
6858
+ if (!$dara.isNull(tmpReq.body)) {
6859
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
6860
+ }
6861
+
6862
+ let body : {[key: string ]: any} = { };
6863
+ if (!$dara.isNull(request.bodyShrink)) {
6864
+ body["body"] = request.bodyShrink;
6865
+ }
6866
+
6867
+ let req = new $OpenApiUtil.OpenApiRequest({
6868
+ headers: headers,
6869
+ body: OpenApiUtil.parseToMap(body),
6870
+ });
6871
+ let params = new $OpenApiUtil.Params({
6872
+ action: "UpdateMemory",
6873
+ version: "2026-08-04",
6874
+ protocol: "HTTPS",
6875
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
6876
+ method: "PUT",
6877
+ authType: "AK",
6878
+ style: "ROA",
6879
+ reqBodyType: "formData",
6880
+ bodyType: "json",
6881
+ });
6882
+ return $dara.cast<$_model.UpdateMemoryResponse>(await this.callApi(params, req, runtime), new $_model.UpdateMemoryResponse({}));
6883
+ }
6884
+
6885
+ /**
6886
+ * Updates the long-term memory text or metadata based on the memory ID.
6887
+ *
6888
+ * @remarks
6889
+ * Updates the long-term memory text or metadata based on the memory ID.
6890
+ *
6891
+ * @param request - UpdateMemoryRequest
6892
+ * @returns UpdateMemoryResponse
6893
+ */
6894
+ async updateMemory(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.UpdateMemoryRequest): Promise<$_model.UpdateMemoryResponse> {
6895
+ let runtime = new $dara.RuntimeOptions({ });
6896
+ let headers : {[key: string ]: string} = { };
6897
+ return await this.updateMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
6898
+ }
6899
+
6900
+ /**
6901
+ * Updates a memory store.
6191
6902
  *
6192
6903
  * @remarks
6193
- * This operation supports updating description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
6194
- * Modifying only description does not refresh the model configuration 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. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
6195
- * A successful response indicates that the model configuration has been saved. It does not indicate that associated Agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
6904
+ * Updates a memory store.
6905
+ *
6906
+ * @param tmpReq - UpdateMemoryStoreRequest
6907
+ * @param headers - map
6908
+ * @param runtime - runtime options for this request RuntimeOptions
6909
+ * @returns UpdateMemoryStoreResponse
6910
+ */
6911
+ async updateMemoryStoreWithOptions(workspaceId: string, memoryStoreName: string, tmpReq: $_model.UpdateMemoryStoreRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMemoryStoreResponse> {
6912
+ tmpReq.validate();
6913
+ let request = new $_model.UpdateMemoryStoreShrinkRequest({ });
6914
+ OpenApiUtil.convert(tmpReq, request);
6915
+ if (!$dara.isNull(tmpReq.body)) {
6916
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
6917
+ }
6918
+
6919
+ let query : {[key: string ]: any} = { };
6920
+ if (!$dara.isNull(request.clientToken)) {
6921
+ query["clientToken"] = request.clientToken;
6922
+ }
6923
+
6924
+ let body : {[key: string ]: any} = { };
6925
+ if (!$dara.isNull(request.bodyShrink)) {
6926
+ body["body"] = request.bodyShrink;
6927
+ }
6928
+
6929
+ let req = new $OpenApiUtil.OpenApiRequest({
6930
+ headers: headers,
6931
+ query: OpenApiUtil.query(query),
6932
+ body: OpenApiUtil.parseToMap(body),
6933
+ });
6934
+ let params = new $OpenApiUtil.Params({
6935
+ action: "UpdateMemoryStore",
6936
+ version: "2026-08-04",
6937
+ protocol: "HTTPS",
6938
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
6939
+ method: "PUT",
6940
+ authType: "AK",
6941
+ style: "ROA",
6942
+ reqBodyType: "formData",
6943
+ bodyType: "json",
6944
+ });
6945
+ return $dara.cast<$_model.UpdateMemoryStoreResponse>(await this.callApi(params, req, runtime), new $_model.UpdateMemoryStoreResponse({}));
6946
+ }
6947
+
6948
+ /**
6949
+ * Updates a memory store.
6950
+ *
6951
+ * @remarks
6952
+ * Updates a memory store.
6953
+ *
6954
+ * @param request - UpdateMemoryStoreRequest
6955
+ * @returns UpdateMemoryStoreResponse
6956
+ */
6957
+ async updateMemoryStore(workspaceId: string, memoryStoreName: string, request: $_model.UpdateMemoryStoreRequest): Promise<$_model.UpdateMemoryStoreResponse> {
6958
+ let runtime = new $dara.RuntimeOptions({ });
6959
+ let headers : {[key: string ]: string} = { };
6960
+ return await this.updateMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
6961
+ }
6962
+
6963
+ /**
6964
+ * Updates the description, context token limit, maximum output token count, or capability configurations of a specified model.
6965
+ *
6966
+ * @remarks
6967
+ * 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.
6968
+ * 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.
6969
+ * 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.
6196
6970
  *
6197
6971
  * @param tmpReq - UpdateModelRequest
6198
6972
  * @param headers - map
@@ -6237,12 +7011,12 @@ export default class Client extends OpenApi {
6237
7011
  }
6238
7012
 
6239
7013
  /**
6240
- * Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
7014
+ * Updates the description, context token limit, maximum output token count, or capability configurations of a specified model.
6241
7015
  *
6242
7016
  * @remarks
6243
- * This operation supports updating description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
6244
- * Modifying only description does not refresh the model configuration 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. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
6245
- * A successful response indicates that the model configuration has been saved. It does not indicate that associated Agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
7017
+ * 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.
7018
+ * 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.
7019
+ * 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.
6246
7020
  *
6247
7021
  * @param request - UpdateModelRequest
6248
7022
  * @returns UpdateModelResponse
@@ -6254,7 +7028,7 @@ export default class Client extends OpenApi {
6254
7028
  }
6255
7029
 
6256
7030
  /**
6257
- * Updates the mutable configuration of a specified model connection and resubmits the publish task. The protocol cannot be modified after the model connection is created.
7031
+ * Updates the mutable configurations of a specified model connection and resubmits the publish task. The invocation protocol cannot be modified after creation.
6258
7032
  *
6259
7033
  * @param tmpReq - UpdateModelConnectionRequest
6260
7034
  * @param headers - map
@@ -6299,7 +7073,7 @@ export default class Client extends OpenApi {
6299
7073
  }
6300
7074
 
6301
7075
  /**
6302
- * Updates the mutable configuration of a specified model connection and resubmits the publish task. The protocol cannot be modified after the model connection is created.
7076
+ * Updates the mutable configurations of a specified model connection and resubmits the publish task. The invocation protocol cannot be modified after creation.
6303
7077
  *
6304
7078
  * @param request - UpdateModelConnectionRequest
6305
7079
  * @returns UpdateModelConnectionResponse
@@ -6311,11 +7085,11 @@ export default class Client extends OpenApi {
6311
7085
  }
6312
7086
 
6313
7087
  /**
6314
- * Updates the business tags of a specified Skill. Other attributes that are not included in the request remain unchanged.
7088
+ * Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
6315
7089
  *
6316
7090
  * @remarks
6317
- * ## Operation description
6318
- * Updates the business tags of a specified Skill. Other attributes that are not included in the request remain unchanged.
7091
+ * ## Request description
7092
+ * Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
6319
7093
  *
6320
7094
  * @param tmpReq - UpdateSkillBizTagsRequest
6321
7095
  * @param headers - map
@@ -6354,11 +7128,11 @@ export default class Client extends OpenApi {
6354
7128
  }
6355
7129
 
6356
7130
  /**
6357
- * Updates the business tags of a specified Skill. Other attributes that are not included in the request remain unchanged.
7131
+ * Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
6358
7132
  *
6359
7133
  * @remarks
6360
- * ## Operation description
6361
- * Updates the business tags of a specified Skill. Other attributes that are not included in the request remain unchanged.
7134
+ * ## Request description
7135
+ * Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
6362
7136
  *
6363
7137
  * @param request - UpdateSkillBizTagsRequest
6364
7138
  * @returns UpdateSkillBizTagsResponse
@@ -6488,7 +7262,7 @@ export default class Client extends OpenApi {
6488
7262
  }
6489
7263
 
6490
7264
  /**
6491
- * Updates the description and members of a specified team. When users or agents are passed in, the corresponding member list is replaced using full overwrite semantics. Member lists that are not passed in remain unchanged. The team name cannot be modified after creation.
7265
+ * 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.
6492
7266
  *
6493
7267
  * @param tmpReq - UpdateTeamRequest
6494
7268
  * @param headers - map
@@ -6533,7 +7307,7 @@ export default class Client extends OpenApi {
6533
7307
  }
6534
7308
 
6535
7309
  /**
6536
- * Updates the description and members of a specified team. When users or agents are passed in, the corresponding member list is replaced using full overwrite semantics. Member lists that are not passed in remain unchanged. The team name cannot be modified after creation.
7310
+ * 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.
6537
7311
  *
6538
7312
  * @param request - UpdateTeamRequest
6539
7313
  * @returns UpdateTeamResponse
@@ -6545,7 +7319,7 @@ export default class Client extends OpenApi {
6545
7319
  }
6546
7320
 
6547
7321
  /**
6548
- * Updates the display name, email address, or note of a specified user. At least one of displayName, email, and note must be specified. Unspecified properties remain unchanged. The username cannot be modified after creation.
7322
+ * 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.
6549
7323
  *
6550
7324
  * @param tmpReq - UpdateUserRequest
6551
7325
  * @param headers - map
@@ -6590,7 +7364,7 @@ export default class Client extends OpenApi {
6590
7364
  }
6591
7365
 
6592
7366
  /**
6593
- * Updates the display name, email address, or note of a specified user. At least one of displayName, email, and note must be specified. Unspecified properties remain unchanged. The username cannot be modified after creation.
7367
+ * 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.
6594
7368
  *
6595
7369
  * @param request - UpdateUserRequest
6596
7370
  * @returns UpdateUserResponse
@@ -6602,10 +7376,10 @@ export default class Client extends OpenApi {
6602
7376
  }
6603
7377
 
6604
7378
  /**
6605
- * Updates the name or network configuration of a workspace. Only workspaces in the Initialized status can be updated. The Status, TenantId, and RegionId fields are maintained by the server and cannot be modified through this operation.
7379
+ * 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.
6606
7380
  *
6607
7381
  * @remarks
6608
- * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` status can be updated. The `Status`, `TenantId`, and `RegionId` fields are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide a `VpcId` and at least one entry in `VSwitchIds`.\\n.
7382
+ * ## 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.
6609
7383
  *
6610
7384
  * @param tmpReq - UpdateWorkspaceRequest
6611
7385
  * @param headers - map
@@ -6650,10 +7424,10 @@ export default class Client extends OpenApi {
6650
7424
  }
6651
7425
 
6652
7426
  /**
6653
- * Updates the name or network configuration of a workspace. Only workspaces in the Initialized status can be updated. The Status, TenantId, and RegionId fields are maintained by the server and cannot be modified through this operation.
7427
+ * 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.
6654
7428
  *
6655
7429
  * @remarks
6656
- * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` status can be updated. The `Status`, `TenantId`, and `RegionId` fields are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide a `VpcId` and at least one entry in `VSwitchIds`.\\n.
7430
+ * ## 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.
6657
7431
  *
6658
7432
  * @param request - UpdateWorkspaceRequest
6659
7433
  * @returns UpdateWorkspaceResponse
@@ -6665,11 +7439,11 @@ export default class Client extends OpenApi {
6665
7439
  }
6666
7440
 
6667
7441
  /**
6668
- * Retrieves an uploaded AgentSpec ZIP package from OSS, parses it, and imports the AgentSpec into the current workspace.
7442
+ * Imports an AgentSpec into the current workspace by retrieving and parsing an uploaded AgentSpec ZIP package from OSS.
6669
7443
  *
6670
7444
  * @remarks
6671
- * ## Operation description
6672
- * Retrieves an uploaded AgentSpec ZIP package from OSS, parses it, and imports the AgentSpec into the current workspace.
7445
+ * ## Request description
7446
+ * Retrieves an uploaded AgentSpec ZIP package from OSS, parses the package, and imports the AgentSpec into the current workspace.
6673
7447
  *
6674
7448
  * @param tmpReq - UploadAgentSpecViaOssRequest
6675
7449
  * @param headers - map
@@ -6708,11 +7482,11 @@ export default class Client extends OpenApi {
6708
7482
  }
6709
7483
 
6710
7484
  /**
6711
- * Retrieves an uploaded AgentSpec ZIP package from OSS, parses it, and imports the AgentSpec into the current workspace.
7485
+ * Imports an AgentSpec into the current workspace by retrieving and parsing an uploaded AgentSpec ZIP package from OSS.
6712
7486
  *
6713
7487
  * @remarks
6714
- * ## Operation description
6715
- * Retrieves an uploaded AgentSpec ZIP package from OSS, parses it, and imports the AgentSpec into the current workspace.
7488
+ * ## Request description
7489
+ * Retrieves an uploaded AgentSpec ZIP package from OSS, parses the package, and imports the AgentSpec into the current workspace.
6716
7490
  *
6717
7491
  * @param request - UploadAgentSpecViaOssRequest
6718
7492
  * @returns UploadAgentSpecViaOssResponse
@@ -6840,10 +7614,10 @@ export default class Client extends OpenApi {
6840
7614
  }
6841
7615
 
6842
7616
  /**
6843
- * Verifies the ACR RAM authorization of a workspace.
7617
+ * Verifies the ACR RAM authorization for a workspace.
6844
7618
  *
6845
7619
  * @remarks
6846
- * ACR and user OSS mounts share the same workspace role. When no existing role is found, the system uses AliyunAgentCoreWorkspace-{workspaceId}. When a valid legacy OSS mount role exists, the system reuses it and only appends permissions without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not rebuilt or renamed because of 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 prerequisite status. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached. It does not parse policy content or simulate final permissions. ELIGIBLE does not indicate that RuntimeManager capacity or template admission is complete, nor does it require that ACR configurations have been 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.
7620
+ * ACR and user OSS mounts share the workspace role. If no existing role is available, 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 indicate that RuntimeManager capacity or template admission is complete, nor does it require ACR configurations 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.
6847
7621
  *
6848
7622
  * @param request - VerifyWorkspaceAcrRamAuthorizationRequest
6849
7623
  * @param headers - map
@@ -6884,10 +7658,10 @@ export default class Client extends OpenApi {
6884
7658
  }
6885
7659
 
6886
7660
  /**
6887
- * Verifies the ACR RAM authorization of a workspace.
7661
+ * Verifies the ACR RAM authorization for a workspace.
6888
7662
  *
6889
7663
  * @remarks
6890
- * ACR and user OSS mounts share the same workspace role. When no existing role is found, the system uses AliyunAgentCoreWorkspace-{workspaceId}. When a valid legacy OSS mount role exists, the system reuses it and only appends permissions without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not rebuilt or renamed because of 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 prerequisite status. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached. It does not parse policy content or simulate final permissions. ELIGIBLE does not indicate that RuntimeManager capacity or template admission is complete, nor does it require that ACR configurations have been 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.
7664
+ * ACR and user OSS mounts share the workspace role. If no existing role is available, 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 indicate that RuntimeManager capacity or template admission is complete, nor does it require ACR configurations 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.
6891
7665
  *
6892
7666
  * @param request - VerifyWorkspaceAcrRamAuthorizationRequest
6893
7667
  * @returns VerifyWorkspaceAcrRamAuthorizationResponse