@alicloud/agentloop20260520 2.6.1 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/dist/client.d.ts +54 -12
  2. package/dist/client.js +165 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateContextStoreRequest.d.ts +1 -1
  5. package/dist/models/CreateEvaluationTaskRequest.d.ts +1 -1
  6. package/dist/models/CreateEvaluatorRequest.d.ts +109 -12
  7. package/dist/models/CreateEvaluatorRequest.js +59 -1
  8. package/dist/models/CreateEvaluatorRequest.js.map +1 -1
  9. package/dist/models/CreateEvaluatorResponseBody.d.ts +2 -2
  10. package/dist/models/CreateEvaluatorSkillRequest.d.ts +15 -7
  11. package/dist/models/CreateEvaluatorSkillRequest.js +2 -0
  12. package/dist/models/CreateEvaluatorSkillRequest.js.map +1 -1
  13. package/dist/models/CreateExperimentPlanRequest.d.ts +1 -1
  14. package/dist/models/CreateMultiModalTaskRequest.d.ts +77 -0
  15. package/dist/models/CreateMultiModalTaskRequest.js +73 -0
  16. package/dist/models/CreateMultiModalTaskRequest.js.map +1 -0
  17. package/dist/models/CreateMultiModalTaskResponse.d.ts +19 -0
  18. package/dist/models/CreateMultiModalTaskResponse.js +69 -0
  19. package/dist/models/CreateMultiModalTaskResponse.js.map +1 -0
  20. package/dist/models/CreateMultiModalTaskResponseBody.d.ts +45 -0
  21. package/dist/models/CreateMultiModalTaskResponseBody.js +64 -0
  22. package/dist/models/CreateMultiModalTaskResponseBody.js.map +1 -0
  23. package/dist/models/CreateOptimizeTaskRequest.d.ts +1 -1
  24. package/dist/models/CreatePipelineRequest.d.ts +44 -36
  25. package/dist/models/CreatePipelineRequest.js +2 -0
  26. package/dist/models/CreatePipelineRequest.js.map +1 -1
  27. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  28. package/dist/models/DataFilter.d.ts +1 -1
  29. package/dist/models/DeleteEvaluatorSkillRequest.d.ts +9 -1
  30. package/dist/models/DeleteEvaluatorSkillRequest.js +2 -0
  31. package/dist/models/DeleteEvaluatorSkillRequest.js.map +1 -1
  32. package/dist/models/Evaluator.d.ts +1 -1
  33. package/dist/models/GetContextStoreResponseBody.d.ts +1 -1
  34. package/dist/models/GetEvaluationTaskResponseBody.d.ts +1 -1
  35. package/dist/models/GetEvaluatorResponseBody.d.ts +109 -9
  36. package/dist/models/GetEvaluatorResponseBody.js +43 -1
  37. package/dist/models/GetEvaluatorResponseBody.js.map +1 -1
  38. package/dist/models/GetEvaluatorSkillRequest.d.ts +10 -2
  39. package/dist/models/GetEvaluatorSkillRequest.js +2 -0
  40. package/dist/models/GetEvaluatorSkillRequest.js.map +1 -1
  41. package/dist/models/GetEvaluatorSkillResponseBody.d.ts +8 -8
  42. package/dist/models/GetExperimentPlanResponseBody.d.ts +1 -1
  43. package/dist/models/GetOptimizeTaskResponseBody.d.ts +1 -1
  44. package/dist/models/GetPipelineResponseBody.d.ts +69 -37
  45. package/dist/models/GetPipelineResponseBody.js +8 -0
  46. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  47. package/dist/models/GetPipelineRunResponseBody.d.ts +547 -7
  48. package/dist/models/GetPipelineRunResponseBody.js +244 -1
  49. package/dist/models/GetPipelineRunResponseBody.js.map +1 -1
  50. package/dist/models/ListEvaluatorSkillsRequest.d.ts +9 -1
  51. package/dist/models/ListEvaluatorSkillsRequest.js +2 -0
  52. package/dist/models/ListEvaluatorSkillsRequest.js.map +1 -1
  53. package/dist/models/ListEvaluatorSkillsResponseBody.d.ts +8 -8
  54. package/dist/models/ListEvaluatorsRequest.d.ts +1 -1
  55. package/dist/models/ListEvaluatorsResponseBody.d.ts +20 -4
  56. package/dist/models/ListEvaluatorsResponseBody.js +4 -0
  57. package/dist/models/ListEvaluatorsResponseBody.js.map +1 -1
  58. package/dist/models/ListExperimentPlansResponseBody.d.ts +1 -1
  59. package/dist/models/ListOptimizeTasksResponseBody.d.ts +1 -1
  60. package/dist/models/ListPipelineRunsRequest.d.ts +5 -5
  61. package/dist/models/ListPipelineRunsResponseBody.d.ts +26 -10
  62. package/dist/models/ListPipelineRunsResponseBody.js +4 -0
  63. package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
  64. package/dist/models/ListPipelinesRequest.d.ts +25 -5
  65. package/dist/models/ListPipelinesRequest.js +2 -0
  66. package/dist/models/ListPipelinesRequest.js.map +1 -1
  67. package/dist/models/ListPipelinesResponseBody.d.ts +156 -40
  68. package/dist/models/ListPipelinesResponseBody.js +68 -1
  69. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  70. package/dist/models/ListTagResourcesRequest.d.ts +3 -3
  71. package/dist/models/ListTagResourcesResponseBody.d.ts +2 -2
  72. package/dist/models/ListTagResourcesShrinkRequest.d.ts +2 -2
  73. package/dist/models/ModelParameters.d.ts +2 -2
  74. package/dist/models/PreviewPipelineRequest.d.ts +2 -2
  75. package/dist/models/PreviewPipelineResponseBody.d.ts +1 -1
  76. package/dist/models/SearchContextResponseBody.d.ts +1 -1
  77. package/dist/models/TagResourcesRequest.d.ts +6 -6
  78. package/dist/models/UntagResourcesRequest.d.ts +3 -3
  79. package/dist/models/UntagResourcesShrinkRequest.d.ts +3 -3
  80. package/dist/models/UpdateContextStoreRequest.d.ts +1 -1
  81. package/dist/models/UpdateEvaluationTaskRequest.d.ts +1 -1
  82. package/dist/models/UpdateEvaluatorRequest.d.ts +112 -4
  83. package/dist/models/UpdateEvaluatorRequest.js +61 -1
  84. package/dist/models/UpdateEvaluatorRequest.js.map +1 -1
  85. package/dist/models/UpdateEvaluatorSkillRequest.d.ts +12 -4
  86. package/dist/models/UpdateEvaluatorSkillRequest.js +2 -0
  87. package/dist/models/UpdateEvaluatorSkillRequest.js.map +1 -1
  88. package/dist/models/UpdateEvaluatorVersionStatusRequest.d.ts +51 -0
  89. package/dist/models/UpdateEvaluatorVersionStatusRequest.js +64 -0
  90. package/dist/models/UpdateEvaluatorVersionStatusRequest.js.map +1 -0
  91. package/dist/models/UpdateEvaluatorVersionStatusResponse.d.ts +19 -0
  92. package/dist/models/UpdateEvaluatorVersionStatusResponse.js +69 -0
  93. package/dist/models/UpdateEvaluatorVersionStatusResponse.js.map +1 -0
  94. package/dist/models/UpdateEvaluatorVersionStatusResponseBody.d.ts +21 -0
  95. package/dist/models/UpdateEvaluatorVersionStatusResponseBody.js +58 -0
  96. package/dist/models/UpdateEvaluatorVersionStatusResponseBody.js.map +1 -0
  97. package/dist/models/UpdateOptimizeTaskRequest.d.ts +1 -1
  98. package/dist/models/UpdatePipelineRequest.d.ts +3 -3
  99. package/dist/models/model.d.ts +19 -0
  100. package/dist/models/model.js +75 -37
  101. package/dist/models/model.js.map +1 -1
  102. package/package.json +1 -1
  103. package/src/client.ts +192 -12
  104. package/src/models/CreateContextStoreRequest.ts +1 -1
  105. package/src/models/CreateEvaluationTaskRequest.ts +1 -1
  106. package/src/models/CreateEvaluatorRequest.ts +149 -12
  107. package/src/models/CreateEvaluatorResponseBody.ts +2 -2
  108. package/src/models/CreateEvaluatorSkillRequest.ts +17 -7
  109. package/src/models/CreateExperimentPlanRequest.ts +1 -1
  110. package/src/models/CreateMultiModalTaskRequest.ts +103 -0
  111. package/src/models/CreateMultiModalTaskResponse.ts +40 -0
  112. package/src/models/CreateMultiModalTaskResponseBody.ts +64 -0
  113. package/src/models/CreateOptimizeTaskRequest.ts +1 -1
  114. package/src/models/CreatePipelineRequest.ts +46 -36
  115. package/src/models/CreatePipelineResponseBody.ts +1 -1
  116. package/src/models/DataFilter.ts +1 -1
  117. package/src/models/DeleteEvaluatorSkillRequest.ts +11 -1
  118. package/src/models/Evaluator.ts +1 -1
  119. package/src/models/GetContextStoreResponseBody.ts +1 -1
  120. package/src/models/GetEvaluationTaskResponseBody.ts +1 -1
  121. package/src/models/GetEvaluatorResponseBody.ts +142 -9
  122. package/src/models/GetEvaluatorSkillRequest.ts +12 -2
  123. package/src/models/GetEvaluatorSkillResponseBody.ts +8 -8
  124. package/src/models/GetExperimentPlanResponseBody.ts +1 -1
  125. package/src/models/GetOptimizeTaskResponseBody.ts +1 -1
  126. package/src/models/GetPipelineResponseBody.ts +77 -37
  127. package/src/models/GetPipelineRunResponseBody.ts +734 -7
  128. package/src/models/ListEvaluatorSkillsRequest.ts +11 -1
  129. package/src/models/ListEvaluatorSkillsResponseBody.ts +8 -8
  130. package/src/models/ListEvaluatorsRequest.ts +1 -1
  131. package/src/models/ListEvaluatorsResponseBody.ts +24 -4
  132. package/src/models/ListExperimentPlansResponseBody.ts +1 -1
  133. package/src/models/ListOptimizeTasksResponseBody.ts +1 -1
  134. package/src/models/ListPipelineRunsRequest.ts +5 -5
  135. package/src/models/ListPipelineRunsResponseBody.ts +30 -10
  136. package/src/models/ListPipelinesRequest.ts +27 -5
  137. package/src/models/ListPipelinesResponseBody.ts +203 -40
  138. package/src/models/ListTagResourcesRequest.ts +3 -3
  139. package/src/models/ListTagResourcesResponseBody.ts +2 -2
  140. package/src/models/ListTagResourcesShrinkRequest.ts +2 -2
  141. package/src/models/ModelParameters.ts +2 -2
  142. package/src/models/PreviewPipelineRequest.ts +2 -2
  143. package/src/models/PreviewPipelineResponseBody.ts +1 -1
  144. package/src/models/SearchContextResponseBody.ts +1 -1
  145. package/src/models/TagResourcesRequest.ts +6 -6
  146. package/src/models/UntagResourcesRequest.ts +3 -3
  147. package/src/models/UntagResourcesShrinkRequest.ts +3 -3
  148. package/src/models/UpdateContextStoreRequest.ts +1 -1
  149. package/src/models/UpdateEvaluationTaskRequest.ts +1 -1
  150. package/src/models/UpdateEvaluatorRequest.ts +154 -4
  151. package/src/models/UpdateEvaluatorSkillRequest.ts +14 -4
  152. package/src/models/UpdateEvaluatorVersionStatusRequest.ts +70 -0
  153. package/src/models/UpdateEvaluatorVersionStatusResponse.ts +40 -0
  154. package/src/models/UpdateEvaluatorVersionStatusResponseBody.ts +34 -0
  155. package/src/models/UpdateOptimizeTaskRequest.ts +1 -1
  156. package/src/models/UpdatePipelineRequest.ts +3 -3
  157. package/src/models/model.ts +19 -0
package/dist/client.d.ts CHANGED
@@ -244,6 +244,24 @@ export default class Client extends OpenApi {
244
244
  * @returns CreateExperimentRunResponse
245
245
  */
246
246
  createExperimentRun(agentSpace: string, request: $_model.CreateExperimentRunRequest): Promise<$_model.CreateExperimentRunResponse>;
247
+ /**
248
+ * Performs a synchronous multimodal evaluation on a single image or audio/video file and directly returns the score.
249
+ *
250
+ * @param request - CreateMultiModalTaskRequest
251
+ * @param headers - map
252
+ * @param runtime - runtime options for this request RuntimeOptions
253
+ * @returns CreateMultiModalTaskResponse
254
+ */
255
+ createMultiModalTaskWithOptions(request: $_model.CreateMultiModalTaskRequest, headers: {
256
+ [key: string]: string;
257
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMultiModalTaskResponse>;
258
+ /**
259
+ * Performs a synchronous multimodal evaluation on a single image or audio/video file and directly returns the score.
260
+ *
261
+ * @param request - CreateMultiModalTaskRequest
262
+ * @returns CreateMultiModalTaskResponse
263
+ */
264
+ createMultiModalTask(request: $_model.CreateMultiModalTaskRequest): Promise<$_model.CreateMultiModalTaskResponse>;
247
265
  /**
248
266
  * Creates a run for the specified optimization task and returns the run ID. When preview is set to true, an independent pre-run is executed to generate candidate results and evidence. The pre-run does not publish candidate artifacts or advance the formal run history.
249
267
  *
@@ -835,10 +853,10 @@ export default class Client extends OpenApi {
835
853
  */
836
854
  getPipeline(agentSpace: string, pipelineName: string, request: $_model.GetPipelineRequest): Promise<$_model.GetPipelineResponse>;
837
855
  /**
838
- * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and fault message.
856
+ * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
839
857
  *
840
858
  * @remarks
841
- * Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and fault message.
859
+ * Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
842
860
  *
843
861
  * @param request - GetPipelineRunRequest
844
862
  * @param headers - map
@@ -849,10 +867,10 @@ export default class Client extends OpenApi {
849
867
  [key: string]: string;
850
868
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetPipelineRunResponse>;
851
869
  /**
852
- * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and fault message.
870
+ * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
853
871
  *
854
872
  * @remarks
855
- * Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and fault message.
873
+ * Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
856
874
  *
857
875
  * @param request - GetPipelineRunRequest
858
876
  * @returns GetPipelineRunResponse
@@ -1009,7 +1027,7 @@ export default class Client extends OpenApi {
1009
1027
  */
1010
1028
  listEvaluationTasks(request: $_model.ListEvaluationTasksRequest): Promise<$_model.ListEvaluationTasksResponse>;
1011
1029
  /**
1012
- * Queries the list of skills for an evaluator.
1030
+ * Queries the list of evaluator skills.
1013
1031
  *
1014
1032
  * @param request - ListEvaluatorSkillsRequest
1015
1033
  * @param headers - map
@@ -1020,7 +1038,7 @@ export default class Client extends OpenApi {
1020
1038
  [key: string]: string;
1021
1039
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListEvaluatorSkillsResponse>;
1022
1040
  /**
1023
- * Queries the list of skills for an evaluator.
1041
+ * Queries the list of evaluator skills.
1024
1042
  *
1025
1043
  * @param request - ListEvaluatorSkillsRequest
1026
1044
  * @returns ListEvaluatorSkillsResponse
@@ -1132,7 +1150,7 @@ export default class Client extends OpenApi {
1132
1150
  * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
1133
1151
  *
1134
1152
  * @remarks
1135
- * Calls the ListPipelineRuns operation to query the pipeline run history. You can filter the results by status, trigger type, and time range, and use cursor-based pagination.
1153
+ * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
1136
1154
  *
1137
1155
  * @param request - ListPipelineRunsRequest
1138
1156
  * @param headers - map
@@ -1146,14 +1164,14 @@ export default class Client extends OpenApi {
1146
1164
  * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
1147
1165
  *
1148
1166
  * @remarks
1149
- * Calls the ListPipelineRuns operation to query the pipeline run history. You can filter the results by status, trigger type, and time range, and use cursor-based pagination.
1167
+ * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
1150
1168
  *
1151
1169
  * @param request - ListPipelineRunsRequest
1152
1170
  * @returns ListPipelineRunsResponse
1153
1171
  */
1154
1172
  listPipelineRuns(agentSpace: string, pipelineName: string, request: $_model.ListPipelineRunsRequest): Promise<$_model.ListPipelineRunsResponse>;
1155
1173
  /**
1156
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and cursor-based pagination.
1174
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
1157
1175
  *
1158
1176
  * @param request - ListPipelinesRequest
1159
1177
  * @param headers - map
@@ -1164,7 +1182,7 @@ export default class Client extends OpenApi {
1164
1182
  [key: string]: string;
1165
1183
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListPipelinesResponse>;
1166
1184
  /**
1167
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and cursor-based pagination.
1185
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
1168
1186
  *
1169
1187
  * @param request - ListPipelinesRequest
1170
1188
  * @returns ListPipelinesResponse
@@ -1331,7 +1349,7 @@ export default class Client extends OpenApi {
1331
1349
  */
1332
1350
  terminatePipeline(agentSpace: string, pipelineName: string, request: $_model.TerminatePipelineRequest): Promise<$_model.TerminatePipelineResponse>;
1333
1351
  /**
1334
- * Removes tags.
1352
+ * Disassociates tags.
1335
1353
  *
1336
1354
  * @param tmpReq - UntagResourcesRequest
1337
1355
  * @param headers - map
@@ -1342,7 +1360,7 @@ export default class Client extends OpenApi {
1342
1360
  [key: string]: string;
1343
1361
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UntagResourcesResponse>;
1344
1362
  /**
1345
- * Removes tags.
1363
+ * Disassociates tags.
1346
1364
  *
1347
1365
  * @param request - UntagResourcesRequest
1348
1366
  * @returns UntagResourcesResponse
@@ -1474,6 +1492,30 @@ export default class Client extends OpenApi {
1474
1492
  * @returns UpdateEvaluatorSkillResponse
1475
1493
  */
1476
1494
  updateEvaluatorSkill(name: string, skillName: string, request: $_model.UpdateEvaluatorSkillRequest): Promise<$_model.UpdateEvaluatorSkillResponse>;
1495
+ /**
1496
+ * Updates the status of an evaluator version.
1497
+ *
1498
+ * @remarks
1499
+ * Publishes a saved evaluator draft, takes a published version offline, or brings an offline version back online.
1500
+ *
1501
+ * @param request - UpdateEvaluatorVersionStatusRequest
1502
+ * @param headers - map
1503
+ * @param runtime - runtime options for this request RuntimeOptions
1504
+ * @returns UpdateEvaluatorVersionStatusResponse
1505
+ */
1506
+ updateEvaluatorVersionStatusWithOptions(agentSpace: string, name: string, request: $_model.UpdateEvaluatorVersionStatusRequest, headers: {
1507
+ [key: string]: string;
1508
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateEvaluatorVersionStatusResponse>;
1509
+ /**
1510
+ * Updates the status of an evaluator version.
1511
+ *
1512
+ * @remarks
1513
+ * Publishes a saved evaluator draft, takes a published version offline, or brings an offline version back online.
1514
+ *
1515
+ * @param request - UpdateEvaluatorVersionStatusRequest
1516
+ * @returns UpdateEvaluatorVersionStatusResponse
1517
+ */
1518
+ updateEvaluatorVersionStatus(agentSpace: string, name: string, request: $_model.UpdateEvaluatorVersionStatusRequest): Promise<$_model.UpdateEvaluatorVersionStatusResponse>;
1477
1519
  /**
1478
1520
  * Updates an experiment plan.
1479
1521
  *
package/dist/client.js CHANGED
@@ -535,6 +535,12 @@ class Client extends openapi_core_1.default {
535
535
  if (!$dara.isNull(request.properties)) {
536
536
  body["properties"] = request.properties;
537
537
  }
538
+ if (!$dara.isNull(request.skills)) {
539
+ body["skills"] = request.skills;
540
+ }
541
+ if (!$dara.isNull(request.status)) {
542
+ body["status"] = request.status;
543
+ }
538
544
  if (!$dara.isNull(request.type)) {
539
545
  body["type"] = request.type;
540
546
  }
@@ -600,6 +606,9 @@ class Client extends openapi_core_1.default {
600
606
  if (!$dara.isNull(request.enable)) {
601
607
  body["enable"] = request.enable;
602
608
  }
609
+ if (!$dara.isNull(request.evaluatorVersion)) {
610
+ body["evaluatorVersion"] = request.evaluatorVersion;
611
+ }
603
612
  if (!$dara.isNull(request.files)) {
604
613
  body["files"] = request.files;
605
614
  }
@@ -787,6 +796,66 @@ class Client extends openapi_core_1.default {
787
796
  let headers = {};
788
797
  return await this.createExperimentRunWithOptions(agentSpace, request, headers, runtime);
789
798
  }
799
+ /**
800
+ * Performs a synchronous multimodal evaluation on a single image or audio/video file and directly returns the score.
801
+ *
802
+ * @param request - CreateMultiModalTaskRequest
803
+ * @param headers - map
804
+ * @param runtime - runtime options for this request RuntimeOptions
805
+ * @returns CreateMultiModalTaskResponse
806
+ */
807
+ async createMultiModalTaskWithOptions(request, headers, runtime) {
808
+ request.validate();
809
+ let body = {};
810
+ if (!$dara.isNull(request.agentSpace)) {
811
+ body["agentSpace"] = request.agentSpace;
812
+ }
813
+ if (!$dara.isNull(request.args)) {
814
+ body["args"] = request.args;
815
+ }
816
+ if (!$dara.isNull(request.arn)) {
817
+ body["arn"] = request.arn;
818
+ }
819
+ if (!$dara.isNull(request.evaluatorRef)) {
820
+ body["evaluatorRef"] = request.evaluatorRef;
821
+ }
822
+ if (!$dara.isNull(request.ossRegion)) {
823
+ body["ossRegion"] = request.ossRegion;
824
+ }
825
+ if (!$dara.isNull(request.prompt)) {
826
+ body["prompt"] = request.prompt;
827
+ }
828
+ if (!$dara.isNull(request.taskName)) {
829
+ body["taskName"] = request.taskName;
830
+ }
831
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
832
+ headers: headers,
833
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
834
+ });
835
+ let params = new openapi_core_2.$OpenApiUtil.Params({
836
+ action: "CreateMultiModalTask",
837
+ version: "2026-05-20",
838
+ protocol: "HTTPS",
839
+ pathname: `/api/v1/media-processings`,
840
+ method: "POST",
841
+ authType: "AK",
842
+ style: "ROA",
843
+ reqBodyType: "json",
844
+ bodyType: "json",
845
+ });
846
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateMultiModalTaskResponse({}));
847
+ }
848
+ /**
849
+ * Performs a synchronous multimodal evaluation on a single image or audio/video file and directly returns the score.
850
+ *
851
+ * @param request - CreateMultiModalTaskRequest
852
+ * @returns CreateMultiModalTaskResponse
853
+ */
854
+ async createMultiModalTask(request) {
855
+ let runtime = new $dara.RuntimeOptions({});
856
+ let headers = {};
857
+ return await this.createMultiModalTaskWithOptions(request, headers, runtime);
858
+ }
790
859
  /**
791
860
  * Creates a run for the specified optimization task and returns the run ID. When preview is set to true, an independent pre-run is executed to generate candidate results and evidence. The pre-run does not publish candidate artifacts or advance the formal run history.
792
861
  *
@@ -917,6 +986,9 @@ class Client extends openapi_core_1.default {
917
986
  if (!$dara.isNull(request.pipeline)) {
918
987
  body["pipeline"] = request.pipeline;
919
988
  }
989
+ if (!$dara.isNull(request.pipelineKind)) {
990
+ body["pipelineKind"] = request.pipelineKind;
991
+ }
920
992
  if (!$dara.isNull(request.pipelineName)) {
921
993
  body["pipelineName"] = request.pipelineName;
922
994
  }
@@ -1286,6 +1358,9 @@ class Client extends openapi_core_1.default {
1286
1358
  if (!$dara.isNull(request.agentSpace)) {
1287
1359
  query["agentSpace"] = request.agentSpace;
1288
1360
  }
1361
+ if (!$dara.isNull(request.evaluatorVersion)) {
1362
+ query["evaluatorVersion"] = request.evaluatorVersion;
1363
+ }
1289
1364
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1290
1365
  headers: headers,
1291
1366
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -1884,6 +1959,9 @@ class Client extends openapi_core_1.default {
1884
1959
  if (!$dara.isNull(request.agentSpace)) {
1885
1960
  query["agentSpace"] = request.agentSpace;
1886
1961
  }
1962
+ if (!$dara.isNull(request.evaluatorVersion)) {
1963
+ query["evaluatorVersion"] = request.evaluatorVersion;
1964
+ }
1887
1965
  if (!$dara.isNull(request.version)) {
1888
1966
  query["version"] = request.version;
1889
1967
  }
@@ -2113,10 +2191,10 @@ class Client extends openapi_core_1.default {
2113
2191
  return await this.getPipelineWithOptions(agentSpace, pipelineName, request, headers, runtime);
2114
2192
  }
2115
2193
  /**
2116
- * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and fault message.
2194
+ * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
2117
2195
  *
2118
2196
  * @remarks
2119
- * Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and fault message.
2197
+ * Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
2120
2198
  *
2121
2199
  * @param request - GetPipelineRunRequest
2122
2200
  * @param headers - map
@@ -2142,10 +2220,10 @@ class Client extends openapi_core_1.default {
2142
2220
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPipelineRunResponse({}));
2143
2221
  }
2144
2222
  /**
2145
- * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and fault message.
2223
+ * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
2146
2224
  *
2147
2225
  * @remarks
2148
- * Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and fault message.
2226
+ * Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
2149
2227
  *
2150
2228
  * @param request - GetPipelineRunRequest
2151
2229
  * @returns GetPipelineRunResponse
@@ -2583,7 +2661,7 @@ class Client extends openapi_core_1.default {
2583
2661
  return await this.listEvaluationTasksWithOptions(request, headers, runtime);
2584
2662
  }
2585
2663
  /**
2586
- * Queries the list of skills for an evaluator.
2664
+ * Queries the list of evaluator skills.
2587
2665
  *
2588
2666
  * @param request - ListEvaluatorSkillsRequest
2589
2667
  * @param headers - map
@@ -2596,6 +2674,9 @@ class Client extends openapi_core_1.default {
2596
2674
  if (!$dara.isNull(request.agentSpace)) {
2597
2675
  query["agentSpace"] = request.agentSpace;
2598
2676
  }
2677
+ if (!$dara.isNull(request.evaluatorVersion)) {
2678
+ query["evaluatorVersion"] = request.evaluatorVersion;
2679
+ }
2599
2680
  if (!$dara.isNull(request.maxResults)) {
2600
2681
  query["maxResults"] = request.maxResults;
2601
2682
  }
@@ -2620,7 +2701,7 @@ class Client extends openapi_core_1.default {
2620
2701
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEvaluatorSkillsResponse({}));
2621
2702
  }
2622
2703
  /**
2623
- * Queries the list of skills for an evaluator.
2704
+ * Queries the list of evaluator skills.
2624
2705
  *
2625
2706
  * @param request - ListEvaluatorSkillsRequest
2626
2707
  * @returns ListEvaluatorSkillsResponse
@@ -2928,7 +3009,7 @@ class Client extends openapi_core_1.default {
2928
3009
  * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
2929
3010
  *
2930
3011
  * @remarks
2931
- * Calls the ListPipelineRuns operation to query the pipeline run history. You can filter the results by status, trigger type, and time range, and use cursor-based pagination.
3012
+ * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
2932
3013
  *
2933
3014
  * @param request - ListPipelineRunsRequest
2934
3015
  * @param headers - map
@@ -2977,7 +3058,7 @@ class Client extends openapi_core_1.default {
2977
3058
  * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
2978
3059
  *
2979
3060
  * @remarks
2980
- * Calls the ListPipelineRuns operation to query the pipeline run history. You can filter the results by status, trigger type, and time range, and use cursor-based pagination.
3061
+ * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
2981
3062
  *
2982
3063
  * @param request - ListPipelineRunsRequest
2983
3064
  * @returns ListPipelineRunsResponse
@@ -2988,7 +3069,7 @@ class Client extends openapi_core_1.default {
2988
3069
  return await this.listPipelineRunsWithOptions(agentSpace, pipelineName, request, headers, runtime);
2989
3070
  }
2990
3071
  /**
2991
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and cursor-based pagination.
3072
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
2992
3073
  *
2993
3074
  * @param request - ListPipelinesRequest
2994
3075
  * @param headers - map
@@ -3004,6 +3085,9 @@ class Client extends openapi_core_1.default {
3004
3085
  if (!$dara.isNull(request.nextToken)) {
3005
3086
  query["nextToken"] = request.nextToken;
3006
3087
  }
3088
+ if (!$dara.isNull(request.pipelineKind)) {
3089
+ query["pipelineKind"] = request.pipelineKind;
3090
+ }
3007
3091
  if (!$dara.isNull(request.pipelineName)) {
3008
3092
  query["pipelineName"] = request.pipelineName;
3009
3093
  }
@@ -3034,7 +3118,7 @@ class Client extends openapi_core_1.default {
3034
3118
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPipelinesResponse({}));
3035
3119
  }
3036
3120
  /**
3037
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and cursor-based pagination.
3121
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
3038
3122
  *
3039
3123
  * @param request - ListPipelinesRequest
3040
3124
  * @returns ListPipelinesResponse
@@ -3454,7 +3538,7 @@ class Client extends openapi_core_1.default {
3454
3538
  return await this.terminatePipelineWithOptions(agentSpace, pipelineName, request, headers, runtime);
3455
3539
  }
3456
3540
  /**
3457
- * Removes tags.
3541
+ * Disassociates tags.
3458
3542
  *
3459
3543
  * @param tmpReq - UntagResourcesRequest
3460
3544
  * @param headers - map
@@ -3502,7 +3586,7 @@ class Client extends openapi_core_1.default {
3502
3586
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
3503
3587
  }
3504
3588
  /**
3505
- * Removes tags.
3589
+ * Disassociates tags.
3506
3590
  *
3507
3591
  * @param request - UntagResourcesRequest
3508
3592
  * @returns UntagResourcesResponse
@@ -3808,6 +3892,9 @@ class Client extends openapi_core_1.default {
3808
3892
  if (!$dara.isNull(request.config)) {
3809
3893
  body["config"] = request.config;
3810
3894
  }
3895
+ if (!$dara.isNull(request.createVersion)) {
3896
+ body["createVersion"] = request.createVersion;
3897
+ }
3811
3898
  if (!$dara.isNull(request.description)) {
3812
3899
  body["description"] = request.description;
3813
3900
  }
@@ -3817,6 +3904,12 @@ class Client extends openapi_core_1.default {
3817
3904
  if (!$dara.isNull(request.properties)) {
3818
3905
  body["properties"] = request.properties;
3819
3906
  }
3907
+ if (!$dara.isNull(request.skills)) {
3908
+ body["skills"] = request.skills;
3909
+ }
3910
+ if (!$dara.isNull(request.status)) {
3911
+ body["status"] = request.status;
3912
+ }
3820
3913
  if (!$dara.isNull(request.version)) {
3821
3914
  body["version"] = request.version;
3822
3915
  }
@@ -3879,6 +3972,9 @@ class Client extends openapi_core_1.default {
3879
3972
  if (!$dara.isNull(request.enable)) {
3880
3973
  body["enable"] = request.enable;
3881
3974
  }
3975
+ if (!$dara.isNull(request.evaluatorVersion)) {
3976
+ body["evaluatorVersion"] = request.evaluatorVersion;
3977
+ }
3882
3978
  if (!$dara.isNull(request.files)) {
3883
3979
  body["files"] = request.files;
3884
3980
  }
@@ -3911,6 +4007,63 @@ class Client extends openapi_core_1.default {
3911
4007
  let headers = {};
3912
4008
  return await this.updateEvaluatorSkillWithOptions(name, skillName, request, headers, runtime);
3913
4009
  }
4010
+ /**
4011
+ * Updates the status of an evaluator version.
4012
+ *
4013
+ * @remarks
4014
+ * Publishes a saved evaluator draft, takes a published version offline, or brings an offline version back online.
4015
+ *
4016
+ * @param request - UpdateEvaluatorVersionStatusRequest
4017
+ * @param headers - map
4018
+ * @param runtime - runtime options for this request RuntimeOptions
4019
+ * @returns UpdateEvaluatorVersionStatusResponse
4020
+ */
4021
+ async updateEvaluatorVersionStatusWithOptions(agentSpace, name, request, headers, runtime) {
4022
+ request.validate();
4023
+ let body = {};
4024
+ if (!$dara.isNull(request.expectedStatus)) {
4025
+ body["expectedStatus"] = request.expectedStatus;
4026
+ }
4027
+ if (!$dara.isNull(request.status)) {
4028
+ body["status"] = request.status;
4029
+ }
4030
+ if (!$dara.isNull(request.version)) {
4031
+ body["version"] = request.version;
4032
+ }
4033
+ if (!$dara.isNull(request.versionDescription)) {
4034
+ body["versionDescription"] = request.versionDescription;
4035
+ }
4036
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4037
+ headers: headers,
4038
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
4039
+ });
4040
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4041
+ action: "UpdateEvaluatorVersionStatus",
4042
+ version: "2026-05-20",
4043
+ protocol: "HTTPS",
4044
+ pathname: `/api/v1/evaluators/${$dara.URL.percentEncode(agentSpace)}/${$dara.URL.percentEncode(name)}/version-status`,
4045
+ method: "PUT",
4046
+ authType: "AK",
4047
+ style: "ROA",
4048
+ reqBodyType: "json",
4049
+ bodyType: "json",
4050
+ });
4051
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateEvaluatorVersionStatusResponse({}));
4052
+ }
4053
+ /**
4054
+ * Updates the status of an evaluator version.
4055
+ *
4056
+ * @remarks
4057
+ * Publishes a saved evaluator draft, takes a published version offline, or brings an offline version back online.
4058
+ *
4059
+ * @param request - UpdateEvaluatorVersionStatusRequest
4060
+ * @returns UpdateEvaluatorVersionStatusResponse
4061
+ */
4062
+ async updateEvaluatorVersionStatus(agentSpace, name, request) {
4063
+ let runtime = new $dara.RuntimeOptions({});
4064
+ let headers = {};
4065
+ return await this.updateEvaluatorVersionStatusWithOptions(agentSpace, name, request, headers, runtime);
4066
+ }
3914
4067
  /**
3915
4068
  * Updates an experiment plan.
3916
4069
  *