@alicloud/agentloop20260520 2.8.1 → 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 (62) hide show
  1. package/dist/client.d.ts +64 -52
  2. package/dist/client.js +64 -52
  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 +26 -18
  14. package/dist/models/CreatePipelineRequest.js +2 -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 +35 -27
  22. package/dist/models/GetPipelineResponseBody.js +2 -0
  23. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  24. package/dist/models/ListDatasetsRequest.d.ts +8 -3
  25. package/dist/models/ListDatasetsRequest.js.map +1 -1
  26. package/dist/models/ListDatasetsResponseBody.d.ts +12 -7
  27. package/dist/models/ListDatasetsResponseBody.js.map +1 -1
  28. package/dist/models/ListDatasetsShrinkRequest.d.ts +8 -3
  29. package/dist/models/ListDatasetsShrinkRequest.js.map +1 -1
  30. package/dist/models/ListPipelinesResponseBody.d.ts +5 -0
  31. package/dist/models/ListPipelinesResponseBody.js +2 -0
  32. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  33. package/dist/models/PreviewPipelineRequest.d.ts +29 -21
  34. package/dist/models/PreviewPipelineRequest.js +2 -0
  35. package/dist/models/PreviewPipelineRequest.js.map +1 -1
  36. package/dist/models/PreviewPipelineResponseBody.d.ts +4 -4
  37. package/dist/models/UpdatePipelineRequest.d.ts +25 -19
  38. package/dist/models/UpdatePipelineRequest.js +2 -0
  39. package/dist/models/UpdatePipelineRequest.js.map +1 -1
  40. package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
  41. package/package.json +2 -2
  42. package/src/client.ts +64 -52
  43. package/src/models/AnalysisTask.ts +16 -8
  44. package/src/models/AuditTaskState.ts +17 -7
  45. package/src/models/CancelPipelineRunResponseBody.ts +2 -2
  46. package/src/models/ConnectorProperties.ts +21 -12
  47. package/src/models/CreateContextStoreRequest.ts +44 -44
  48. package/src/models/CreateContextStoreResponseBody.ts +1 -1
  49. package/src/models/CreatePipelineRequest.ts +28 -18
  50. package/src/models/CreatePipelineResponseBody.ts +1 -1
  51. package/src/models/GetAuditConversionSourceResponseBody.ts +3 -3
  52. package/src/models/GetDatasetRequest.ts +1 -1
  53. package/src/models/GetDatasetResponseBody.ts +26 -3
  54. package/src/models/GetPipelineResponseBody.ts +37 -27
  55. package/src/models/ListDatasetsRequest.ts +8 -3
  56. package/src/models/ListDatasetsResponseBody.ts +12 -7
  57. package/src/models/ListDatasetsShrinkRequest.ts +8 -3
  58. package/src/models/ListPipelinesResponseBody.ts +7 -0
  59. package/src/models/PreviewPipelineRequest.ts +31 -21
  60. package/src/models/PreviewPipelineResponseBody.ts +4 -4
  61. package/src/models/UpdatePipelineRequest.ts +27 -19
  62. package/src/models/UpdatePipelineResponseBody.ts +1 -1
package/src/client.ts CHANGED
@@ -38,13 +38,13 @@ export default class Client extends OpenApi {
38
38
  *
39
39
  * @remarks
40
40
  * ## Request description
41
- * - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters and no JSON request body or query parameters.
42
- * - 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.
43
- * - 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.
44
- * - 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.
45
- * - 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.
46
- * - 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.
47
- * - 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.
41
+ * - 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.
42
+ * - 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.
43
+ * - 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.
44
+ * - 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.
45
+ * - 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.
46
+ * - 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.
47
+ * - 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.
48
48
  *
49
49
  * @param request - AddAuditConversionSourceRequest
50
50
  * @param headers - map
@@ -75,13 +75,13 @@ export default class Client extends OpenApi {
75
75
  *
76
76
  * @remarks
77
77
  * ## Request description
78
- * - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters and no JSON request body or query parameters.
79
- * - 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.
80
- * - 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.
81
- * - 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.
82
- * - 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.
83
- * - 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.
84
- * - 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.
78
+ * - 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.
79
+ * - 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.
80
+ * - 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.
81
+ * - 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.
82
+ * - 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.
83
+ * - 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.
84
+ * - 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.
85
85
  *
86
86
  * @param request - AddAuditConversionSourceRequest
87
87
  * @returns AddAuditConversionSourceResponse
@@ -1116,9 +1116,9 @@ export default class Client extends OpenApi {
1116
1116
  * ## OSS import
1117
1117
  * - 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.
1118
1118
  * - `sink.type` must be `dataset`, and `sink.dataset` must point to an existing dataset.
1119
- * - `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.
1120
- * - 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.
1121
- * ### Sample OSS creation request
1119
+ * - `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.
1120
+ * - 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.
1121
+ * ### OSS creation request example
1122
1122
  * ```json
1123
1123
  * {
1124
1124
  * "pipelineName": "robot_import_example",
@@ -1196,9 +1196,9 @@ export default class Client extends OpenApi {
1196
1196
  * ## OSS import
1197
1197
  * - 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.
1198
1198
  * - `sink.type` must be `dataset`, and `sink.dataset` must point to an existing dataset.
1199
- * - `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.
1200
- * - 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.
1201
- * ### Sample OSS creation request
1199
+ * - `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.
1200
+ * - 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.
1201
+ * ### OSS creation request example
1202
1202
  * ```json
1203
1203
  * {
1204
1204
  * "pipelineName": "robot_import_example",
@@ -1961,11 +1961,11 @@ export default class Client extends OpenApi {
1961
1961
  *
1962
1962
  * @remarks
1963
1963
  * ## Request description
1964
- * - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters, with no JSON request body or query parameters.
1965
- * - 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.
1964
+ * - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters. It does not include a JSON request body or query parameters.
1965
+ * - 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.
1966
1966
  * - 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.
1967
- * - 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.
1968
- * - 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.
1967
+ * - 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.
1968
+ * - 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.
1969
1969
  *
1970
1970
  * @param request - GetAuditConversionSourceRequest
1971
1971
  * @param headers - map
@@ -1996,11 +1996,11 @@ export default class Client extends OpenApi {
1996
1996
  *
1997
1997
  * @remarks
1998
1998
  * ## Request description
1999
- * - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters, with no JSON request body or query parameters.
2000
- * - 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.
1999
+ * - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters. It does not include a JSON request body or query parameters.
2000
+ * - 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.
2001
2001
  * - 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.
2002
- * - 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.
2003
- * - 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.
2002
+ * - 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.
2003
+ * - 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.
2004
2004
  *
2005
2005
  * @param request - GetAuditConversionSourceRequest
2006
2006
  * @returns GetAuditConversionSourceResponse
@@ -2090,7 +2090,10 @@ export default class Client extends OpenApi {
2090
2090
  }
2091
2091
 
2092
2092
  /**
2093
- * Queries a dataset.
2093
+ * Queries the description, field structure, labels, and favorite status of a dataset.
2094
+ *
2095
+ * @remarks
2096
+ * 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.
2094
2097
  *
2095
2098
  * @param request - GetDatasetRequest
2096
2099
  * @param headers - map
@@ -2123,7 +2126,10 @@ export default class Client extends OpenApi {
2123
2126
  }
2124
2127
 
2125
2128
  /**
2126
- * Queries a dataset.
2129
+ * Queries the description, field structure, labels, and favorite status of a dataset.
2130
+ *
2131
+ * @remarks
2132
+ * 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.
2127
2133
  *
2128
2134
  * @param request - GetDatasetRequest
2129
2135
  * @returns GetDatasetResponse
@@ -2852,7 +2858,10 @@ export default class Client extends OpenApi {
2852
2858
  }
2853
2859
 
2854
2860
  /**
2855
- * Queries a list of datasets.
2861
+ * Performs a paging query for datasets in a specified AgentSpace.
2862
+ *
2863
+ * @remarks
2864
+ * 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.
2856
2865
  *
2857
2866
  * @param tmpReq - ListDatasetsRequest
2858
2867
  * @param headers - map
@@ -2903,7 +2912,10 @@ export default class Client extends OpenApi {
2903
2912
  }
2904
2913
 
2905
2914
  /**
2906
- * Queries a list of datasets.
2915
+ * Performs a paging query for datasets in a specified AgentSpace.
2916
+ *
2917
+ * @remarks
2918
+ * 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.
2907
2919
  *
2908
2920
  * @param request - ListDatasetsRequest
2909
2921
  * @returns ListDatasetsResponse
@@ -3697,11 +3709,11 @@ export default class Client extends OpenApi {
3697
3709
  *
3698
3710
  * @remarks
3699
3711
  * ## Request description
3700
- * - agentSpace must be an AgentSpace created under the current account.
3701
- * - 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.
3702
- * - 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.
3703
- * - 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.
3704
- * - 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.
3712
+ * - `agentSpace` must be an AgentSpace created under the current account.
3713
+ * - `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.
3714
+ * - 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`.
3715
+ * - 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`.
3716
+ * - 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.
3705
3717
  *
3706
3718
  * @param request - PreviewPipelineRequest
3707
3719
  * @param headers - map
@@ -3750,11 +3762,11 @@ export default class Client extends OpenApi {
3750
3762
  *
3751
3763
  * @remarks
3752
3764
  * ## Request description
3753
- * - agentSpace must be an AgentSpace created under the current account.
3754
- * - 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.
3755
- * - 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.
3756
- * - 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.
3757
- * - 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.
3765
+ * - `agentSpace` must be an AgentSpace created under the current account.
3766
+ * - `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.
3767
+ * - 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`.
3768
+ * - 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`.
3769
+ * - 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.
3758
3770
  *
3759
3771
  * @param request - PreviewPipelineRequest
3760
3772
  * @returns PreviewPipelineResponse
@@ -3770,12 +3782,12 @@ export default class Client extends OpenApi {
3770
3782
  *
3771
3783
  * @remarks
3772
3784
  * ## Request description
3773
- * - 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.
3774
- * - 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.
3775
- * - 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.
3785
+ * - DELETE /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters. It does not include a JSON request body or query parameters.
3786
+ * - 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.
3787
+ * - 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.
3776
3788
  * - 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.
3777
- * - 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.
3778
- * - 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.
3789
+ * - 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.
3790
+ * - 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.
3779
3791
  *
3780
3792
  * @param request - RemoveAuditConversionSourceRequest
3781
3793
  * @param headers - map
@@ -3806,12 +3818,12 @@ export default class Client extends OpenApi {
3806
3818
  *
3807
3819
  * @remarks
3808
3820
  * ## Request description
3809
- * - 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.
3810
- * - 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.
3811
- * - 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.
3821
+ * - DELETE /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters. It does not include a JSON request body or query parameters.
3822
+ * - 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.
3823
+ * - 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.
3812
3824
  * - 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.
3813
- * - 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.
3814
- * - 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.
3825
+ * - 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.
3826
+ * - 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.
3815
3827
  *
3816
3828
  * @param request - RemoveAuditConversionSourceRequest
3817
3829
  * @returns RemoveAuditConversionSourceResponse
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AnalysisTask extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The task completion time as a UNIX timestamp in milliseconds.
8
+ * The time when the task was completed. The value is a UNIX timestamp in milliseconds.
9
9
  *
10
10
  * @example
11
11
  * 1789747260000
@@ -13,7 +13,7 @@ export class AnalysisTask extends $dara.Model {
13
13
  completedAt?: number;
14
14
  /**
15
15
  * @remarks
16
- * The task creation time as a UNIX timestamp in milliseconds.
16
+ * The time when the task was created. The value is a UNIX timestamp in milliseconds.
17
17
  *
18
18
  * @example
19
19
  * 1789747200000
@@ -21,7 +21,7 @@ export class AnalysisTask extends $dara.Model {
21
21
  createdAt?: number;
22
22
  /**
23
23
  * @remarks
24
- * The error code for the task failure.
24
+ * The error code returned when the task fails.
25
25
  *
26
26
  * @example
27
27
  * NO_VALID_ATTRIBUTION_LABEL
@@ -29,7 +29,7 @@ export class AnalysisTask extends $dara.Model {
29
29
  errorCode?: string;
30
30
  /**
31
31
  * @remarks
32
- * The error message for the task failure.
32
+ * The error message returned when the task fails.
33
33
  *
34
34
  * @example
35
35
  * No valid attribution label was found
@@ -38,6 +38,14 @@ export class AnalysisTask extends $dara.Model {
38
38
  /**
39
39
  * @remarks
40
40
  * The generated analysis report. This field is typically not returned by list operations.
41
+ *
42
+ * @example
43
+ * {
44
+ * "rootReportId": "ffwqdqwdqwdqef",
45
+ * "reportUri": "https://test.test.test/",
46
+ * "reportSha256": "adevfadcasdqwcf",
47
+ * "reportBytes": 12471952812412
48
+ * }
41
49
  */
42
50
  report?: { [key: string]: any };
43
51
  /**
@@ -50,7 +58,7 @@ export class AnalysisTask extends $dara.Model {
50
58
  selectedCount?: number;
51
59
  /**
52
60
  * @remarks
53
- * The task status. Valid values: PENDING, RUNNING, SUCCEEDED, PARTIAL_SUCCEEDED, and FAILED.
61
+ * The status of the task. Valid values: PENDING, RUNNING, SUCCEEDED, PARTIAL_SUCCEEDED, or FAILED.
54
62
  *
55
63
  * @example
56
64
  * SUCCEEDED
@@ -58,7 +66,7 @@ export class AnalysisTask extends $dara.Model {
58
66
  status?: string;
59
67
  /**
60
68
  * @remarks
61
- * The analysis task ID.
69
+ * The ID of the analysis task.
62
70
  *
63
71
  * @example
64
72
  * analysis-task-8b36f2e2b1f94f9c91ce7a4b0f6d9c25
@@ -66,7 +74,7 @@ export class AnalysisTask extends $dara.Model {
66
74
  taskId?: string;
67
75
  /**
68
76
  * @remarks
69
- * The analysis task name.
77
+ * The name of the analysis task.
70
78
  *
71
79
  * @example
72
80
  * Low-score sample attribution analysis
@@ -74,7 +82,7 @@ export class AnalysisTask extends $dara.Model {
74
82
  taskName?: string;
75
83
  /**
76
84
  * @remarks
77
- * The analysis task type.
85
+ * The type of the analysis task.
78
86
  *
79
87
  * @example
80
88
  * ATTRIBUTION_SUMMARY
@@ -15,7 +15,7 @@ export class AuditTaskStateRuntimeError extends $dara.Model {
15
15
  code?: string;
16
16
  /**
17
17
  * @remarks
18
- * The error description.
18
+ * The error message.
19
19
  *
20
20
  * @example
21
21
  * error
@@ -57,17 +57,17 @@ export class AuditTaskStateRuntimeError extends $dara.Model {
57
57
  export class AuditTaskState extends $dara.Model {
58
58
  /**
59
59
  * @remarks
60
- * The current expected sharing switch for the task.
60
+ * The expected sharing toggle of the task.
61
61
  */
62
62
  enabled?: boolean;
63
63
  /**
64
64
  * @remarks
65
- * The runtime error, which is returned only when runtimeStatus is error.
65
+ * The runtime error, which is returned only when runtimeStatus is set to error.
66
66
  */
67
67
  runtimeError?: AuditTaskStateRuntimeError;
68
68
  /**
69
69
  * @remarks
70
- * The runtime status, which appears only when includeRuntimeStatus=true is requested. Valid values: pending, starting, stopping, running, stopped, missing, drifted, and error. The list and get operations do not return deleting.
70
+ * The runtime status, which is returned only when includeRuntimeStatus=true is specified in the request. Valid values: pending, starting, stopping, running, stopped, missing, drifted, and error. The deleting value is not returned in list or get operations.
71
71
  *
72
72
  * @example
73
73
  * running
@@ -75,7 +75,7 @@ export class AuditTaskState extends $dara.Model {
75
75
  runtimeStatus?: string;
76
76
  /**
77
77
  * @remarks
78
- * The time when the remote status is checked. This field appears together with runtimeStatus.
78
+ * The time when the remote status was checked. This field is returned together with runtimeStatus.
79
79
  *
80
80
  * @example
81
81
  * 1
@@ -83,7 +83,17 @@ export class AuditTaskState extends $dara.Model {
83
83
  runtimeStatusCheckedAt?: string;
84
84
  /**
85
85
  * @remarks
86
- * The task details in JSON format.
86
+ * The specific JSON details of the task.
87
+ *
88
+ * @example
89
+ * {
90
+ * "ruleIds": ["custom_r1_reverse_shell"],
91
+ * "customFieldIds": [],
92
+ * "sources": [{
93
+ * "project": "agentloop-audit-example",
94
+ * "logstore": "agent-event"
95
+ * }]
96
+ * }
87
97
  */
88
98
  task?: { [key: string]: any };
89
99
  /**
@@ -96,7 +106,7 @@ export class AuditTaskState extends $dara.Model {
96
106
  taskId?: string;
97
107
  /**
98
108
  * @remarks
99
- * The current execution configuration version of the task. The minimum value is 1. Starting or stopping the task does not increment this version.
109
+ * The current execution configuration version of the task. The minimum value is 1. Starting or stopping the task does not increase this version.
100
110
  *
101
111
  * @example
102
112
  * 7
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CancelPipelineRunResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The time when the cancellation is completed, in the ISO 8601 UTC format.
8
+ * The time when the cancellation was completed. The time is in the ISO 8601 standard in UTC.
9
9
  *
10
10
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ss.SSSZ
11
11
  *
@@ -15,7 +15,7 @@ export class CancelPipelineRunResponseBody extends $dara.Model {
15
15
  finishTime?: string;
16
16
  /**
17
17
  * @remarks
18
- * The request ID, which is used to locate the request during troubleshooting.
18
+ * The ID of the request, which is used to locate the request during troubleshooting.
19
19
  *
20
20
  * @example
21
21
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ConnectorProperties extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The channel type. Valid values: custom and apig. This parameter is optional for model_service. Default value: custom.
8
+ * The channel type. Valid values: custom, apig. This parameter is optional for model_service. Default value: custom.
9
9
  *
10
10
  * @example
11
11
  * custom
@@ -13,7 +13,7 @@ export class ConnectorProperties extends $dara.Model {
13
13
  channelType?: string;
14
14
  /**
15
15
  * @remarks
16
- * Specifies the sample request body provided by the user to verify endpoint connectivity. This parameter is required when dryRun is set to All and type is set to agent_app. The request body is not persisted.
16
+ * The sample request body provided by the user to verify endpoint connectivity. This parameter is required when dryRun is set to All and type is set to agent_app, and is not persisted.
17
17
  *
18
18
  * @example
19
19
  * {"input":"Hello"}
@@ -21,7 +21,7 @@ export class ConnectorProperties extends $dara.Model {
21
21
  dryRunRequestBody?: string;
22
22
  /**
23
23
  * @remarks
24
- * The number of retry attempts after a failed service invocation when you invoke the synthetic monitoring registration service. Valid values: 0 to 10. Default value: 3.
24
+ * The number of retry attempts to invoke the dial test registration service after a service invocation has failed. Valid values: 0 to 10. Default value: 3.
25
25
  *
26
26
  * @example
27
27
  * 3
@@ -29,7 +29,7 @@ export class ConnectorProperties extends $dara.Model {
29
29
  maxRetries?: string;
30
30
  /**
31
31
  * @remarks
32
- * The list of supported models in comma-separated format. This parameter is required for model_service.
32
+ * The supported model list in comma-separated format. This parameter is required for model_service.
33
33
  *
34
34
  * @example
35
35
  * qwen-max
@@ -37,7 +37,7 @@ export class ConnectorProperties extends $dara.Model {
37
37
  modelList?: string;
38
38
  /**
39
39
  * @remarks
40
- * The network type. Valid values: internet and aliyun-vpc.
40
+ * The network type. Valid values: internet, aliyun-vpc.
41
41
  *
42
42
  * @example
43
43
  * internet
@@ -45,7 +45,7 @@ export class ConnectorProperties extends $dara.Model {
45
45
  network?: string;
46
46
  /**
47
47
  * @remarks
48
- * The protocol type. Valid values: openai, openai-compatible, and anthropic. This parameter is required for model_service.
48
+ * The protocol type. Valid values: openai, openai-compatible, anthropic. This parameter is required for model_service.
49
49
  *
50
50
  * @example
51
51
  * openai-compatible
@@ -53,7 +53,7 @@ export class ConnectorProperties extends $dara.Model {
53
53
  protocol?: string;
54
54
  /**
55
55
  * @remarks
56
- * The queries per second (QPS) limit for the dial test registration service. A value of 0 indicates no throttling. Otherwise, valid values are 0.1 to 1000. Default value: 20 for agent_app and 100 for model_service.
56
+ * The QPS limit for the dial test registration service. A value of 0 indicates no throttling. Otherwise, valid values are 0.1 to 1000. Default value: 20 for agent_app and 100 for model_service.
57
57
  *
58
58
  * @example
59
59
  * 20
@@ -69,7 +69,7 @@ export class ConnectorProperties extends $dara.Model {
69
69
  region?: string;
70
70
  /**
71
71
  * @remarks
72
- * The JSONPath extraction path for the response body. This parameter is optional for agent_app.
72
+ * The JSON Path extraction path for the response body. This parameter is optional for agent_app.
73
73
  *
74
74
  * @example
75
75
  * $.choices[0].message.content
@@ -77,12 +77,15 @@ export class ConnectorProperties extends $dara.Model {
77
77
  responseBodyPath?: string;
78
78
  /**
79
79
  * @remarks
80
- * The ID of the security group. This parameter is optional for agent_app.
80
+ * The security group ID. This parameter is optional for agent_app.
81
+ *
82
+ * @example
83
+ * sg-bp1fg655nh68xyz9****
81
84
  */
82
85
  securityGroupId?: string;
83
86
  /**
84
87
  * @remarks
85
- * The timeout period for a single call in milliseconds. Valid values: 1000 to 1800000. Default value: 300000.
88
+ * The timeout for a single call in milliseconds. Valid values: 1000 to 1800000. Default value: 300000.
86
89
  *
87
90
  * @example
88
91
  * 30000
@@ -90,12 +93,18 @@ export class ConnectorProperties extends $dara.Model {
90
93
  timeoutMs?: string;
91
94
  /**
92
95
  * @remarks
93
- * The ID of the vSwitch. This parameter is optional for agent_app.
96
+ * The vSwitch ID. This parameter is optional for agent_app.
97
+ *
98
+ * @example
99
+ * vsw-bp1s5fnvk4gn2tws0****
94
100
  */
95
101
  vSwitchId?: string;
96
102
  /**
97
103
  * @remarks
98
- * The ID of the virtual private cloud (VPC). This parameter is optional for agent_app.
104
+ * The VPC ID. This parameter is optional for agent_app.
105
+ *
106
+ * @example
107
+ * vpc-bp1qpo0x2n5g0a4tz****
99
108
  */
100
109
  vpcId?: string;
101
110
  static names(): { [key: string]: string } {