@alicloud/agentloop20260520 2.7.1 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +172 -20
- package/dist/client.js +229 -20
- package/dist/client.js.map +1 -1
- package/dist/models/AddAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/AddAuditConversionSourceRequest.js +54 -0
- package/dist/models/AddAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/AddAuditConversionSourceResponse.d.ts +17 -0
- package/dist/models/AddAuditConversionSourceResponse.js +63 -0
- package/dist/models/AddAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/CreatePipelineRequest.d.ts +41 -32
- package/dist/models/CreatePipelineRequest.js +6 -0
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/ExperimentConfig.d.ts +3 -0
- package/dist/models/ExperimentConfig.js.map +1 -1
- package/dist/models/GetAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/GetAuditConversionSourceRequest.js +54 -0
- package/dist/models/GetAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/GetAuditConversionSourceResponse.d.ts +19 -0
- package/dist/models/GetAuditConversionSourceResponse.js +69 -0
- package/dist/models/GetAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/GetAuditConversionSourceResponseBody.d.ts +35 -0
- package/dist/models/GetAuditConversionSourceResponseBody.js +60 -0
- package/dist/models/GetAuditConversionSourceResponseBody.js.map +1 -0
- package/dist/models/GetContextStoreResponseBody.d.ts +49 -49
- package/dist/models/GetPipelineResponseBody.d.ts +51 -42
- package/dist/models/GetPipelineResponseBody.js +6 -0
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/GetPipelineRunResponseBody.d.ts +7 -7
- package/dist/models/ListContextStoresRequest.d.ts +3 -3
- package/dist/models/ListContextStoresResponseBody.d.ts +8 -8
- package/dist/models/ListPipelineRunsRequest.d.ts +1 -1
- package/dist/models/ListPipelineRunsResponseBody.d.ts +8 -6
- package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
- package/dist/models/ListPipelinesRequest.d.ts +5 -17
- package/dist/models/ListPipelinesRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +45 -33
- package/dist/models/ListPipelinesResponseBody.js +6 -0
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/PipelineOssSource.d.ts +69 -0
- package/dist/models/PipelineOssSource.js +69 -0
- package/dist/models/PipelineOssSource.js.map +1 -0
- package/dist/models/PreviewPipelineRequest.d.ts +24 -15
- package/dist/models/PreviewPipelineRequest.js +6 -0
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +28 -12
- package/dist/models/PreviewPipelineResponseBody.js +4 -0
- package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
- package/dist/models/RemoveAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/RemoveAuditConversionSourceRequest.js +54 -0
- package/dist/models/RemoveAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/RemoveAuditConversionSourceResponse.d.ts +17 -0
- package/dist/models/RemoveAuditConversionSourceResponse.js +63 -0
- package/dist/models/RemoveAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/RunPipelineRequest.d.ts +3 -3
- package/dist/models/RunPipelineResponseBody.d.ts +1 -1
- package/dist/models/UpdatePipelineRequest.d.ts +44 -36
- package/dist/models/UpdatePipelineRequest.js +6 -0
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +22 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +235 -20
- package/src/models/AddAuditConversionSourceRequest.ts +24 -0
- package/src/models/AddAuditConversionSourceResponse.ts +33 -0
- package/src/models/CreatePipelineRequest.ts +46 -32
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/ExperimentConfig.ts +3 -0
- package/src/models/GetAuditConversionSourceRequest.ts +24 -0
- package/src/models/GetAuditConversionSourceResponse.ts +40 -0
- package/src/models/GetAuditConversionSourceResponseBody.ts +50 -0
- package/src/models/GetContextStoreResponseBody.ts +49 -49
- package/src/models/GetPipelineResponseBody.ts +56 -42
- package/src/models/GetPipelineRunResponseBody.ts +7 -7
- package/src/models/ListContextStoresRequest.ts +3 -3
- package/src/models/ListContextStoresResponseBody.ts +8 -8
- package/src/models/ListPipelineRunsRequest.ts +1 -1
- package/src/models/ListPipelineRunsResponseBody.ts +8 -6
- package/src/models/ListPipelinesRequest.ts +5 -17
- package/src/models/ListPipelinesResponseBody.ts +50 -33
- package/src/models/PipelineOssSource.ts +91 -0
- package/src/models/PreviewPipelineRequest.ts +29 -15
- package/src/models/PreviewPipelineResponseBody.ts +32 -12
- package/src/models/RemoveAuditConversionSourceRequest.ts +24 -0
- package/src/models/RemoveAuditConversionSourceResponse.ts +33 -0
- package/src/models/RunPipelineRequest.ts +3 -3
- package/src/models/RunPipelineResponseBody.ts +1 -1
- package/src/models/UpdatePipelineRequest.ts +49 -36
- package/src/models/UpdatePipelineResponseBody.ts +1 -1
- package/src/models/model.ts +8 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -33,6 +33,65 @@ export default class Client extends OpenApi {
|
|
|
33
33
|
return OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Adds an audit transformation object to the list.
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
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.
|
|
48
|
+
*
|
|
49
|
+
* @param request - AddAuditConversionSourceRequest
|
|
50
|
+
* @param headers - map
|
|
51
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
52
|
+
* @returns AddAuditConversionSourceResponse
|
|
53
|
+
*/
|
|
54
|
+
async addAuditConversionSourceWithOptions(agentSpace: string, type: string, instanceID: string, request: $_model.AddAuditConversionSourceRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.AddAuditConversionSourceResponse> {
|
|
55
|
+
request.validate();
|
|
56
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
57
|
+
headers: headers,
|
|
58
|
+
});
|
|
59
|
+
let params = new $OpenApiUtil.Params({
|
|
60
|
+
action: "AddAuditConversionSource",
|
|
61
|
+
version: "2026-05-20",
|
|
62
|
+
protocol: "HTTPS",
|
|
63
|
+
pathname: `/agentspace/${$dara.URL.percentEncode(agentSpace)}/audit/sources/${$dara.URL.percentEncode(type)}/${$dara.URL.percentEncode(instanceID)}`,
|
|
64
|
+
method: "PUT",
|
|
65
|
+
authType: "AK",
|
|
66
|
+
style: "ROA",
|
|
67
|
+
reqBodyType: "json",
|
|
68
|
+
bodyType: "none",
|
|
69
|
+
});
|
|
70
|
+
return $dara.cast<$_model.AddAuditConversionSourceResponse>(await this.callApi(params, req, runtime), new $_model.AddAuditConversionSourceResponse({}));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Adds an audit transformation object to the list.
|
|
75
|
+
*
|
|
76
|
+
* @remarks
|
|
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.
|
|
85
|
+
*
|
|
86
|
+
* @param request - AddAuditConversionSourceRequest
|
|
87
|
+
* @returns AddAuditConversionSourceResponse
|
|
88
|
+
*/
|
|
89
|
+
async addAuditConversionSource(agentSpace: string, type: string, instanceID: string, request: $_model.AddAuditConversionSourceRequest): Promise<$_model.AddAuditConversionSourceResponse> {
|
|
90
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
91
|
+
let headers : {[key: string ]: string} = { };
|
|
92
|
+
return await this.addAuditConversionSourceWithOptions(agentSpace, type, instanceID, request, headers, runtime);
|
|
93
|
+
}
|
|
94
|
+
|
|
36
95
|
/**
|
|
37
96
|
* Appends structured data rows to a specified dataset without requiring the client to construct SQL statements.
|
|
38
97
|
*
|
|
@@ -1053,6 +1112,23 @@ export default class Client extends OpenApi {
|
|
|
1053
1112
|
/**
|
|
1054
1113
|
* Creates a pipeline.
|
|
1055
1114
|
*
|
|
1115
|
+
* @remarks
|
|
1116
|
+
* ## OSS import
|
|
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
|
+
* - `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
|
|
1122
|
+
* ```json
|
|
1123
|
+
* {
|
|
1124
|
+
* "pipelineName": "robot_import_example",
|
|
1125
|
+
* "pipeline": {"nodes": []},
|
|
1126
|
+
* "source": {"type": "oss", "oss": {"format": "lerobot", "region": "cn-beijing", "roleArn": "acs:ram::1234567890123456:role/oss-reader", "uri": "oss://example-bucket/robot-datasets/"}},
|
|
1127
|
+
* "sink": {"type": "dataset", "dataset": {"agentSpace": "my-agent-space", "dataset": "robot-import-target"}},
|
|
1128
|
+
* "executePolicy": {"mode": "RunOnce"}
|
|
1129
|
+
* }
|
|
1130
|
+
* ```
|
|
1131
|
+
*
|
|
1056
1132
|
* @param request - CreatePipelineRequest
|
|
1057
1133
|
* @param headers - map
|
|
1058
1134
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1116,6 +1192,23 @@ export default class Client extends OpenApi {
|
|
|
1116
1192
|
/**
|
|
1117
1193
|
* Creates a pipeline.
|
|
1118
1194
|
*
|
|
1195
|
+
* @remarks
|
|
1196
|
+
* ## OSS import
|
|
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
|
+
* - `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
|
|
1202
|
+
* ```json
|
|
1203
|
+
* {
|
|
1204
|
+
* "pipelineName": "robot_import_example",
|
|
1205
|
+
* "pipeline": {"nodes": []},
|
|
1206
|
+
* "source": {"type": "oss", "oss": {"format": "lerobot", "region": "cn-beijing", "roleArn": "acs:ram::1234567890123456:role/oss-reader", "uri": "oss://example-bucket/robot-datasets/"}},
|
|
1207
|
+
* "sink": {"type": "dataset", "dataset": {"agentSpace": "my-agent-space", "dataset": "robot-import-target"}},
|
|
1208
|
+
* "executePolicy": {"mode": "RunOnce"}
|
|
1209
|
+
* }
|
|
1210
|
+
* ```
|
|
1211
|
+
*
|
|
1119
1212
|
* @param request - CreatePipelineRequest
|
|
1120
1213
|
* @returns CreatePipelineResponse
|
|
1121
1214
|
*/
|
|
@@ -1863,6 +1956,61 @@ export default class Client extends OpenApi {
|
|
|
1863
1956
|
return await this.getAgentSpaceWithOptions(agentSpace, request, headers, runtime);
|
|
1864
1957
|
}
|
|
1865
1958
|
|
|
1959
|
+
/**
|
|
1960
|
+
* Queries whether an audit transformation object is selected.
|
|
1961
|
+
*
|
|
1962
|
+
* @remarks
|
|
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.
|
|
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.
|
|
1969
|
+
*
|
|
1970
|
+
* @param request - GetAuditConversionSourceRequest
|
|
1971
|
+
* @param headers - map
|
|
1972
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1973
|
+
* @returns GetAuditConversionSourceResponse
|
|
1974
|
+
*/
|
|
1975
|
+
async getAuditConversionSourceWithOptions(agentSpace: string, type: string, instanceID: string, request: $_model.GetAuditConversionSourceRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetAuditConversionSourceResponse> {
|
|
1976
|
+
request.validate();
|
|
1977
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1978
|
+
headers: headers,
|
|
1979
|
+
});
|
|
1980
|
+
let params = new $OpenApiUtil.Params({
|
|
1981
|
+
action: "GetAuditConversionSource",
|
|
1982
|
+
version: "2026-05-20",
|
|
1983
|
+
protocol: "HTTPS",
|
|
1984
|
+
pathname: `/agentspace/${$dara.URL.percentEncode(agentSpace)}/audit/sources/${$dara.URL.percentEncode(type)}/${$dara.URL.percentEncode(instanceID)}`,
|
|
1985
|
+
method: "GET",
|
|
1986
|
+
authType: "AK",
|
|
1987
|
+
style: "ROA",
|
|
1988
|
+
reqBodyType: "json",
|
|
1989
|
+
bodyType: "json",
|
|
1990
|
+
});
|
|
1991
|
+
return $dara.cast<$_model.GetAuditConversionSourceResponse>(await this.callApi(params, req, runtime), new $_model.GetAuditConversionSourceResponse({}));
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
/**
|
|
1995
|
+
* Queries whether an audit transformation object is selected.
|
|
1996
|
+
*
|
|
1997
|
+
* @remarks
|
|
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.
|
|
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.
|
|
2004
|
+
*
|
|
2005
|
+
* @param request - GetAuditConversionSourceRequest
|
|
2006
|
+
* @returns GetAuditConversionSourceResponse
|
|
2007
|
+
*/
|
|
2008
|
+
async getAuditConversionSource(agentSpace: string, type: string, instanceID: string, request: $_model.GetAuditConversionSourceRequest): Promise<$_model.GetAuditConversionSourceResponse> {
|
|
2009
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2010
|
+
let headers : {[key: string ]: string} = { };
|
|
2011
|
+
return await this.getAuditConversionSourceWithOptions(agentSpace, type, instanceID, request, headers, runtime);
|
|
2012
|
+
}
|
|
2013
|
+
|
|
1866
2014
|
/**
|
|
1867
2015
|
* Queries the context store.
|
|
1868
2016
|
*
|
|
@@ -2370,10 +2518,12 @@ export default class Client extends OpenApi {
|
|
|
2370
2518
|
}
|
|
2371
2519
|
|
|
2372
2520
|
/**
|
|
2373
|
-
* Queries the details of a single run, including the data window,
|
|
2521
|
+
* Queries the details of a single run, including the data window, execution status, retry information, run statistics, and fault information.
|
|
2374
2522
|
*
|
|
2375
2523
|
* @remarks
|
|
2376
|
-
*
|
|
2524
|
+
* Calls GetPipelineRun to query the details of a single pipeline run, including the data window, execution status, retry information, run statistics, and fault information.
|
|
2525
|
+
* - 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.
|
|
2526
|
+
* - 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.
|
|
2377
2527
|
*
|
|
2378
2528
|
* @param request - GetPipelineRunRequest
|
|
2379
2529
|
* @param headers - map
|
|
@@ -2400,10 +2550,12 @@ export default class Client extends OpenApi {
|
|
|
2400
2550
|
}
|
|
2401
2551
|
|
|
2402
2552
|
/**
|
|
2403
|
-
* Queries the details of a single run, including the data window,
|
|
2553
|
+
* Queries the details of a single run, including the data window, execution status, retry information, run statistics, and fault information.
|
|
2404
2554
|
*
|
|
2405
2555
|
* @remarks
|
|
2406
|
-
*
|
|
2556
|
+
* Calls GetPipelineRun to query the details of a single pipeline run, including the data window, execution status, retry information, run statistics, and fault information.
|
|
2557
|
+
* - 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.
|
|
2558
|
+
* - 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.
|
|
2407
2559
|
*
|
|
2408
2560
|
* @param request - GetPipelineRunRequest
|
|
2409
2561
|
* @returns GetPipelineRunResponse
|
|
@@ -2590,7 +2742,7 @@ export default class Client extends OpenApi {
|
|
|
2590
2742
|
}
|
|
2591
2743
|
|
|
2592
2744
|
/**
|
|
2593
|
-
* Queries
|
|
2745
|
+
* Queries a list of context stores.
|
|
2594
2746
|
*
|
|
2595
2747
|
* @param request - ListContextStoresRequest
|
|
2596
2748
|
* @param headers - map
|
|
@@ -2639,7 +2791,7 @@ export default class Client extends OpenApi {
|
|
|
2639
2791
|
}
|
|
2640
2792
|
|
|
2641
2793
|
/**
|
|
2642
|
-
* Queries
|
|
2794
|
+
* Queries a list of context stores.
|
|
2643
2795
|
*
|
|
2644
2796
|
* @param request - ListContextStoresRequest
|
|
2645
2797
|
* @returns ListContextStoresResponse
|
|
@@ -3283,7 +3435,7 @@ export default class Client extends OpenApi {
|
|
|
3283
3435
|
}
|
|
3284
3436
|
|
|
3285
3437
|
/**
|
|
3286
|
-
* Queries the run history
|
|
3438
|
+
* Queries the run history and supports filtering by status, trigger type, and time range with cursor-based pagination.
|
|
3287
3439
|
*
|
|
3288
3440
|
* @remarks
|
|
3289
3441
|
* Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
@@ -3339,7 +3491,7 @@ export default class Client extends OpenApi {
|
|
|
3339
3491
|
}
|
|
3340
3492
|
|
|
3341
3493
|
/**
|
|
3342
|
-
* Queries the run history
|
|
3494
|
+
* Queries the run history and supports filtering by status, trigger type, and time range with cursor-based pagination.
|
|
3343
3495
|
*
|
|
3344
3496
|
* @remarks
|
|
3345
3497
|
* Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
@@ -3354,7 +3506,10 @@ export default class Client extends OpenApi {
|
|
|
3354
3506
|
}
|
|
3355
3507
|
|
|
3356
3508
|
/**
|
|
3357
|
-
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status,
|
|
3509
|
+
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, with cursor-based pagination.
|
|
3510
|
+
*
|
|
3511
|
+
* @remarks
|
|
3512
|
+
* 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.
|
|
3358
3513
|
*
|
|
3359
3514
|
* @param request - ListPipelinesRequest
|
|
3360
3515
|
* @param headers - map
|
|
@@ -3411,7 +3566,10 @@ export default class Client extends OpenApi {
|
|
|
3411
3566
|
}
|
|
3412
3567
|
|
|
3413
3568
|
/**
|
|
3414
|
-
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status,
|
|
3569
|
+
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, with cursor-based pagination.
|
|
3570
|
+
*
|
|
3571
|
+
* @remarks
|
|
3572
|
+
* 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.
|
|
3415
3573
|
*
|
|
3416
3574
|
* @param request - ListPipelinesRequest
|
|
3417
3575
|
* @returns ListPipelinesResponse
|
|
@@ -3539,11 +3697,11 @@ export default class Client extends OpenApi {
|
|
|
3539
3697
|
*
|
|
3540
3698
|
* @remarks
|
|
3541
3699
|
* ## Request description
|
|
3542
|
-
* -
|
|
3543
|
-
* -
|
|
3544
|
-
* -
|
|
3545
|
-
* -
|
|
3546
|
-
* -
|
|
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.
|
|
3547
3705
|
*
|
|
3548
3706
|
* @param request - PreviewPipelineRequest
|
|
3549
3707
|
* @param headers - map
|
|
@@ -3592,11 +3750,11 @@ export default class Client extends OpenApi {
|
|
|
3592
3750
|
*
|
|
3593
3751
|
* @remarks
|
|
3594
3752
|
* ## Request description
|
|
3595
|
-
* -
|
|
3596
|
-
* -
|
|
3597
|
-
* -
|
|
3598
|
-
* -
|
|
3599
|
-
* -
|
|
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.
|
|
3600
3758
|
*
|
|
3601
3759
|
* @param request - PreviewPipelineRequest
|
|
3602
3760
|
* @returns PreviewPipelineResponse
|
|
@@ -3607,6 +3765,63 @@ export default class Client extends OpenApi {
|
|
|
3607
3765
|
return await this.previewPipelineWithOptions(agentSpace, request, headers, runtime);
|
|
3608
3766
|
}
|
|
3609
3767
|
|
|
3768
|
+
/**
|
|
3769
|
+
* Removes an audit transformation object from the list.
|
|
3770
|
+
*
|
|
3771
|
+
* @remarks
|
|
3772
|
+
* ## 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.
|
|
3776
|
+
* - 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.
|
|
3779
|
+
*
|
|
3780
|
+
* @param request - RemoveAuditConversionSourceRequest
|
|
3781
|
+
* @param headers - map
|
|
3782
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3783
|
+
* @returns RemoveAuditConversionSourceResponse
|
|
3784
|
+
*/
|
|
3785
|
+
async removeAuditConversionSourceWithOptions(agentSpace: string, type: string, instanceID: string, request: $_model.RemoveAuditConversionSourceRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveAuditConversionSourceResponse> {
|
|
3786
|
+
request.validate();
|
|
3787
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3788
|
+
headers: headers,
|
|
3789
|
+
});
|
|
3790
|
+
let params = new $OpenApiUtil.Params({
|
|
3791
|
+
action: "RemoveAuditConversionSource",
|
|
3792
|
+
version: "2026-05-20",
|
|
3793
|
+
protocol: "HTTPS",
|
|
3794
|
+
pathname: `/agentspace/${$dara.URL.percentEncode(agentSpace)}/audit/sources/${$dara.URL.percentEncode(type)}/${$dara.URL.percentEncode(instanceID)}`,
|
|
3795
|
+
method: "DELETE",
|
|
3796
|
+
authType: "AK",
|
|
3797
|
+
style: "ROA",
|
|
3798
|
+
reqBodyType: "json",
|
|
3799
|
+
bodyType: "none",
|
|
3800
|
+
});
|
|
3801
|
+
return $dara.cast<$_model.RemoveAuditConversionSourceResponse>(await this.callApi(params, req, runtime), new $_model.RemoveAuditConversionSourceResponse({}));
|
|
3802
|
+
}
|
|
3803
|
+
|
|
3804
|
+
/**
|
|
3805
|
+
* Removes an audit transformation object from the list.
|
|
3806
|
+
*
|
|
3807
|
+
* @remarks
|
|
3808
|
+
* ## 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.
|
|
3812
|
+
* - 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.
|
|
3815
|
+
*
|
|
3816
|
+
* @param request - RemoveAuditConversionSourceRequest
|
|
3817
|
+
* @returns RemoveAuditConversionSourceResponse
|
|
3818
|
+
*/
|
|
3819
|
+
async removeAuditConversionSource(agentSpace: string, type: string, instanceID: string, request: $_model.RemoveAuditConversionSourceRequest): Promise<$_model.RemoveAuditConversionSourceResponse> {
|
|
3820
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3821
|
+
let headers : {[key: string ]: string} = { };
|
|
3822
|
+
return await this.removeAuditConversionSourceWithOptions(agentSpace, type, instanceID, request, headers, runtime);
|
|
3823
|
+
}
|
|
3824
|
+
|
|
3610
3825
|
/**
|
|
3611
3826
|
* Resumes a pipeline.
|
|
3612
3827
|
*
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AddAuditConversionSourceRequest extends $dara.Model {
|
|
6
|
+
static names(): { [key: string]: string } {
|
|
7
|
+
return {
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
static types(): { [key: string]: any } {
|
|
12
|
+
return {
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
validate() {
|
|
17
|
+
super.validate();
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
constructor(map?: { [key: string]: any }) {
|
|
21
|
+
super(map);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AddAuditConversionSourceResponse extends $dara.Model {
|
|
6
|
+
headers?: { [key: string]: string };
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
headers: 'headers',
|
|
11
|
+
statusCode: 'statusCode',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
18
|
+
statusCode: 'number',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
if(this.headers) {
|
|
24
|
+
$dara.Model.validateMap(this.headers);
|
|
25
|
+
}
|
|
26
|
+
super.validate();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
constructor(map?: { [key: string]: any }) {
|
|
30
|
+
super(map);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|