@alicloud/agentloop20260520 2.7.1 → 2.8.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 (92) hide show
  1. package/dist/client.d.ts +172 -20
  2. package/dist/client.js +229 -20
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddAuditConversionSourceRequest.d.ts +13 -0
  5. package/dist/models/AddAuditConversionSourceRequest.js +54 -0
  6. package/dist/models/AddAuditConversionSourceRequest.js.map +1 -0
  7. package/dist/models/AddAuditConversionSourceResponse.d.ts +17 -0
  8. package/dist/models/AddAuditConversionSourceResponse.js +63 -0
  9. package/dist/models/AddAuditConversionSourceResponse.js.map +1 -0
  10. package/dist/models/CreatePipelineRequest.d.ts +41 -32
  11. package/dist/models/CreatePipelineRequest.js +6 -0
  12. package/dist/models/CreatePipelineRequest.js.map +1 -1
  13. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  14. package/dist/models/ExperimentConfig.d.ts +3 -0
  15. package/dist/models/ExperimentConfig.js.map +1 -1
  16. package/dist/models/GetAuditConversionSourceRequest.d.ts +13 -0
  17. package/dist/models/GetAuditConversionSourceRequest.js +54 -0
  18. package/dist/models/GetAuditConversionSourceRequest.js.map +1 -0
  19. package/dist/models/GetAuditConversionSourceResponse.d.ts +19 -0
  20. package/dist/models/GetAuditConversionSourceResponse.js +69 -0
  21. package/dist/models/GetAuditConversionSourceResponse.js.map +1 -0
  22. package/dist/models/GetAuditConversionSourceResponseBody.d.ts +35 -0
  23. package/dist/models/GetAuditConversionSourceResponseBody.js +60 -0
  24. package/dist/models/GetAuditConversionSourceResponseBody.js.map +1 -0
  25. package/dist/models/GetContextStoreResponseBody.d.ts +49 -49
  26. package/dist/models/GetPipelineResponseBody.d.ts +51 -42
  27. package/dist/models/GetPipelineResponseBody.js +6 -0
  28. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  29. package/dist/models/GetPipelineRunResponseBody.d.ts +7 -7
  30. package/dist/models/ListContextStoresRequest.d.ts +3 -3
  31. package/dist/models/ListContextStoresResponseBody.d.ts +8 -8
  32. package/dist/models/ListPipelineRunsRequest.d.ts +1 -1
  33. package/dist/models/ListPipelineRunsResponseBody.d.ts +8 -6
  34. package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
  35. package/dist/models/ListPipelinesRequest.d.ts +5 -17
  36. package/dist/models/ListPipelinesRequest.js.map +1 -1
  37. package/dist/models/ListPipelinesResponseBody.d.ts +45 -33
  38. package/dist/models/ListPipelinesResponseBody.js +6 -0
  39. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  40. package/dist/models/PipelineOssSource.d.ts +69 -0
  41. package/dist/models/PipelineOssSource.js +69 -0
  42. package/dist/models/PipelineOssSource.js.map +1 -0
  43. package/dist/models/PreviewPipelineRequest.d.ts +24 -15
  44. package/dist/models/PreviewPipelineRequest.js +6 -0
  45. package/dist/models/PreviewPipelineRequest.js.map +1 -1
  46. package/dist/models/PreviewPipelineResponseBody.d.ts +28 -12
  47. package/dist/models/PreviewPipelineResponseBody.js +4 -0
  48. package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
  49. package/dist/models/RemoveAuditConversionSourceRequest.d.ts +13 -0
  50. package/dist/models/RemoveAuditConversionSourceRequest.js +54 -0
  51. package/dist/models/RemoveAuditConversionSourceRequest.js.map +1 -0
  52. package/dist/models/RemoveAuditConversionSourceResponse.d.ts +17 -0
  53. package/dist/models/RemoveAuditConversionSourceResponse.js +63 -0
  54. package/dist/models/RemoveAuditConversionSourceResponse.js.map +1 -0
  55. package/dist/models/RunPipelineRequest.d.ts +3 -3
  56. package/dist/models/RunPipelineResponseBody.d.ts +1 -1
  57. package/dist/models/UpdatePipelineRequest.d.ts +44 -36
  58. package/dist/models/UpdatePipelineRequest.js +6 -0
  59. package/dist/models/UpdatePipelineRequest.js.map +1 -1
  60. package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
  61. package/dist/models/model.d.ts +8 -0
  62. package/dist/models/model.js +22 -6
  63. package/dist/models/model.js.map +1 -1
  64. package/package.json +1 -1
  65. package/src/client.ts +235 -20
  66. package/src/models/AddAuditConversionSourceRequest.ts +24 -0
  67. package/src/models/AddAuditConversionSourceResponse.ts +33 -0
  68. package/src/models/CreatePipelineRequest.ts +46 -32
  69. package/src/models/CreatePipelineResponseBody.ts +1 -1
  70. package/src/models/ExperimentConfig.ts +3 -0
  71. package/src/models/GetAuditConversionSourceRequest.ts +24 -0
  72. package/src/models/GetAuditConversionSourceResponse.ts +40 -0
  73. package/src/models/GetAuditConversionSourceResponseBody.ts +50 -0
  74. package/src/models/GetContextStoreResponseBody.ts +49 -49
  75. package/src/models/GetPipelineResponseBody.ts +56 -42
  76. package/src/models/GetPipelineRunResponseBody.ts +7 -7
  77. package/src/models/ListContextStoresRequest.ts +3 -3
  78. package/src/models/ListContextStoresResponseBody.ts +8 -8
  79. package/src/models/ListPipelineRunsRequest.ts +1 -1
  80. package/src/models/ListPipelineRunsResponseBody.ts +8 -6
  81. package/src/models/ListPipelinesRequest.ts +5 -17
  82. package/src/models/ListPipelinesResponseBody.ts +50 -33
  83. package/src/models/PipelineOssSource.ts +91 -0
  84. package/src/models/PreviewPipelineRequest.ts +29 -15
  85. package/src/models/PreviewPipelineResponseBody.ts +32 -12
  86. package/src/models/RemoveAuditConversionSourceRequest.ts +24 -0
  87. package/src/models/RemoveAuditConversionSourceResponse.ts +33 -0
  88. package/src/models/RunPipelineRequest.ts +3 -3
  89. package/src/models/RunPipelineResponseBody.ts +1 -1
  90. package/src/models/UpdatePipelineRequest.ts +49 -36
  91. package/src/models/UpdatePipelineResponseBody.ts +1 -1
  92. package/src/models/model.ts +8 -0
package/dist/client.d.ts CHANGED
@@ -8,6 +8,44 @@ export default class Client extends OpenApi {
8
8
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
9
9
  [key: string]: string;
10
10
  }, endpoint: string): string;
11
+ /**
12
+ * Adds an audit transformation object to the list.
13
+ *
14
+ * @remarks
15
+ * ## Request description
16
+ * - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters and no JSON request body or query parameters.
17
+ * - Data is isolated by the complete tenant key consisting of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions for the AgentSpace and the region matching.
18
+ * - If type is set to gateway, only configJson.audit_enabled_gateway_instances is modified. If type is set to trace, only configJson.audit_enabled_trace_apps is modified. Other fields in the configuration remain unchanged.
19
+ * - Each list can contain a maximum of 100 distinct objects. The total number of UTF-8 bytes for all IDs after normalization cannot exceed 8,192. If the list limit is exceeded after the addition, a 400 InvalidParameter.Config error is returned. This limit is verified by the backend.
20
+ * - An HTTP 204 response with no response body indicates that the member is already in the selected state. The configuration is written upon the first addition. Repeated additions also return a 204 response without duplicate writes.
21
+ * - The addition operation only modifies the list membership and does not synchronously start the transformation task. The coordinator processes task changes asynchronously afterward. A 204 response does not indicate that the task has been started or is running properly.
22
+ * - The error response is an ErrorResponse object that includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. The HTTP status code and response body for errors are passed through exactly as returned by the backend.
23
+ *
24
+ * @param request - AddAuditConversionSourceRequest
25
+ * @param headers - map
26
+ * @param runtime - runtime options for this request RuntimeOptions
27
+ * @returns AddAuditConversionSourceResponse
28
+ */
29
+ addAuditConversionSourceWithOptions(agentSpace: string, type: string, instanceID: string, request: $_model.AddAuditConversionSourceRequest, headers: {
30
+ [key: string]: string;
31
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.AddAuditConversionSourceResponse>;
32
+ /**
33
+ * Adds an audit transformation object to the list.
34
+ *
35
+ * @remarks
36
+ * ## Request description
37
+ * - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters and no JSON request body or query parameters.
38
+ * - Data is isolated by the complete tenant key consisting of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions for the AgentSpace and the region matching.
39
+ * - If type is set to gateway, only configJson.audit_enabled_gateway_instances is modified. If type is set to trace, only configJson.audit_enabled_trace_apps is modified. Other fields in the configuration remain unchanged.
40
+ * - Each list can contain a maximum of 100 distinct objects. The total number of UTF-8 bytes for all IDs after normalization cannot exceed 8,192. If the list limit is exceeded after the addition, a 400 InvalidParameter.Config error is returned. This limit is verified by the backend.
41
+ * - An HTTP 204 response with no response body indicates that the member is already in the selected state. The configuration is written upon the first addition. Repeated additions also return a 204 response without duplicate writes.
42
+ * - The addition operation only modifies the list membership and does not synchronously start the transformation task. The coordinator processes task changes asynchronously afterward. A 204 response does not indicate that the task has been started or is running properly.
43
+ * - The error response is an ErrorResponse object that includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. The HTTP status code and response body for errors are passed through exactly as returned by the backend.
44
+ *
45
+ * @param request - AddAuditConversionSourceRequest
46
+ * @returns AddAuditConversionSourceResponse
47
+ */
48
+ addAuditConversionSource(agentSpace: string, type: string, instanceID: string, request: $_model.AddAuditConversionSourceRequest): Promise<$_model.AddAuditConversionSourceResponse>;
11
49
  /**
12
50
  * Appends structured data rows to a specified dataset without requiring the client to construct SQL statements.
13
51
  *
@@ -301,6 +339,23 @@ export default class Client extends OpenApi {
301
339
  /**
302
340
  * Creates a pipeline.
303
341
  *
342
+ * @remarks
343
+ * ## OSS import
344
+ * - When `source.type` is `oss`, `format`, `region`, `roleArn`, and `uri` in `source.oss` are required. You can omit `formatOptions` or pass an empty object `{}`. The initial version has no available configuration keys. Non-empty objects and other JSON types return a parameter error. Omit `source.inputFields`. When LeRobot has no processing nodes, you can pass `pipeline.nodes: []`. For MCAP, you must pass an empty array.
345
+ * - `sink.type` must be `dataset`, and `sink.dataset` must point to an existing dataset.
346
+ * - `executePolicy.mode` must be `RunOnce`. You can omit `runOnce`. OSS ignores time windows. If a time field is passed, the value must be an integer.
347
+ * - A successful creation indicates that the submission has been accepted. Call `ListPipelineRuns` by using the pipeline name to query the import progress. A formal submission independently discovers the OSS input scope.
348
+ * ### Sample OSS creation request
349
+ * ```json
350
+ * {
351
+ * "pipelineName": "robot_import_example",
352
+ * "pipeline": {"nodes": []},
353
+ * "source": {"type": "oss", "oss": {"format": "lerobot", "region": "cn-beijing", "roleArn": "acs:ram::1234567890123456:role/oss-reader", "uri": "oss://example-bucket/robot-datasets/"}},
354
+ * "sink": {"type": "dataset", "dataset": {"agentSpace": "my-agent-space", "dataset": "robot-import-target"}},
355
+ * "executePolicy": {"mode": "RunOnce"}
356
+ * }
357
+ * ```
358
+ *
304
359
  * @param request - CreatePipelineRequest
305
360
  * @param headers - map
306
361
  * @param runtime - runtime options for this request RuntimeOptions
@@ -312,6 +367,23 @@ export default class Client extends OpenApi {
312
367
  /**
313
368
  * Creates a pipeline.
314
369
  *
370
+ * @remarks
371
+ * ## OSS import
372
+ * - When `source.type` is `oss`, `format`, `region`, `roleArn`, and `uri` in `source.oss` are required. You can omit `formatOptions` or pass an empty object `{}`. The initial version has no available configuration keys. Non-empty objects and other JSON types return a parameter error. Omit `source.inputFields`. When LeRobot has no processing nodes, you can pass `pipeline.nodes: []`. For MCAP, you must pass an empty array.
373
+ * - `sink.type` must be `dataset`, and `sink.dataset` must point to an existing dataset.
374
+ * - `executePolicy.mode` must be `RunOnce`. You can omit `runOnce`. OSS ignores time windows. If a time field is passed, the value must be an integer.
375
+ * - A successful creation indicates that the submission has been accepted. Call `ListPipelineRuns` by using the pipeline name to query the import progress. A formal submission independently discovers the OSS input scope.
376
+ * ### Sample OSS creation request
377
+ * ```json
378
+ * {
379
+ * "pipelineName": "robot_import_example",
380
+ * "pipeline": {"nodes": []},
381
+ * "source": {"type": "oss", "oss": {"format": "lerobot", "region": "cn-beijing", "roleArn": "acs:ram::1234567890123456:role/oss-reader", "uri": "oss://example-bucket/robot-datasets/"}},
382
+ * "sink": {"type": "dataset", "dataset": {"agentSpace": "my-agent-space", "dataset": "robot-import-target"}},
383
+ * "executePolicy": {"mode": "RunOnce"}
384
+ * }
385
+ * ```
386
+ *
315
387
  * @param request - CreatePipelineRequest
316
388
  * @returns CreatePipelineResponse
317
389
  */
@@ -624,6 +696,40 @@ export default class Client extends OpenApi {
624
696
  * @returns GetAgentSpaceResponse
625
697
  */
626
698
  getAgentSpace(agentSpace: string, request: $_model.GetAgentSpaceRequest): Promise<$_model.GetAgentSpaceResponse>;
699
+ /**
700
+ * Queries whether an audit transformation object is selected.
701
+ *
702
+ * @remarks
703
+ * ## Request description
704
+ * - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters, with no JSON request body or query parameters.
705
+ * - Isolated by the complete tenant key of user_id + agent_space + region_id. The agentSpace parameter comes from the path. The user ID and region come from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the AgentSpace access permissions and region matching.
706
+ * - Reads only the transformation list of the corresponding type. It does not create audit configurations or check whether the transformation object is online or the transformation task is healthy.
707
+ * - An HTTP 200 response returns id and selected, excluding requestId. If the object is not selected or the current AgentSpace has no audit configuration, selected is false, and a 404 error is not returned.
708
+ * - The error response is ErrorResponse: requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
709
+ *
710
+ * @param request - GetAuditConversionSourceRequest
711
+ * @param headers - map
712
+ * @param runtime - runtime options for this request RuntimeOptions
713
+ * @returns GetAuditConversionSourceResponse
714
+ */
715
+ getAuditConversionSourceWithOptions(agentSpace: string, type: string, instanceID: string, request: $_model.GetAuditConversionSourceRequest, headers: {
716
+ [key: string]: string;
717
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetAuditConversionSourceResponse>;
718
+ /**
719
+ * Queries whether an audit transformation object is selected.
720
+ *
721
+ * @remarks
722
+ * ## Request description
723
+ * - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters, with no JSON request body or query parameters.
724
+ * - Isolated by the complete tenant key of user_id + agent_space + region_id. The agentSpace parameter comes from the path. The user ID and region come from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the AgentSpace access permissions and region matching.
725
+ * - Reads only the transformation list of the corresponding type. It does not create audit configurations or check whether the transformation object is online or the transformation task is healthy.
726
+ * - An HTTP 200 response returns id and selected, excluding requestId. If the object is not selected or the current AgentSpace has no audit configuration, selected is false, and a 404 error is not returned.
727
+ * - The error response is ErrorResponse: requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
728
+ *
729
+ * @param request - GetAuditConversionSourceRequest
730
+ * @returns GetAuditConversionSourceResponse
731
+ */
732
+ getAuditConversionSource(agentSpace: string, type: string, instanceID: string, request: $_model.GetAuditConversionSourceRequest): Promise<$_model.GetAuditConversionSourceResponse>;
627
733
  /**
628
734
  * Queries the context store.
629
735
  *
@@ -853,10 +959,12 @@ export default class Client extends OpenApi {
853
959
  */
854
960
  getPipeline(agentSpace: string, pipelineName: string, request: $_model.GetPipelineRequest): Promise<$_model.GetPipelineResponse>;
855
961
  /**
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.
962
+ * Queries the details of a single run, including the data window, execution status, retry information, run statistics, and fault information.
857
963
  *
858
964
  * @remarks
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.
965
+ * Calls GetPipelineRun to query the details of a single pipeline run, including the data window, execution status, retry information, run statistics, and fault information.
966
+ * - For OSS imports, use `status` to query the run status, and use `work_total`, `work_success`, `work_failed`, and `work_skipped` under `stats` to view the processed row counts and results.
967
+ * - If an import fails, check `errorCode` and `errorMessage`. The `errorMessage` can contain the package path or object path, the cause, and up to three failure examples. When only package-level failures occur, `work_failed` may still be 0.
860
968
  *
861
969
  * @param request - GetPipelineRunRequest
862
970
  * @param headers - map
@@ -867,10 +975,12 @@ export default class Client extends OpenApi {
867
975
  [key: string]: string;
868
976
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetPipelineRunResponse>;
869
977
  /**
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.
978
+ * Queries the details of a single run, including the data window, execution status, retry information, run statistics, and fault information.
871
979
  *
872
980
  * @remarks
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.
981
+ * Calls GetPipelineRun to query the details of a single pipeline run, including the data window, execution status, retry information, run statistics, and fault information.
982
+ * - For OSS imports, use `status` to query the run status, and use `work_total`, `work_success`, `work_failed`, and `work_skipped` under `stats` to view the processed row counts and results.
983
+ * - If an import fails, check `errorCode` and `errorMessage`. The `errorMessage` can contain the package path or object path, the cause, and up to three failure examples. When only package-level failures occur, `work_failed` may still be 0.
874
984
  *
875
985
  * @param request - GetPipelineRunRequest
876
986
  * @returns GetPipelineRunResponse
@@ -937,7 +1047,7 @@ export default class Client extends OpenApi {
937
1047
  */
938
1048
  listContextStoreAPIKeys(agentSpace: string, contextStoreName: string, request: $_model.ListContextStoreAPIKeysRequest): Promise<$_model.ListContextStoreAPIKeysResponse>;
939
1049
  /**
940
- * Queries the list of context stores.
1050
+ * Queries a list of context stores.
941
1051
  *
942
1052
  * @param request - ListContextStoresRequest
943
1053
  * @param headers - map
@@ -948,7 +1058,7 @@ export default class Client extends OpenApi {
948
1058
  [key: string]: string;
949
1059
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListContextStoresResponse>;
950
1060
  /**
951
- * Queries the list of context stores.
1061
+ * Queries a list of context stores.
952
1062
  *
953
1063
  * @param request - ListContextStoresRequest
954
1064
  * @returns ListContextStoresResponse
@@ -1147,7 +1257,7 @@ export default class Client extends OpenApi {
1147
1257
  */
1148
1258
  listOptimizeTasks(agentSpace: string, request: $_model.ListOptimizeTasksRequest): Promise<$_model.ListOptimizeTasksResponse>;
1149
1259
  /**
1150
- * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
1260
+ * Queries the run history and supports filtering by status, trigger type, and time range with cursor-based pagination.
1151
1261
  *
1152
1262
  * @remarks
1153
1263
  * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
@@ -1161,7 +1271,7 @@ export default class Client extends OpenApi {
1161
1271
  [key: string]: string;
1162
1272
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListPipelineRunsResponse>;
1163
1273
  /**
1164
- * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
1274
+ * Queries the run history and supports filtering by status, trigger type, and time range with cursor-based pagination.
1165
1275
  *
1166
1276
  * @remarks
1167
1277
  * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
@@ -1171,7 +1281,10 @@ export default class Client extends OpenApi {
1171
1281
  */
1172
1282
  listPipelineRuns(agentSpace: string, pipelineName: string, request: $_model.ListPipelineRunsRequest): Promise<$_model.ListPipelineRunsResponse>;
1173
1283
  /**
1174
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
1284
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, with cursor-based pagination.
1285
+ *
1286
+ * @remarks
1287
+ * Calls the ListPipelines operation to query a list of pipelines. You can filter pipelines by name, schedule type, and schedule status, and use cursor-based pagination.
1175
1288
  *
1176
1289
  * @param request - ListPipelinesRequest
1177
1290
  * @param headers - map
@@ -1182,7 +1295,10 @@ export default class Client extends OpenApi {
1182
1295
  [key: string]: string;
1183
1296
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListPipelinesResponse>;
1184
1297
  /**
1185
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
1298
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, with cursor-based pagination.
1299
+ *
1300
+ * @remarks
1301
+ * Calls the ListPipelines operation to query a list of pipelines. You can filter pipelines by name, schedule type, and schedule status, and use cursor-based pagination.
1186
1302
  *
1187
1303
  * @param request - ListPipelinesRequest
1188
1304
  * @returns ListPipelinesResponse
@@ -1229,11 +1345,11 @@ export default class Client extends OpenApi {
1229
1345
  *
1230
1346
  * @remarks
1231
1347
  * ## Request description
1232
- * - **agentSpace** must be an existing AgentSpace instance under the current account.
1233
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
1234
- * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
1235
- * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
1236
- * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
1348
+ * - agentSpace must be an AgentSpace created under the current account.
1349
+ * - source.type supports logstore, dataset, trace, and oss. If logstore is selected, the project and Logstore used must be authorized in the AgentSpace and reside in the same region.
1350
+ * - If oss is selected, configure source.oss and omit source.inputFields. The server derives the schema from the source. For LeRobot, you can pass pipeline.nodes: [] to preview directly. For MCAP, you must pass an empty array. OSS preview ignores fromTime and toTime.
1351
+ * - For other sources, you must pass a non-empty pipeline.nodes array and provide fromTime and toTime in UNIX seconds. fromTime must be less than toTime.
1352
+ * - The preview returns up to 5 samples and filters out internal fields of the data source. For OSS, up to 5 candidates are attempted per batch. Failed candidates or those filtered out by the processing chain also count towards the limit. If the samples are empty but the schema can be derived, meta.schema is still returned.
1237
1353
  *
1238
1354
  * @param request - PreviewPipelineRequest
1239
1355
  * @param headers - map
@@ -1248,16 +1364,52 @@ export default class Client extends OpenApi {
1248
1364
  *
1249
1365
  * @remarks
1250
1366
  * ## Request description
1251
- * - **agentSpace** must be an existing AgentSpace instance under the current account.
1252
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
1253
- * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
1254
- * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
1255
- * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
1367
+ * - agentSpace must be an AgentSpace created under the current account.
1368
+ * - source.type supports logstore, dataset, trace, and oss. If logstore is selected, the project and Logstore used must be authorized in the AgentSpace and reside in the same region.
1369
+ * - If oss is selected, configure source.oss and omit source.inputFields. The server derives the schema from the source. For LeRobot, you can pass pipeline.nodes: [] to preview directly. For MCAP, you must pass an empty array. OSS preview ignores fromTime and toTime.
1370
+ * - For other sources, you must pass a non-empty pipeline.nodes array and provide fromTime and toTime in UNIX seconds. fromTime must be less than toTime.
1371
+ * - The preview returns up to 5 samples and filters out internal fields of the data source. For OSS, up to 5 candidates are attempted per batch. Failed candidates or those filtered out by the processing chain also count towards the limit. If the samples are empty but the schema can be derived, meta.schema is still returned.
1256
1372
  *
1257
1373
  * @param request - PreviewPipelineRequest
1258
1374
  * @returns PreviewPipelineResponse
1259
1375
  */
1260
1376
  previewPipeline(agentSpace: string, request: $_model.PreviewPipelineRequest): Promise<$_model.PreviewPipelineResponse>;
1377
+ /**
1378
+ * Removes an audit transformation object from the list.
1379
+ *
1380
+ * @remarks
1381
+ * ## Request description
1382
+ * - The DELETE /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} operation includes only three required path parameters and does not contain a JSON request body or query parameters.
1383
+ * - Isolation is based on the complete tenant key that consists of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions and region matching for the AgentSpace.
1384
+ * - If type is set to gateway, only the ID in configJson.audit_enabled_gateway_instances is removed. If type is set to trace, only the ID in configJson.audit_enabled_trace_apps is removed, and other configuration fields are retained.
1385
+ * - An HTTP 204 response with no response body indicates that the member is already in the unselected state. Repeated calls when the member is unselected also return 204 instead of 404. If the current AgentSpace does not have an audit configuration, no new configuration is created for the delete operation.
1386
+ * - The removal operation only modifies the list membership and does not synchronously stop the transformation task. After the actual change occurs, the coordinator asynchronously processes the task changes.
1387
+ * - The error response is an ErrorResponse object, which includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
1388
+ *
1389
+ * @param request - RemoveAuditConversionSourceRequest
1390
+ * @param headers - map
1391
+ * @param runtime - runtime options for this request RuntimeOptions
1392
+ * @returns RemoveAuditConversionSourceResponse
1393
+ */
1394
+ removeAuditConversionSourceWithOptions(agentSpace: string, type: string, instanceID: string, request: $_model.RemoveAuditConversionSourceRequest, headers: {
1395
+ [key: string]: string;
1396
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveAuditConversionSourceResponse>;
1397
+ /**
1398
+ * Removes an audit transformation object from the list.
1399
+ *
1400
+ * @remarks
1401
+ * ## Request description
1402
+ * - The DELETE /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} operation includes only three required path parameters and does not contain a JSON request body or query parameters.
1403
+ * - Isolation is based on the complete tenant key that consists of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions and region matching for the AgentSpace.
1404
+ * - If type is set to gateway, only the ID in configJson.audit_enabled_gateway_instances is removed. If type is set to trace, only the ID in configJson.audit_enabled_trace_apps is removed, and other configuration fields are retained.
1405
+ * - An HTTP 204 response with no response body indicates that the member is already in the unselected state. Repeated calls when the member is unselected also return 204 instead of 404. If the current AgentSpace does not have an audit configuration, no new configuration is created for the delete operation.
1406
+ * - The removal operation only modifies the list membership and does not synchronously stop the transformation task. After the actual change occurs, the coordinator asynchronously processes the task changes.
1407
+ * - The error response is an ErrorResponse object, which includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
1408
+ *
1409
+ * @param request - RemoveAuditConversionSourceRequest
1410
+ * @returns RemoveAuditConversionSourceResponse
1411
+ */
1412
+ removeAuditConversionSource(agentSpace: string, type: string, instanceID: string, request: $_model.RemoveAuditConversionSourceRequest): Promise<$_model.RemoveAuditConversionSourceResponse>;
1261
1413
  /**
1262
1414
  * Resumes a pipeline.
1263
1415
  *