@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.
- package/dist/client.d.ts +562 -226
- package/dist/client.js +1005 -287
- package/dist/client.js.map +1 -1
- package/dist/models/AddMemoriesRequest.d.ts +140 -0
- package/dist/models/AddMemoriesRequest.js +145 -0
- package/dist/models/AddMemoriesRequest.js.map +1 -0
- package/dist/models/AddMemoriesResponse.d.ts +19 -0
- package/dist/models/AddMemoriesResponse.js +69 -0
- package/dist/models/AddMemoriesResponse.js.map +1 -0
- package/dist/models/AddMemoriesResponseBody.d.ts +100 -0
- package/dist/models/AddMemoriesResponseBody.js +114 -0
- package/dist/models/AddMemoriesResponseBody.js.map +1 -0
- package/dist/models/AddMemoriesShrinkRequest.d.ts +20 -0
- package/dist/models/AddMemoriesShrinkRequest.js +58 -0
- package/dist/models/AddMemoriesShrinkRequest.js.map +1 -0
- package/dist/models/BatchDeleteModelsRequest.d.ts +1 -3
- package/dist/models/BatchDeleteModelsRequest.js +0 -2
- package/dist/models/BatchDeleteModelsRequest.js.map +1 -1
- package/dist/models/BatchDeleteModelsResponseBody.d.ts +3 -3
- package/dist/models/BatchDeleteModelsShrinkRequest.d.ts +1 -1
- package/dist/models/BatchUploadSkillsViaOssRequest.d.ts +1 -1
- package/dist/models/BatchUploadSkillsViaOssResponseBody.d.ts +1 -1
- package/dist/models/ConvertMcpToFreeEditRequest.d.ts +1 -1
- package/dist/models/ConvertMcpToFreeEditResponseBody.d.ts +51 -51
- package/dist/models/CreateAgentImchannelRequest.d.ts +5 -8
- package/dist/models/CreateAgentImchannelRequest.js.map +1 -1
- package/dist/models/CreateAgentImchannelResponseBody.d.ts +10 -13
- package/dist/models/CreateAgentImchannelResponseBody.js.map +1 -1
- package/dist/models/CreateAgentImchannelShrinkRequest.d.ts +1 -1
- package/dist/models/CreateAgentSpecRequest.d.ts +1 -1
- package/dist/models/CreateAgentSpecVersionRequest.d.ts +1 -1
- package/dist/models/CreateCredentialRequest.d.ts +8 -8
- package/dist/models/CreateCredentialResponseBody.d.ts +13 -13
- package/dist/models/CreateCustomAgentRequest.d.ts +32 -45
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +36 -55
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateExternalAgentBootstrapTokenRequest.d.ts +1 -3
- package/dist/models/CreateExternalAgentBootstrapTokenRequest.js.map +1 -1
- package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.d.ts +9 -11
- package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.js.map +1 -1
- package/dist/models/CreateIdentityProviderRequest.d.ts +7 -9
- package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
- package/dist/models/CreateIdentityProviderResponseBody.d.ts +9 -11
- package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/CreateMemoryStoreRequest.d.ts +66 -0
- package/dist/models/CreateMemoryStoreRequest.js +86 -0
- package/dist/models/CreateMemoryStoreRequest.js.map +1 -0
- package/dist/models/CreateMemoryStoreResponse.d.ts +19 -0
- package/dist/models/CreateMemoryStoreResponse.js +69 -0
- package/dist/models/CreateMemoryStoreResponse.js.map +1 -0
- package/dist/models/CreateMemoryStoreResponseBody.d.ts +131 -0
- package/dist/models/CreateMemoryStoreResponseBody.js +104 -0
- package/dist/models/CreateMemoryStoreResponseBody.js.map +1 -0
- package/dist/models/CreateMemoryStoreShrinkRequest.d.ts +28 -0
- package/dist/models/CreateMemoryStoreShrinkRequest.js +60 -0
- package/dist/models/CreateMemoryStoreShrinkRequest.js.map +1 -0
- package/dist/models/CreateModelConnectionRequest.d.ts +4 -4
- package/dist/models/CreateModelConnectionResponseBody.d.ts +13 -13
- package/dist/models/CreateModelConnectionShrinkRequest.d.ts +1 -1
- package/dist/models/CreateModelRequest.d.ts +6 -6
- package/dist/models/CreateModelResponseBody.d.ts +11 -11
- package/dist/models/CreateModelShrinkRequest.d.ts +1 -1
- package/dist/models/CreateTeamRequest.d.ts +4 -4
- package/dist/models/CreateTeamResponseBody.d.ts +7 -7
- package/dist/models/CreateUserRequest.d.ts +6 -6
- package/dist/models/CreateUserResponseBody.d.ts +11 -11
- package/dist/models/CreateWorkspaceRequest.d.ts +22 -10
- package/dist/models/CreateWorkspaceRequest.js +4 -0
- package/dist/models/CreateWorkspaceRequest.js.map +1 -1
- package/dist/models/CreateWorkspaceResponseBody.d.ts +29 -13
- package/dist/models/CreateWorkspaceResponseBody.js +4 -0
- package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
- package/dist/models/CreateWorkspaceShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteAgentSpecResponseBody.d.ts +1 -1
- package/dist/models/DeleteCredentialResponseBody.d.ts +2 -2
- package/dist/models/DeleteCustomAgentResponseBody.d.ts +11 -4
- package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -1
- package/dist/models/DeleteExternalAgentResponseBody.d.ts +6 -12
- package/dist/models/DeleteExternalAgentResponseBody.js.map +1 -1
- package/dist/models/DeleteManagedAgentResponseBody.d.ts +6 -6
- package/dist/models/DeleteMcpResponseBody.d.ts +3 -3
- package/dist/models/DeleteMemoryRequest.d.ts +13 -0
- package/dist/models/DeleteMemoryRequest.js +54 -0
- package/dist/models/DeleteMemoryRequest.js.map +1 -0
- package/dist/models/DeleteMemoryResponse.d.ts +19 -0
- package/dist/models/DeleteMemoryResponse.js +69 -0
- package/dist/models/DeleteMemoryResponse.js.map +1 -0
- package/dist/models/DeleteMemoryResponseBody.d.ts +50 -0
- package/dist/models/DeleteMemoryResponseBody.js +66 -0
- package/dist/models/DeleteMemoryResponseBody.js.map +1 -0
- package/dist/models/DeleteMemoryStoreRequest.d.ts +13 -0
- package/dist/models/DeleteMemoryStoreRequest.js +54 -0
- package/dist/models/DeleteMemoryStoreRequest.js.map +1 -0
- package/dist/models/DeleteMemoryStoreResponse.d.ts +19 -0
- package/dist/models/DeleteMemoryStoreResponse.js +69 -0
- package/dist/models/DeleteMemoryStoreResponse.js.map +1 -0
- package/dist/models/DeleteMemoryStoreResponseBody.d.ts +131 -0
- package/dist/models/DeleteMemoryStoreResponseBody.js +104 -0
- package/dist/models/DeleteMemoryStoreResponseBody.js.map +1 -0
- package/dist/models/DeleteWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/DownloadAgentSpecViaOssRequest.d.ts +1 -1
- package/dist/models/GetAgentImchannelResponseBody.d.ts +11 -20
- package/dist/models/GetAgentImchannelResponseBody.js.map +1 -1
- package/dist/models/GetAgentSpecImportFileUrlRequest.d.ts +1 -1
- package/dist/models/GetAgentSpecImportFileUrlResponseBody.d.ts +3 -3
- package/dist/models/GetAgentSpecResponseBody.d.ts +9 -9
- package/dist/models/GetAgentSpecVersionResponseBody.d.ts +3 -3
- package/dist/models/GetCredentialResponseBody.d.ts +11 -11
- package/dist/models/GetCustomAgentResponseBody.d.ts +277 -9
- package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
- package/dist/models/GetExternalAgentBootstrapOptionsResponseBody.d.ts +8 -10
- package/dist/models/GetExternalAgentBootstrapOptionsResponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderResponseBody.d.ts +20 -20
- package/dist/models/GetMemoryRequest.d.ts +13 -0
- package/dist/models/GetMemoryRequest.js +54 -0
- package/dist/models/GetMemoryRequest.js.map +1 -0
- package/dist/models/GetMemoryResponse.d.ts +19 -0
- package/dist/models/GetMemoryResponse.js +69 -0
- package/dist/models/GetMemoryResponse.js.map +1 -0
- package/dist/models/GetMemoryResponseBody.d.ts +164 -0
- package/dist/models/GetMemoryResponseBody.js +151 -0
- package/dist/models/GetMemoryResponseBody.js.map +1 -0
- package/dist/models/GetMemoryStoreRequest.d.ts +13 -0
- package/dist/models/GetMemoryStoreRequest.js +54 -0
- package/dist/models/GetMemoryStoreRequest.js.map +1 -0
- package/dist/models/GetMemoryStoreResponse.d.ts +19 -0
- package/dist/models/GetMemoryStoreResponse.js +69 -0
- package/dist/models/GetMemoryStoreResponse.js.map +1 -0
- package/dist/models/GetMemoryStoreResponseBody.d.ts +131 -0
- package/dist/models/GetMemoryStoreResponseBody.js +104 -0
- package/dist/models/GetMemoryStoreResponseBody.js.map +1 -0
- package/dist/models/GetMemoryTaskRequest.d.ts +13 -0
- package/dist/models/GetMemoryTaskRequest.js +54 -0
- package/dist/models/GetMemoryTaskRequest.js.map +1 -0
- package/dist/models/GetMemoryTaskResponse.d.ts +19 -0
- package/dist/models/GetMemoryTaskResponse.js +69 -0
- package/dist/models/GetMemoryTaskResponse.js.map +1 -0
- package/dist/models/GetMemoryTaskResponseBody.d.ts +145 -0
- package/dist/models/GetMemoryTaskResponseBody.js +142 -0
- package/dist/models/GetMemoryTaskResponseBody.js.map +1 -0
- package/dist/models/GetModelConnectionResponseBody.d.ts +13 -13
- package/dist/models/GetModelResponseBody.d.ts +10 -10
- package/dist/models/GetServiceEndpointApiKeyResponseBody.d.ts +13 -14
- package/dist/models/GetServiceEndpointApiKeyResponseBody.js.map +1 -1
- package/dist/models/GetSkillImportFileUrlRequest.d.ts +1 -1
- package/dist/models/GetSkillImportFileUrlResponseBody.d.ts +4 -4
- package/dist/models/GetUserResponseBody.d.ts +10 -16
- package/dist/models/GetUserResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +3 -3
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +5 -5
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.d.ts +3 -3
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.d.ts +2 -2
- package/dist/models/GetWorkspaceResponseBody.d.ts +22 -6
- package/dist/models/GetWorkspaceResponseBody.js +4 -0
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
- package/dist/models/InstallWorkspacePluginRequest.d.ts +5 -5
- package/dist/models/InstallWorkspacePluginResponseBody.d.ts +2 -2
- package/dist/models/ListAgentTeamsRequest.d.ts +1 -1
- package/dist/models/ListAgentTeamsResponseBody.d.ts +6 -6
- package/dist/models/ListAgentTeamsShrinkRequest.d.ts +1 -1
- package/dist/models/ListCredentialsRequest.d.ts +2 -2
- package/dist/models/ListCredentialsResponseBody.d.ts +15 -15
- package/dist/models/ListCustomAgentsRequest.d.ts +1 -1
- package/dist/models/ListCustomAgentsResponseBody.d.ts +22 -12
- package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
- package/dist/models/ListExternalAgentsRequest.d.ts +1 -1
- package/dist/models/ListExternalAgentsResponseBody.d.ts +10 -16
- package/dist/models/ListExternalAgentsResponseBody.js.map +1 -1
- package/dist/models/ListIdentityProvidersRequest.d.ts +2 -2
- package/dist/models/ListIdentityProvidersResponseBody.d.ts +24 -15
- package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
- package/dist/models/ListMemoriesRequest.d.ts +53 -0
- package/dist/models/ListMemoriesRequest.js +66 -0
- package/dist/models/ListMemoriesRequest.js.map +1 -0
- package/dist/models/ListMemoriesResponse.d.ts +19 -0
- package/dist/models/ListMemoriesResponse.js +69 -0
- package/dist/models/ListMemoriesResponse.js.map +1 -0
- package/dist/models/ListMemoriesResponseBody.d.ts +180 -0
- package/dist/models/ListMemoriesResponseBody.js +155 -0
- package/dist/models/ListMemoriesResponseBody.js.map +1 -0
- package/dist/models/ListMemorySessionMessagesRequest.d.ts +55 -0
- package/dist/models/ListMemorySessionMessagesRequest.js +66 -0
- package/dist/models/ListMemorySessionMessagesRequest.js.map +1 -0
- package/dist/models/ListMemorySessionMessagesResponse.d.ts +19 -0
- package/dist/models/ListMemorySessionMessagesResponse.js +69 -0
- package/dist/models/ListMemorySessionMessagesResponse.js.map +1 -0
- package/dist/models/ListMemorySessionMessagesResponseBody.d.ts +99 -0
- package/dist/models/ListMemorySessionMessagesResponseBody.js +96 -0
- package/dist/models/ListMemorySessionMessagesResponseBody.js.map +1 -0
- package/dist/models/ListMemorySessionsRequest.d.ts +45 -0
- package/dist/models/ListMemorySessionsRequest.js +64 -0
- package/dist/models/ListMemorySessionsRequest.js.map +1 -0
- package/dist/models/ListMemorySessionsResponse.d.ts +19 -0
- package/dist/models/ListMemorySessionsResponse.js +69 -0
- package/dist/models/ListMemorySessionsResponse.js.map +1 -0
- package/dist/models/ListMemorySessionsResponseBody.d.ts +107 -0
- package/dist/models/ListMemorySessionsResponseBody.js +98 -0
- package/dist/models/ListMemorySessionsResponseBody.js.map +1 -0
- package/dist/models/ListMemoryStoresRequest.d.ts +29 -0
- package/dist/models/ListMemoryStoresRequest.js +60 -0
- package/dist/models/ListMemoryStoresRequest.js.map +1 -0
- package/dist/models/ListMemoryStoresResponse.d.ts +19 -0
- package/dist/models/ListMemoryStoresResponse.js +69 -0
- package/dist/models/ListMemoryStoresResponse.js.map +1 -0
- package/dist/models/ListMemoryStoresResponseBody.d.ts +158 -0
- package/dist/models/ListMemoryStoresResponseBody.js +110 -0
- package/dist/models/ListMemoryStoresResponseBody.js.map +1 -0
- package/dist/models/ListPredefinedModelProvidersResponseBody.d.ts +64 -0
- package/dist/models/ListPredefinedModelProvidersResponseBody.js.map +1 -1
- package/dist/models/ListPredefinedModelsResponseBody.d.ts +9 -9
- package/dist/models/ListServiceEndpointsRequest.d.ts +8 -8
- package/dist/models/ListServiceEndpointsResponseBody.d.ts +19 -19
- package/dist/models/ListSkillReferencesRequest.d.ts +4 -4
- package/dist/models/ListSkillReferencesResponseBody.d.ts +6 -6
- package/dist/models/ListTeamsRequest.d.ts +3 -3
- package/dist/models/ListTeamsResponseBody.d.ts +12 -24
- package/dist/models/ListTeamsResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesRequest.d.ts +1 -1
- package/dist/models/ListWorkspacesResponseBody.d.ts +26 -14
- package/dist/models/ListWorkspacesResponseBody.js +4 -0
- package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
- package/dist/models/ResetUserPasswordRequest.d.ts +3 -3
- package/dist/models/ResetUserPasswordResponseBody.d.ts +3 -3
- package/dist/models/SearchMemoriesRequest.d.ts +119 -0
- package/dist/models/SearchMemoriesRequest.js +121 -0
- package/dist/models/SearchMemoriesRequest.js.map +1 -0
- package/dist/models/SearchMemoriesResponse.d.ts +19 -0
- package/dist/models/SearchMemoriesResponse.js +69 -0
- package/dist/models/SearchMemoriesResponse.js.map +1 -0
- package/dist/models/SearchMemoriesResponseBody.d.ts +214 -0
- package/dist/models/SearchMemoriesResponseBody.js +199 -0
- package/dist/models/SearchMemoriesResponseBody.js.map +1 -0
- package/dist/models/SearchMemoriesShrinkRequest.d.ts +20 -0
- package/dist/models/SearchMemoriesShrinkRequest.js +58 -0
- package/dist/models/SearchMemoriesShrinkRequest.js.map +1 -0
- package/dist/models/UpdateAgentImchannelCredentialRequest.d.ts +2 -2
- package/dist/models/UpdateAgentImchannelCredentialResponseBody.d.ts +6 -6
- package/dist/models/UpdateAgentImchannelCredentialShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateAgentImchannelRequest.d.ts +4 -4
- package/dist/models/UpdateAgentImchannelResponseBody.d.ts +9 -18
- package/dist/models/UpdateAgentImchannelResponseBody.js.map +1 -1
- package/dist/models/UpdateAgentImchannelShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateCredentialRequest.d.ts +6 -6
- package/dist/models/UpdateCredentialResponseBody.d.ts +10 -10
- package/dist/models/UpdateCustomAgentRequest.d.ts +30 -33
- package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +43 -30
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateMemoryRequest.d.ts +47 -0
- package/dist/models/UpdateMemoryRequest.js +85 -0
- package/dist/models/UpdateMemoryRequest.js.map +1 -0
- package/dist/models/UpdateMemoryResponse.d.ts +19 -0
- package/dist/models/UpdateMemoryResponse.js +69 -0
- package/dist/models/UpdateMemoryResponse.js.map +1 -0
- package/dist/models/UpdateMemoryResponseBody.d.ts +164 -0
- package/dist/models/UpdateMemoryResponseBody.js +151 -0
- package/dist/models/UpdateMemoryResponseBody.js.map +1 -0
- package/dist/models/UpdateMemoryShrinkRequest.d.ts +20 -0
- package/dist/models/UpdateMemoryShrinkRequest.js +58 -0
- package/dist/models/UpdateMemoryShrinkRequest.js.map +1 -0
- package/dist/models/UpdateMemoryStoreRequest.d.ts +56 -0
- package/dist/models/UpdateMemoryStoreRequest.js +84 -0
- package/dist/models/UpdateMemoryStoreRequest.js.map +1 -0
- package/dist/models/UpdateMemoryStoreResponse.d.ts +19 -0
- package/dist/models/UpdateMemoryStoreResponse.js +69 -0
- package/dist/models/UpdateMemoryStoreResponse.js.map +1 -0
- package/dist/models/UpdateMemoryStoreResponseBody.d.ts +131 -0
- package/dist/models/UpdateMemoryStoreResponseBody.js +104 -0
- package/dist/models/UpdateMemoryStoreResponseBody.js.map +1 -0
- package/dist/models/UpdateMemoryStoreShrinkRequest.d.ts +28 -0
- package/dist/models/UpdateMemoryStoreShrinkRequest.js +60 -0
- package/dist/models/UpdateMemoryStoreShrinkRequest.js.map +1 -0
- package/dist/models/UpdateModelConnectionRequest.d.ts +4 -4
- package/dist/models/UpdateModelConnectionResponseBody.d.ts +12 -12
- package/dist/models/UpdateModelConnectionShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateModelRequest.d.ts +31 -14
- package/dist/models/UpdateModelRequest.js.map +1 -1
- package/dist/models/UpdateModelResponseBody.d.ts +12 -12
- package/dist/models/UpdateModelShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateSkillBizTagsRequest.d.ts +1 -1
- package/dist/models/UpdateSkillScopeRequest.d.ts +1 -1
- package/dist/models/UpdateTeamRequest.d.ts +7 -13
- package/dist/models/UpdateTeamRequest.js.map +1 -1
- package/dist/models/UpdateTeamResponseBody.d.ts +11 -25
- package/dist/models/UpdateTeamResponseBody.js.map +1 -1
- package/dist/models/UpdateTeamShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateUserRequest.d.ts +3 -3
- package/dist/models/UpdateUserResponseBody.d.ts +8 -8
- package/dist/models/UpdateWorkspaceRequest.d.ts +21 -7
- package/dist/models/UpdateWorkspaceRequest.js +4 -0
- package/dist/models/UpdateWorkspaceRequest.js.map +1 -1
- package/dist/models/UpdateWorkspaceResponseBody.d.ts +26 -10
- package/dist/models/UpdateWorkspaceResponseBody.js +4 -0
- package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
- package/dist/models/UpdateWorkspaceShrinkRequest.d.ts +1 -1
- package/dist/models/UploadAgentSpecViaOssRequest.d.ts +3 -3
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.d.ts +3 -3
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +6 -6
- package/dist/models/model.d.ts +81 -0
- package/dist/models/model.js +187 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1052 -278
- package/src/models/AddMemoriesRequest.ts +209 -0
- package/src/models/AddMemoriesResponse.ts +40 -0
- package/src/models/AddMemoriesResponseBody.ts +151 -0
- package/src/models/AddMemoriesShrinkRequest.ts +33 -0
- package/src/models/BatchDeleteModelsRequest.ts +1 -3
- package/src/models/BatchDeleteModelsResponseBody.ts +3 -3
- package/src/models/BatchDeleteModelsShrinkRequest.ts +1 -1
- package/src/models/BatchUploadSkillsViaOssRequest.ts +1 -1
- package/src/models/BatchUploadSkillsViaOssResponseBody.ts +1 -1
- package/src/models/ConvertMcpToFreeEditRequest.ts +1 -1
- package/src/models/ConvertMcpToFreeEditResponseBody.ts +51 -51
- package/src/models/CreateAgentImchannelRequest.ts +5 -8
- package/src/models/CreateAgentImchannelResponseBody.ts +10 -13
- package/src/models/CreateAgentImchannelShrinkRequest.ts +1 -1
- package/src/models/CreateAgentSpecRequest.ts +1 -1
- package/src/models/CreateAgentSpecVersionRequest.ts +1 -1
- package/src/models/CreateCredentialRequest.ts +8 -8
- package/src/models/CreateCredentialResponseBody.ts +13 -13
- package/src/models/CreateCustomAgentRequest.ts +32 -45
- package/src/models/CreateCustomAgentResponseBody.ts +36 -55
- package/src/models/CreateExternalAgentBootstrapTokenRequest.ts +1 -3
- package/src/models/CreateExternalAgentBootstrapTokenResponseBody.ts +9 -11
- package/src/models/CreateIdentityProviderRequest.ts +7 -9
- package/src/models/CreateIdentityProviderResponseBody.ts +9 -11
- package/src/models/CreateMemoryStoreRequest.ts +98 -0
- package/src/models/CreateMemoryStoreResponse.ts +40 -0
- package/src/models/CreateMemoryStoreResponseBody.ts +181 -0
- package/src/models/CreateMemoryStoreShrinkRequest.ts +43 -0
- package/src/models/CreateModelConnectionRequest.ts +4 -4
- package/src/models/CreateModelConnectionResponseBody.ts +13 -13
- package/src/models/CreateModelConnectionShrinkRequest.ts +1 -1
- package/src/models/CreateModelRequest.ts +6 -6
- package/src/models/CreateModelResponseBody.ts +11 -11
- package/src/models/CreateModelShrinkRequest.ts +1 -1
- package/src/models/CreateTeamRequest.ts +4 -4
- package/src/models/CreateTeamResponseBody.ts +7 -7
- package/src/models/CreateUserRequest.ts +6 -6
- package/src/models/CreateUserResponseBody.ts +11 -11
- package/src/models/CreateWorkspaceRequest.ts +26 -10
- package/src/models/CreateWorkspaceResponseBody.ts +33 -13
- package/src/models/CreateWorkspaceShrinkRequest.ts +1 -1
- package/src/models/DeleteAgentSpecResponseBody.ts +1 -1
- package/src/models/DeleteCredentialResponseBody.ts +2 -2
- package/src/models/DeleteCustomAgentResponseBody.ts +11 -4
- package/src/models/DeleteExternalAgentResponseBody.ts +6 -12
- package/src/models/DeleteManagedAgentResponseBody.ts +6 -6
- package/src/models/DeleteMcpResponseBody.ts +3 -3
- package/src/models/DeleteMemoryRequest.ts +24 -0
- package/src/models/DeleteMemoryResponse.ts +40 -0
- package/src/models/DeleteMemoryResponseBody.ts +71 -0
- package/src/models/DeleteMemoryStoreRequest.ts +24 -0
- package/src/models/DeleteMemoryStoreResponse.ts +40 -0
- package/src/models/DeleteMemoryStoreResponseBody.ts +181 -0
- package/src/models/DeleteWorkspaceResponseBody.ts +1 -1
- package/src/models/DownloadAgentSpecViaOssRequest.ts +1 -1
- package/src/models/GetAgentImchannelResponseBody.ts +11 -20
- package/src/models/GetAgentSpecImportFileUrlRequest.ts +1 -1
- package/src/models/GetAgentSpecImportFileUrlResponseBody.ts +3 -3
- package/src/models/GetAgentSpecResponseBody.ts +9 -9
- package/src/models/GetAgentSpecVersionResponseBody.ts +3 -3
- package/src/models/GetCredentialResponseBody.ts +11 -11
- package/src/models/GetCustomAgentResponseBody.ts +277 -9
- package/src/models/GetExternalAgentBootstrapOptionsResponseBody.ts +8 -10
- package/src/models/GetIdentityProviderResponseBody.ts +20 -20
- package/src/models/GetMemoryRequest.ts +24 -0
- package/src/models/GetMemoryResponse.ts +40 -0
- package/src/models/GetMemoryResponseBody.ts +241 -0
- package/src/models/GetMemoryStoreRequest.ts +24 -0
- package/src/models/GetMemoryStoreResponse.ts +40 -0
- package/src/models/GetMemoryStoreResponseBody.ts +181 -0
- package/src/models/GetMemoryTaskRequest.ts +24 -0
- package/src/models/GetMemoryTaskResponse.ts +40 -0
- package/src/models/GetMemoryTaskResponseBody.ts +215 -0
- package/src/models/GetModelConnectionResponseBody.ts +13 -13
- package/src/models/GetModelResponseBody.ts +10 -10
- package/src/models/GetServiceEndpointApiKeyResponseBody.ts +13 -14
- package/src/models/GetSkillImportFileUrlRequest.ts +1 -1
- package/src/models/GetSkillImportFileUrlResponseBody.ts +4 -4
- package/src/models/GetUserResponseBody.ts +10 -16
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +3 -3
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +5 -5
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.ts +3 -3
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.ts +2 -2
- package/src/models/GetWorkspaceResponseBody.ts +26 -6
- package/src/models/InstallWorkspacePluginRequest.ts +5 -5
- package/src/models/InstallWorkspacePluginResponseBody.ts +2 -2
- package/src/models/ListAgentTeamsRequest.ts +1 -1
- package/src/models/ListAgentTeamsResponseBody.ts +6 -6
- package/src/models/ListAgentTeamsShrinkRequest.ts +1 -1
- package/src/models/ListCredentialsRequest.ts +2 -2
- package/src/models/ListCredentialsResponseBody.ts +15 -15
- package/src/models/ListCustomAgentsRequest.ts +1 -1
- package/src/models/ListCustomAgentsResponseBody.ts +22 -12
- package/src/models/ListExternalAgentsRequest.ts +1 -1
- package/src/models/ListExternalAgentsResponseBody.ts +10 -16
- package/src/models/ListIdentityProvidersRequest.ts +2 -2
- package/src/models/ListIdentityProvidersResponseBody.ts +24 -15
- package/src/models/ListMemoriesRequest.ts +74 -0
- package/src/models/ListMemoriesResponse.ts +40 -0
- package/src/models/ListMemoriesResponseBody.ts +261 -0
- package/src/models/ListMemorySessionMessagesRequest.ts +76 -0
- package/src/models/ListMemorySessionMessagesResponse.ts +40 -0
- package/src/models/ListMemorySessionMessagesResponseBody.ts +141 -0
- package/src/models/ListMemorySessionsRequest.ts +64 -0
- package/src/models/ListMemorySessionsResponse.ts +40 -0
- package/src/models/ListMemorySessionsResponseBody.ts +151 -0
- package/src/models/ListMemoryStoresRequest.ts +44 -0
- package/src/models/ListMemoryStoresResponse.ts +40 -0
- package/src/models/ListMemoryStoresResponseBody.ts +214 -0
- package/src/models/ListPredefinedModelProvidersResponseBody.ts +64 -0
- package/src/models/ListPredefinedModelsResponseBody.ts +9 -9
- package/src/models/ListServiceEndpointsRequest.ts +8 -8
- package/src/models/ListServiceEndpointsResponseBody.ts +19 -19
- package/src/models/ListSkillReferencesRequest.ts +4 -4
- package/src/models/ListSkillReferencesResponseBody.ts +6 -6
- package/src/models/ListTeamsRequest.ts +3 -3
- package/src/models/ListTeamsResponseBody.ts +12 -24
- package/src/models/ListWorkspacesRequest.ts +1 -1
- package/src/models/ListWorkspacesResponseBody.ts +30 -14
- package/src/models/ResetUserPasswordRequest.ts +3 -3
- package/src/models/ResetUserPasswordResponseBody.ts +3 -3
- package/src/models/SearchMemoriesRequest.ts +175 -0
- package/src/models/SearchMemoriesResponse.ts +40 -0
- package/src/models/SearchMemoriesResponseBody.ts +321 -0
- package/src/models/SearchMemoriesShrinkRequest.ts +33 -0
- package/src/models/UpdateAgentImchannelCredentialRequest.ts +2 -2
- package/src/models/UpdateAgentImchannelCredentialResponseBody.ts +6 -6
- package/src/models/UpdateAgentImchannelCredentialShrinkRequest.ts +1 -1
- package/src/models/UpdateAgentImchannelRequest.ts +4 -4
- package/src/models/UpdateAgentImchannelResponseBody.ts +9 -18
- package/src/models/UpdateAgentImchannelShrinkRequest.ts +1 -1
- package/src/models/UpdateCredentialRequest.ts +6 -6
- package/src/models/UpdateCredentialResponseBody.ts +10 -10
- package/src/models/UpdateCustomAgentRequest.ts +30 -33
- package/src/models/UpdateCustomAgentResponseBody.ts +43 -30
- package/src/models/UpdateCustomAgentShrinkRequest.ts +1 -1
- package/src/models/UpdateMemoryRequest.ts +76 -0
- package/src/models/UpdateMemoryResponse.ts +40 -0
- package/src/models/UpdateMemoryResponseBody.ts +241 -0
- package/src/models/UpdateMemoryShrinkRequest.ts +33 -0
- package/src/models/UpdateMemoryStoreRequest.ts +86 -0
- package/src/models/UpdateMemoryStoreResponse.ts +40 -0
- package/src/models/UpdateMemoryStoreResponseBody.ts +181 -0
- package/src/models/UpdateMemoryStoreShrinkRequest.ts +43 -0
- package/src/models/UpdateModelConnectionRequest.ts +4 -4
- package/src/models/UpdateModelConnectionResponseBody.ts +12 -12
- package/src/models/UpdateModelConnectionShrinkRequest.ts +1 -1
- package/src/models/UpdateModelRequest.ts +31 -14
- package/src/models/UpdateModelResponseBody.ts +12 -12
- package/src/models/UpdateModelShrinkRequest.ts +2 -2
- package/src/models/UpdateSkillBizTagsRequest.ts +1 -1
- package/src/models/UpdateSkillScopeRequest.ts +1 -1
- package/src/models/UpdateTeamRequest.ts +7 -13
- package/src/models/UpdateTeamResponseBody.ts +11 -25
- package/src/models/UpdateTeamShrinkRequest.ts +1 -1
- package/src/models/UpdateUserRequest.ts +3 -3
- package/src/models/UpdateUserResponseBody.ts +8 -8
- package/src/models/UpdateWorkspaceRequest.ts +25 -7
- package/src/models/UpdateWorkspaceResponseBody.ts +30 -10
- package/src/models/UpdateWorkspaceShrinkRequest.ts +1 -1
- package/src/models/UploadAgentSpecViaOssRequest.ts +3 -3
- package/src/models/VerifyWorkspaceAcrRamAuthorizationRequest.ts +3 -3
- package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +6 -6
- package/src/models/model.ts +81 -0
package/dist/client.js
CHANGED
|
@@ -62,7 +62,60 @@ class Client extends openapi_core_1.default {
|
|
|
62
62
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
|
|
66
|
+
*
|
|
67
|
+
* @remarks
|
|
68
|
+
* Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
|
|
69
|
+
*
|
|
70
|
+
* @param tmpReq - AddMemoriesRequest
|
|
71
|
+
* @param headers - map
|
|
72
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
73
|
+
* @returns AddMemoriesResponse
|
|
74
|
+
*/
|
|
75
|
+
async addMemoriesWithOptions(workspaceId, memoryStoreName, tmpReq, headers, runtime) {
|
|
76
|
+
tmpReq.validate();
|
|
77
|
+
let request = new $_model.AddMemoriesShrinkRequest({});
|
|
78
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
79
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
80
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
81
|
+
}
|
|
82
|
+
let body = {};
|
|
83
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
84
|
+
body["body"] = request.bodyShrink;
|
|
85
|
+
}
|
|
86
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
87
|
+
headers: headers,
|
|
88
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
89
|
+
});
|
|
90
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
91
|
+
action: "AddMemories",
|
|
92
|
+
version: "2026-08-04",
|
|
93
|
+
protocol: "HTTPS",
|
|
94
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories`,
|
|
95
|
+
method: "POST",
|
|
96
|
+
authType: "AK",
|
|
97
|
+
style: "ROA",
|
|
98
|
+
reqBodyType: "formData",
|
|
99
|
+
bodyType: "json",
|
|
100
|
+
});
|
|
101
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddMemoriesResponse({}));
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
|
|
105
|
+
*
|
|
106
|
+
* @remarks
|
|
107
|
+
* Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
|
|
108
|
+
*
|
|
109
|
+
* @param request - AddMemoriesRequest
|
|
110
|
+
* @returns AddMemoriesResponse
|
|
111
|
+
*/
|
|
112
|
+
async addMemories(workspaceId, memoryStoreName, request) {
|
|
113
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
114
|
+
let headers = {};
|
|
115
|
+
return await this.addMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Deletes multiple models in a specified workspace. If any model is in use, the entire batch request fails.
|
|
66
119
|
*
|
|
67
120
|
* @param tmpReq - BatchDeleteModelsRequest
|
|
68
121
|
* @param headers - map
|
|
@@ -103,7 +156,7 @@ class Client extends openapi_core_1.default {
|
|
|
103
156
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchDeleteModelsResponse({}));
|
|
104
157
|
}
|
|
105
158
|
/**
|
|
106
|
-
* Deletes models in a specified workspace
|
|
159
|
+
* Deletes multiple models in a specified workspace. If any model is in use, the entire batch request fails.
|
|
107
160
|
*
|
|
108
161
|
* @param request - BatchDeleteModelsRequest
|
|
109
162
|
* @returns BatchDeleteModelsResponse
|
|
@@ -114,11 +167,11 @@ class Client extends openapi_core_1.default {
|
|
|
114
167
|
return await this.batchDeleteModelsWithOptions(workspaceId, request, headers, runtime);
|
|
115
168
|
}
|
|
116
169
|
/**
|
|
117
|
-
* Uploads
|
|
170
|
+
* Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
|
|
118
171
|
*
|
|
119
172
|
* @remarks
|
|
120
|
-
* ##
|
|
121
|
-
* Uploads
|
|
173
|
+
* ## Request description
|
|
174
|
+
* Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
|
|
122
175
|
*
|
|
123
176
|
* @param tmpReq - BatchUploadSkillsViaOssRequest
|
|
124
177
|
* @param headers - map
|
|
@@ -154,11 +207,11 @@ class Client extends openapi_core_1.default {
|
|
|
154
207
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchUploadSkillsViaOssResponse({}));
|
|
155
208
|
}
|
|
156
209
|
/**
|
|
157
|
-
* Uploads
|
|
210
|
+
* Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
|
|
158
211
|
*
|
|
159
212
|
* @remarks
|
|
160
|
-
* ##
|
|
161
|
-
* Uploads
|
|
213
|
+
* ## Request description
|
|
214
|
+
* Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
|
|
162
215
|
*
|
|
163
216
|
* @param request - BatchUploadSkillsViaOssRequest
|
|
164
217
|
* @returns BatchUploadSkillsViaOssResponse
|
|
@@ -169,10 +222,10 @@ class Client extends openapi_core_1.default {
|
|
|
169
222
|
return await this.batchUploadSkillsViaOssWithOptions(workspaceId, request, headers, runtime);
|
|
170
223
|
}
|
|
171
224
|
/**
|
|
172
|
-
* Converts an MCP to free
|
|
225
|
+
* Converts an MCP to free-edit mode.
|
|
173
226
|
*
|
|
174
227
|
* @remarks
|
|
175
|
-
* Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
|
|
228
|
+
* Disables template usage constraints. After the conversion, the MCP retains its source and tags, but no longer appears on the usage page.
|
|
176
229
|
*
|
|
177
230
|
* @param request - ConvertMcpToFreeEditRequest
|
|
178
231
|
* @param headers - map
|
|
@@ -203,10 +256,10 @@ class Client extends openapi_core_1.default {
|
|
|
203
256
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ConvertMcpToFreeEditResponse({}));
|
|
204
257
|
}
|
|
205
258
|
/**
|
|
206
|
-
* Converts an MCP to free
|
|
259
|
+
* Converts an MCP to free-edit mode.
|
|
207
260
|
*
|
|
208
261
|
* @remarks
|
|
209
|
-
* Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
|
|
262
|
+
* Disables template usage constraints. After the conversion, the MCP retains its source and tags, but no longer appears on the usage page.
|
|
210
263
|
*
|
|
211
264
|
* @param request - ConvertMcpToFreeEditRequest
|
|
212
265
|
* @returns ConvertMcpToFreeEditResponse
|
|
@@ -217,10 +270,10 @@ class Client extends openapi_core_1.default {
|
|
|
217
270
|
return await this.convertMcpToFreeEditWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
218
271
|
}
|
|
219
272
|
/**
|
|
220
|
-
* Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
|
|
273
|
+
* Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
|
|
221
274
|
*
|
|
222
275
|
* @remarks
|
|
223
|
-
* Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
|
|
276
|
+
* Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
|
|
224
277
|
*
|
|
225
278
|
* @param tmpReq - CreateAgentIMChannelRequest
|
|
226
279
|
* @param headers - map
|
|
@@ -261,10 +314,10 @@ class Client extends openapi_core_1.default {
|
|
|
261
314
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAgentIMChannelResponse({}));
|
|
262
315
|
}
|
|
263
316
|
/**
|
|
264
|
-
* Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
|
|
317
|
+
* Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
|
|
265
318
|
*
|
|
266
319
|
* @remarks
|
|
267
|
-
* Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
|
|
320
|
+
* Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
|
|
268
321
|
*
|
|
269
322
|
* @param request - CreateAgentIMChannelRequest
|
|
270
323
|
* @returns CreateAgentIMChannelResponse
|
|
@@ -275,11 +328,11 @@ class Client extends openapi_core_1.default {
|
|
|
275
328
|
return await this.createAgentIMChannelWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
276
329
|
}
|
|
277
330
|
/**
|
|
278
|
-
* Creates an AgentSpec in
|
|
331
|
+
* Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
|
|
279
332
|
*
|
|
280
333
|
* @remarks
|
|
281
|
-
* ##
|
|
282
|
-
* Creates an AgentSpec in
|
|
334
|
+
* ## Request description
|
|
335
|
+
* Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
|
|
283
336
|
*
|
|
284
337
|
* @param tmpReq - CreateAgentSpecRequest
|
|
285
338
|
* @param headers - map
|
|
@@ -315,11 +368,11 @@ class Client extends openapi_core_1.default {
|
|
|
315
368
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAgentSpecResponse({}));
|
|
316
369
|
}
|
|
317
370
|
/**
|
|
318
|
-
* Creates an AgentSpec in
|
|
371
|
+
* Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
|
|
319
372
|
*
|
|
320
373
|
* @remarks
|
|
321
|
-
* ##
|
|
322
|
-
* Creates an AgentSpec in
|
|
374
|
+
* ## Request description
|
|
375
|
+
* Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
|
|
323
376
|
*
|
|
324
377
|
* @param request - CreateAgentSpecRequest
|
|
325
378
|
* @returns CreateAgentSpecResponse
|
|
@@ -330,11 +383,11 @@ class Client extends openapi_core_1.default {
|
|
|
330
383
|
return await this.createAgentSpecWithOptions(workspaceId, request, headers, runtime);
|
|
331
384
|
}
|
|
332
385
|
/**
|
|
333
|
-
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist
|
|
386
|
+
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
|
|
334
387
|
*
|
|
335
388
|
* @remarks
|
|
336
389
|
* ## Request description
|
|
337
|
-
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist
|
|
390
|
+
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
|
|
338
391
|
*
|
|
339
392
|
* @param tmpReq - CreateAgentSpecVersionRequest
|
|
340
393
|
* @param headers - map
|
|
@@ -370,11 +423,11 @@ class Client extends openapi_core_1.default {
|
|
|
370
423
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAgentSpecVersionResponse({}));
|
|
371
424
|
}
|
|
372
425
|
/**
|
|
373
|
-
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist
|
|
426
|
+
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
|
|
374
427
|
*
|
|
375
428
|
* @remarks
|
|
376
429
|
* ## Request description
|
|
377
|
-
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist
|
|
430
|
+
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
|
|
378
431
|
*
|
|
379
432
|
* @param request - CreateAgentSpecVersionRequest
|
|
380
433
|
* @returns CreateAgentSpecVersionResponse
|
|
@@ -385,7 +438,7 @@ class Client extends openapi_core_1.default {
|
|
|
385
438
|
return await this.createAgentSpecVersionWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
386
439
|
}
|
|
387
440
|
/**
|
|
388
|
-
* Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed
|
|
441
|
+
* Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed as a JSON string through credentialMetadata and can only be queried in a desensitized format after it is written.
|
|
389
442
|
*
|
|
390
443
|
* @remarks
|
|
391
444
|
* Creates a credential in a workspace for authentication of services such as Connector.
|
|
@@ -429,7 +482,7 @@ class Client extends openapi_core_1.default {
|
|
|
429
482
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCredentialResponse({}));
|
|
430
483
|
}
|
|
431
484
|
/**
|
|
432
|
-
* Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed
|
|
485
|
+
* Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed as a JSON string through credentialMetadata and can only be queried in a desensitized format after it is written.
|
|
433
486
|
*
|
|
434
487
|
* @remarks
|
|
435
488
|
* Creates a credential in a workspace for authentication of services such as Connector.
|
|
@@ -443,13 +496,13 @@ class Client extends openapi_core_1.default {
|
|
|
443
496
|
return await this.createCredentialWithOptions(workspaceId, request, headers, runtime);
|
|
444
497
|
}
|
|
445
498
|
/**
|
|
446
|
-
* Creates a custom agent in a specified workspace and submits
|
|
499
|
+
* Creates a custom agent in a specified workspace and submits a container image deployment configuration. The creation is an asynchronous process. You can call GetCustomAgent to query the deployment result.
|
|
447
500
|
*
|
|
448
501
|
* @remarks
|
|
449
|
-
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and
|
|
502
|
+
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and a runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
|
|
450
503
|
* Currently, only ACR container image deployment is supported. Use artifact.container and specify the service listening port in artifact.port. Omit artifact.code. The image must have the required access permissions and be accessible over the network allowed by the workspace.
|
|
451
|
-
* The creation
|
|
452
|
-
* The clientToken parameter does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
|
|
504
|
+
* The creation is an asynchronous process. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure the access endpoint.
|
|
505
|
+
* The clientToken parameter does not currently provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
|
|
453
506
|
*
|
|
454
507
|
* @param tmpReq - CreateCustomAgentRequest
|
|
455
508
|
* @param headers - map
|
|
@@ -490,13 +543,13 @@ class Client extends openapi_core_1.default {
|
|
|
490
543
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCustomAgentResponse({}));
|
|
491
544
|
}
|
|
492
545
|
/**
|
|
493
|
-
* Creates a custom agent in a specified workspace and submits
|
|
546
|
+
* Creates a custom agent in a specified workspace and submits a container image deployment configuration. The creation is an asynchronous process. You can call GetCustomAgent to query the deployment result.
|
|
494
547
|
*
|
|
495
548
|
* @remarks
|
|
496
|
-
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and
|
|
549
|
+
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and a runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
|
|
497
550
|
* Currently, only ACR container image deployment is supported. Use artifact.container and specify the service listening port in artifact.port. Omit artifact.code. The image must have the required access permissions and be accessible over the network allowed by the workspace.
|
|
498
|
-
* The creation
|
|
499
|
-
* The clientToken parameter does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
|
|
551
|
+
* The creation is an asynchronous process. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure the access endpoint.
|
|
552
|
+
* The clientToken parameter does not currently provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
|
|
500
553
|
*
|
|
501
554
|
* @param request - CreateCustomAgentRequest
|
|
502
555
|
* @returns CreateCustomAgentResponse
|
|
@@ -565,10 +618,10 @@ class Client extends openapi_core_1.default {
|
|
|
565
618
|
return await this.createExternalAgentWithOptions(workspaceId, request, headers, runtime);
|
|
566
619
|
}
|
|
567
620
|
/**
|
|
568
|
-
* Creates
|
|
621
|
+
* Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
|
|
569
622
|
*
|
|
570
623
|
* @remarks
|
|
571
|
-
* Creates
|
|
624
|
+
* Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
|
|
572
625
|
*
|
|
573
626
|
* @param request - CreateExternalAgentBootstrapTokenRequest
|
|
574
627
|
* @param headers - map
|
|
@@ -599,10 +652,10 @@ class Client extends openapi_core_1.default {
|
|
|
599
652
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateExternalAgentBootstrapTokenResponse({}));
|
|
600
653
|
}
|
|
601
654
|
/**
|
|
602
|
-
* Creates
|
|
655
|
+
* Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
|
|
603
656
|
*
|
|
604
657
|
* @remarks
|
|
605
|
-
* Creates
|
|
658
|
+
* Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
|
|
606
659
|
*
|
|
607
660
|
* @param request - CreateExternalAgentBootstrapTokenRequest
|
|
608
661
|
* @returns CreateExternalAgentBootstrapTokenResponse
|
|
@@ -613,7 +666,7 @@ class Client extends openapi_core_1.default {
|
|
|
613
666
|
return await this.createExternalAgentBootstrapTokenWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
614
667
|
}
|
|
615
668
|
/**
|
|
616
|
-
* Binds an external identity provider to a specified workspace
|
|
669
|
+
* Binds an external identity provider to a specified workspace to enable single sign-on and organization member synchronization for workspace users. Each workspace can be bound to a maximum of one external identity provider. This is an asynchronous operation. After the API call returns, you can call GetIdentityProvider to query the status and track the progress.
|
|
617
670
|
*
|
|
618
671
|
* @param tmpReq - CreateIdentityProviderRequest
|
|
619
672
|
* @param headers - map
|
|
@@ -649,7 +702,7 @@ class Client extends openapi_core_1.default {
|
|
|
649
702
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateIdentityProviderResponse({}));
|
|
650
703
|
}
|
|
651
704
|
/**
|
|
652
|
-
* Binds an external identity provider to a specified workspace
|
|
705
|
+
* Binds an external identity provider to a specified workspace to enable single sign-on and organization member synchronization for workspace users. Each workspace can be bound to a maximum of one external identity provider. This is an asynchronous operation. After the API call returns, you can call GetIdentityProvider to query the status and track the progress.
|
|
653
706
|
*
|
|
654
707
|
* @param request - CreateIdentityProviderRequest
|
|
655
708
|
* @returns CreateIdentityProviderResponse
|
|
@@ -772,7 +825,65 @@ class Client extends openapi_core_1.default {
|
|
|
772
825
|
return await this.createMcpWithOptions(workspaceId, request, headers, runtime);
|
|
773
826
|
}
|
|
774
827
|
/**
|
|
775
|
-
* Creates a
|
|
828
|
+
* Creates a long-term memory store in a specified workspace.
|
|
829
|
+
*
|
|
830
|
+
* @remarks
|
|
831
|
+
* Creates a long-term memory store in a specified workspace.
|
|
832
|
+
*
|
|
833
|
+
* @param tmpReq - CreateMemoryStoreRequest
|
|
834
|
+
* @param headers - map
|
|
835
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
836
|
+
* @returns CreateMemoryStoreResponse
|
|
837
|
+
*/
|
|
838
|
+
async createMemoryStoreWithOptions(workspaceId, tmpReq, headers, runtime) {
|
|
839
|
+
tmpReq.validate();
|
|
840
|
+
let request = new $_model.CreateMemoryStoreShrinkRequest({});
|
|
841
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
842
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
843
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
844
|
+
}
|
|
845
|
+
let query = {};
|
|
846
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
847
|
+
query["clientToken"] = request.clientToken;
|
|
848
|
+
}
|
|
849
|
+
let body = {};
|
|
850
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
851
|
+
body["body"] = request.bodyShrink;
|
|
852
|
+
}
|
|
853
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
854
|
+
headers: headers,
|
|
855
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
856
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
857
|
+
});
|
|
858
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
859
|
+
action: "CreateMemoryStore",
|
|
860
|
+
version: "2026-08-04",
|
|
861
|
+
protocol: "HTTPS",
|
|
862
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores`,
|
|
863
|
+
method: "POST",
|
|
864
|
+
authType: "AK",
|
|
865
|
+
style: "ROA",
|
|
866
|
+
reqBodyType: "formData",
|
|
867
|
+
bodyType: "json",
|
|
868
|
+
});
|
|
869
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateMemoryStoreResponse({}));
|
|
870
|
+
}
|
|
871
|
+
/**
|
|
872
|
+
* Creates a long-term memory store in a specified workspace.
|
|
873
|
+
*
|
|
874
|
+
* @remarks
|
|
875
|
+
* Creates a long-term memory store in a specified workspace.
|
|
876
|
+
*
|
|
877
|
+
* @param request - CreateMemoryStoreRequest
|
|
878
|
+
* @returns CreateMemoryStoreResponse
|
|
879
|
+
*/
|
|
880
|
+
async createMemoryStore(workspaceId, request) {
|
|
881
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
882
|
+
let headers = {};
|
|
883
|
+
return await this.createMemoryStoreWithOptions(workspaceId, request, headers, runtime);
|
|
884
|
+
}
|
|
885
|
+
/**
|
|
886
|
+
* Creates a model configuration for model creation under a model connection in a specified workspace.
|
|
776
887
|
*
|
|
777
888
|
* @param tmpReq - CreateModelRequest
|
|
778
889
|
* @param headers - map
|
|
@@ -813,7 +924,7 @@ class Client extends openapi_core_1.default {
|
|
|
813
924
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateModelResponse({}));
|
|
814
925
|
}
|
|
815
926
|
/**
|
|
816
|
-
* Creates a model configuration under a
|
|
927
|
+
* Creates a model configuration for model creation under a model connection in a specified workspace.
|
|
817
928
|
*
|
|
818
929
|
* @param request - CreateModelRequest
|
|
819
930
|
* @returns CreateModelResponse
|
|
@@ -824,7 +935,7 @@ class Client extends openapi_core_1.default {
|
|
|
824
935
|
return await this.createModelWithOptions(workspaceId, request, headers, runtime);
|
|
825
936
|
}
|
|
826
937
|
/**
|
|
827
|
-
* Creates a model connection in a specified workspace and configures the upstream model service
|
|
938
|
+
* Creates a model connection in a specified workspace and configures the upstream model service endpoint, invoke protocol, and access credentials to support model creation.
|
|
828
939
|
*
|
|
829
940
|
* @param tmpReq - CreateModelConnectionRequest
|
|
830
941
|
* @param headers - map
|
|
@@ -865,7 +976,7 @@ class Client extends openapi_core_1.default {
|
|
|
865
976
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateModelConnectionResponse({}));
|
|
866
977
|
}
|
|
867
978
|
/**
|
|
868
|
-
* Creates a model connection in a specified workspace and configures the upstream model service
|
|
979
|
+
* Creates a model connection in a specified workspace and configures the upstream model service endpoint, invoke protocol, and access credentials to support model creation.
|
|
869
980
|
*
|
|
870
981
|
* @param request - CreateModelConnectionRequest
|
|
871
982
|
* @returns CreateModelConnectionResponse
|
|
@@ -931,7 +1042,7 @@ class Client extends openapi_core_1.default {
|
|
|
931
1042
|
return await this.createSkillDraftWithOptions(workspaceId, request, headers, runtime);
|
|
932
1043
|
}
|
|
933
1044
|
/**
|
|
934
|
-
* Creates a team in a specified workspace and
|
|
1045
|
+
* Creates a team in a specified workspace and configures user members and agent members at the same time. Exactly one user member must have the ADMIN role, and agent members can only have the LEADER or WORKER role.
|
|
935
1046
|
*
|
|
936
1047
|
* @param tmpReq - CreateTeamRequest
|
|
937
1048
|
* @param headers - map
|
|
@@ -972,7 +1083,7 @@ class Client extends openapi_core_1.default {
|
|
|
972
1083
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateTeamResponse({}));
|
|
973
1084
|
}
|
|
974
1085
|
/**
|
|
975
|
-
* Creates a team in a specified workspace and
|
|
1086
|
+
* Creates a team in a specified workspace and configures user members and agent members at the same time. Exactly one user member must have the ADMIN role, and agent members can only have the LEADER or WORKER role.
|
|
976
1087
|
*
|
|
977
1088
|
* @param request - CreateTeamRequest
|
|
978
1089
|
* @returns CreateTeamResponse
|
|
@@ -983,7 +1094,7 @@ class Client extends openapi_core_1.default {
|
|
|
983
1094
|
return await this.createTeamWithOptions(workspaceId, request, headers, runtime);
|
|
984
1095
|
}
|
|
985
1096
|
/**
|
|
986
|
-
* Creates a user in a specified workspace. The username must be unique within the workspace
|
|
1097
|
+
* Creates a user in a specified workspace. The username must be unique within the workspace, can contain only lowercase letters, digits, and hyphens, and cannot use reserved names such as manager, admin, or names starting with worker-. If the password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
|
|
987
1098
|
*
|
|
988
1099
|
* @param tmpReq - CreateUserRequest
|
|
989
1100
|
* @param headers - map
|
|
@@ -1024,7 +1135,7 @@ class Client extends openapi_core_1.default {
|
|
|
1024
1135
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateUserResponse({}));
|
|
1025
1136
|
}
|
|
1026
1137
|
/**
|
|
1027
|
-
* Creates a user in a specified workspace. The username must be unique within the workspace
|
|
1138
|
+
* Creates a user in a specified workspace. The username must be unique within the workspace, can contain only lowercase letters, digits, and hyphens, and cannot use reserved names such as manager, admin, or names starting with worker-. If the password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
|
|
1028
1139
|
*
|
|
1029
1140
|
* @param request - CreateUserRequest
|
|
1030
1141
|
* @returns CreateUserResponse
|
|
@@ -1038,7 +1149,7 @@ class Client extends openapi_core_1.default {
|
|
|
1038
1149
|
* Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
|
|
1039
1150
|
*
|
|
1040
1151
|
* @remarks
|
|
1041
|
-
* ##
|
|
1152
|
+
* ## Request description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
1042
1153
|
*
|
|
1043
1154
|
* @param tmpReq - CreateWorkspaceRequest
|
|
1044
1155
|
* @param headers - map
|
|
@@ -1082,7 +1193,7 @@ class Client extends openapi_core_1.default {
|
|
|
1082
1193
|
* Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
|
|
1083
1194
|
*
|
|
1084
1195
|
* @remarks
|
|
1085
|
-
* ##
|
|
1196
|
+
* ## Request description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
1086
1197
|
*
|
|
1087
1198
|
* @param request - CreateWorkspaceRequest
|
|
1088
1199
|
* @returns CreateWorkspaceResponse
|
|
@@ -1188,11 +1299,11 @@ class Client extends openapi_core_1.default {
|
|
|
1188
1299
|
return await this.deleteAgentIMChannelWithOptions(workspaceId, agentId, imChannelId, request, headers, runtime);
|
|
1189
1300
|
}
|
|
1190
1301
|
/**
|
|
1191
|
-
* Deletes
|
|
1302
|
+
* Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
|
|
1192
1303
|
*
|
|
1193
1304
|
* @remarks
|
|
1194
|
-
* ##
|
|
1195
|
-
* Deletes
|
|
1305
|
+
* ## Operation description
|
|
1306
|
+
* Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
|
|
1196
1307
|
*
|
|
1197
1308
|
* @param request - DeleteAgentSpecRequest
|
|
1198
1309
|
* @param headers - map
|
|
@@ -1218,11 +1329,11 @@ class Client extends openapi_core_1.default {
|
|
|
1218
1329
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAgentSpecResponse({}));
|
|
1219
1330
|
}
|
|
1220
1331
|
/**
|
|
1221
|
-
* Deletes
|
|
1332
|
+
* Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
|
|
1222
1333
|
*
|
|
1223
1334
|
* @remarks
|
|
1224
|
-
* ##
|
|
1225
|
-
* Deletes
|
|
1335
|
+
* ## Operation description
|
|
1336
|
+
* Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
|
|
1226
1337
|
*
|
|
1227
1338
|
* @param request - DeleteAgentSpecRequest
|
|
1228
1339
|
* @returns DeleteAgentSpecResponse
|
|
@@ -1278,10 +1389,10 @@ class Client extends openapi_core_1.default {
|
|
|
1278
1389
|
return await this.deleteAgentSpecVersionWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
1279
1390
|
}
|
|
1280
1391
|
/**
|
|
1281
|
-
* Deletes a credential
|
|
1392
|
+
* Deletes a credential in a specified workspace and deletes the ciphertext hosted in the credential service. After deletion, agents bound to the credential can no longer obtain the credential content.
|
|
1282
1393
|
*
|
|
1283
1394
|
* @remarks
|
|
1284
|
-
* Deletes an access credential
|
|
1395
|
+
* Deletes an access credential in a specified workspace. A credential cannot be deleted if it is still bound to an MCP service.
|
|
1285
1396
|
*
|
|
1286
1397
|
* @param request - DeleteCredentialRequest
|
|
1287
1398
|
* @param headers - map
|
|
@@ -1312,10 +1423,10 @@ class Client extends openapi_core_1.default {
|
|
|
1312
1423
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCredentialResponse({}));
|
|
1313
1424
|
}
|
|
1314
1425
|
/**
|
|
1315
|
-
* Deletes a credential
|
|
1426
|
+
* Deletes a credential in a specified workspace and deletes the ciphertext hosted in the credential service. After deletion, agents bound to the credential can no longer obtain the credential content.
|
|
1316
1427
|
*
|
|
1317
1428
|
* @remarks
|
|
1318
|
-
* Deletes an access credential
|
|
1429
|
+
* Deletes an access credential in a specified workspace. A credential cannot be deleted if it is still bound to an MCP service.
|
|
1319
1430
|
*
|
|
1320
1431
|
* @param request - DeleteCredentialRequest
|
|
1321
1432
|
* @returns DeleteCredentialResponse
|
|
@@ -1326,11 +1437,11 @@ class Client extends openapi_core_1.default {
|
|
|
1326
1437
|
return await this.deleteCredentialWithOptions(workspaceId, credentialId, request, headers, runtime);
|
|
1327
1438
|
}
|
|
1328
1439
|
/**
|
|
1329
|
-
* Deletes a custom agent
|
|
1440
|
+
* Deletes a custom agent from a specified workspace. A successful request indicates that the deletion is accepted. The runtime resources are subsequently cleaned up in the background.
|
|
1330
1441
|
*
|
|
1331
1442
|
* @remarks
|
|
1332
|
-
* Before
|
|
1333
|
-
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already
|
|
1443
|
+
* 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.
|
|
1444
|
+
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already in the deletion process, a subsequent request returns the current summary.
|
|
1334
1445
|
* You can call GetCustomAgent to check the deletion progress. After the deletion is complete, a detail query returns a resource not found error.
|
|
1335
1446
|
*
|
|
1336
1447
|
* @param request - DeleteCustomAgentRequest
|
|
@@ -1357,11 +1468,11 @@ class Client extends openapi_core_1.default {
|
|
|
1357
1468
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCustomAgentResponse({}));
|
|
1358
1469
|
}
|
|
1359
1470
|
/**
|
|
1360
|
-
* Deletes a custom agent
|
|
1471
|
+
* Deletes a custom agent from a specified workspace. A successful request indicates that the deletion is accepted. The runtime resources are subsequently cleaned up in the background.
|
|
1361
1472
|
*
|
|
1362
1473
|
* @remarks
|
|
1363
|
-
* Before
|
|
1364
|
-
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already
|
|
1474
|
+
* 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.
|
|
1475
|
+
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already in the deletion process, a subsequent request returns the current summary.
|
|
1365
1476
|
* You can call GetCustomAgent to check the deletion progress. After the deletion is complete, a detail query returns a resource not found error.
|
|
1366
1477
|
*
|
|
1367
1478
|
* @param request - DeleteCustomAgentRequest
|
|
@@ -1495,11 +1606,11 @@ class Client extends openapi_core_1.default {
|
|
|
1495
1606
|
return await this.deleteManagedAgentWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
1496
1607
|
}
|
|
1497
1608
|
/**
|
|
1498
|
-
* Deletes a specified MCP
|
|
1609
|
+
* Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
|
|
1499
1610
|
*
|
|
1500
1611
|
* @remarks
|
|
1501
|
-
* ##
|
|
1502
|
-
* Deletes a specified MCP
|
|
1612
|
+
* ## Request description
|
|
1613
|
+
* Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
|
|
1503
1614
|
*
|
|
1504
1615
|
* @param request - DeleteMcpRequest
|
|
1505
1616
|
* @param headers - map
|
|
@@ -1525,11 +1636,11 @@ class Client extends openapi_core_1.default {
|
|
|
1525
1636
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMcpResponse({}));
|
|
1526
1637
|
}
|
|
1527
1638
|
/**
|
|
1528
|
-
* Deletes a specified MCP
|
|
1639
|
+
* Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
|
|
1529
1640
|
*
|
|
1530
1641
|
* @remarks
|
|
1531
|
-
* ##
|
|
1532
|
-
* Deletes a specified MCP
|
|
1642
|
+
* ## Request description
|
|
1643
|
+
* Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
|
|
1533
1644
|
*
|
|
1534
1645
|
* @param request - DeleteMcpRequest
|
|
1535
1646
|
* @returns DeleteMcpResponse
|
|
@@ -1539,6 +1650,92 @@ class Client extends openapi_core_1.default {
|
|
|
1539
1650
|
let headers = {};
|
|
1540
1651
|
return await this.deleteMcpWithOptions(mcpServerId, workspaceId, request, headers, runtime);
|
|
1541
1652
|
}
|
|
1653
|
+
/**
|
|
1654
|
+
* Deletes a long-term memory based on the memory ID.
|
|
1655
|
+
*
|
|
1656
|
+
* @remarks
|
|
1657
|
+
* Deletes a long-term memory based on the memory ID.
|
|
1658
|
+
*
|
|
1659
|
+
* @param request - DeleteMemoryRequest
|
|
1660
|
+
* @param headers - map
|
|
1661
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1662
|
+
* @returns DeleteMemoryResponse
|
|
1663
|
+
*/
|
|
1664
|
+
async deleteMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime) {
|
|
1665
|
+
request.validate();
|
|
1666
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1667
|
+
headers: headers,
|
|
1668
|
+
});
|
|
1669
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1670
|
+
action: "DeleteMemory",
|
|
1671
|
+
version: "2026-08-04",
|
|
1672
|
+
protocol: "HTTPS",
|
|
1673
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
|
|
1674
|
+
method: "DELETE",
|
|
1675
|
+
authType: "AK",
|
|
1676
|
+
style: "ROA",
|
|
1677
|
+
reqBodyType: "json",
|
|
1678
|
+
bodyType: "json",
|
|
1679
|
+
});
|
|
1680
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMemoryResponse({}));
|
|
1681
|
+
}
|
|
1682
|
+
/**
|
|
1683
|
+
* Deletes a long-term memory based on the memory ID.
|
|
1684
|
+
*
|
|
1685
|
+
* @remarks
|
|
1686
|
+
* Deletes a long-term memory based on the memory ID.
|
|
1687
|
+
*
|
|
1688
|
+
* @param request - DeleteMemoryRequest
|
|
1689
|
+
* @returns DeleteMemoryResponse
|
|
1690
|
+
*/
|
|
1691
|
+
async deleteMemory(workspaceId, memoryStoreName, memoryId, request) {
|
|
1692
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1693
|
+
let headers = {};
|
|
1694
|
+
return await this.deleteMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
|
|
1695
|
+
}
|
|
1696
|
+
/**
|
|
1697
|
+
* Asynchronously deletes a MemoryStore and all its long-term memory.
|
|
1698
|
+
*
|
|
1699
|
+
* @remarks
|
|
1700
|
+
* Asynchronously deletes a MemoryStore and all its long-term memory.
|
|
1701
|
+
*
|
|
1702
|
+
* @param request - DeleteMemoryStoreRequest
|
|
1703
|
+
* @param headers - map
|
|
1704
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1705
|
+
* @returns DeleteMemoryStoreResponse
|
|
1706
|
+
*/
|
|
1707
|
+
async deleteMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime) {
|
|
1708
|
+
request.validate();
|
|
1709
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1710
|
+
headers: headers,
|
|
1711
|
+
});
|
|
1712
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1713
|
+
action: "DeleteMemoryStore",
|
|
1714
|
+
version: "2026-08-04",
|
|
1715
|
+
protocol: "HTTPS",
|
|
1716
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
|
|
1717
|
+
method: "DELETE",
|
|
1718
|
+
authType: "AK",
|
|
1719
|
+
style: "ROA",
|
|
1720
|
+
reqBodyType: "json",
|
|
1721
|
+
bodyType: "json",
|
|
1722
|
+
});
|
|
1723
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMemoryStoreResponse({}));
|
|
1724
|
+
}
|
|
1725
|
+
/**
|
|
1726
|
+
* Asynchronously deletes a MemoryStore and all its long-term memory.
|
|
1727
|
+
*
|
|
1728
|
+
* @remarks
|
|
1729
|
+
* Asynchronously deletes a MemoryStore and all its long-term memory.
|
|
1730
|
+
*
|
|
1731
|
+
* @param request - DeleteMemoryStoreRequest
|
|
1732
|
+
* @returns DeleteMemoryStoreResponse
|
|
1733
|
+
*/
|
|
1734
|
+
async deleteMemoryStore(workspaceId, memoryStoreName, request) {
|
|
1735
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1736
|
+
let headers = {};
|
|
1737
|
+
return await this.deleteMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
1738
|
+
}
|
|
1542
1739
|
/**
|
|
1543
1740
|
* Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
|
|
1544
1741
|
*
|
|
@@ -1798,10 +1995,10 @@ class Client extends openapi_core_1.default {
|
|
|
1798
1995
|
return await this.deleteUserWithOptions(workspaceId, agentCoreUserId, request, headers, runtime);
|
|
1799
1996
|
}
|
|
1800
1997
|
/**
|
|
1801
|
-
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction.
|
|
1998
|
+
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. The server processes repeated deletion requests for workspaces in the Deleting or Deleted state idempotently.
|
|
1802
1999
|
*
|
|
1803
2000
|
* @remarks
|
|
1804
|
-
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction.
|
|
2001
|
+
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. The server processes repeated deletion requests for workspaces in the `Deleting` or `Deleted` state idempotently.\\n.
|
|
1805
2002
|
*
|
|
1806
2003
|
* @param request - DeleteWorkspaceRequest
|
|
1807
2004
|
* @param headers - map
|
|
@@ -1827,10 +2024,10 @@ class Client extends openapi_core_1.default {
|
|
|
1827
2024
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteWorkspaceResponse({}));
|
|
1828
2025
|
}
|
|
1829
2026
|
/**
|
|
1830
|
-
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction.
|
|
2027
|
+
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. The server processes repeated deletion requests for workspaces in the Deleting or Deleted state idempotently.
|
|
1831
2028
|
*
|
|
1832
2029
|
* @remarks
|
|
1833
|
-
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction.
|
|
2030
|
+
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. The server processes repeated deletion requests for workspaces in the `Deleting` or `Deleted` state idempotently.\\n.
|
|
1834
2031
|
*
|
|
1835
2032
|
* @param request - DeleteWorkspaceRequest
|
|
1836
2033
|
* @returns DeleteWorkspaceResponse
|
|
@@ -1884,11 +2081,11 @@ class Client extends openapi_core_1.default {
|
|
|
1884
2081
|
return await this.disableConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
|
|
1885
2082
|
}
|
|
1886
2083
|
/**
|
|
1887
|
-
* Retrieves
|
|
2084
|
+
* Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
|
|
1888
2085
|
*
|
|
1889
2086
|
* @remarks
|
|
1890
|
-
* ##
|
|
1891
|
-
* Retrieves
|
|
2087
|
+
* ## Request description
|
|
2088
|
+
* Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
|
|
1892
2089
|
*
|
|
1893
2090
|
* @param request - DownloadAgentSpecViaOssRequest
|
|
1894
2091
|
* @param headers - map
|
|
@@ -1919,11 +2116,11 @@ class Client extends openapi_core_1.default {
|
|
|
1919
2116
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DownloadAgentSpecViaOssResponse({}));
|
|
1920
2117
|
}
|
|
1921
2118
|
/**
|
|
1922
|
-
* Retrieves
|
|
2119
|
+
* Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
|
|
1923
2120
|
*
|
|
1924
2121
|
* @remarks
|
|
1925
|
-
* ##
|
|
1926
|
-
* Retrieves
|
|
2122
|
+
* ## Request description
|
|
2123
|
+
* Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
|
|
1927
2124
|
*
|
|
1928
2125
|
* @param request - DownloadAgentSpecViaOssRequest
|
|
1929
2126
|
* @returns DownloadAgentSpecViaOssResponse
|
|
@@ -2133,7 +2330,7 @@ class Client extends openapi_core_1.default {
|
|
|
2133
2330
|
* Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
|
|
2134
2331
|
*
|
|
2135
2332
|
* @remarks
|
|
2136
|
-
* ##
|
|
2333
|
+
* ## Request description
|
|
2137
2334
|
* Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
|
|
2138
2335
|
*
|
|
2139
2336
|
* @param request - GetAgentSpecRequest
|
|
@@ -2163,7 +2360,7 @@ class Client extends openapi_core_1.default {
|
|
|
2163
2360
|
* Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
|
|
2164
2361
|
*
|
|
2165
2362
|
* @remarks
|
|
2166
|
-
* ##
|
|
2363
|
+
* ## Request description
|
|
2167
2364
|
* Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
|
|
2168
2365
|
*
|
|
2169
2366
|
* @param request - GetAgentSpecRequest
|
|
@@ -2175,11 +2372,11 @@ class Client extends openapi_core_1.default {
|
|
|
2175
2372
|
return await this.getAgentSpecWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
2176
2373
|
}
|
|
2177
2374
|
/**
|
|
2178
|
-
* Retrieves the OSS
|
|
2375
|
+
* Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
|
|
2179
2376
|
*
|
|
2180
2377
|
* @remarks
|
|
2181
|
-
* ##
|
|
2182
|
-
* Retrieves the OSS
|
|
2378
|
+
* ## Request description
|
|
2379
|
+
* Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
|
|
2183
2380
|
*
|
|
2184
2381
|
* @param request - GetAgentSpecImportFileUrlRequest
|
|
2185
2382
|
* @param headers - map
|
|
@@ -2210,11 +2407,11 @@ class Client extends openapi_core_1.default {
|
|
|
2210
2407
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgentSpecImportFileUrlResponse({}));
|
|
2211
2408
|
}
|
|
2212
2409
|
/**
|
|
2213
|
-
* Retrieves the OSS
|
|
2410
|
+
* Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
|
|
2214
2411
|
*
|
|
2215
2412
|
* @remarks
|
|
2216
|
-
* ##
|
|
2217
|
-
* Retrieves the OSS
|
|
2413
|
+
* ## Request description
|
|
2414
|
+
* Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
|
|
2218
2415
|
*
|
|
2219
2416
|
* @param request - GetAgentSpecImportFileUrlRequest
|
|
2220
2417
|
* @returns GetAgentSpecImportFileUrlResponse
|
|
@@ -2270,11 +2467,11 @@ class Client extends openapi_core_1.default {
|
|
|
2270
2467
|
return await this.getAgentSpecLatestWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
2271
2468
|
}
|
|
2272
2469
|
/**
|
|
2273
|
-
* Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
|
|
2470
|
+
* Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
|
|
2274
2471
|
*
|
|
2275
2472
|
* @remarks
|
|
2276
|
-
* ##
|
|
2277
|
-
* Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
|
|
2473
|
+
* ## Request description
|
|
2474
|
+
* Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
|
|
2278
2475
|
*
|
|
2279
2476
|
* @param request - GetAgentSpecVersionRequest
|
|
2280
2477
|
* @param headers - map
|
|
@@ -2300,11 +2497,11 @@ class Client extends openapi_core_1.default {
|
|
|
2300
2497
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgentSpecVersionResponse({}));
|
|
2301
2498
|
}
|
|
2302
2499
|
/**
|
|
2303
|
-
* Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
|
|
2500
|
+
* Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
|
|
2304
2501
|
*
|
|
2305
2502
|
* @remarks
|
|
2306
|
-
* ##
|
|
2307
|
-
* Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
|
|
2503
|
+
* ## Request description
|
|
2504
|
+
* Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
|
|
2308
2505
|
*
|
|
2309
2506
|
* @param request - GetAgentSpecVersionRequest
|
|
2310
2507
|
* @returns GetAgentSpecVersionResponse
|
|
@@ -2315,7 +2512,7 @@ class Client extends openapi_core_1.default {
|
|
|
2315
2512
|
return await this.getAgentSpecVersionWithOptions(workspaceId, agentSpecName, agentSpecVersion, request, headers, runtime);
|
|
2316
2513
|
}
|
|
2317
2514
|
/**
|
|
2318
|
-
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked
|
|
2515
|
+
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in a masked format.
|
|
2319
2516
|
*
|
|
2320
2517
|
* @remarks
|
|
2321
2518
|
* Queries the details of a single credential. Sensitive fields are not returned.
|
|
@@ -2344,7 +2541,7 @@ class Client extends openapi_core_1.default {
|
|
|
2344
2541
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCredentialResponse({}));
|
|
2345
2542
|
}
|
|
2346
2543
|
/**
|
|
2347
|
-
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked
|
|
2544
|
+
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in a masked format.
|
|
2348
2545
|
*
|
|
2349
2546
|
* @remarks
|
|
2350
2547
|
* Queries the details of a single credential. Sensitive fields are not returned.
|
|
@@ -2358,12 +2555,12 @@ class Client extends openapi_core_1.default {
|
|
|
2358
2555
|
return await this.getCredentialWithOptions(workspaceId, credentialId, request, headers, runtime);
|
|
2359
2556
|
}
|
|
2360
2557
|
/**
|
|
2361
|
-
*
|
|
2558
|
+
* 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.
|
|
2362
2559
|
*
|
|
2363
2560
|
* @remarks
|
|
2364
|
-
*
|
|
2365
|
-
*
|
|
2366
|
-
*
|
|
2561
|
+
* 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.
|
|
2562
|
+
* 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.
|
|
2563
|
+
* 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.
|
|
2367
2564
|
*
|
|
2368
2565
|
* @param request - GetCustomAgentRequest
|
|
2369
2566
|
* @param headers - map
|
|
@@ -2389,12 +2586,12 @@ class Client extends openapi_core_1.default {
|
|
|
2389
2586
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCustomAgentResponse({}));
|
|
2390
2587
|
}
|
|
2391
2588
|
/**
|
|
2392
|
-
*
|
|
2589
|
+
* 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.
|
|
2393
2590
|
*
|
|
2394
2591
|
* @remarks
|
|
2395
|
-
*
|
|
2396
|
-
*
|
|
2397
|
-
*
|
|
2592
|
+
* 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.
|
|
2593
|
+
* 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.
|
|
2594
|
+
* 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.
|
|
2398
2595
|
*
|
|
2399
2596
|
* @param request - GetCustomAgentRequest
|
|
2400
2597
|
* @returns GetCustomAgentResponse
|
|
@@ -2448,10 +2645,10 @@ class Client extends openapi_core_1.default {
|
|
|
2448
2645
|
return await this.getExternalAgentWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
2449
2646
|
}
|
|
2450
2647
|
/**
|
|
2451
|
-
* Queries the available network types for a specified external agent.
|
|
2648
|
+
* Queries the available access network types for a specified external agent.
|
|
2452
2649
|
*
|
|
2453
2650
|
* @remarks
|
|
2454
|
-
* Queries the available network types for a specified external agent.
|
|
2651
|
+
* Queries the available access network types for a specified external agent.
|
|
2455
2652
|
*
|
|
2456
2653
|
* @param request - GetExternalAgentBootstrapOptionsRequest
|
|
2457
2654
|
* @param headers - map
|
|
@@ -2477,10 +2674,10 @@ class Client extends openapi_core_1.default {
|
|
|
2477
2674
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetExternalAgentBootstrapOptionsResponse({}));
|
|
2478
2675
|
}
|
|
2479
2676
|
/**
|
|
2480
|
-
* Queries the available network types for a specified external agent.
|
|
2677
|
+
* Queries the available access network types for a specified external agent.
|
|
2481
2678
|
*
|
|
2482
2679
|
* @remarks
|
|
2483
|
-
* Queries the available network types for a specified external agent.
|
|
2680
|
+
* Queries the available access network types for a specified external agent.
|
|
2484
2681
|
*
|
|
2485
2682
|
* @param request - GetExternalAgentBootstrapOptionsRequest
|
|
2486
2683
|
* @returns GetExternalAgentBootstrapOptionsResponse
|
|
@@ -2491,7 +2688,7 @@ class Client extends openapi_core_1.default {
|
|
|
2491
2688
|
return await this.getExternalAgentBootstrapOptionsWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
2492
2689
|
}
|
|
2493
2690
|
/**
|
|
2494
|
-
* Queries the binding details of
|
|
2691
|
+
* Queries the binding details of the external identity provider for a specified workspace, including the binding status, application configurations, and callback URLs to be configured on the identity provider side. Application secret configurations are not returned.
|
|
2495
2692
|
*
|
|
2496
2693
|
* @param request - GetIdentityProviderRequest
|
|
2497
2694
|
* @param headers - map
|
|
@@ -2517,7 +2714,7 @@ class Client extends openapi_core_1.default {
|
|
|
2517
2714
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetIdentityProviderResponse({}));
|
|
2518
2715
|
}
|
|
2519
2716
|
/**
|
|
2520
|
-
* Queries the binding details of
|
|
2717
|
+
* Queries the binding details of the external identity provider for a specified workspace, including the binding status, application configurations, and callback URLs to be configured on the identity provider side. Application secret configurations are not returned.
|
|
2521
2718
|
*
|
|
2522
2719
|
* @param request - GetIdentityProviderRequest
|
|
2523
2720
|
* @returns GetIdentityProviderResponse
|
|
@@ -2653,178 +2850,307 @@ class Client extends openapi_core_1.default {
|
|
|
2653
2850
|
return await this.getMcpMarketItemWithOptions(workspaceId, marketItemId, request, headers, runtime);
|
|
2654
2851
|
}
|
|
2655
2852
|
/**
|
|
2656
|
-
* Queries
|
|
2853
|
+
* Queries a long-term memory by memory ID.
|
|
2657
2854
|
*
|
|
2658
|
-
* @
|
|
2855
|
+
* @remarks
|
|
2856
|
+
* Queries a long-term memory by memory ID.
|
|
2857
|
+
*
|
|
2858
|
+
* @param request - GetMemoryRequest
|
|
2659
2859
|
* @param headers - map
|
|
2660
2860
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2661
|
-
* @returns
|
|
2861
|
+
* @returns GetMemoryResponse
|
|
2662
2862
|
*/
|
|
2663
|
-
async
|
|
2863
|
+
async getMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime) {
|
|
2664
2864
|
request.validate();
|
|
2665
2865
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2666
2866
|
headers: headers,
|
|
2667
2867
|
});
|
|
2668
2868
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2669
|
-
action: "
|
|
2869
|
+
action: "GetMemory",
|
|
2670
2870
|
version: "2026-08-04",
|
|
2671
2871
|
protocol: "HTTPS",
|
|
2672
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
2872
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
|
|
2673
2873
|
method: "GET",
|
|
2674
2874
|
authType: "AK",
|
|
2675
2875
|
style: "ROA",
|
|
2676
2876
|
reqBodyType: "json",
|
|
2677
2877
|
bodyType: "json",
|
|
2678
2878
|
});
|
|
2679
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
2879
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMemoryResponse({}));
|
|
2680
2880
|
}
|
|
2681
2881
|
/**
|
|
2682
|
-
* Queries
|
|
2882
|
+
* Queries a long-term memory by memory ID.
|
|
2683
2883
|
*
|
|
2684
|
-
* @
|
|
2685
|
-
*
|
|
2884
|
+
* @remarks
|
|
2885
|
+
* Queries a long-term memory by memory ID.
|
|
2886
|
+
*
|
|
2887
|
+
* @param request - GetMemoryRequest
|
|
2888
|
+
* @returns GetMemoryResponse
|
|
2686
2889
|
*/
|
|
2687
|
-
async
|
|
2890
|
+
async getMemory(workspaceId, memoryStoreName, memoryId, request) {
|
|
2688
2891
|
let runtime = new $dara.RuntimeOptions({});
|
|
2689
2892
|
let headers = {};
|
|
2690
|
-
return await this.
|
|
2893
|
+
return await this.getMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
|
|
2691
2894
|
}
|
|
2692
2895
|
/**
|
|
2693
|
-
* Queries the
|
|
2896
|
+
* Queries the public information and current status of a MemoryStore in a specified workspace.
|
|
2694
2897
|
*
|
|
2695
|
-
* @
|
|
2898
|
+
* @remarks
|
|
2899
|
+
* Queries the public information and current status of a MemoryStore in a specified workspace.
|
|
2900
|
+
*
|
|
2901
|
+
* @param request - GetMemoryStoreRequest
|
|
2696
2902
|
* @param headers - map
|
|
2697
2903
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2698
|
-
* @returns
|
|
2904
|
+
* @returns GetMemoryStoreResponse
|
|
2699
2905
|
*/
|
|
2700
|
-
async
|
|
2906
|
+
async getMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime) {
|
|
2701
2907
|
request.validate();
|
|
2702
2908
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2703
2909
|
headers: headers,
|
|
2704
2910
|
});
|
|
2705
2911
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2706
|
-
action: "
|
|
2912
|
+
action: "GetMemoryStore",
|
|
2707
2913
|
version: "2026-08-04",
|
|
2708
2914
|
protocol: "HTTPS",
|
|
2709
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
2915
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
|
|
2710
2916
|
method: "GET",
|
|
2711
2917
|
authType: "AK",
|
|
2712
2918
|
style: "ROA",
|
|
2713
2919
|
reqBodyType: "json",
|
|
2714
2920
|
bodyType: "json",
|
|
2715
2921
|
});
|
|
2716
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
2922
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMemoryStoreResponse({}));
|
|
2717
2923
|
}
|
|
2718
2924
|
/**
|
|
2719
|
-
* Queries the
|
|
2925
|
+
* Queries the public information and current status of a MemoryStore in a specified workspace.
|
|
2720
2926
|
*
|
|
2721
|
-
* @
|
|
2722
|
-
*
|
|
2927
|
+
* @remarks
|
|
2928
|
+
* Queries the public information and current status of a MemoryStore in a specified workspace.
|
|
2929
|
+
*
|
|
2930
|
+
* @param request - GetMemoryStoreRequest
|
|
2931
|
+
* @returns GetMemoryStoreResponse
|
|
2723
2932
|
*/
|
|
2724
|
-
async
|
|
2933
|
+
async getMemoryStore(workspaceId, memoryStoreName, request) {
|
|
2725
2934
|
let runtime = new $dara.RuntimeOptions({});
|
|
2726
2935
|
let headers = {};
|
|
2727
|
-
return await this.
|
|
2936
|
+
return await this.getMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
2728
2937
|
}
|
|
2729
2938
|
/**
|
|
2730
|
-
* Queries the
|
|
2939
|
+
* Queries the task ID returned by the asynchronous AddMemories operation.
|
|
2731
2940
|
*
|
|
2732
2941
|
* @remarks
|
|
2733
|
-
*
|
|
2942
|
+
* Queries the task ID returned by the asynchronous AddMemories operation.
|
|
2734
2943
|
*
|
|
2735
|
-
* @param request -
|
|
2944
|
+
* @param request - GetMemoryTaskRequest
|
|
2736
2945
|
* @param headers - map
|
|
2737
2946
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2738
|
-
* @returns
|
|
2947
|
+
* @returns GetMemoryTaskResponse
|
|
2739
2948
|
*/
|
|
2740
|
-
async
|
|
2949
|
+
async getMemoryTaskWithOptions(workspaceId, memoryStoreName, taskId, request, headers, runtime) {
|
|
2741
2950
|
request.validate();
|
|
2742
2951
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2743
2952
|
headers: headers,
|
|
2744
2953
|
});
|
|
2745
2954
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2746
|
-
action: "
|
|
2955
|
+
action: "GetMemoryTask",
|
|
2747
2956
|
version: "2026-08-04",
|
|
2748
2957
|
protocol: "HTTPS",
|
|
2749
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
2958
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memory-tasks/${$dara.URL.percentEncode(taskId)}`,
|
|
2750
2959
|
method: "GET",
|
|
2751
2960
|
authType: "AK",
|
|
2752
2961
|
style: "ROA",
|
|
2753
2962
|
reqBodyType: "json",
|
|
2754
2963
|
bodyType: "json",
|
|
2755
2964
|
});
|
|
2756
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
2965
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMemoryTaskResponse({}));
|
|
2757
2966
|
}
|
|
2758
2967
|
/**
|
|
2759
|
-
* Queries the
|
|
2968
|
+
* Queries the task ID returned by the asynchronous AddMemories operation.
|
|
2760
2969
|
*
|
|
2761
2970
|
* @remarks
|
|
2762
|
-
*
|
|
2971
|
+
* Queries the task ID returned by the asynchronous AddMemories operation.
|
|
2763
2972
|
*
|
|
2764
|
-
* @param request -
|
|
2765
|
-
* @returns
|
|
2973
|
+
* @param request - GetMemoryTaskRequest
|
|
2974
|
+
* @returns GetMemoryTaskResponse
|
|
2766
2975
|
*/
|
|
2767
|
-
async
|
|
2976
|
+
async getMemoryTask(workspaceId, memoryStoreName, taskId, request) {
|
|
2768
2977
|
let runtime = new $dara.RuntimeOptions({});
|
|
2769
2978
|
let headers = {};
|
|
2770
|
-
return await this.
|
|
2979
|
+
return await this.getMemoryTaskWithOptions(workspaceId, memoryStoreName, taskId, request, headers, runtime);
|
|
2771
2980
|
}
|
|
2772
2981
|
/**
|
|
2773
|
-
* Queries the
|
|
2774
|
-
*
|
|
2775
|
-
* @remarks
|
|
2776
|
-
* 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.
|
|
2982
|
+
* Queries the detailed configuration and region of a model in a specified workspace.
|
|
2777
2983
|
*
|
|
2778
|
-
* @param request -
|
|
2984
|
+
* @param request - GetModelRequest
|
|
2779
2985
|
* @param headers - map
|
|
2780
2986
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2781
|
-
* @returns
|
|
2987
|
+
* @returns GetModelResponse
|
|
2782
2988
|
*/
|
|
2783
|
-
async
|
|
2989
|
+
async getModelWithOptions(workspaceId, modelId, request, headers, runtime) {
|
|
2784
2990
|
request.validate();
|
|
2785
2991
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2786
2992
|
headers: headers,
|
|
2787
2993
|
});
|
|
2788
2994
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2789
|
-
action: "
|
|
2995
|
+
action: "GetModel",
|
|
2790
2996
|
version: "2026-08-04",
|
|
2791
2997
|
protocol: "HTTPS",
|
|
2792
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
2793
|
-
method: "
|
|
2998
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/models/${$dara.URL.percentEncode(modelId)}`,
|
|
2999
|
+
method: "GET",
|
|
2794
3000
|
authType: "AK",
|
|
2795
3001
|
style: "ROA",
|
|
2796
3002
|
reqBodyType: "json",
|
|
2797
3003
|
bodyType: "json",
|
|
2798
3004
|
});
|
|
2799
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3005
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetModelResponse({}));
|
|
2800
3006
|
}
|
|
2801
3007
|
/**
|
|
2802
|
-
* Queries the
|
|
2803
|
-
*
|
|
2804
|
-
* @remarks
|
|
2805
|
-
* 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.
|
|
3008
|
+
* Queries the detailed configuration and region of a model in a specified workspace.
|
|
2806
3009
|
*
|
|
2807
|
-
* @param request -
|
|
2808
|
-
* @returns
|
|
3010
|
+
* @param request - GetModelRequest
|
|
3011
|
+
* @returns GetModelResponse
|
|
2809
3012
|
*/
|
|
2810
|
-
async
|
|
3013
|
+
async getModel(workspaceId, modelId, request) {
|
|
2811
3014
|
let runtime = new $dara.RuntimeOptions({});
|
|
2812
3015
|
let headers = {};
|
|
2813
|
-
return await this.
|
|
3016
|
+
return await this.getModelWithOptions(workspaceId, modelId, request, headers, runtime);
|
|
2814
3017
|
}
|
|
2815
3018
|
/**
|
|
2816
|
-
* Queries the
|
|
2817
|
-
*
|
|
2818
|
-
* @remarks
|
|
2819
|
-
* ## Operation description
|
|
2820
|
-
* Queries the basic information, version status, labels, visibility scope, and version list of a specified Skill.
|
|
3019
|
+
* Queries the detailed configuration, credential configuration status, publish status, and region of a specified model connection.
|
|
2821
3020
|
*
|
|
2822
|
-
* @param request -
|
|
3021
|
+
* @param request - GetModelConnectionRequest
|
|
2823
3022
|
* @param headers - map
|
|
2824
3023
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2825
|
-
* @returns
|
|
3024
|
+
* @returns GetModelConnectionResponse
|
|
2826
3025
|
*/
|
|
2827
|
-
async
|
|
3026
|
+
async getModelConnectionWithOptions(workspaceId, connectionId, request, headers, runtime) {
|
|
3027
|
+
request.validate();
|
|
3028
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3029
|
+
headers: headers,
|
|
3030
|
+
});
|
|
3031
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3032
|
+
action: "GetModelConnection",
|
|
3033
|
+
version: "2026-08-04",
|
|
3034
|
+
protocol: "HTTPS",
|
|
3035
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/model-connections/${$dara.URL.percentEncode(connectionId)}`,
|
|
3036
|
+
method: "GET",
|
|
3037
|
+
authType: "AK",
|
|
3038
|
+
style: "ROA",
|
|
3039
|
+
reqBodyType: "json",
|
|
3040
|
+
bodyType: "json",
|
|
3041
|
+
});
|
|
3042
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetModelConnectionResponse({}));
|
|
3043
|
+
}
|
|
3044
|
+
/**
|
|
3045
|
+
* Queries the detailed configuration, credential configuration status, publish status, and region of a specified model connection.
|
|
3046
|
+
*
|
|
3047
|
+
* @param request - GetModelConnectionRequest
|
|
3048
|
+
* @returns GetModelConnectionResponse
|
|
3049
|
+
*/
|
|
3050
|
+
async getModelConnection(workspaceId, connectionId, request) {
|
|
3051
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3052
|
+
let headers = {};
|
|
3053
|
+
return await this.getModelConnectionWithOptions(workspaceId, connectionId, request, headers, runtime);
|
|
3054
|
+
}
|
|
3055
|
+
/**
|
|
3056
|
+
* Queries the details of a specified service endpoint, including target routing, access URLs, authentication configuration, and current status.
|
|
3057
|
+
*
|
|
3058
|
+
* @remarks
|
|
3059
|
+
* ## 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.
|
|
3060
|
+
*
|
|
3061
|
+
* @param request - GetServiceEndpointRequest
|
|
3062
|
+
* @param headers - map
|
|
3063
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3064
|
+
* @returns GetServiceEndpointResponse
|
|
3065
|
+
*/
|
|
3066
|
+
async getServiceEndpointWithOptions(workspaceId, serviceEndpointId, request, headers, runtime) {
|
|
3067
|
+
request.validate();
|
|
3068
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3069
|
+
headers: headers,
|
|
3070
|
+
});
|
|
3071
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3072
|
+
action: "GetServiceEndpoint",
|
|
3073
|
+
version: "2026-08-04",
|
|
3074
|
+
protocol: "HTTPS",
|
|
3075
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/service-endpoints/${$dara.URL.percentEncode(serviceEndpointId)}`,
|
|
3076
|
+
method: "GET",
|
|
3077
|
+
authType: "AK",
|
|
3078
|
+
style: "ROA",
|
|
3079
|
+
reqBodyType: "json",
|
|
3080
|
+
bodyType: "json",
|
|
3081
|
+
});
|
|
3082
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetServiceEndpointResponse({}));
|
|
3083
|
+
}
|
|
3084
|
+
/**
|
|
3085
|
+
* Queries the details of a specified service endpoint, including target routing, access URLs, authentication configuration, and current status.
|
|
3086
|
+
*
|
|
3087
|
+
* @remarks
|
|
3088
|
+
* ## 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.
|
|
3089
|
+
*
|
|
3090
|
+
* @param request - GetServiceEndpointRequest
|
|
3091
|
+
* @returns GetServiceEndpointResponse
|
|
3092
|
+
*/
|
|
3093
|
+
async getServiceEndpoint(workspaceId, serviceEndpointId, request) {
|
|
3094
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3095
|
+
let headers = {};
|
|
3096
|
+
return await this.getServiceEndpointWithOptions(workspaceId, serviceEndpointId, request, headers, runtime);
|
|
3097
|
+
}
|
|
3098
|
+
/**
|
|
3099
|
+
* Queries the currently active API key and its invocation method for a service endpoint in a specified workspace.
|
|
3100
|
+
*
|
|
3101
|
+
* @remarks
|
|
3102
|
+
* 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.
|
|
3103
|
+
*
|
|
3104
|
+
* @param request - GetServiceEndpointApiKeyRequest
|
|
3105
|
+
* @param headers - map
|
|
3106
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3107
|
+
* @returns GetServiceEndpointApiKeyResponse
|
|
3108
|
+
*/
|
|
3109
|
+
async getServiceEndpointApiKeyWithOptions(workspaceId, serviceEndpointId, request, headers, runtime) {
|
|
3110
|
+
request.validate();
|
|
3111
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3112
|
+
headers: headers,
|
|
3113
|
+
});
|
|
3114
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3115
|
+
action: "GetServiceEndpointApiKey",
|
|
3116
|
+
version: "2026-08-04",
|
|
3117
|
+
protocol: "HTTPS",
|
|
3118
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/service-endpoints/${$dara.URL.percentEncode(serviceEndpointId)}/api-key/get`,
|
|
3119
|
+
method: "POST",
|
|
3120
|
+
authType: "AK",
|
|
3121
|
+
style: "ROA",
|
|
3122
|
+
reqBodyType: "json",
|
|
3123
|
+
bodyType: "json",
|
|
3124
|
+
});
|
|
3125
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetServiceEndpointApiKeyResponse({}));
|
|
3126
|
+
}
|
|
3127
|
+
/**
|
|
3128
|
+
* Queries the currently active API key and its invocation method for a service endpoint in a specified workspace.
|
|
3129
|
+
*
|
|
3130
|
+
* @remarks
|
|
3131
|
+
* 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.
|
|
3132
|
+
*
|
|
3133
|
+
* @param request - GetServiceEndpointApiKeyRequest
|
|
3134
|
+
* @returns GetServiceEndpointApiKeyResponse
|
|
3135
|
+
*/
|
|
3136
|
+
async getServiceEndpointApiKey(workspaceId, serviceEndpointId, request) {
|
|
3137
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3138
|
+
let headers = {};
|
|
3139
|
+
return await this.getServiceEndpointApiKeyWithOptions(workspaceId, serviceEndpointId, request, headers, runtime);
|
|
3140
|
+
}
|
|
3141
|
+
/**
|
|
3142
|
+
* Queries the basic information, version status, labels, visibility scope, and version list of a specified Skill.
|
|
3143
|
+
*
|
|
3144
|
+
* @remarks
|
|
3145
|
+
* ## Operation description
|
|
3146
|
+
* Queries the basic information, version status, labels, visibility scope, and version list of a specified Skill.
|
|
3147
|
+
*
|
|
3148
|
+
* @param request - GetSkillDetailRequest
|
|
3149
|
+
* @param headers - map
|
|
3150
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3151
|
+
* @returns GetSkillDetailResponse
|
|
3152
|
+
*/
|
|
3153
|
+
async getSkillDetailWithOptions(workspaceId, skillName, request, headers, runtime) {
|
|
2828
3154
|
request.validate();
|
|
2829
3155
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2830
3156
|
headers: headers,
|
|
@@ -2858,11 +3184,11 @@ class Client extends openapi_core_1.default {
|
|
|
2858
3184
|
return await this.getSkillDetailWithOptions(workspaceId, skillName, request, headers, runtime);
|
|
2859
3185
|
}
|
|
2860
3186
|
/**
|
|
2861
|
-
* Retrieves the OSS
|
|
3187
|
+
* Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
|
|
2862
3188
|
*
|
|
2863
3189
|
* @remarks
|
|
2864
3190
|
* ## Request description
|
|
2865
|
-
* Retrieves the OSS
|
|
3191
|
+
* Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
|
|
2866
3192
|
*
|
|
2867
3193
|
* @param request - GetSkillImportFileUrlRequest
|
|
2868
3194
|
* @param headers - map
|
|
@@ -2893,11 +3219,11 @@ class Client extends openapi_core_1.default {
|
|
|
2893
3219
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSkillImportFileUrlResponse({}));
|
|
2894
3220
|
}
|
|
2895
3221
|
/**
|
|
2896
|
-
* Retrieves the OSS
|
|
3222
|
+
* Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
|
|
2897
3223
|
*
|
|
2898
3224
|
* @remarks
|
|
2899
3225
|
* ## Request description
|
|
2900
|
-
* Retrieves the OSS
|
|
3226
|
+
* Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
|
|
2901
3227
|
*
|
|
2902
3228
|
* @param request - GetSkillImportFileUrlRequest
|
|
2903
3229
|
* @returns GetSkillImportFileUrlResponse
|
|
@@ -2990,7 +3316,7 @@ class Client extends openapi_core_1.default {
|
|
|
2990
3316
|
return await this.getTeamWithOptions(workspaceId, teamId, request, headers, runtime);
|
|
2991
3317
|
}
|
|
2992
3318
|
/**
|
|
2993
|
-
* Queries the details of a
|
|
3319
|
+
* Queries the details of a specific user in a specified workspace. Returns an error if the user does not exist.
|
|
2994
3320
|
*
|
|
2995
3321
|
* @param request - GetUserRequest
|
|
2996
3322
|
* @param headers - map
|
|
@@ -3016,7 +3342,7 @@ class Client extends openapi_core_1.default {
|
|
|
3016
3342
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetUserResponse({}));
|
|
3017
3343
|
}
|
|
3018
3344
|
/**
|
|
3019
|
-
* Queries the details of a
|
|
3345
|
+
* Queries the details of a specific user in a specified workspace. Returns an error if the user does not exist.
|
|
3020
3346
|
*
|
|
3021
3347
|
* @param request - GetUserRequest
|
|
3022
3348
|
* @returns GetUserResponse
|
|
@@ -3027,10 +3353,10 @@ class Client extends openapi_core_1.default {
|
|
|
3027
3353
|
return await this.getUserWithOptions(workspaceId, agentCoreUserId, request, headers, runtime);
|
|
3028
3354
|
}
|
|
3029
3355
|
/**
|
|
3030
|
-
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network
|
|
3356
|
+
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.
|
|
3031
3357
|
*
|
|
3032
3358
|
* @remarks
|
|
3033
|
-
* ##
|
|
3359
|
+
* ## Request description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.\\n.
|
|
3034
3360
|
*
|
|
3035
3361
|
* @param request - GetWorkspaceRequest
|
|
3036
3362
|
* @param headers - map
|
|
@@ -3056,10 +3382,10 @@ class Client extends openapi_core_1.default {
|
|
|
3056
3382
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceResponse({}));
|
|
3057
3383
|
}
|
|
3058
3384
|
/**
|
|
3059
|
-
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network
|
|
3385
|
+
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.
|
|
3060
3386
|
*
|
|
3061
3387
|
* @remarks
|
|
3062
|
-
* ##
|
|
3388
|
+
* ## Request description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.\\n.
|
|
3063
3389
|
*
|
|
3064
3390
|
* @param request - GetWorkspaceRequest
|
|
3065
3391
|
* @returns GetWorkspaceResponse
|
|
@@ -3070,10 +3396,10 @@ class Client extends openapi_core_1.default {
|
|
|
3070
3396
|
return await this.getWorkspaceWithOptions(workspaceId, request, headers, runtime);
|
|
3071
3397
|
}
|
|
3072
3398
|
/**
|
|
3073
|
-
* Queries the
|
|
3399
|
+
* Queries the RAM authorization URL for ACR in a workspace.
|
|
3074
3400
|
*
|
|
3075
3401
|
* @remarks
|
|
3076
|
-
* ACR and user OSS mounts share the
|
|
3402
|
+
* 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.
|
|
3077
3403
|
*
|
|
3078
3404
|
* @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
|
|
3079
3405
|
* @param headers - map
|
|
@@ -3110,10 +3436,10 @@ class Client extends openapi_core_1.default {
|
|
|
3110
3436
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceAcrRamAuthorizeUrlResponse({}));
|
|
3111
3437
|
}
|
|
3112
3438
|
/**
|
|
3113
|
-
* Queries the
|
|
3439
|
+
* Queries the RAM authorization URL for ACR in a workspace.
|
|
3114
3440
|
*
|
|
3115
3441
|
* @remarks
|
|
3116
|
-
* ACR and user OSS mounts share the
|
|
3442
|
+
* 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.
|
|
3117
3443
|
*
|
|
3118
3444
|
* @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
|
|
3119
3445
|
* @returns GetWorkspaceAcrRamAuthorizeUrlResponse
|
|
@@ -3127,7 +3453,7 @@ class Client extends openapi_core_1.default {
|
|
|
3127
3453
|
* Queries the RAM authorization URL for mounting AgenticFS in a workspace.
|
|
3128
3454
|
*
|
|
3129
3455
|
* @remarks
|
|
3130
|
-
*
|
|
3456
|
+
* Determines the account, region, and shared role based on the workspace, and concatenates the resource ARN based on the provided fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check the resource status, and returns an authorization URL that contains only the target NAS policy. After completing RAM authorization, you must call the verification API.
|
|
3131
3457
|
*
|
|
3132
3458
|
* @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
|
|
3133
3459
|
* @param headers - map
|
|
@@ -3167,7 +3493,7 @@ class Client extends openapi_core_1.default {
|
|
|
3167
3493
|
* Queries the RAM authorization URL for mounting AgenticFS in a workspace.
|
|
3168
3494
|
*
|
|
3169
3495
|
* @remarks
|
|
3170
|
-
*
|
|
3496
|
+
* Determines the account, region, and shared role based on the workspace, and concatenates the resource ARN based on the provided fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check the resource status, and returns an authorization URL that contains only the target NAS policy. After completing RAM authorization, you must call the verification API.
|
|
3171
3497
|
*
|
|
3172
3498
|
* @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
|
|
3173
3499
|
* @returns GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse
|
|
@@ -3282,10 +3608,10 @@ class Client extends openapi_core_1.default {
|
|
|
3282
3608
|
return await this.installMcpMarketItemWithOptions(workspaceId, marketItemId, request, headers, runtime);
|
|
3283
3609
|
}
|
|
3284
3610
|
/**
|
|
3285
|
-
* Installs a plugin for a specified AgentCore workspace. Currently
|
|
3611
|
+
* Installs a plugin for a specified AgentCore workspace. Currently, only the collaboration plugin is supported. The installation process runs asynchronously.
|
|
3286
3612
|
*
|
|
3287
3613
|
* @remarks
|
|
3288
|
-
* ##
|
|
3614
|
+
* ## Request description\\nInstalls a plugin for a specified AgentCore workspace. Currently, only the `collaboration` plugin is supported. Plugin configurations are passed through the `Config` parameter, and different plugins can define their own configuration structures. The `collaboration` plugin uses `Config.NetworkConfiguration` to specify the VPC and public network access policy. The installation procedure executes asynchronously. If you repeatedly invoke this operation for a plugin with the same name that is being installed or already installed, the operation returns the current status based on idempotent semantics if the configurations are identical. If the configurations are different, the operation returns an operation conflict.\\n
|
|
3289
3615
|
*
|
|
3290
3616
|
* @param tmpReq - InstallWorkspacePluginRequest
|
|
3291
3617
|
* @param headers - map
|
|
@@ -3326,10 +3652,10 @@ class Client extends openapi_core_1.default {
|
|
|
3326
3652
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallWorkspacePluginResponse({}));
|
|
3327
3653
|
}
|
|
3328
3654
|
/**
|
|
3329
|
-
* Installs a plugin for a specified AgentCore workspace. Currently
|
|
3655
|
+
* Installs a plugin for a specified AgentCore workspace. Currently, only the collaboration plugin is supported. The installation process runs asynchronously.
|
|
3330
3656
|
*
|
|
3331
3657
|
* @remarks
|
|
3332
|
-
* ##
|
|
3658
|
+
* ## Request description\\nInstalls a plugin for a specified AgentCore workspace. Currently, only the `collaboration` plugin is supported. Plugin configurations are passed through the `Config` parameter, and different plugins can define their own configuration structures. The `collaboration` plugin uses `Config.NetworkConfiguration` to specify the VPC and public network access policy. The installation procedure executes asynchronously. If you repeatedly invoke this operation for a plugin with the same name that is being installed or already installed, the operation returns the current status based on idempotent semantics if the configurations are identical. If the configurations are different, the operation returns an operation conflict.\\n
|
|
3333
3659
|
*
|
|
3334
3660
|
* @param request - InstallWorkspacePluginRequest
|
|
3335
3661
|
* @returns InstallWorkspacePluginResponse
|
|
@@ -3471,7 +3797,7 @@ class Client extends openapi_core_1.default {
|
|
|
3471
3797
|
return await this.listAgentSpecsWithOptions(workspaceId, request, headers, runtime);
|
|
3472
3798
|
}
|
|
3473
3799
|
/**
|
|
3474
|
-
* Queries the
|
|
3800
|
+
* Queries the teams to which specified agents belong. Specify the agent IDs by using agentIds to retrieve the membership information of each agent in the teams, including the team ID, team name, and the role of the agent in the team.
|
|
3475
3801
|
*
|
|
3476
3802
|
* @param tmpReq - ListAgentTeamsRequest
|
|
3477
3803
|
* @param headers - map
|
|
@@ -3507,7 +3833,7 @@ class Client extends openapi_core_1.default {
|
|
|
3507
3833
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgentTeamsResponse({}));
|
|
3508
3834
|
}
|
|
3509
3835
|
/**
|
|
3510
|
-
* Queries the
|
|
3836
|
+
* Queries the teams to which specified agents belong. Specify the agent IDs by using agentIds to retrieve the membership information of each agent in the teams, including the team ID, team name, and the role of the agent in the team.
|
|
3511
3837
|
*
|
|
3512
3838
|
* @param request - ListAgentTeamsRequest
|
|
3513
3839
|
* @returns ListAgentTeamsResponse
|
|
@@ -3623,10 +3949,10 @@ class Client extends openapi_core_1.default {
|
|
|
3623
3949
|
return await this.listConnectorsWithOptions(workspaceId, request, headers, runtime);
|
|
3624
3950
|
}
|
|
3625
3951
|
/**
|
|
3626
|
-
*
|
|
3952
|
+
* Performs a paged query for credentials in a specified workspace. Filters by type using credentialType, performs fuzzy filtering by credential name using nameLike, configures paging by specifying the maximum number of records per page using maxResults, and retrieves the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
|
|
3627
3953
|
*
|
|
3628
3954
|
* @remarks
|
|
3629
|
-
*
|
|
3955
|
+
* Performs a paged query for the credential list in a workspace, and supports filtering by type and name during paging.
|
|
3630
3956
|
*
|
|
3631
3957
|
* @param request - ListCredentialsRequest
|
|
3632
3958
|
* @param headers - map
|
|
@@ -3669,10 +3995,10 @@ class Client extends openapi_core_1.default {
|
|
|
3669
3995
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCredentialsResponse({}));
|
|
3670
3996
|
}
|
|
3671
3997
|
/**
|
|
3672
|
-
*
|
|
3998
|
+
* Performs a paged query for credentials in a specified workspace. Filters by type using credentialType, performs fuzzy filtering by credential name using nameLike, configures paging by specifying the maximum number of records per page using maxResults, and retrieves the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
|
|
3673
3999
|
*
|
|
3674
4000
|
* @remarks
|
|
3675
|
-
*
|
|
4001
|
+
* Performs a paged query for the credential list in a workspace, and supports filtering by type and name during paging.
|
|
3676
4002
|
*
|
|
3677
4003
|
* @param request - ListCredentialsRequest
|
|
3678
4004
|
* @returns ListCredentialsResponse
|
|
@@ -3683,11 +4009,11 @@ class Client extends openapi_core_1.default {
|
|
|
3683
4009
|
return await this.listCredentialsWithOptions(workspaceId, request, headers, runtime);
|
|
3684
4010
|
}
|
|
3685
4011
|
/**
|
|
3686
|
-
*
|
|
4012
|
+
* Queries the summaries of custom agents in a specified workspace by using paging. For the complete configuration and the execution results of the latest version, call GetCustomAgent.
|
|
3687
4013
|
*
|
|
3688
4014
|
* @remarks
|
|
3689
4015
|
* The default value of maxResults is 20, and the maximum value is 100. If this parameter is omitted or set to 0, the default value is used.
|
|
3690
|
-
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it
|
|
4016
|
+
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it. If the token in the response is empty, it indicates that no more pages are available.
|
|
3691
4017
|
* This operation returns the summaries of the current page and does not return the complete deployment configuration or the execution errors of the latest version. To obtain this information, call GetCustomAgent by using the agentId in items.
|
|
3692
4018
|
*
|
|
3693
4019
|
* @param request - ListCustomAgentsRequest
|
|
@@ -3722,11 +4048,11 @@ class Client extends openapi_core_1.default {
|
|
|
3722
4048
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomAgentsResponse({}));
|
|
3723
4049
|
}
|
|
3724
4050
|
/**
|
|
3725
|
-
*
|
|
4051
|
+
* Queries the summaries of custom agents in a specified workspace by using paging. For the complete configuration and the execution results of the latest version, call GetCustomAgent.
|
|
3726
4052
|
*
|
|
3727
4053
|
* @remarks
|
|
3728
4054
|
* The default value of maxResults is 20, and the maximum value is 100. If this parameter is omitted or set to 0, the default value is used.
|
|
3729
|
-
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it
|
|
4055
|
+
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it. If the token in the response is empty, it indicates that no more pages are available.
|
|
3730
4056
|
* This operation returns the summaries of the current page and does not return the complete deployment configuration or the execution errors of the latest version. To obtain this information, call GetCustomAgent by using the agentId in items.
|
|
3731
4057
|
*
|
|
3732
4058
|
* @param request - ListCustomAgentsRequest
|
|
@@ -3789,7 +4115,7 @@ class Client extends openapi_core_1.default {
|
|
|
3789
4115
|
return await this.listExternalAgentsWithOptions(workspaceId, request, headers, runtime);
|
|
3790
4116
|
}
|
|
3791
4117
|
/**
|
|
3792
|
-
* Queries the external identity
|
|
4118
|
+
* Queries the external identity providers bound to a specified workspace. Each workspace can be bound to at most one external identity provider, so the response returns at most one record. Application secret configurations are not returned.
|
|
3793
4119
|
*
|
|
3794
4120
|
* @param request - ListIdentityProvidersRequest
|
|
3795
4121
|
* @param headers - map
|
|
@@ -3823,7 +4149,7 @@ class Client extends openapi_core_1.default {
|
|
|
3823
4149
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListIdentityProvidersResponse({}));
|
|
3824
4150
|
}
|
|
3825
4151
|
/**
|
|
3826
|
-
* Queries the external identity
|
|
4152
|
+
* Queries the external identity providers bound to a specified workspace. Each workspace can be bound to at most one external identity provider, so the response returns at most one record. Application secret configurations are not returned.
|
|
3827
4153
|
*
|
|
3828
4154
|
* @param request - ListIdentityProvidersRequest
|
|
3829
4155
|
* @returns ListIdentityProvidersResponse
|
|
@@ -4065,6 +4391,234 @@ class Client extends openapi_core_1.default {
|
|
|
4065
4391
|
let headers = {};
|
|
4066
4392
|
return await this.listMcpsWithOptions(workspaceId, request, headers, runtime);
|
|
4067
4393
|
}
|
|
4394
|
+
/**
|
|
4395
|
+
* 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.
|
|
4396
|
+
*
|
|
4397
|
+
* @remarks
|
|
4398
|
+
* 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.
|
|
4399
|
+
*
|
|
4400
|
+
* @param request - ListMemoriesRequest
|
|
4401
|
+
* @param headers - map
|
|
4402
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4403
|
+
* @returns ListMemoriesResponse
|
|
4404
|
+
*/
|
|
4405
|
+
async listMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime) {
|
|
4406
|
+
request.validate();
|
|
4407
|
+
let query = {};
|
|
4408
|
+
if (!$dara.isNull(request.agentId)) {
|
|
4409
|
+
query["agentId"] = request.agentId;
|
|
4410
|
+
}
|
|
4411
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4412
|
+
query["maxResults"] = request.maxResults;
|
|
4413
|
+
}
|
|
4414
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4415
|
+
query["nextToken"] = request.nextToken;
|
|
4416
|
+
}
|
|
4417
|
+
if (!$dara.isNull(request.sessionId)) {
|
|
4418
|
+
query["sessionId"] = request.sessionId;
|
|
4419
|
+
}
|
|
4420
|
+
if (!$dara.isNull(request.userId)) {
|
|
4421
|
+
query["userId"] = request.userId;
|
|
4422
|
+
}
|
|
4423
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4424
|
+
headers: headers,
|
|
4425
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4426
|
+
});
|
|
4427
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4428
|
+
action: "ListMemories",
|
|
4429
|
+
version: "2026-08-04",
|
|
4430
|
+
protocol: "HTTPS",
|
|
4431
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories`,
|
|
4432
|
+
method: "GET",
|
|
4433
|
+
authType: "AK",
|
|
4434
|
+
style: "ROA",
|
|
4435
|
+
reqBodyType: "json",
|
|
4436
|
+
bodyType: "json",
|
|
4437
|
+
});
|
|
4438
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMemoriesResponse({}));
|
|
4439
|
+
}
|
|
4440
|
+
/**
|
|
4441
|
+
* 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.
|
|
4442
|
+
*
|
|
4443
|
+
* @remarks
|
|
4444
|
+
* 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.
|
|
4445
|
+
*
|
|
4446
|
+
* @param request - ListMemoriesRequest
|
|
4447
|
+
* @returns ListMemoriesResponse
|
|
4448
|
+
*/
|
|
4449
|
+
async listMemories(workspaceId, memoryStoreName, request) {
|
|
4450
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4451
|
+
let headers = {};
|
|
4452
|
+
return await this.listMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
4453
|
+
}
|
|
4454
|
+
/**
|
|
4455
|
+
* 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.
|
|
4456
|
+
*
|
|
4457
|
+
* @remarks
|
|
4458
|
+
* 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.
|
|
4459
|
+
*
|
|
4460
|
+
* @param request - ListMemorySessionMessagesRequest
|
|
4461
|
+
* @param headers - map
|
|
4462
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4463
|
+
* @returns ListMemorySessionMessagesResponse
|
|
4464
|
+
*/
|
|
4465
|
+
async listMemorySessionMessagesWithOptions(workspaceId, memoryStoreName, request, headers, runtime) {
|
|
4466
|
+
request.validate();
|
|
4467
|
+
let query = {};
|
|
4468
|
+
if (!$dara.isNull(request.agentId)) {
|
|
4469
|
+
query["agentId"] = request.agentId;
|
|
4470
|
+
}
|
|
4471
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4472
|
+
query["maxResults"] = request.maxResults;
|
|
4473
|
+
}
|
|
4474
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4475
|
+
query["nextToken"] = request.nextToken;
|
|
4476
|
+
}
|
|
4477
|
+
if (!$dara.isNull(request.sessionId)) {
|
|
4478
|
+
query["sessionId"] = request.sessionId;
|
|
4479
|
+
}
|
|
4480
|
+
if (!$dara.isNull(request.userId)) {
|
|
4481
|
+
query["userId"] = request.userId;
|
|
4482
|
+
}
|
|
4483
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4484
|
+
headers: headers,
|
|
4485
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4486
|
+
});
|
|
4487
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4488
|
+
action: "ListMemorySessionMessages",
|
|
4489
|
+
version: "2026-08-04",
|
|
4490
|
+
protocol: "HTTPS",
|
|
4491
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/messages`,
|
|
4492
|
+
method: "GET",
|
|
4493
|
+
authType: "AK",
|
|
4494
|
+
style: "ROA",
|
|
4495
|
+
reqBodyType: "json",
|
|
4496
|
+
bodyType: "json",
|
|
4497
|
+
});
|
|
4498
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMemorySessionMessagesResponse({}));
|
|
4499
|
+
}
|
|
4500
|
+
/**
|
|
4501
|
+
* 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.
|
|
4502
|
+
*
|
|
4503
|
+
* @remarks
|
|
4504
|
+
* 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.
|
|
4505
|
+
*
|
|
4506
|
+
* @param request - ListMemorySessionMessagesRequest
|
|
4507
|
+
* @returns ListMemorySessionMessagesResponse
|
|
4508
|
+
*/
|
|
4509
|
+
async listMemorySessionMessages(workspaceId, memoryStoreName, request) {
|
|
4510
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4511
|
+
let headers = {};
|
|
4512
|
+
return await this.listMemorySessionMessagesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
4513
|
+
}
|
|
4514
|
+
/**
|
|
4515
|
+
* Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
|
|
4516
|
+
*
|
|
4517
|
+
* @remarks
|
|
4518
|
+
* Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
|
|
4519
|
+
*
|
|
4520
|
+
* @param request - ListMemorySessionsRequest
|
|
4521
|
+
* @param headers - map
|
|
4522
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4523
|
+
* @returns ListMemorySessionsResponse
|
|
4524
|
+
*/
|
|
4525
|
+
async listMemorySessionsWithOptions(workspaceId, memoryStoreName, request, headers, runtime) {
|
|
4526
|
+
request.validate();
|
|
4527
|
+
let query = {};
|
|
4528
|
+
if (!$dara.isNull(request.agentId)) {
|
|
4529
|
+
query["agentId"] = request.agentId;
|
|
4530
|
+
}
|
|
4531
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4532
|
+
query["maxResults"] = request.maxResults;
|
|
4533
|
+
}
|
|
4534
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4535
|
+
query["nextToken"] = request.nextToken;
|
|
4536
|
+
}
|
|
4537
|
+
if (!$dara.isNull(request.userId)) {
|
|
4538
|
+
query["userId"] = request.userId;
|
|
4539
|
+
}
|
|
4540
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4541
|
+
headers: headers,
|
|
4542
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4543
|
+
});
|
|
4544
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4545
|
+
action: "ListMemorySessions",
|
|
4546
|
+
version: "2026-08-04",
|
|
4547
|
+
protocol: "HTTPS",
|
|
4548
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/sessions`,
|
|
4549
|
+
method: "GET",
|
|
4550
|
+
authType: "AK",
|
|
4551
|
+
style: "ROA",
|
|
4552
|
+
reqBodyType: "json",
|
|
4553
|
+
bodyType: "json",
|
|
4554
|
+
});
|
|
4555
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMemorySessionsResponse({}));
|
|
4556
|
+
}
|
|
4557
|
+
/**
|
|
4558
|
+
* Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
|
|
4559
|
+
*
|
|
4560
|
+
* @remarks
|
|
4561
|
+
* Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
|
|
4562
|
+
*
|
|
4563
|
+
* @param request - ListMemorySessionsRequest
|
|
4564
|
+
* @returns ListMemorySessionsResponse
|
|
4565
|
+
*/
|
|
4566
|
+
async listMemorySessions(workspaceId, memoryStoreName, request) {
|
|
4567
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4568
|
+
let headers = {};
|
|
4569
|
+
return await this.listMemorySessionsWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
4570
|
+
}
|
|
4571
|
+
/**
|
|
4572
|
+
* Queries MemoryStores in a specified workspace by using paging.
|
|
4573
|
+
*
|
|
4574
|
+
* @remarks
|
|
4575
|
+
* Queries MemoryStores in a specified workspace by using paging.
|
|
4576
|
+
*
|
|
4577
|
+
* @param request - ListMemoryStoresRequest
|
|
4578
|
+
* @param headers - map
|
|
4579
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4580
|
+
* @returns ListMemoryStoresResponse
|
|
4581
|
+
*/
|
|
4582
|
+
async listMemoryStoresWithOptions(workspaceId, request, headers, runtime) {
|
|
4583
|
+
request.validate();
|
|
4584
|
+
let query = {};
|
|
4585
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4586
|
+
query["maxResults"] = request.maxResults;
|
|
4587
|
+
}
|
|
4588
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4589
|
+
query["nextToken"] = request.nextToken;
|
|
4590
|
+
}
|
|
4591
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4592
|
+
headers: headers,
|
|
4593
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4594
|
+
});
|
|
4595
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4596
|
+
action: "ListMemoryStores",
|
|
4597
|
+
version: "2026-08-04",
|
|
4598
|
+
protocol: "HTTPS",
|
|
4599
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores`,
|
|
4600
|
+
method: "GET",
|
|
4601
|
+
authType: "AK",
|
|
4602
|
+
style: "ROA",
|
|
4603
|
+
reqBodyType: "json",
|
|
4604
|
+
bodyType: "json",
|
|
4605
|
+
});
|
|
4606
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMemoryStoresResponse({}));
|
|
4607
|
+
}
|
|
4608
|
+
/**
|
|
4609
|
+
* Queries MemoryStores in a specified workspace by using paging.
|
|
4610
|
+
*
|
|
4611
|
+
* @remarks
|
|
4612
|
+
* Queries MemoryStores in a specified workspace by using paging.
|
|
4613
|
+
*
|
|
4614
|
+
* @param request - ListMemoryStoresRequest
|
|
4615
|
+
* @returns ListMemoryStoresResponse
|
|
4616
|
+
*/
|
|
4617
|
+
async listMemoryStores(workspaceId, request) {
|
|
4618
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4619
|
+
let headers = {};
|
|
4620
|
+
return await this.listMemoryStoresWithOptions(workspaceId, request, headers, runtime);
|
|
4621
|
+
}
|
|
4068
4622
|
/**
|
|
4069
4623
|
* Queries model connections in a specified workspace with paging. Supports filtering by name, provider type, and invoke protocol.
|
|
4070
4624
|
*
|
|
@@ -4183,7 +4737,7 @@ class Client extends openapi_core_1.default {
|
|
|
4183
4737
|
return await this.listModelsWithOptions(workspaceId, request, headers, runtime);
|
|
4184
4738
|
}
|
|
4185
4739
|
/**
|
|
4186
|
-
*
|
|
4740
|
+
* Queries the providers supported by the built-in model catalog of AgentCore and their default service configurations.
|
|
4187
4741
|
*
|
|
4188
4742
|
* @param request - ListPredefinedModelProvidersRequest
|
|
4189
4743
|
* @param headers - map
|
|
@@ -4209,7 +4763,7 @@ class Client extends openapi_core_1.default {
|
|
|
4209
4763
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPredefinedModelProvidersResponse({}));
|
|
4210
4764
|
}
|
|
4211
4765
|
/**
|
|
4212
|
-
*
|
|
4766
|
+
* Queries the providers supported by the built-in model catalog of AgentCore and their default service configurations.
|
|
4213
4767
|
*
|
|
4214
4768
|
* @param request - ListPredefinedModelProvidersRequest
|
|
4215
4769
|
* @returns ListPredefinedModelProvidersResponse
|
|
@@ -4220,7 +4774,7 @@ class Client extends openapi_core_1.default {
|
|
|
4220
4774
|
return await this.listPredefinedModelProvidersWithOptions(request, headers, runtime);
|
|
4221
4775
|
}
|
|
4222
4776
|
/**
|
|
4223
|
-
* Queries the models and their
|
|
4777
|
+
* Queries the models and their capabilities in the built-in model catalog of AgentCore for a specified provider.
|
|
4224
4778
|
*
|
|
4225
4779
|
* @param request - ListPredefinedModelsRequest
|
|
4226
4780
|
* @param headers - map
|
|
@@ -4246,7 +4800,7 @@ class Client extends openapi_core_1.default {
|
|
|
4246
4800
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPredefinedModelsResponse({}));
|
|
4247
4801
|
}
|
|
4248
4802
|
/**
|
|
4249
|
-
* Queries the models and their
|
|
4803
|
+
* Queries the models and their capabilities in the built-in model catalog of AgentCore for a specified provider.
|
|
4250
4804
|
*
|
|
4251
4805
|
* @param request - ListPredefinedModelsRequest
|
|
4252
4806
|
* @returns ListPredefinedModelsResponse
|
|
@@ -4365,10 +4919,10 @@ class Client extends openapi_core_1.default {
|
|
|
4365
4919
|
return await this.listSandboxesWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
4366
4920
|
}
|
|
4367
4921
|
/**
|
|
4368
|
-
* Queries service endpoints in a specified workspace
|
|
4922
|
+
* Queries service endpoints in a specified workspace with paging and supports filtering by target type, agent, collaboration component, and status.
|
|
4369
4923
|
*
|
|
4370
4924
|
* @remarks
|
|
4371
|
-
* ##
|
|
4925
|
+
* ## Request description\\nQueries service endpoints in a specified workspace with paging. You can filter the results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page, and use nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
|
|
4372
4926
|
*
|
|
4373
4927
|
* @param request - ListServiceEndpointsRequest
|
|
4374
4928
|
* @param headers - map
|
|
@@ -4420,10 +4974,10 @@ class Client extends openapi_core_1.default {
|
|
|
4420
4974
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListServiceEndpointsResponse({}));
|
|
4421
4975
|
}
|
|
4422
4976
|
/**
|
|
4423
|
-
* Queries service endpoints in a specified workspace
|
|
4977
|
+
* Queries service endpoints in a specified workspace with paging and supports filtering by target type, agent, collaboration component, and status.
|
|
4424
4978
|
*
|
|
4425
4979
|
* @remarks
|
|
4426
|
-
* ##
|
|
4980
|
+
* ## Request description\\nQueries service endpoints in a specified workspace with paging. You can filter the results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page, and use nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
|
|
4427
4981
|
*
|
|
4428
4982
|
* @param request - ListServiceEndpointsRequest
|
|
4429
4983
|
* @returns ListServiceEndpointsResponse
|
|
@@ -4434,7 +4988,7 @@ class Client extends openapi_core_1.default {
|
|
|
4434
4988
|
return await this.listServiceEndpointsWithOptions(workspaceId, request, headers, runtime);
|
|
4435
4989
|
}
|
|
4436
4990
|
/**
|
|
4437
|
-
* Queries
|
|
4991
|
+
* Queries skill reference relationships.
|
|
4438
4992
|
*
|
|
4439
4993
|
* @param request - ListSkillReferencesRequest
|
|
4440
4994
|
* @param headers - map
|
|
@@ -4474,7 +5028,7 @@ class Client extends openapi_core_1.default {
|
|
|
4474
5028
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSkillReferencesResponse({}));
|
|
4475
5029
|
}
|
|
4476
5030
|
/**
|
|
4477
|
-
* Queries
|
|
5031
|
+
* Queries skill reference relationships.
|
|
4478
5032
|
*
|
|
4479
5033
|
* @param request - ListSkillReferencesRequest
|
|
4480
5034
|
* @returns ListSkillReferencesResponse
|
|
@@ -4559,7 +5113,7 @@ class Client extends openapi_core_1.default {
|
|
|
4559
5113
|
return await this.listSkillsWithOptions(workspaceId, request, headers, runtime);
|
|
4560
5114
|
}
|
|
4561
5115
|
/**
|
|
4562
|
-
*
|
|
5116
|
+
* Queries teams in a specified workspace by using paging. You can use nameLike to filter teams by fuzzy matching the team name, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. The member information in the list includes only the member identifier, name, and team role.
|
|
4563
5117
|
*
|
|
4564
5118
|
* @param request - ListTeamsRequest
|
|
4565
5119
|
* @param headers - map
|
|
@@ -4596,7 +5150,7 @@ class Client extends openapi_core_1.default {
|
|
|
4596
5150
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTeamsResponse({}));
|
|
4597
5151
|
}
|
|
4598
5152
|
/**
|
|
4599
|
-
*
|
|
5153
|
+
* Queries teams in a specified workspace by using paging. You can use nameLike to filter teams by fuzzy matching the team name, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. The member information in the list includes only the member identifier, name, and team role.
|
|
4600
5154
|
*
|
|
4601
5155
|
* @param request - ListTeamsRequest
|
|
4602
5156
|
* @returns ListTeamsResponse
|
|
@@ -4661,10 +5215,10 @@ class Client extends openapi_core_1.default {
|
|
|
4661
5215
|
return await this.listUsersWithOptions(workspaceId, request, headers, runtime);
|
|
4662
5216
|
}
|
|
4663
5217
|
/**
|
|
4664
|
-
*
|
|
5218
|
+
* Performs a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging.
|
|
4665
5219
|
*
|
|
4666
5220
|
* @remarks
|
|
4667
|
-
* ##
|
|
5221
|
+
* ## Request description\\nPerforms a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging. You can use nextToken to obtain the next page, skip to skip a specified number of workspaces, maxResults to specify the maximum number of records per page, and nameLike to perform fuzzy filtering by workspace name. If maxResults is not specified or is set to 0, the server returns 20 records by default.\\n
|
|
4668
5222
|
*
|
|
4669
5223
|
* @param request - ListWorkspacesRequest
|
|
4670
5224
|
* @param headers - map
|
|
@@ -4701,10 +5255,10 @@ class Client extends openapi_core_1.default {
|
|
|
4701
5255
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWorkspacesResponse({}));
|
|
4702
5256
|
}
|
|
4703
5257
|
/**
|
|
4704
|
-
*
|
|
5258
|
+
* Performs a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging.
|
|
4705
5259
|
*
|
|
4706
5260
|
* @remarks
|
|
4707
|
-
* ##
|
|
5261
|
+
* ## Request description\\nPerforms a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging. You can use nextToken to obtain the next page, skip to skip a specified number of workspaces, maxResults to specify the maximum number of records per page, and nameLike to perform fuzzy filtering by workspace name. If maxResults is not specified or is set to 0, the server returns 20 records by default.\\n
|
|
4708
5262
|
*
|
|
4709
5263
|
* @param request - ListWorkspacesRequest
|
|
4710
5264
|
* @returns ListWorkspacesResponse
|
|
@@ -4990,7 +5544,7 @@ class Client extends openapi_core_1.default {
|
|
|
4990
5544
|
return await this.redraftSkillVersionWithOptions(workspaceId, skillName, skillVersion, request, headers, runtime);
|
|
4991
5545
|
}
|
|
4992
5546
|
/**
|
|
4993
|
-
* Resets the logon password of a specified user.
|
|
5547
|
+
* Resets the logon password of a specified user. You can specify the user by using agentCoreUserId or username, and you must specify at least one of them. This operation only supports resetting passwords for users who use local password authentication in the workspace. If you do not specify the password parameter, the server generates a random password and returns it in the response.
|
|
4994
5548
|
*
|
|
4995
5549
|
* @param tmpReq - ResetUserPasswordRequest
|
|
4996
5550
|
* @param headers - map
|
|
@@ -5026,7 +5580,7 @@ class Client extends openapi_core_1.default {
|
|
|
5026
5580
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResetUserPasswordResponse({}));
|
|
5027
5581
|
}
|
|
5028
5582
|
/**
|
|
5029
|
-
* Resets the logon password of a specified user.
|
|
5583
|
+
* Resets the logon password of a specified user. You can specify the user by using agentCoreUserId or username, and you must specify at least one of them. This operation only supports resetting passwords for users who use local password authentication in the workspace. If you do not specify the password parameter, the server generates a random password and returns it in the response.
|
|
5030
5584
|
*
|
|
5031
5585
|
* @param request - ResetUserPasswordRequest
|
|
5032
5586
|
* @returns ResetUserPasswordResponse
|
|
@@ -5037,11 +5591,64 @@ class Client extends openapi_core_1.default {
|
|
|
5037
5591
|
return await this.resetUserPasswordWithOptions(workspaceId, request, headers, runtime);
|
|
5038
5592
|
}
|
|
5039
5593
|
/**
|
|
5040
|
-
*
|
|
5594
|
+
* Retrieves long-term memory from a MemoryStore based on semantics queries.
|
|
5041
5595
|
*
|
|
5042
5596
|
* @remarks
|
|
5043
|
-
*
|
|
5044
|
-
*
|
|
5597
|
+
* Retrieves long-term memory from a MemoryStore based on semantics queries.
|
|
5598
|
+
*
|
|
5599
|
+
* @param tmpReq - SearchMemoriesRequest
|
|
5600
|
+
* @param headers - map
|
|
5601
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5602
|
+
* @returns SearchMemoriesResponse
|
|
5603
|
+
*/
|
|
5604
|
+
async searchMemoriesWithOptions(workspaceId, memoryStoreName, tmpReq, headers, runtime) {
|
|
5605
|
+
tmpReq.validate();
|
|
5606
|
+
let request = new $_model.SearchMemoriesShrinkRequest({});
|
|
5607
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
5608
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
5609
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
5610
|
+
}
|
|
5611
|
+
let body = {};
|
|
5612
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
5613
|
+
body["body"] = request.bodyShrink;
|
|
5614
|
+
}
|
|
5615
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5616
|
+
headers: headers,
|
|
5617
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
5618
|
+
});
|
|
5619
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5620
|
+
action: "SearchMemories",
|
|
5621
|
+
version: "2026-08-04",
|
|
5622
|
+
protocol: "HTTPS",
|
|
5623
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/search`,
|
|
5624
|
+
method: "POST",
|
|
5625
|
+
authType: "AK",
|
|
5626
|
+
style: "ROA",
|
|
5627
|
+
reqBodyType: "formData",
|
|
5628
|
+
bodyType: "json",
|
|
5629
|
+
});
|
|
5630
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchMemoriesResponse({}));
|
|
5631
|
+
}
|
|
5632
|
+
/**
|
|
5633
|
+
* Retrieves long-term memory from a MemoryStore based on semantics queries.
|
|
5634
|
+
*
|
|
5635
|
+
* @remarks
|
|
5636
|
+
* Retrieves long-term memory from a MemoryStore based on semantics queries.
|
|
5637
|
+
*
|
|
5638
|
+
* @param request - SearchMemoriesRequest
|
|
5639
|
+
* @returns SearchMemoriesResponse
|
|
5640
|
+
*/
|
|
5641
|
+
async searchMemories(workspaceId, memoryStoreName, request) {
|
|
5642
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5643
|
+
let headers = {};
|
|
5644
|
+
return await this.searchMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
5645
|
+
}
|
|
5646
|
+
/**
|
|
5647
|
+
* Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
|
|
5648
|
+
*
|
|
5649
|
+
* @remarks
|
|
5650
|
+
* ## Request description
|
|
5651
|
+
* Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
|
|
5045
5652
|
*
|
|
5046
5653
|
* @param tmpReq - SubmitAgentSpecVersionRequest
|
|
5047
5654
|
* @param headers - map
|
|
@@ -5077,11 +5684,11 @@ class Client extends openapi_core_1.default {
|
|
|
5077
5684
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SubmitAgentSpecVersionResponse({}));
|
|
5078
5685
|
}
|
|
5079
5686
|
/**
|
|
5080
|
-
* Submits a specified
|
|
5687
|
+
* Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
|
|
5081
5688
|
*
|
|
5082
5689
|
* @remarks
|
|
5083
|
-
* ##
|
|
5084
|
-
* Submits a specified
|
|
5690
|
+
* ## Request description
|
|
5691
|
+
* Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
|
|
5085
5692
|
*
|
|
5086
5693
|
* @param request - SubmitAgentSpecVersionRequest
|
|
5087
5694
|
* @returns SubmitAgentSpecVersionResponse
|
|
@@ -5147,10 +5754,10 @@ class Client extends openapi_core_1.default {
|
|
|
5147
5754
|
return await this.submitSkillVersionWithOptions(workspaceId, skillName, skillVersion, request, headers, runtime);
|
|
5148
5755
|
}
|
|
5149
5756
|
/**
|
|
5150
|
-
* Updates the ServiceEndpoint
|
|
5757
|
+
* Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
|
|
5151
5758
|
*
|
|
5152
5759
|
* @remarks
|
|
5153
|
-
* Updates the ServiceEndpoint
|
|
5760
|
+
* Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
|
|
5154
5761
|
*
|
|
5155
5762
|
* @param tmpReq - UpdateAgentIMChannelRequest
|
|
5156
5763
|
* @param headers - map
|
|
@@ -5191,10 +5798,10 @@ class Client extends openapi_core_1.default {
|
|
|
5191
5798
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAgentIMChannelResponse({}));
|
|
5192
5799
|
}
|
|
5193
5800
|
/**
|
|
5194
|
-
* Updates the ServiceEndpoint
|
|
5801
|
+
* Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
|
|
5195
5802
|
*
|
|
5196
5803
|
* @remarks
|
|
5197
|
-
* Updates the ServiceEndpoint
|
|
5804
|
+
* Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
|
|
5198
5805
|
*
|
|
5199
5806
|
* @param request - UpdateAgentIMChannelRequest
|
|
5200
5807
|
* @returns UpdateAgentIMChannelResponse
|
|
@@ -5205,10 +5812,10 @@ class Client extends openapi_core_1.default {
|
|
|
5205
5812
|
return await this.updateAgentIMChannelWithOptions(workspaceId, agentId, imChannelId, request, headers, runtime);
|
|
5206
5813
|
}
|
|
5207
5814
|
/**
|
|
5208
|
-
*
|
|
5815
|
+
* Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
|
|
5209
5816
|
*
|
|
5210
5817
|
* @remarks
|
|
5211
|
-
*
|
|
5818
|
+
* Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
|
|
5212
5819
|
*
|
|
5213
5820
|
* @param tmpReq - UpdateAgentIMChannelCredentialRequest
|
|
5214
5821
|
* @param headers - map
|
|
@@ -5249,10 +5856,10 @@ class Client extends openapi_core_1.default {
|
|
|
5249
5856
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAgentIMChannelCredentialResponse({}));
|
|
5250
5857
|
}
|
|
5251
5858
|
/**
|
|
5252
|
-
*
|
|
5859
|
+
* Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
|
|
5253
5860
|
*
|
|
5254
5861
|
* @remarks
|
|
5255
|
-
*
|
|
5862
|
+
* Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
|
|
5256
5863
|
*
|
|
5257
5864
|
* @param request - UpdateAgentIMChannelCredentialRequest
|
|
5258
5865
|
* @returns UpdateAgentIMChannelCredentialResponse
|
|
@@ -5371,10 +5978,10 @@ class Client extends openapi_core_1.default {
|
|
|
5371
5978
|
return await this.updateConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
|
|
5372
5979
|
}
|
|
5373
5980
|
/**
|
|
5374
|
-
* Updates the content or description of a specified credential.
|
|
5981
|
+
* Updates the content or description of a specified credential. You must specify at least one of credentialMetadata and description. Unspecified attributes remain unchanged. The credential name and credential type cannot be modified after creation.
|
|
5375
5982
|
*
|
|
5376
5983
|
* @remarks
|
|
5377
|
-
* Updates the metadata or
|
|
5984
|
+
* Updates the metadata or application scope of a specified credential.
|
|
5378
5985
|
*
|
|
5379
5986
|
* @param tmpReq - UpdateCredentialRequest
|
|
5380
5987
|
* @param headers - map
|
|
@@ -5415,10 +6022,10 @@ class Client extends openapi_core_1.default {
|
|
|
5415
6022
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCredentialResponse({}));
|
|
5416
6023
|
}
|
|
5417
6024
|
/**
|
|
5418
|
-
* Updates the content or description of a specified credential.
|
|
6025
|
+
* Updates the content or description of a specified credential. You must specify at least one of credentialMetadata and description. Unspecified attributes remain unchanged. The credential name and credential type cannot be modified after creation.
|
|
5419
6026
|
*
|
|
5420
6027
|
* @remarks
|
|
5421
|
-
* Updates the metadata or
|
|
6028
|
+
* Updates the metadata or application scope of a specified credential.
|
|
5422
6029
|
*
|
|
5423
6030
|
* @param request - UpdateCredentialRequest
|
|
5424
6031
|
* @returns UpdateCredentialResponse
|
|
@@ -5432,10 +6039,10 @@ class Client extends openapi_core_1.default {
|
|
|
5432
6039
|
* Updates the configuration of a specified custom agent in a workspace and executes the update asynchronously. Omitted top-level fields retain their original configurations. You can call the GetCustomAgent operation to query the update result.
|
|
5433
6040
|
*
|
|
5434
6041
|
* @remarks
|
|
5435
|
-
* 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
|
|
6042
|
+
* 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.
|
|
5436
6043
|
* 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.
|
|
5437
|
-
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or
|
|
5438
|
-
* The update is an asynchronous process. A successful response indicates that the request is accepted.
|
|
6044
|
+
* 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.
|
|
6045
|
+
* The update is an asynchronous process. A successful response indicates that the request is accepted. You can call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
|
|
5439
6046
|
* The clientToken field currently does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold field for health checks currently does not take effect. Omit this field.
|
|
5440
6047
|
*
|
|
5441
6048
|
* @param tmpReq - UpdateCustomAgentRequest
|
|
@@ -5480,10 +6087,10 @@ class Client extends openapi_core_1.default {
|
|
|
5480
6087
|
* Updates the configuration of a specified custom agent in a workspace and executes the update asynchronously. Omitted top-level fields retain their original configurations. You can call the GetCustomAgent operation to query the update result.
|
|
5481
6088
|
*
|
|
5482
6089
|
* @remarks
|
|
5483
|
-
* 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
|
|
6090
|
+
* 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.
|
|
5484
6091
|
* 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.
|
|
5485
|
-
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or
|
|
5486
|
-
* The update is an asynchronous process. A successful response indicates that the request is accepted.
|
|
6092
|
+
* 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.
|
|
6093
|
+
* The update is an asynchronous process. A successful response indicates that the request is accepted. You can call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
|
|
5487
6094
|
* The clientToken field currently does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold field for health checks currently does not take effect. Omit this field.
|
|
5488
6095
|
*
|
|
5489
6096
|
* @param request - UpdateCustomAgentRequest
|
|
@@ -5773,12 +6380,123 @@ class Client extends openapi_core_1.default {
|
|
|
5773
6380
|
return await this.updateMcpTemplateConfigWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
5774
6381
|
}
|
|
5775
6382
|
/**
|
|
5776
|
-
* Updates the
|
|
6383
|
+
* Updates the long-term memory text or metadata based on the memory ID.
|
|
5777
6384
|
*
|
|
5778
6385
|
* @remarks
|
|
5779
|
-
*
|
|
5780
|
-
*
|
|
5781
|
-
*
|
|
6386
|
+
* Updates the long-term memory text or metadata based on the memory ID.
|
|
6387
|
+
*
|
|
6388
|
+
* @param tmpReq - UpdateMemoryRequest
|
|
6389
|
+
* @param headers - map
|
|
6390
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6391
|
+
* @returns UpdateMemoryResponse
|
|
6392
|
+
*/
|
|
6393
|
+
async updateMemoryWithOptions(workspaceId, memoryStoreName, memoryId, tmpReq, headers, runtime) {
|
|
6394
|
+
tmpReq.validate();
|
|
6395
|
+
let request = new $_model.UpdateMemoryShrinkRequest({});
|
|
6396
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
6397
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
6398
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
6399
|
+
}
|
|
6400
|
+
let body = {};
|
|
6401
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
6402
|
+
body["body"] = request.bodyShrink;
|
|
6403
|
+
}
|
|
6404
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6405
|
+
headers: headers,
|
|
6406
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6407
|
+
});
|
|
6408
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6409
|
+
action: "UpdateMemory",
|
|
6410
|
+
version: "2026-08-04",
|
|
6411
|
+
protocol: "HTTPS",
|
|
6412
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
|
|
6413
|
+
method: "PUT",
|
|
6414
|
+
authType: "AK",
|
|
6415
|
+
style: "ROA",
|
|
6416
|
+
reqBodyType: "formData",
|
|
6417
|
+
bodyType: "json",
|
|
6418
|
+
});
|
|
6419
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMemoryResponse({}));
|
|
6420
|
+
}
|
|
6421
|
+
/**
|
|
6422
|
+
* Updates the long-term memory text or metadata based on the memory ID.
|
|
6423
|
+
*
|
|
6424
|
+
* @remarks
|
|
6425
|
+
* Updates the long-term memory text or metadata based on the memory ID.
|
|
6426
|
+
*
|
|
6427
|
+
* @param request - UpdateMemoryRequest
|
|
6428
|
+
* @returns UpdateMemoryResponse
|
|
6429
|
+
*/
|
|
6430
|
+
async updateMemory(workspaceId, memoryStoreName, memoryId, request) {
|
|
6431
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6432
|
+
let headers = {};
|
|
6433
|
+
return await this.updateMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
|
|
6434
|
+
}
|
|
6435
|
+
/**
|
|
6436
|
+
* Updates a memory store.
|
|
6437
|
+
*
|
|
6438
|
+
* @remarks
|
|
6439
|
+
* Updates a memory store.
|
|
6440
|
+
*
|
|
6441
|
+
* @param tmpReq - UpdateMemoryStoreRequest
|
|
6442
|
+
* @param headers - map
|
|
6443
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6444
|
+
* @returns UpdateMemoryStoreResponse
|
|
6445
|
+
*/
|
|
6446
|
+
async updateMemoryStoreWithOptions(workspaceId, memoryStoreName, tmpReq, headers, runtime) {
|
|
6447
|
+
tmpReq.validate();
|
|
6448
|
+
let request = new $_model.UpdateMemoryStoreShrinkRequest({});
|
|
6449
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
6450
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
6451
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
6452
|
+
}
|
|
6453
|
+
let query = {};
|
|
6454
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
6455
|
+
query["clientToken"] = request.clientToken;
|
|
6456
|
+
}
|
|
6457
|
+
let body = {};
|
|
6458
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
6459
|
+
body["body"] = request.bodyShrink;
|
|
6460
|
+
}
|
|
6461
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6462
|
+
headers: headers,
|
|
6463
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6464
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6465
|
+
});
|
|
6466
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6467
|
+
action: "UpdateMemoryStore",
|
|
6468
|
+
version: "2026-08-04",
|
|
6469
|
+
protocol: "HTTPS",
|
|
6470
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
|
|
6471
|
+
method: "PUT",
|
|
6472
|
+
authType: "AK",
|
|
6473
|
+
style: "ROA",
|
|
6474
|
+
reqBodyType: "formData",
|
|
6475
|
+
bodyType: "json",
|
|
6476
|
+
});
|
|
6477
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMemoryStoreResponse({}));
|
|
6478
|
+
}
|
|
6479
|
+
/**
|
|
6480
|
+
* Updates a memory store.
|
|
6481
|
+
*
|
|
6482
|
+
* @remarks
|
|
6483
|
+
* Updates a memory store.
|
|
6484
|
+
*
|
|
6485
|
+
* @param request - UpdateMemoryStoreRequest
|
|
6486
|
+
* @returns UpdateMemoryStoreResponse
|
|
6487
|
+
*/
|
|
6488
|
+
async updateMemoryStore(workspaceId, memoryStoreName, request) {
|
|
6489
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6490
|
+
let headers = {};
|
|
6491
|
+
return await this.updateMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
6492
|
+
}
|
|
6493
|
+
/**
|
|
6494
|
+
* Updates the description, context token limit, maximum output token count, or capability configurations of a specified model.
|
|
6495
|
+
*
|
|
6496
|
+
* @remarks
|
|
6497
|
+
* 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.
|
|
6498
|
+
* 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.
|
|
6499
|
+
* A successful response indicates that the model configuration has been saved, but does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. You can call GetModel to query the saved model configuration.
|
|
5782
6500
|
*
|
|
5783
6501
|
* @param tmpReq - UpdateModelRequest
|
|
5784
6502
|
* @param headers - map
|
|
@@ -5819,12 +6537,12 @@ class Client extends openapi_core_1.default {
|
|
|
5819
6537
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateModelResponse({}));
|
|
5820
6538
|
}
|
|
5821
6539
|
/**
|
|
5822
|
-
* Updates the description, context token limit, maximum output token count, or capability
|
|
6540
|
+
* Updates the description, context token limit, maximum output token count, or capability configurations of a specified model.
|
|
5823
6541
|
*
|
|
5824
6542
|
* @remarks
|
|
5825
|
-
* This operation supports updating description, contextSize, maxTokens, and capabilities.
|
|
5826
|
-
* Modifying only description does not refresh the model
|
|
5827
|
-
* A successful response indicates that the model configuration has been saved
|
|
6543
|
+
* 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.
|
|
6544
|
+
* 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.
|
|
6545
|
+
* A successful response indicates that the model configuration has been saved, but does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. You can call GetModel to query the saved model configuration.
|
|
5828
6546
|
*
|
|
5829
6547
|
* @param request - UpdateModelRequest
|
|
5830
6548
|
* @returns UpdateModelResponse
|
|
@@ -5835,7 +6553,7 @@ class Client extends openapi_core_1.default {
|
|
|
5835
6553
|
return await this.updateModelWithOptions(workspaceId, modelId, request, headers, runtime);
|
|
5836
6554
|
}
|
|
5837
6555
|
/**
|
|
5838
|
-
* Updates the mutable
|
|
6556
|
+
* Updates the mutable configurations of a specified model connection and resubmits the publish task. The invocation protocol cannot be modified after creation.
|
|
5839
6557
|
*
|
|
5840
6558
|
* @param tmpReq - UpdateModelConnectionRequest
|
|
5841
6559
|
* @param headers - map
|
|
@@ -5876,7 +6594,7 @@ class Client extends openapi_core_1.default {
|
|
|
5876
6594
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateModelConnectionResponse({}));
|
|
5877
6595
|
}
|
|
5878
6596
|
/**
|
|
5879
|
-
* Updates the mutable
|
|
6597
|
+
* Updates the mutable configurations of a specified model connection and resubmits the publish task. The invocation protocol cannot be modified after creation.
|
|
5880
6598
|
*
|
|
5881
6599
|
* @param request - UpdateModelConnectionRequest
|
|
5882
6600
|
* @returns UpdateModelConnectionResponse
|
|
@@ -5887,11 +6605,11 @@ class Client extends openapi_core_1.default {
|
|
|
5887
6605
|
return await this.updateModelConnectionWithOptions(workspaceId, connectionId, request, headers, runtime);
|
|
5888
6606
|
}
|
|
5889
6607
|
/**
|
|
5890
|
-
* Updates the business tags of a specified
|
|
6608
|
+
* Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
|
|
5891
6609
|
*
|
|
5892
6610
|
* @remarks
|
|
5893
|
-
* ##
|
|
5894
|
-
* Updates the business tags of a specified
|
|
6611
|
+
* ## Request description
|
|
6612
|
+
* Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
|
|
5895
6613
|
*
|
|
5896
6614
|
* @param tmpReq - UpdateSkillBizTagsRequest
|
|
5897
6615
|
* @param headers - map
|
|
@@ -5927,11 +6645,11 @@ class Client extends openapi_core_1.default {
|
|
|
5927
6645
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateSkillBizTagsResponse({}));
|
|
5928
6646
|
}
|
|
5929
6647
|
/**
|
|
5930
|
-
* Updates the business tags of a specified
|
|
6648
|
+
* Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
|
|
5931
6649
|
*
|
|
5932
6650
|
* @remarks
|
|
5933
|
-
* ##
|
|
5934
|
-
* Updates the business tags of a specified
|
|
6651
|
+
* ## Request description
|
|
6652
|
+
* Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
|
|
5935
6653
|
*
|
|
5936
6654
|
* @param request - UpdateSkillBizTagsRequest
|
|
5937
6655
|
* @returns UpdateSkillBizTagsResponse
|
|
@@ -6052,7 +6770,7 @@ class Client extends openapi_core_1.default {
|
|
|
6052
6770
|
return await this.updateSkillScopeWithOptions(workspaceId, skillName, request, headers, runtime);
|
|
6053
6771
|
}
|
|
6054
6772
|
/**
|
|
6055
|
-
* Updates the description and members of a specified team. When users or agents are passed
|
|
6773
|
+
* Updates the description and members of a specified team. When users or agents are passed, the corresponding member list is replaced based on full overwrite semantics. Member lists that are not passed remain unchanged. The team name cannot be modified after creation.
|
|
6056
6774
|
*
|
|
6057
6775
|
* @param tmpReq - UpdateTeamRequest
|
|
6058
6776
|
* @param headers - map
|
|
@@ -6093,7 +6811,7 @@ class Client extends openapi_core_1.default {
|
|
|
6093
6811
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateTeamResponse({}));
|
|
6094
6812
|
}
|
|
6095
6813
|
/**
|
|
6096
|
-
* Updates the description and members of a specified team. When users or agents are passed
|
|
6814
|
+
* Updates the description and members of a specified team. When users or agents are passed, the corresponding member list is replaced based on full overwrite semantics. Member lists that are not passed remain unchanged. The team name cannot be modified after creation.
|
|
6097
6815
|
*
|
|
6098
6816
|
* @param request - UpdateTeamRequest
|
|
6099
6817
|
* @returns UpdateTeamResponse
|
|
@@ -6104,7 +6822,7 @@ class Client extends openapi_core_1.default {
|
|
|
6104
6822
|
return await this.updateTeamWithOptions(workspaceId, teamId, request, headers, runtime);
|
|
6105
6823
|
}
|
|
6106
6824
|
/**
|
|
6107
|
-
* Updates the display name, email address, or note of a specified user.
|
|
6825
|
+
* Updates the display name, email address, or note of a specified user. You must specify at least one of the displayName, email, and note parameters. Unspecified attributes remain unchanged. The username cannot be modified after creation.
|
|
6108
6826
|
*
|
|
6109
6827
|
* @param tmpReq - UpdateUserRequest
|
|
6110
6828
|
* @param headers - map
|
|
@@ -6145,7 +6863,7 @@ class Client extends openapi_core_1.default {
|
|
|
6145
6863
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateUserResponse({}));
|
|
6146
6864
|
}
|
|
6147
6865
|
/**
|
|
6148
|
-
* Updates the display name, email address, or note of a specified user.
|
|
6866
|
+
* Updates the display name, email address, or note of a specified user. You must specify at least one of the displayName, email, and note parameters. Unspecified attributes remain unchanged. The username cannot be modified after creation.
|
|
6149
6867
|
*
|
|
6150
6868
|
* @param request - UpdateUserRequest
|
|
6151
6869
|
* @returns UpdateUserResponse
|
|
@@ -6156,10 +6874,10 @@ class Client extends openapi_core_1.default {
|
|
|
6156
6874
|
return await this.updateUserWithOptions(workspaceId, agentCoreUserId, request, headers, runtime);
|
|
6157
6875
|
}
|
|
6158
6876
|
/**
|
|
6159
|
-
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized
|
|
6877
|
+
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this API operation.
|
|
6160
6878
|
*
|
|
6161
6879
|
* @remarks
|
|
6162
|
-
* ##
|
|
6880
|
+
* ## Request description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` state can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this API operation. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
6163
6881
|
*
|
|
6164
6882
|
* @param tmpReq - UpdateWorkspaceRequest
|
|
6165
6883
|
* @param headers - map
|
|
@@ -6200,10 +6918,10 @@ class Client extends openapi_core_1.default {
|
|
|
6200
6918
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWorkspaceResponse({}));
|
|
6201
6919
|
}
|
|
6202
6920
|
/**
|
|
6203
|
-
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized
|
|
6921
|
+
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this API operation.
|
|
6204
6922
|
*
|
|
6205
6923
|
* @remarks
|
|
6206
|
-
* ##
|
|
6924
|
+
* ## Request description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` state can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this API operation. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
6207
6925
|
*
|
|
6208
6926
|
* @param request - UpdateWorkspaceRequest
|
|
6209
6927
|
* @returns UpdateWorkspaceResponse
|
|
@@ -6214,11 +6932,11 @@ class Client extends openapi_core_1.default {
|
|
|
6214
6932
|
return await this.updateWorkspaceWithOptions(workspaceId, request, headers, runtime);
|
|
6215
6933
|
}
|
|
6216
6934
|
/**
|
|
6217
|
-
*
|
|
6935
|
+
* Imports an AgentSpec into the current workspace by retrieving and parsing an uploaded AgentSpec ZIP package from OSS.
|
|
6218
6936
|
*
|
|
6219
6937
|
* @remarks
|
|
6220
|
-
* ##
|
|
6221
|
-
* Retrieves an uploaded AgentSpec ZIP package from OSS, parses
|
|
6938
|
+
* ## Request description
|
|
6939
|
+
* Retrieves an uploaded AgentSpec ZIP package from OSS, parses the package, and imports the AgentSpec into the current workspace.
|
|
6222
6940
|
*
|
|
6223
6941
|
* @param tmpReq - UploadAgentSpecViaOssRequest
|
|
6224
6942
|
* @param headers - map
|
|
@@ -6254,11 +6972,11 @@ class Client extends openapi_core_1.default {
|
|
|
6254
6972
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UploadAgentSpecViaOssResponse({}));
|
|
6255
6973
|
}
|
|
6256
6974
|
/**
|
|
6257
|
-
*
|
|
6975
|
+
* Imports an AgentSpec into the current workspace by retrieving and parsing an uploaded AgentSpec ZIP package from OSS.
|
|
6258
6976
|
*
|
|
6259
6977
|
* @remarks
|
|
6260
|
-
* ##
|
|
6261
|
-
* Retrieves an uploaded AgentSpec ZIP package from OSS, parses
|
|
6978
|
+
* ## Request description
|
|
6979
|
+
* Retrieves an uploaded AgentSpec ZIP package from OSS, parses the package, and imports the AgentSpec into the current workspace.
|
|
6262
6980
|
*
|
|
6263
6981
|
* @param request - UploadAgentSpecViaOssRequest
|
|
6264
6982
|
* @returns UploadAgentSpecViaOssResponse
|
|
@@ -6377,10 +7095,10 @@ class Client extends openapi_core_1.default {
|
|
|
6377
7095
|
return await this.verifyConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
|
|
6378
7096
|
}
|
|
6379
7097
|
/**
|
|
6380
|
-
* Verifies the ACR RAM authorization
|
|
7098
|
+
* Verifies the ACR RAM authorization for a workspace.
|
|
6381
7099
|
*
|
|
6382
7100
|
* @remarks
|
|
6383
|
-
* ACR and user OSS mounts share the
|
|
7101
|
+
* 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.
|
|
6384
7102
|
*
|
|
6385
7103
|
* @param request - VerifyWorkspaceAcrRamAuthorizationRequest
|
|
6386
7104
|
* @param headers - map
|
|
@@ -6417,10 +7135,10 @@ class Client extends openapi_core_1.default {
|
|
|
6417
7135
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.VerifyWorkspaceAcrRamAuthorizationResponse({}));
|
|
6418
7136
|
}
|
|
6419
7137
|
/**
|
|
6420
|
-
* Verifies the ACR RAM authorization
|
|
7138
|
+
* Verifies the ACR RAM authorization for a workspace.
|
|
6421
7139
|
*
|
|
6422
7140
|
* @remarks
|
|
6423
|
-
* ACR and user OSS mounts share the
|
|
7141
|
+
* 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.
|
|
6424
7142
|
*
|
|
6425
7143
|
* @param request - VerifyWorkspaceAcrRamAuthorizationRequest
|
|
6426
7144
|
* @returns VerifyWorkspaceAcrRamAuthorizationResponse
|