@alicloud/agentloop20260520 2.8.0 → 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 (55) hide show
  1. package/dist/client.d.ts +62 -18
  2. package/dist/client.js +62 -18
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreatePipelineRequest.d.ts +41 -32
  5. package/dist/models/CreatePipelineRequest.js +6 -0
  6. package/dist/models/CreatePipelineRequest.js.map +1 -1
  7. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  8. package/dist/models/GetPipelineResponseBody.d.ts +51 -42
  9. package/dist/models/GetPipelineResponseBody.js +6 -0
  10. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  11. package/dist/models/GetPipelineRunResponseBody.d.ts +7 -7
  12. package/dist/models/ListPipelineRunsRequest.d.ts +1 -1
  13. package/dist/models/ListPipelineRunsResponseBody.d.ts +8 -6
  14. package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
  15. package/dist/models/ListPipelinesRequest.d.ts +5 -17
  16. package/dist/models/ListPipelinesRequest.js.map +1 -1
  17. package/dist/models/ListPipelinesResponseBody.d.ts +45 -33
  18. package/dist/models/ListPipelinesResponseBody.js +6 -0
  19. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  20. package/dist/models/PipelineOssSource.d.ts +69 -0
  21. package/dist/models/PipelineOssSource.js +69 -0
  22. package/dist/models/PipelineOssSource.js.map +1 -0
  23. package/dist/models/PreviewPipelineRequest.d.ts +24 -15
  24. package/dist/models/PreviewPipelineRequest.js +6 -0
  25. package/dist/models/PreviewPipelineRequest.js.map +1 -1
  26. package/dist/models/PreviewPipelineResponseBody.d.ts +28 -12
  27. package/dist/models/PreviewPipelineResponseBody.js +4 -0
  28. package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
  29. package/dist/models/RunPipelineRequest.d.ts +3 -3
  30. package/dist/models/RunPipelineResponseBody.d.ts +1 -1
  31. package/dist/models/UpdatePipelineRequest.d.ts +44 -36
  32. package/dist/models/UpdatePipelineRequest.js +6 -0
  33. package/dist/models/UpdatePipelineRequest.js.map +1 -1
  34. package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
  35. package/dist/models/model.d.ts +1 -0
  36. package/dist/models/model.js +8 -6
  37. package/dist/models/model.js.map +1 -1
  38. package/package.json +1 -1
  39. package/src/client.ts +62 -18
  40. package/src/models/CreatePipelineRequest.ts +46 -32
  41. package/src/models/CreatePipelineResponseBody.ts +1 -1
  42. package/src/models/GetPipelineResponseBody.ts +56 -42
  43. package/src/models/GetPipelineRunResponseBody.ts +7 -7
  44. package/src/models/ListPipelineRunsRequest.ts +1 -1
  45. package/src/models/ListPipelineRunsResponseBody.ts +8 -6
  46. package/src/models/ListPipelinesRequest.ts +5 -17
  47. package/src/models/ListPipelinesResponseBody.ts +50 -33
  48. package/src/models/PipelineOssSource.ts +91 -0
  49. package/src/models/PreviewPipelineRequest.ts +29 -15
  50. package/src/models/PreviewPipelineResponseBody.ts +32 -12
  51. package/src/models/RunPipelineRequest.ts +3 -3
  52. package/src/models/RunPipelineResponseBody.ts +1 -1
  53. package/src/models/UpdatePipelineRequest.ts +49 -36
  54. package/src/models/UpdatePipelineResponseBody.ts +1 -1
  55. package/src/models/model.ts +1 -0
package/dist/client.d.ts CHANGED
@@ -339,6 +339,23 @@ export default class Client extends OpenApi {
339
339
  /**
340
340
  * Creates a pipeline.
341
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
+ *
342
359
  * @param request - CreatePipelineRequest
343
360
  * @param headers - map
344
361
  * @param runtime - runtime options for this request RuntimeOptions
@@ -350,6 +367,23 @@ export default class Client extends OpenApi {
350
367
  /**
351
368
  * Creates a pipeline.
352
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
+ *
353
387
  * @param request - CreatePipelineRequest
354
388
  * @returns CreatePipelineResponse
355
389
  */
@@ -925,10 +959,12 @@ export default class Client extends OpenApi {
925
959
  */
926
960
  getPipeline(agentSpace: string, pipelineName: string, request: $_model.GetPipelineRequest): Promise<$_model.GetPipelineResponse>;
927
961
  /**
928
- * 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.
929
963
  *
930
964
  * @remarks
931
- * 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.
932
968
  *
933
969
  * @param request - GetPipelineRunRequest
934
970
  * @param headers - map
@@ -939,10 +975,12 @@ export default class Client extends OpenApi {
939
975
  [key: string]: string;
940
976
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetPipelineRunResponse>;
941
977
  /**
942
- * 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.
943
979
  *
944
980
  * @remarks
945
- * 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.
946
984
  *
947
985
  * @param request - GetPipelineRunRequest
948
986
  * @returns GetPipelineRunResponse
@@ -1219,7 +1257,7 @@ export default class Client extends OpenApi {
1219
1257
  */
1220
1258
  listOptimizeTasks(agentSpace: string, request: $_model.ListOptimizeTasksRequest): Promise<$_model.ListOptimizeTasksResponse>;
1221
1259
  /**
1222
- * 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.
1223
1261
  *
1224
1262
  * @remarks
1225
1263
  * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
@@ -1233,7 +1271,7 @@ export default class Client extends OpenApi {
1233
1271
  [key: string]: string;
1234
1272
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListPipelineRunsResponse>;
1235
1273
  /**
1236
- * 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.
1237
1275
  *
1238
1276
  * @remarks
1239
1277
  * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
@@ -1243,7 +1281,10 @@ export default class Client extends OpenApi {
1243
1281
  */
1244
1282
  listPipelineRuns(agentSpace: string, pipelineName: string, request: $_model.ListPipelineRunsRequest): Promise<$_model.ListPipelineRunsResponse>;
1245
1283
  /**
1246
- * 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.
1247
1288
  *
1248
1289
  * @param request - ListPipelinesRequest
1249
1290
  * @param headers - map
@@ -1254,7 +1295,10 @@ export default class Client extends OpenApi {
1254
1295
  [key: string]: string;
1255
1296
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListPipelinesResponse>;
1256
1297
  /**
1257
- * 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.
1258
1302
  *
1259
1303
  * @param request - ListPipelinesRequest
1260
1304
  * @returns ListPipelinesResponse
@@ -1301,11 +1345,11 @@ export default class Client extends OpenApi {
1301
1345
  *
1302
1346
  * @remarks
1303
1347
  * ## Request description
1304
- * - **agentSpace** must be an existing AgentSpace instance under the current account.
1305
- * - **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.
1306
- * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
1307
- * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
1308
- * - 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.
1309
1353
  *
1310
1354
  * @param request - PreviewPipelineRequest
1311
1355
  * @param headers - map
@@ -1320,11 +1364,11 @@ export default class Client extends OpenApi {
1320
1364
  *
1321
1365
  * @remarks
1322
1366
  * ## Request description
1323
- * - **agentSpace** must be an existing AgentSpace instance under the current account.
1324
- * - **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.
1325
- * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
1326
- * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
1327
- * - 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.
1328
1372
  *
1329
1373
  * @param request - PreviewPipelineRequest
1330
1374
  * @returns PreviewPipelineResponse
package/dist/client.js CHANGED
@@ -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 time windows. If a time field is passed, the value must be an integer.
1030
+ * - 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.
1031
+ * ### Sample OSS creation request
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 time windows. If a time field is passed, the value must be an integer.
1101
+ * - 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.
1102
+ * ### Sample OSS creation request
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
  */
@@ -2301,10 +2335,12 @@ class Client extends openapi_core_1.default {
2301
2335
  return await this.getPipelineWithOptions(agentSpace, pipelineName, request, headers, runtime);
2302
2336
  }
2303
2337
  /**
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.
2338
+ * Queries the details of a single run, including the data window, execution status, retry information, run statistics, and fault information.
2305
2339
  *
2306
2340
  * @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.
2341
+ * Calls GetPipelineRun to query the details of a single pipeline run, including the data window, execution status, retry information, run statistics, and fault information.
2342
+ * - 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.
2343
+ * - 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
2344
  *
2309
2345
  * @param request - GetPipelineRunRequest
2310
2346
  * @param headers - map
@@ -2330,10 +2366,12 @@ class Client extends openapi_core_1.default {
2330
2366
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPipelineRunResponse({}));
2331
2367
  }
2332
2368
  /**
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.
2369
+ * Queries the details of a single run, including the data window, execution status, retry information, run statistics, and fault information.
2334
2370
  *
2335
2371
  * @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.
2372
+ * Calls GetPipelineRun to query the details of a single pipeline run, including the data window, execution status, retry information, run statistics, and fault information.
2373
+ * - 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.
2374
+ * - 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
2375
  *
2338
2376
  * @param request - GetPipelineRunRequest
2339
2377
  * @returns GetPipelineRunResponse
@@ -3116,7 +3154,7 @@ class Client extends openapi_core_1.default {
3116
3154
  return await this.listOptimizeTasksWithOptions(agentSpace, request, headers, runtime);
3117
3155
  }
3118
3156
  /**
3119
- * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
3157
+ * Queries the run history and supports filtering by status, trigger type, and time range with cursor-based pagination.
3120
3158
  *
3121
3159
  * @remarks
3122
3160
  * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
@@ -3165,7 +3203,7 @@ class Client extends openapi_core_1.default {
3165
3203
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPipelineRunsResponse({}));
3166
3204
  }
3167
3205
  /**
3168
- * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
3206
+ * Queries the run history and supports filtering by status, trigger type, and time range with cursor-based pagination.
3169
3207
  *
3170
3208
  * @remarks
3171
3209
  * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
@@ -3179,7 +3217,10 @@ class Client extends openapi_core_1.default {
3179
3217
  return await this.listPipelineRunsWithOptions(agentSpace, pipelineName, request, headers, runtime);
3180
3218
  }
3181
3219
  /**
3182
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
3220
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, with cursor-based pagination.
3221
+ *
3222
+ * @remarks
3223
+ * 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
3224
  *
3184
3225
  * @param request - ListPipelinesRequest
3185
3226
  * @param headers - map
@@ -3228,7 +3269,10 @@ class Client extends openapi_core_1.default {
3228
3269
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPipelinesResponse({}));
3229
3270
  }
3230
3271
  /**
3231
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
3272
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, with cursor-based pagination.
3273
+ *
3274
+ * @remarks
3275
+ * 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
3276
  *
3233
3277
  * @param request - ListPipelinesRequest
3234
3278
  * @returns ListPipelinesResponse
@@ -3344,11 +3388,11 @@ class Client extends openapi_core_1.default {
3344
3388
  *
3345
3389
  * @remarks
3346
3390
  * ## 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.
3391
+ * - agentSpace must be an AgentSpace created under the current account.
3392
+ * - 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.
3393
+ * - 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.
3394
+ * - 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.
3395
+ * - 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.
3352
3396
  *
3353
3397
  * @param request - PreviewPipelineRequest
3354
3398
  * @param headers - map
@@ -3392,11 +3436,11 @@ class Client extends openapi_core_1.default {
3392
3436
  *
3393
3437
  * @remarks
3394
3438
  * ## 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.
3439
+ * - agentSpace must be an AgentSpace created under the current account.
3440
+ * - 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.
3441
+ * - 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.
3442
+ * - 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.
3443
+ * - 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.
3400
3444
  *
3401
3445
  * @param request - PreviewPipelineRequest
3402
3446
  * @returns PreviewPipelineResponse