@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.
- package/dist/client.d.ts +64 -52
- package/dist/client.js +64 -52
- package/dist/client.js.map +1 -1
- package/dist/models/AnalysisTask.d.ts +16 -8
- package/dist/models/AnalysisTask.js.map +1 -1
- package/dist/models/AuditTaskState.d.ts +17 -7
- package/dist/models/AuditTaskState.js.map +1 -1
- package/dist/models/CancelPipelineRunResponseBody.d.ts +2 -2
- package/dist/models/ConnectorProperties.d.ts +21 -12
- package/dist/models/ConnectorProperties.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +44 -44
- package/dist/models/CreateContextStoreResponseBody.d.ts +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +26 -18
- package/dist/models/CreatePipelineRequest.js +2 -0
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/GetAuditConversionSourceResponseBody.d.ts +3 -3
- package/dist/models/GetDatasetRequest.d.ts +1 -1
- package/dist/models/GetDatasetResponseBody.d.ts +26 -3
- package/dist/models/GetDatasetResponseBody.js.map +1 -1
- package/dist/models/GetPipelineResponseBody.d.ts +35 -27
- package/dist/models/GetPipelineResponseBody.js +2 -0
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/ListDatasetsRequest.d.ts +8 -3
- package/dist/models/ListDatasetsRequest.js.map +1 -1
- package/dist/models/ListDatasetsResponseBody.d.ts +12 -7
- package/dist/models/ListDatasetsResponseBody.js.map +1 -1
- package/dist/models/ListDatasetsShrinkRequest.d.ts +8 -3
- package/dist/models/ListDatasetsShrinkRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +5 -0
- package/dist/models/ListPipelinesResponseBody.js +2 -0
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/PreviewPipelineRequest.d.ts +29 -21
- package/dist/models/PreviewPipelineRequest.js +2 -0
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +4 -4
- package/dist/models/UpdatePipelineRequest.d.ts +25 -19
- package/dist/models/UpdatePipelineRequest.js +2 -0
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
- package/package.json +2 -2
- package/src/client.ts +64 -52
- package/src/models/AnalysisTask.ts +16 -8
- package/src/models/AuditTaskState.ts +17 -7
- package/src/models/CancelPipelineRunResponseBody.ts +2 -2
- package/src/models/ConnectorProperties.ts +21 -12
- package/src/models/CreateContextStoreRequest.ts +44 -44
- package/src/models/CreateContextStoreResponseBody.ts +1 -1
- package/src/models/CreatePipelineRequest.ts +28 -18
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/GetAuditConversionSourceResponseBody.ts +3 -3
- package/src/models/GetDatasetRequest.ts +1 -1
- package/src/models/GetDatasetResponseBody.ts +26 -3
- package/src/models/GetPipelineResponseBody.ts +37 -27
- package/src/models/ListDatasetsRequest.ts +8 -3
- package/src/models/ListDatasetsResponseBody.ts +12 -7
- package/src/models/ListDatasetsShrinkRequest.ts +8 -3
- package/src/models/ListPipelinesResponseBody.ts +7 -0
- package/src/models/PreviewPipelineRequest.ts +31 -21
- package/src/models/PreviewPipelineResponseBody.ts +4 -4
- package/src/models/UpdatePipelineRequest.ts +27 -19
- 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}
|
|
42
|
-
* -
|
|
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
|
|
44
|
-
* -
|
|
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
|
|
46
|
-
* - The addition
|
|
47
|
-
* - The error response is
|
|
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}
|
|
79
|
-
* -
|
|
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
|
|
81
|
-
* -
|
|
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
|
|
83
|
-
* - The addition
|
|
84
|
-
* - The error response is
|
|
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
|
|
1120
|
-
* - A successful creation indicates that the submission
|
|
1121
|
-
* ###
|
|
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
|
|
1200
|
-
* - A successful creation indicates that the submission
|
|
1201
|
-
* ###
|
|
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
|
|
1965
|
-
* -
|
|
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,
|
|
1968
|
-
* -
|
|
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
|
|
2000
|
-
* -
|
|
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,
|
|
2003
|
-
* -
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
3702
|
-
* - If oss is selected, configure source.oss and omit source.inputFields
|
|
3703
|
-
* - For other sources, you must pass a non-empty pipeline.nodes array and provide fromTime and toTime
|
|
3704
|
-
* - The preview returns up to 5 samples and filters
|
|
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
|
|
3755
|
-
* - If oss is selected, configure source.oss and omit source.inputFields
|
|
3756
|
-
* - For other sources, you must pass a non-empty pipeline.nodes array and provide fromTime and toTime
|
|
3757
|
-
* - The preview returns up to 5 samples and filters
|
|
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
|
-
* -
|
|
3774
|
-
* -
|
|
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
|
|
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
|
|
3778
|
-
* - The error response is an ErrorResponse object
|
|
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
|
-
* -
|
|
3810
|
-
* -
|
|
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
|
|
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
|
|
3814
|
-
* - The error response is an ErrorResponse object
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 } {
|