@alicloud/dms20250414 4.3.0 → 4.3.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 +12 -12
- package/dist/client.js +12 -12
- package/dist/models/CreateDataAgentSkillMetaRequest.d.ts +8 -5
- package/dist/models/CreateDataAgentSkillMetaRequest.js.map +1 -1
- package/dist/models/CreateDataAgentSkillMetaResponseBody.d.ts +6 -6
- package/dist/models/CreateDataAgentSkillMetaResponseBody.js.map +1 -1
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.d.ts +9 -12
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.js.map +1 -1
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.d.ts +13 -20
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.js.map +1 -1
- package/dist/models/ListAgenticSqlExecutionHistoriesRequest.d.ts +7 -8
- package/dist/models/ListAgenticSqlExecutionHistoriesRequest.js.map +1 -1
- package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.d.ts +18 -16
- package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.js.map +1 -1
- package/dist/models/SendChatMessageRequest.d.ts +59 -51
- package/dist/models/SendChatMessageRequest.js +2 -0
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +16 -19
- package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +12 -12
- package/src/models/CreateDataAgentSkillMetaRequest.ts +8 -5
- package/src/models/CreateDataAgentSkillMetaResponseBody.ts +7 -7
- package/src/models/ListAgenticGlobalSqlExecutionHistoriesRequest.ts +9 -12
- package/src/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.ts +13 -20
- package/src/models/ListAgenticSqlExecutionHistoriesRequest.ts +7 -8
- package/src/models/ListAgenticSqlExecutionHistoriesResponseBody.ts +18 -16
- package/src/models/SendChatMessageRequest.ts +61 -51
- package/src/models/SendChatMessageShrinkRequest.ts +16 -19
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -4334,7 +4334,7 @@ export default class Client extends OpenApi {
|
|
|
4334
4334
|
}
|
|
4335
4335
|
|
|
4336
4336
|
/**
|
|
4337
|
-
* Queries the SQL execution history within the current tenant
|
|
4337
|
+
* Queries the SQL execution history within the current tenant, sorted in descending order by execution start time. Only includes AGENT_QUERY and WORKFLOW_QUERY.
|
|
4338
4338
|
*
|
|
4339
4339
|
* @param request - ListAgenticGlobalSqlExecutionHistoriesRequest
|
|
4340
4340
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4409,7 +4409,7 @@ export default class Client extends OpenApi {
|
|
|
4409
4409
|
}
|
|
4410
4410
|
|
|
4411
4411
|
/**
|
|
4412
|
-
* Queries the SQL execution history within the current tenant
|
|
4412
|
+
* Queries the SQL execution history within the current tenant, sorted in descending order by execution start time. Only includes AGENT_QUERY and WORKFLOW_QUERY.
|
|
4413
4413
|
*
|
|
4414
4414
|
* @param request - ListAgenticGlobalSqlExecutionHistoriesRequest
|
|
4415
4415
|
* @returns ListAgenticGlobalSqlExecutionHistoriesResponse
|
|
@@ -4488,7 +4488,7 @@ export default class Client extends OpenApi {
|
|
|
4488
4488
|
}
|
|
4489
4489
|
|
|
4490
4490
|
/**
|
|
4491
|
-
* Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only AGENT_QUERY and WORKFLOW_QUERY
|
|
4491
|
+
* Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only includes AGENT_QUERY and WORKFLOW_QUERY.
|
|
4492
4492
|
*
|
|
4493
4493
|
* @param request - ListAgenticSqlExecutionHistoriesRequest
|
|
4494
4494
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4563,7 +4563,7 @@ export default class Client extends OpenApi {
|
|
|
4563
4563
|
}
|
|
4564
4564
|
|
|
4565
4565
|
/**
|
|
4566
|
-
* Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only AGENT_QUERY and WORKFLOW_QUERY
|
|
4566
|
+
* Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only includes AGENT_QUERY and WORKFLOW_QUERY.
|
|
4567
4567
|
*
|
|
4568
4568
|
* @param request - ListAgenticSqlExecutionHistoriesRequest
|
|
4569
4569
|
* @returns ListAgenticSqlExecutionHistoriesResponse
|
|
@@ -6984,10 +6984,10 @@ export default class Client extends OpenApi {
|
|
|
6984
6984
|
*
|
|
6985
6985
|
* @remarks
|
|
6986
6986
|
* ## Request description
|
|
6987
|
-
* -
|
|
6988
|
-
* - The
|
|
6989
|
-
* - When
|
|
6990
|
-
* -
|
|
6987
|
+
* - The default value of message_type is primary. Set this parameter to additional or cancel when you need to append information or cancel the session.
|
|
6988
|
+
* - The reply_to field specifies the agent message to which this message responds. The default value is 0.
|
|
6989
|
+
* - When message_type is set to additional, the question field is required.
|
|
6990
|
+
* - You can use quoted_message to quote previous user messages.
|
|
6991
6991
|
*
|
|
6992
6992
|
* @param tmpReq - SendChatMessageRequest
|
|
6993
6993
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7096,10 +7096,10 @@ export default class Client extends OpenApi {
|
|
|
7096
7096
|
*
|
|
7097
7097
|
* @remarks
|
|
7098
7098
|
* ## Request description
|
|
7099
|
-
* -
|
|
7100
|
-
* - The
|
|
7101
|
-
* - When
|
|
7102
|
-
* -
|
|
7099
|
+
* - The default value of message_type is primary. Set this parameter to additional or cancel when you need to append information or cancel the session.
|
|
7100
|
+
* - The reply_to field specifies the agent message to which this message responds. The default value is 0.
|
|
7101
|
+
* - When message_type is set to additional, the question field is required.
|
|
7102
|
+
* - You can use quoted_message to quote previous user messages.
|
|
7103
7103
|
*
|
|
7104
7104
|
* @param request - SendChatMessageRequest
|
|
7105
7105
|
* @returns SendChatMessageResponse
|
|
@@ -5,7 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The skill description.
|
|
8
|
+
* The skill description.
|
|
9
|
+
* - Optional by default. The backend parses the ZIP package specified by UploadLocation to obtain the skill description.
|
|
9
10
|
*
|
|
10
11
|
* @example
|
|
11
12
|
* This is a demo skill description.
|
|
@@ -13,7 +14,8 @@ export class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
|
13
14
|
description?: string;
|
|
14
15
|
/**
|
|
15
16
|
* @remarks
|
|
16
|
-
* The skill ID. If you specify this parameter, the uploaded skill overwrites the existing skill and
|
|
17
|
+
* The skill ID. If you specify this parameter, the uploaded skill overwrites the existing skill, and the original skill content is replaced.
|
|
18
|
+
* - Note: The original skill name and the newly uploaded skill name must match.
|
|
17
19
|
*
|
|
18
20
|
* @example
|
|
19
21
|
* ski-04pomiln*************j0
|
|
@@ -21,7 +23,8 @@ export class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
|
21
23
|
skillId?: string;
|
|
22
24
|
/**
|
|
23
25
|
* @remarks
|
|
24
|
-
* The skill name.
|
|
26
|
+
* The skill name.
|
|
27
|
+
* - Optional by default. The backend parses the ZIP package specified by UploadLocation to obtain the skill name.
|
|
25
28
|
*
|
|
26
29
|
* @example
|
|
27
30
|
* data-query-skill
|
|
@@ -29,8 +32,8 @@ export class CreateDataAgentSkillMetaRequest extends $dara.Model {
|
|
|
29
32
|
skillName?: string;
|
|
30
33
|
/**
|
|
31
34
|
* @remarks
|
|
32
|
-
* The full path for the skill ZIP file
|
|
33
|
-
* - Format:
|
|
35
|
+
* The full path for uploading the skill ZIP file.
|
|
36
|
+
* - Format: Concatenate the UploadDir field returned by the DescribeSkillFileUploadSignature operation with the file name.
|
|
34
37
|
* - Example: ${UploadDir}/${Filename}
|
|
35
38
|
*/
|
|
36
39
|
uploadLocation?: string;
|
|
@@ -53,7 +53,7 @@ export class CreateDataAgentSkillMetaResponseBodyData extends $dara.Model {
|
|
|
53
53
|
gmtCreated?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The
|
|
56
|
+
* The update time.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 2025-12-11T14:04:32.000+00:00
|
|
@@ -61,7 +61,8 @@ export class CreateDataAgentSkillMetaResponseBodyData extends $dara.Model {
|
|
|
61
61
|
gmtModified?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The
|
|
64
|
+
* The skill parsing error message.
|
|
65
|
+
* - This error message is returned when the skill status is INVALID.
|
|
65
66
|
*
|
|
66
67
|
* @example
|
|
67
68
|
* SKILL.md file not exist.
|
|
@@ -102,9 +103,9 @@ export class CreateDataAgentSkillMetaResponseBodyData extends $dara.Model {
|
|
|
102
103
|
/**
|
|
103
104
|
* @remarks
|
|
104
105
|
* The skill status. Valid values:
|
|
105
|
-
* - INIT:
|
|
106
|
-
* - ACTIVE:
|
|
107
|
-
* - INVALID:
|
|
106
|
+
* - INIT: Not ready.
|
|
107
|
+
* - ACTIVE: Active.
|
|
108
|
+
* - INVALID: Invalid.
|
|
108
109
|
*
|
|
109
110
|
* @example
|
|
110
111
|
* ACTIVE
|
|
@@ -198,8 +199,7 @@ export class CreateDataAgentSkillMetaResponseBody extends $dara.Model {
|
|
|
198
199
|
/**
|
|
199
200
|
* @remarks
|
|
200
201
|
* Indicates whether the request is successful. Valid values:
|
|
201
|
-
*
|
|
202
|
-
* - **true**: The request is successful.
|
|
202
|
+
* - **true**: The request is successful.
|
|
203
203
|
* - **false**: The request fails.
|
|
204
204
|
*
|
|
205
205
|
* @example
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the
|
|
8
|
+
* The ID of the executor. User IDs start with usr_, and agent IDs start with agt_. If you do not specify this parameter, all records within the current tenant are queried. If you specify a user ID, the records of the user and their agents are included. If you specify an agent ID, only the records of the agent are matched. The executor must belong to the current tenant.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* usr_10001
|
|
@@ -13,7 +13,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
13
13
|
actorId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The name of the
|
|
16
|
+
* The name of the executor for exact match.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* demo-user
|
|
@@ -21,7 +21,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
21
21
|
actorName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The type of the
|
|
24
|
+
* The type of the executor for exact match. Valid values: HUMAN and AGENT.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* HUMAN
|
|
@@ -29,7 +29,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
29
29
|
actorType?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
32
|
+
* The Catalog UUID for exact match. You can obtain this value by calling ListAgenticCatalog or SearchAgenticCatalog.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* mc-HZ-OfjcNc2z***
|
|
@@ -37,7 +37,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
37
37
|
catalogUuid?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The
|
|
40
|
+
* The Database UUID for exact match. You can obtain this value by calling ListAgenticDatabase or SearchAgenticDatabase.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* md-HZ-fp9K7r***
|
|
@@ -45,7 +45,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
45
45
|
databaseUuid?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The end time of the query.
|
|
48
|
+
* The end time of the query. Format: yyyy-MM-dd HH:mm:ss. Default value: the current time. If the format cannot be parsed or the end time is earlier than the start time, the request fails.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 2026-06-01 00:00:00
|
|
@@ -61,10 +61,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
61
61
|
page?: number;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The execution scenario for exact match. Valid values:
|
|
65
|
-
* - AGENT_QUERY: The agent directly executes the SQL statement.
|
|
66
|
-
* - WORKFLOW_QUERY: The SQL statement is asynchronously executed through a workflow.
|
|
67
|
-
* If you do not specify this parameter, both scenarios are queried.
|
|
64
|
+
* The execution scenario for exact match. Valid values: AGENT_QUERY (the agent directly executes the SQL statement) and WORKFLOW_QUERY (the SQL statement is asynchronously executed through a workflow). If you do not specify this parameter, both scenarios are queried.
|
|
68
65
|
*
|
|
69
66
|
* @example
|
|
70
67
|
* AGENT_QUERY
|
|
@@ -80,7 +77,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
80
77
|
size?: number;
|
|
81
78
|
/**
|
|
82
79
|
* @remarks
|
|
83
|
-
* The keyword for fuzzy match
|
|
80
|
+
* The keyword for fuzzy match against the original SQL statement.
|
|
84
81
|
*
|
|
85
82
|
* @example
|
|
86
83
|
* SELECT
|
|
@@ -96,7 +93,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
96
93
|
sqlType?: string;
|
|
97
94
|
/**
|
|
98
95
|
* @remarks
|
|
99
|
-
* The start time of the query.
|
|
96
|
+
* The start time of the query. Format: yyyy-MM-dd HH:mm:ss. Default value: the last 7 days. If the specified time is earlier than 730 days ago or the format cannot be parsed, the query starts from 730 days ago.
|
|
100
97
|
*
|
|
101
98
|
* @example
|
|
102
99
|
* 2026-01-01 00:00:00
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the
|
|
8
|
+
* The ID of the executor. User IDs start with usr_, and agent IDs start with agt_.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* usr_10001
|
|
@@ -13,7 +13,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
13
13
|
actorId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The name of the
|
|
16
|
+
* The name of the executor.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* demo-user
|
|
@@ -21,7 +21,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
21
21
|
actorName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The type of the
|
|
24
|
+
* The type of the executor. Valid values: HUMAN (user) and AGENT (agent).
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* HUMAN
|
|
@@ -45,7 +45,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
45
45
|
agentOwnerId?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The Catalog UUID to which the current execution belongs.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* mc-HZ-OfjcNc2z***
|
|
@@ -53,7 +53,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
53
53
|
catalogUuid?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The IP address of the client that initiates the execution, excluding the port. This parameter is empty in workflow scenarios or when
|
|
56
|
+
* The IP address of the client that initiates the execution, excluding the port. This parameter is empty in workflow scenarios or when not recorded.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 203.0.113.10
|
|
@@ -77,7 +77,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
77
77
|
databaseSearchName?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* The
|
|
80
|
+
* The Database UUID to which the current execution belongs.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* md-HZ-fp9K7r***
|
|
@@ -85,7 +85,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
85
85
|
databaseUuid?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The error message
|
|
88
|
+
* The error message when the execution fails.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* syntax error
|
|
@@ -93,7 +93,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
93
93
|
error?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The
|
|
96
|
+
* The actually executed SQL statement.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* SELECT 1
|
|
@@ -101,10 +101,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
101
101
|
executedSql?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The execution status. Valid values:
|
|
105
|
-
* - SUCCESS: The execution is successful.
|
|
106
|
-
* - FAILED: The execution fails.
|
|
107
|
-
* - BLOCKED: The execution is blocked or not actually executed.
|
|
104
|
+
* The execution status. Valid values: SUCCESS, FAILED, and BLOCKED (intercepted or not actually executed).
|
|
108
105
|
*
|
|
109
106
|
* @example
|
|
110
107
|
* SUCCESS
|
|
@@ -120,7 +117,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
120
117
|
originalSql?: string;
|
|
121
118
|
/**
|
|
122
119
|
* @remarks
|
|
123
|
-
* The query ID of the execution.
|
|
120
|
+
* The query ID of the current execution.
|
|
124
121
|
*
|
|
125
122
|
* @example
|
|
126
123
|
* trace-10001
|
|
@@ -136,9 +133,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
136
133
|
returnedRows?: number;
|
|
137
134
|
/**
|
|
138
135
|
* @remarks
|
|
139
|
-
* The execution scenario. Valid values:
|
|
140
|
-
* - AGENT_QUERY: The agent directly executes the SQL statement.
|
|
141
|
-
* - WORKFLOW_QUERY: The SQL statement is asynchronously executed through a workflow.
|
|
136
|
+
* The execution scenario. Valid values: AGENT_QUERY (the agent directly executes the SQL statement) and WORKFLOW_QUERY (the SQL statement is asynchronously executed through a workflow).
|
|
142
137
|
*
|
|
143
138
|
* @example
|
|
144
139
|
* AGENT_QUERY
|
|
@@ -154,7 +149,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
154
149
|
sqlType?: string;
|
|
155
150
|
/**
|
|
156
151
|
* @remarks
|
|
157
|
-
* The start time
|
|
152
|
+
* The execution start time. Format: yyyy-MM-dd HH:mm:ss.
|
|
158
153
|
*
|
|
159
154
|
* @example
|
|
160
155
|
* 2026-01-01 00:00:00
|
|
@@ -259,9 +254,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBody extends $dara.Mo
|
|
|
259
254
|
requestId?: string;
|
|
260
255
|
/**
|
|
261
256
|
* @remarks
|
|
262
|
-
* Indicates whether the request is successful. Valid values:
|
|
263
|
-
* - true: The request is successful.
|
|
264
|
-
* - false: The request fails.
|
|
257
|
+
* Indicates whether the request is successful. Valid values: true and false.
|
|
265
258
|
*/
|
|
266
259
|
success?: boolean;
|
|
267
260
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAgenticSqlExecutionHistoriesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the actor. User IDs start with usr_, and agent IDs start with agt_. If
|
|
8
|
+
* The ID of the actor. User IDs start with usr_, and agent IDs start with agt_. If not specified, a user queries their own history and the history of their agents, while an agent queries only its own history. If specified, exact matching is applied, and the value must be the ID of the current user or an agent owned by the current user.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* usr_10001
|
|
@@ -21,7 +21,7 @@ export class ListAgenticSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
21
21
|
actorName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The type of the actor for exact matching. Valid values: HUMAN
|
|
24
|
+
* The type of the actor for exact matching. Valid values: HUMAN, AGENT.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* HUMAN
|
|
@@ -45,7 +45,7 @@ export class ListAgenticSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
45
45
|
databaseUuid?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The end time of the query
|
|
48
|
+
* The end time of the query, in the yyyy-MM-dd HH:mm:ss format. If not specified, the default is the current time. If the format cannot be parsed or the end time is earlier than the start time, the request fails.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 2026-06-01 00:00:00
|
|
@@ -53,7 +53,7 @@ export class ListAgenticSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
53
53
|
endTime?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The page number
|
|
56
|
+
* The page number, starting from 1. Default value: 1.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 1
|
|
@@ -61,10 +61,9 @@ export class ListAgenticSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
61
61
|
page?: number;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The execution scenario for exact matching. Valid values:
|
|
64
|
+
* The execution scenario for exact matching. If not specified, both scenarios are queried. Valid values:
|
|
65
65
|
* - AGENT_QUERY: The agent directly executes the SQL statement.
|
|
66
|
-
* - WORKFLOW_QUERY: The SQL statement is asynchronously
|
|
67
|
-
* If you do not specify this parameter, both scenarios are queried.
|
|
66
|
+
* - WORKFLOW_QUERY: The SQL statement is executed asynchronously through a workflow.
|
|
68
67
|
*
|
|
69
68
|
* @example
|
|
70
69
|
* AGENT_QUERY
|
|
@@ -96,7 +95,7 @@ export class ListAgenticSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
96
95
|
sqlType?: string;
|
|
97
96
|
/**
|
|
98
97
|
* @remarks
|
|
99
|
-
* The start time of the query
|
|
98
|
+
* The start time of the query, in the yyyy-MM-dd HH:mm:ss format. If not specified, the default is the last 7 days. If the time is earlier than 730 days ago or the format cannot be parsed, the query starts from 730 days ago.
|
|
100
99
|
*
|
|
101
100
|
* @example
|
|
102
101
|
* 2026-01-01 00:00:00
|
|
@@ -21,7 +21,9 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
21
21
|
actorName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The type of the actor.
|
|
24
|
+
* The type of the actor. Valid values:
|
|
25
|
+
* - HUMAN: User.
|
|
26
|
+
* - AGENT: Agent.
|
|
25
27
|
*
|
|
26
28
|
* @example
|
|
27
29
|
* HUMAN
|
|
@@ -37,7 +39,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
37
39
|
affectedRows?: number;
|
|
38
40
|
/**
|
|
39
41
|
* @remarks
|
|
40
|
-
* The ID of the user to
|
|
42
|
+
* The ID of the user to whom the agent belongs, starting with usr_.
|
|
41
43
|
*
|
|
42
44
|
* @example
|
|
43
45
|
* usr_10001
|
|
@@ -45,7 +47,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
45
47
|
agentOwnerId?: string;
|
|
46
48
|
/**
|
|
47
49
|
* @remarks
|
|
48
|
-
* The catalog UUID to which
|
|
50
|
+
* The catalog UUID to which this execution belongs.
|
|
49
51
|
*
|
|
50
52
|
* @example
|
|
51
53
|
* mc-HZ-OfjcNc2z***
|
|
@@ -53,7 +55,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
53
55
|
catalogUuid?: string;
|
|
54
56
|
/**
|
|
55
57
|
* @remarks
|
|
56
|
-
* The IP address of the client that initiated the execution, excluding the port. This
|
|
58
|
+
* The IP address of the client that initiated the execution, excluding the port. This field is empty in workflow scenarios or when not recorded.
|
|
57
59
|
*
|
|
58
60
|
* @example
|
|
59
61
|
* 203.0.113.10
|
|
@@ -77,7 +79,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
77
79
|
databaseSearchName?: string;
|
|
78
80
|
/**
|
|
79
81
|
* @remarks
|
|
80
|
-
* The database UUID to which
|
|
82
|
+
* The database UUID to which this execution belongs.
|
|
81
83
|
*
|
|
82
84
|
* @example
|
|
83
85
|
* md-HZ-fp9K7r***
|
|
@@ -85,7 +87,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
85
87
|
databaseUuid?: string;
|
|
86
88
|
/**
|
|
87
89
|
* @remarks
|
|
88
|
-
* The error message
|
|
90
|
+
* The error message when the execution fails.
|
|
89
91
|
*
|
|
90
92
|
* @example
|
|
91
93
|
* syntax error
|
|
@@ -93,7 +95,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
93
95
|
error?: string;
|
|
94
96
|
/**
|
|
95
97
|
* @remarks
|
|
96
|
-
* The
|
|
98
|
+
* The actually executed SQL statement.
|
|
97
99
|
*
|
|
98
100
|
* @example
|
|
99
101
|
* SELECT 1
|
|
@@ -120,7 +122,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
120
122
|
originalSql?: string;
|
|
121
123
|
/**
|
|
122
124
|
* @remarks
|
|
123
|
-
* The query ID of
|
|
125
|
+
* The query ID of this execution.
|
|
124
126
|
*
|
|
125
127
|
* @example
|
|
126
128
|
* trace-10001
|
|
@@ -138,7 +140,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
138
140
|
* @remarks
|
|
139
141
|
* The execution scenario. Valid values:
|
|
140
142
|
* - AGENT_QUERY: The agent directly executes the SQL statement.
|
|
141
|
-
* - WORKFLOW_QUERY: The SQL statement is asynchronously
|
|
143
|
+
* - WORKFLOW_QUERY: The SQL statement is executed asynchronously through a workflow.
|
|
142
144
|
*
|
|
143
145
|
* @example
|
|
144
146
|
* AGENT_QUERY
|
|
@@ -154,7 +156,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
154
156
|
sqlType?: string;
|
|
155
157
|
/**
|
|
156
158
|
* @remarks
|
|
157
|
-
* The
|
|
159
|
+
* The execution start time, in the yyyy-MM-dd HH:mm:ss format.
|
|
158
160
|
*
|
|
159
161
|
* @example
|
|
160
162
|
* 2026-01-01 00:00:00
|
|
@@ -162,7 +164,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBodyData extends $dara.Mode
|
|
|
162
164
|
startTime?: string;
|
|
163
165
|
/**
|
|
164
166
|
* @remarks
|
|
165
|
-
* The workflow ID. This
|
|
167
|
+
* The workflow ID. This field may be empty in non-workflow scenarios.
|
|
166
168
|
*
|
|
167
169
|
* @example
|
|
168
170
|
* wf-10001
|
|
@@ -235,7 +237,7 @@ export class ListAgenticSqlExecutionHistoriesResponseBody extends $dara.Model {
|
|
|
235
237
|
data?: ListAgenticSqlExecutionHistoriesResponseBodyData[];
|
|
236
238
|
/**
|
|
237
239
|
* @remarks
|
|
238
|
-
* The error code. This
|
|
240
|
+
* The error code. This field is empty when the request is successful.
|
|
239
241
|
*
|
|
240
242
|
* @example
|
|
241
243
|
* INVALID_PARAMETER
|
|
@@ -259,14 +261,14 @@ export class ListAgenticSqlExecutionHistoriesResponseBody extends $dara.Model {
|
|
|
259
261
|
requestId?: string;
|
|
260
262
|
/**
|
|
261
263
|
* @remarks
|
|
262
|
-
* Indicates whether the request
|
|
263
|
-
* - true: The request
|
|
264
|
-
* - false: The request
|
|
264
|
+
* Indicates whether the request is successful. Valid values:
|
|
265
|
+
* - true: The request is successful.
|
|
266
|
+
* - false: The request fails.
|
|
265
267
|
*/
|
|
266
268
|
success?: boolean;
|
|
267
269
|
/**
|
|
268
270
|
* @remarks
|
|
269
|
-
* The total number of entries that meet the
|
|
271
|
+
* The total number of entries that meet the conditions.
|
|
270
272
|
*
|
|
271
273
|
* @example
|
|
272
274
|
* 1
|