@alicloud/agentloop20260520 2.8.0 → 2.8.2

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 (86) hide show
  1. package/dist/client.d.ts +110 -54
  2. package/dist/client.js +110 -54
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AnalysisTask.d.ts +16 -8
  5. package/dist/models/AnalysisTask.js.map +1 -1
  6. package/dist/models/AuditTaskState.d.ts +17 -7
  7. package/dist/models/AuditTaskState.js.map +1 -1
  8. package/dist/models/CancelPipelineRunResponseBody.d.ts +2 -2
  9. package/dist/models/ConnectorProperties.d.ts +21 -12
  10. package/dist/models/ConnectorProperties.js.map +1 -1
  11. package/dist/models/CreateContextStoreRequest.d.ts +44 -44
  12. package/dist/models/CreateContextStoreResponseBody.d.ts +1 -1
  13. package/dist/models/CreatePipelineRequest.d.ts +47 -30
  14. package/dist/models/CreatePipelineRequest.js +8 -0
  15. package/dist/models/CreatePipelineRequest.js.map +1 -1
  16. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  17. package/dist/models/GetAuditConversionSourceResponseBody.d.ts +3 -3
  18. package/dist/models/GetDatasetRequest.d.ts +1 -1
  19. package/dist/models/GetDatasetResponseBody.d.ts +26 -3
  20. package/dist/models/GetDatasetResponseBody.js.map +1 -1
  21. package/dist/models/GetPipelineResponseBody.d.ts +55 -38
  22. package/dist/models/GetPipelineResponseBody.js +8 -0
  23. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  24. package/dist/models/GetPipelineRunResponseBody.d.ts +7 -7
  25. package/dist/models/ListDatasetsRequest.d.ts +8 -3
  26. package/dist/models/ListDatasetsRequest.js.map +1 -1
  27. package/dist/models/ListDatasetsResponseBody.d.ts +12 -7
  28. package/dist/models/ListDatasetsResponseBody.js.map +1 -1
  29. package/dist/models/ListDatasetsShrinkRequest.d.ts +8 -3
  30. package/dist/models/ListDatasetsShrinkRequest.js.map +1 -1
  31. package/dist/models/ListPipelineRunsRequest.d.ts +1 -1
  32. package/dist/models/ListPipelineRunsResponseBody.d.ts +8 -6
  33. package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
  34. package/dist/models/ListPipelinesRequest.d.ts +5 -17
  35. package/dist/models/ListPipelinesRequest.js.map +1 -1
  36. package/dist/models/ListPipelinesResponseBody.d.ts +50 -33
  37. package/dist/models/ListPipelinesResponseBody.js +8 -0
  38. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  39. package/dist/models/PipelineOssSource.d.ts +69 -0
  40. package/dist/models/PipelineOssSource.js +69 -0
  41. package/dist/models/PipelineOssSource.js.map +1 -0
  42. package/dist/models/PreviewPipelineRequest.d.ts +37 -20
  43. package/dist/models/PreviewPipelineRequest.js +8 -0
  44. package/dist/models/PreviewPipelineRequest.js.map +1 -1
  45. package/dist/models/PreviewPipelineResponseBody.d.ts +30 -14
  46. package/dist/models/PreviewPipelineResponseBody.js +4 -0
  47. package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
  48. package/dist/models/RunPipelineRequest.d.ts +3 -3
  49. package/dist/models/RunPipelineResponseBody.d.ts +1 -1
  50. package/dist/models/UpdatePipelineRequest.d.ts +50 -36
  51. package/dist/models/UpdatePipelineRequest.js +8 -0
  52. package/dist/models/UpdatePipelineRequest.js.map +1 -1
  53. package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
  54. package/dist/models/model.d.ts +1 -0
  55. package/dist/models/model.js +8 -6
  56. package/dist/models/model.js.map +1 -1
  57. package/package.json +2 -2
  58. package/src/client.ts +110 -54
  59. package/src/models/AnalysisTask.ts +16 -8
  60. package/src/models/AuditTaskState.ts +17 -7
  61. package/src/models/CancelPipelineRunResponseBody.ts +2 -2
  62. package/src/models/ConnectorProperties.ts +21 -12
  63. package/src/models/CreateContextStoreRequest.ts +44 -44
  64. package/src/models/CreateContextStoreResponseBody.ts +1 -1
  65. package/src/models/CreatePipelineRequest.ts +54 -30
  66. package/src/models/CreatePipelineResponseBody.ts +1 -1
  67. package/src/models/GetAuditConversionSourceResponseBody.ts +3 -3
  68. package/src/models/GetDatasetRequest.ts +1 -1
  69. package/src/models/GetDatasetResponseBody.ts +26 -3
  70. package/src/models/GetPipelineResponseBody.ts +62 -38
  71. package/src/models/GetPipelineRunResponseBody.ts +7 -7
  72. package/src/models/ListDatasetsRequest.ts +8 -3
  73. package/src/models/ListDatasetsResponseBody.ts +12 -7
  74. package/src/models/ListDatasetsShrinkRequest.ts +8 -3
  75. package/src/models/ListPipelineRunsRequest.ts +1 -1
  76. package/src/models/ListPipelineRunsResponseBody.ts +8 -6
  77. package/src/models/ListPipelinesRequest.ts +5 -17
  78. package/src/models/ListPipelinesResponseBody.ts +57 -33
  79. package/src/models/PipelineOssSource.ts +91 -0
  80. package/src/models/PreviewPipelineRequest.ts +44 -20
  81. package/src/models/PreviewPipelineResponseBody.ts +34 -14
  82. package/src/models/RunPipelineRequest.ts +3 -3
  83. package/src/models/RunPipelineResponseBody.ts +1 -1
  84. package/src/models/UpdatePipelineRequest.ts +57 -36
  85. package/src/models/UpdatePipelineResponseBody.ts +1 -1
  86. package/src/models/model.ts +1 -0
package/dist/client.js CHANGED
@@ -70,13 +70,13 @@ class Client extends openapi_core_1.default {
70
70
  *
71
71
  * @remarks
72
72
  * ## Request description
73
- * - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters and no JSON request body or query parameters.
74
- * - 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.
75
- * - 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.
76
- * - 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.
77
- * - 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.
78
- * - 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.
79
- * - 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.
73
+ * - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID}. This operation requires only three mandatory path parameters. It does not require a JSON request body or query parameters.
74
+ * - Resources are 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 and region matching for the AgentSpace.
75
+ * - 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 are retained.
76
+ * - You can select up to 100 different objects for each list. 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. The limits are verified by the backend.
77
+ * - 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 204 without duplicate writes.
78
+ * - The addition only modifies the list membership and does not indicate the synchronous start of a transformation task. The coordinator subsequently processes task changes asynchronously. A 204 response does not mean that the task has started or is running healthily.
79
+ * - The error response is ErrorResponse, 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.
80
80
  *
81
81
  * @param request - AddAuditConversionSourceRequest
82
82
  * @param headers - map
@@ -106,13 +106,13 @@ class Client extends openapi_core_1.default {
106
106
  *
107
107
  * @remarks
108
108
  * ## Request description
109
- * - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters and no JSON request body or query parameters.
110
- * - 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.
111
- * - 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.
112
- * - 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.
113
- * - 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.
114
- * - 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.
115
- * - 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.
109
+ * - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID}. This operation requires only three mandatory path parameters. It does not require a JSON request body or query parameters.
110
+ * - Resources are 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 and region matching for the AgentSpace.
111
+ * - 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 are retained.
112
+ * - You can select up to 100 different objects for each list. 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. The limits are verified by the backend.
113
+ * - 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 204 without duplicate writes.
114
+ * - The addition only modifies the list membership and does not indicate the synchronous start of a transformation task. The coordinator subsequently processes task changes asynchronously. A 204 response does not mean that the task has started or is running healthily.
115
+ * - The error response is ErrorResponse, 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.
116
116
  *
117
117
  * @param request - AddAuditConversionSourceRequest
118
118
  * @returns AddAuditConversionSourceResponse
@@ -1022,6 +1022,23 @@ class Client extends openapi_core_1.default {
1022
1022
  /**
1023
1023
  * Creates a pipeline.
1024
1024
  *
1025
+ * @remarks
1026
+ * ## OSS import
1027
+ * - 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.
1028
+ * - `sink.type` must be `dataset`, and `sink.dataset` must point to an existing dataset.
1029
+ * - `executePolicy.mode` must be `RunOnce`. You can omit `runOnce`. OSS ignores the time window. If a time field is passed, the value must be an integer.
1030
+ * - A successful creation indicates that the submission is accepted. Call `ListPipelineRuns` with the pipeline name to query the import progress. The formal submission independently discovers the OSS input scope.
1031
+ * ### OSS creation request example
1032
+ * ```json
1033
+ * {
1034
+ * "pipelineName": "robot_import_example",
1035
+ * "pipeline": {"nodes": []},
1036
+ * "source": {"type": "oss", "oss": {"format": "lerobot", "region": "cn-beijing", "roleArn": "acs:ram::1234567890123456:role/oss-reader", "uri": "oss://example-bucket/robot-datasets/"}},
1037
+ * "sink": {"type": "dataset", "dataset": {"agentSpace": "my-agent-space", "dataset": "robot-import-target"}},
1038
+ * "executePolicy": {"mode": "RunOnce"}
1039
+ * }
1040
+ * ```
1041
+ *
1025
1042
  * @param request - CreatePipelineRequest
1026
1043
  * @param headers - map
1027
1044
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1076,6 +1093,23 @@ class Client extends openapi_core_1.default {
1076
1093
  /**
1077
1094
  * Creates a pipeline.
1078
1095
  *
1096
+ * @remarks
1097
+ * ## OSS import
1098
+ * - 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.
1099
+ * - `sink.type` must be `dataset`, and `sink.dataset` must point to an existing dataset.
1100
+ * - `executePolicy.mode` must be `RunOnce`. You can omit `runOnce`. OSS ignores the time window. If a time field is passed, the value must be an integer.
1101
+ * - A successful creation indicates that the submission is accepted. Call `ListPipelineRuns` with the pipeline name to query the import progress. The formal submission independently discovers the OSS input scope.
1102
+ * ### OSS creation request example
1103
+ * ```json
1104
+ * {
1105
+ * "pipelineName": "robot_import_example",
1106
+ * "pipeline": {"nodes": []},
1107
+ * "source": {"type": "oss", "oss": {"format": "lerobot", "region": "cn-beijing", "roleArn": "acs:ram::1234567890123456:role/oss-reader", "uri": "oss://example-bucket/robot-datasets/"}},
1108
+ * "sink": {"type": "dataset", "dataset": {"agentSpace": "my-agent-space", "dataset": "robot-import-target"}},
1109
+ * "executePolicy": {"mode": "RunOnce"}
1110
+ * }
1111
+ * ```
1112
+ *
1079
1113
  * @param request - CreatePipelineRequest
1080
1114
  * @returns CreatePipelineResponse
1081
1115
  */
@@ -1775,11 +1809,11 @@ class Client extends openapi_core_1.default {
1775
1809
  *
1776
1810
  * @remarks
1777
1811
  * ## Request description
1778
- * - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters, with no JSON request body or query parameters.
1779
- * - 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.
1812
+ * - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters. It does not include a JSON request body or query parameters.
1813
+ * - Isolates data 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 and region matching for the AgentSpace.
1780
1814
  * - 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.
1781
- * - 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.
1782
- * - 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.
1815
+ * - An HTTP 200 response returns id and selected, but does not include requestId. If the object is not selected or the current AgentSpace does not have an audit configuration, selected is set to false instead of returning a 404 error.
1816
+ * - An 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. Error HTTP status codes and response bodies are passed through as-is from the backend.
1783
1817
  *
1784
1818
  * @param request - GetAuditConversionSourceRequest
1785
1819
  * @param headers - map
@@ -1809,11 +1843,11 @@ class Client extends openapi_core_1.default {
1809
1843
  *
1810
1844
  * @remarks
1811
1845
  * ## Request description
1812
- * - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters, with no JSON request body or query parameters.
1813
- * - 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.
1846
+ * - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters. It does not include a JSON request body or query parameters.
1847
+ * - Isolates data 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 and region matching for the AgentSpace.
1814
1848
  * - 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.
1815
- * - 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.
1816
- * - 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.
1849
+ * - An HTTP 200 response returns id and selected, but does not include requestId. If the object is not selected or the current AgentSpace does not have an audit configuration, selected is set to false instead of returning a 404 error.
1850
+ * - An 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. Error HTTP status codes and response bodies are passed through as-is from the backend.
1817
1851
  *
1818
1852
  * @param request - GetAuditConversionSourceRequest
1819
1853
  * @returns GetAuditConversionSourceResponse
@@ -1898,7 +1932,10 @@ class Client extends openapi_core_1.default {
1898
1932
  return await this.getContextStoreAPIKeyWithOptions(agentSpace, contextStoreName, name, request, headers, runtime);
1899
1933
  }
1900
1934
  /**
1901
- * Queries a dataset.
1935
+ * Queries the description, field structure, labels, and favorite status of a dataset.
1936
+ *
1937
+ * @remarks
1938
+ * If the version parameter is not specified, this operation queries the current dataset. If an existing version number is specified, this operation queries the corresponding historical version. You can retrieve the version list by calling ListDatasetVersions. The returned schema describes the field structure of the dataset. To read the data content, call ExecuteQuery.
1902
1939
  *
1903
1940
  * @param request - GetDatasetRequest
1904
1941
  * @param headers - map
@@ -1929,7 +1966,10 @@ class Client extends openapi_core_1.default {
1929
1966
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDatasetResponse({}));
1930
1967
  }
1931
1968
  /**
1932
- * Queries a dataset.
1969
+ * Queries the description, field structure, labels, and favorite status of a dataset.
1970
+ *
1971
+ * @remarks
1972
+ * If the version parameter is not specified, this operation queries the current dataset. If an existing version number is specified, this operation queries the corresponding historical version. You can retrieve the version list by calling ListDatasetVersions. The returned schema describes the field structure of the dataset. To read the data content, call ExecuteQuery.
1933
1973
  *
1934
1974
  * @param request - GetDatasetRequest
1935
1975
  * @returns GetDatasetResponse
@@ -2301,10 +2341,12 @@ class Client extends openapi_core_1.default {
2301
2341
  return await this.getPipelineWithOptions(agentSpace, pipelineName, request, headers, runtime);
2302
2342
  }
2303
2343
  /**
2304
- * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
2344
+ * Queries the details of a single run, including the data window, execution status, retry information, run statistics, and fault information.
2305
2345
  *
2306
2346
  * @remarks
2307
- * 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.
2347
+ * Calls GetPipelineRun to query the details of a single pipeline run, including the data window, execution status, retry information, run statistics, and fault information.
2348
+ * - 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.
2349
+ * - 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.
2308
2350
  *
2309
2351
  * @param request - GetPipelineRunRequest
2310
2352
  * @param headers - map
@@ -2330,10 +2372,12 @@ class Client extends openapi_core_1.default {
2330
2372
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPipelineRunResponse({}));
2331
2373
  }
2332
2374
  /**
2333
- * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
2375
+ * Queries the details of a single run, including the data window, execution status, retry information, run statistics, and fault information.
2334
2376
  *
2335
2377
  * @remarks
2336
- * 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.
2378
+ * Calls GetPipelineRun to query the details of a single pipeline run, including the data window, execution status, retry information, run statistics, and fault information.
2379
+ * - 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.
2380
+ * - 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.
2337
2381
  *
2338
2382
  * @param request - GetPipelineRunRequest
2339
2383
  * @returns GetPipelineRunResponse
@@ -2601,7 +2645,10 @@ class Client extends openapi_core_1.default {
2601
2645
  return await this.listDatasetVersionsWithOptions(agentSpace, datasetName, request, headers, runtime);
2602
2646
  }
2603
2647
  /**
2604
- * Queries a list of datasets.
2648
+ * Performs a paging query for datasets in a specified AgentSpace.
2649
+ *
2650
+ * @remarks
2651
+ * You can filter datasets by the datasetName substring and labels. The results prioritize favorited datasets and are sorted in descending order of creation time. Do not pass nextToken in the first request. For subsequent requests, use the nextToken returned in the response and keep the filter conditions and page size consistent. Pagination ends when an empty token is returned.
2605
2652
  *
2606
2653
  * @param tmpReq - ListDatasetsRequest
2607
2654
  * @param headers - map
@@ -2646,7 +2693,10 @@ class Client extends openapi_core_1.default {
2646
2693
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDatasetsResponse({}));
2647
2694
  }
2648
2695
  /**
2649
- * Queries a list of datasets.
2696
+ * Performs a paging query for datasets in a specified AgentSpace.
2697
+ *
2698
+ * @remarks
2699
+ * You can filter datasets by the datasetName substring and labels. The results prioritize favorited datasets and are sorted in descending order of creation time. Do not pass nextToken in the first request. For subsequent requests, use the nextToken returned in the response and keep the filter conditions and page size consistent. Pagination ends when an empty token is returned.
2650
2700
  *
2651
2701
  * @param request - ListDatasetsRequest
2652
2702
  * @returns ListDatasetsResponse
@@ -3116,7 +3166,7 @@ class Client extends openapi_core_1.default {
3116
3166
  return await this.listOptimizeTasksWithOptions(agentSpace, request, headers, runtime);
3117
3167
  }
3118
3168
  /**
3119
- * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
3169
+ * Queries the run history and supports filtering by status, trigger type, and time range with cursor-based pagination.
3120
3170
  *
3121
3171
  * @remarks
3122
3172
  * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
@@ -3165,7 +3215,7 @@ class Client extends openapi_core_1.default {
3165
3215
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPipelineRunsResponse({}));
3166
3216
  }
3167
3217
  /**
3168
- * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
3218
+ * Queries the run history and supports filtering by status, trigger type, and time range with cursor-based pagination.
3169
3219
  *
3170
3220
  * @remarks
3171
3221
  * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
@@ -3179,7 +3229,10 @@ class Client extends openapi_core_1.default {
3179
3229
  return await this.listPipelineRunsWithOptions(agentSpace, pipelineName, request, headers, runtime);
3180
3230
  }
3181
3231
  /**
3182
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
3232
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, with cursor-based pagination.
3233
+ *
3234
+ * @remarks
3235
+ * 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.
3183
3236
  *
3184
3237
  * @param request - ListPipelinesRequest
3185
3238
  * @param headers - map
@@ -3228,7 +3281,10 @@ class Client extends openapi_core_1.default {
3228
3281
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPipelinesResponse({}));
3229
3282
  }
3230
3283
  /**
3231
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
3284
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, with cursor-based pagination.
3285
+ *
3286
+ * @remarks
3287
+ * 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.
3232
3288
  *
3233
3289
  * @param request - ListPipelinesRequest
3234
3290
  * @returns ListPipelinesResponse
@@ -3344,11 +3400,11 @@ class Client extends openapi_core_1.default {
3344
3400
  *
3345
3401
  * @remarks
3346
3402
  * ## Request description
3347
- * - **agentSpace** must be an existing AgentSpace instance under the current account.
3348
- * - **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.
3349
- * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
3350
- * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
3351
- * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
3403
+ * - `agentSpace` must be an AgentSpace created under the current account.
3404
+ * - `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.
3405
+ * - 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`.
3406
+ * - For other sources, you must pass a non-empty `pipeline.nodes` array and provide Unix timestamps in seconds for `fromTime` and `toTime`, where `fromTime` must be less than `toTime`.
3407
+ * - The preview returns up to 5 samples and filters internal fields of the data source. For OSS, up to 5 candidates are tried per batch. Candidates that fail or are filtered by the processing chain also count towards the limit. If the sample is empty but the schema can be derived, `meta.schema` is still returned.
3352
3408
  *
3353
3409
  * @param request - PreviewPipelineRequest
3354
3410
  * @param headers - map
@@ -3392,11 +3448,11 @@ class Client extends openapi_core_1.default {
3392
3448
  *
3393
3449
  * @remarks
3394
3450
  * ## Request description
3395
- * - **agentSpace** must be an existing AgentSpace instance under the current account.
3396
- * - **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.
3397
- * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
3398
- * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
3399
- * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
3451
+ * - `agentSpace` must be an AgentSpace created under the current account.
3452
+ * - `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.
3453
+ * - 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`.
3454
+ * - For other sources, you must pass a non-empty `pipeline.nodes` array and provide Unix timestamps in seconds for `fromTime` and `toTime`, where `fromTime` must be less than `toTime`.
3455
+ * - The preview returns up to 5 samples and filters internal fields of the data source. For OSS, up to 5 candidates are tried per batch. Candidates that fail or are filtered by the processing chain also count towards the limit. If the sample is empty but the schema can be derived, `meta.schema` is still returned.
3400
3456
  *
3401
3457
  * @param request - PreviewPipelineRequest
3402
3458
  * @returns PreviewPipelineResponse
@@ -3411,12 +3467,12 @@ class Client extends openapi_core_1.default {
3411
3467
  *
3412
3468
  * @remarks
3413
3469
  * ## Request description
3414
- * - 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.
3415
- * - 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.
3416
- * - 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.
3470
+ * - DELETE /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters. It does not include a JSON request body or query parameters.
3471
+ * - 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 and region matching for the AgentSpace.
3472
+ * - 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. Other configuration fields are retained.
3417
3473
  * - 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.
3418
- * - 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.
3419
- * - 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.
3474
+ * - The removal operation only modifies the membership of the list and does not synchronously stop the transformation task. After the actual change occurs, the coordinator asynchronously processes the task changes.
3475
+ * - 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. Error HTTP status codes and response bodies are passed through as-is from the backend.
3420
3476
  *
3421
3477
  * @param request - RemoveAuditConversionSourceRequest
3422
3478
  * @param headers - map
@@ -3446,12 +3502,12 @@ class Client extends openapi_core_1.default {
3446
3502
  *
3447
3503
  * @remarks
3448
3504
  * ## Request description
3449
- * - 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.
3450
- * - 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.
3451
- * - 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.
3505
+ * - DELETE /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters. It does not include a JSON request body or query parameters.
3506
+ * - 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 and region matching for the AgentSpace.
3507
+ * - 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. Other configuration fields are retained.
3452
3508
  * - 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.
3453
- * - 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.
3454
- * - 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.
3509
+ * - The removal operation only modifies the membership of the list and does not synchronously stop the transformation task. After the actual change occurs, the coordinator asynchronously processes the task changes.
3510
+ * - 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. Error HTTP status codes and response bodies are passed through as-is from the backend.
3455
3511
  *
3456
3512
  * @param request - RemoveAuditConversionSourceRequest
3457
3513
  * @returns RemoveAuditConversionSourceResponse