@alicloud/agentloop20260520 2.4.4 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist/client.d.ts +70 -16
  2. package/dist/client.js +160 -17
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAgentSpaceRequest.d.ts +11 -3
  5. package/dist/models/CreateAgentSpaceRequest.js +2 -0
  6. package/dist/models/CreateAgentSpaceRequest.js.map +1 -1
  7. package/dist/models/CreateContextStoreRequest.d.ts +69 -61
  8. package/dist/models/CreateContextStoreRequest.js +2 -0
  9. package/dist/models/CreateContextStoreRequest.js.map +1 -1
  10. package/dist/models/CreateContextStoreResponseBody.d.ts +2 -2
  11. package/dist/models/CreateDatasetVersionRequest.d.ts +39 -0
  12. package/dist/models/CreateDatasetVersionRequest.js +62 -0
  13. package/dist/models/CreateDatasetVersionRequest.js.map +1 -0
  14. package/dist/models/CreateDatasetVersionResponse.d.ts +19 -0
  15. package/dist/models/CreateDatasetVersionResponse.js +69 -0
  16. package/dist/models/CreateDatasetVersionResponse.js.map +1 -0
  17. package/dist/models/CreateDatasetVersionResponseBody.d.ts +21 -0
  18. package/dist/models/CreateDatasetVersionResponseBody.js +58 -0
  19. package/dist/models/CreateDatasetVersionResponseBody.js.map +1 -0
  20. package/dist/models/CreateExperimentPlanRequest.d.ts +9 -9
  21. package/dist/models/CreateExperimentPlanResponseBody.d.ts +3 -3
  22. package/dist/models/CreatePipelineRequest.d.ts +36 -36
  23. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  24. package/dist/models/DeleteDatasetVersionRequest.d.ts +13 -0
  25. package/dist/models/DeleteDatasetVersionRequest.js +54 -0
  26. package/dist/models/DeleteDatasetVersionRequest.js.map +1 -0
  27. package/dist/models/DeleteDatasetVersionResponse.d.ts +19 -0
  28. package/dist/models/DeleteDatasetVersionResponse.js +69 -0
  29. package/dist/models/DeleteDatasetVersionResponse.js.map +1 -0
  30. package/dist/models/DeleteDatasetVersionResponseBody.d.ts +21 -0
  31. package/dist/models/DeleteDatasetVersionResponseBody.js +58 -0
  32. package/dist/models/DeleteDatasetVersionResponseBody.js.map +1 -0
  33. package/dist/models/GetAgentSpaceResponseBody.d.ts +27 -0
  34. package/dist/models/GetAgentSpaceResponseBody.js +27 -1
  35. package/dist/models/GetAgentSpaceResponseBody.js.map +1 -1
  36. package/dist/models/GetContextStoreResponseBody.d.ts +84 -78
  37. package/dist/models/GetContextStoreResponseBody.js +2 -0
  38. package/dist/models/GetContextStoreResponseBody.js.map +1 -1
  39. package/dist/models/GetExperimentPlanResponseBody.d.ts +10 -10
  40. package/dist/models/GetExperimentRunResponseBody.d.ts +1 -1
  41. package/dist/models/ListAgentSpacesRequest.d.ts +38 -2
  42. package/dist/models/ListAgentSpacesRequest.js +27 -1
  43. package/dist/models/ListAgentSpacesRequest.js.map +1 -1
  44. package/dist/models/ListAgentSpacesResponseBody.d.ts +50 -7
  45. package/dist/models/ListAgentSpacesResponseBody.js +27 -1
  46. package/dist/models/ListAgentSpacesResponseBody.js.map +1 -1
  47. package/dist/models/ListAgentSpacesShrinkRequest.d.ts +53 -0
  48. package/dist/models/ListAgentSpacesShrinkRequest.js +66 -0
  49. package/dist/models/ListAgentSpacesShrinkRequest.js.map +1 -0
  50. package/dist/models/ListDatasetVersionsRequest.d.ts +29 -0
  51. package/dist/models/ListDatasetVersionsRequest.js +60 -0
  52. package/dist/models/ListDatasetVersionsRequest.js.map +1 -0
  53. package/dist/models/ListDatasetVersionsResponse.d.ts +19 -0
  54. package/dist/models/ListDatasetVersionsResponse.js +69 -0
  55. package/dist/models/ListDatasetVersionsResponse.js.map +1 -0
  56. package/dist/models/ListDatasetVersionsResponseBody.d.ts +86 -0
  57. package/dist/models/ListDatasetVersionsResponseBody.js +92 -0
  58. package/dist/models/ListDatasetVersionsResponseBody.js.map +1 -0
  59. package/dist/models/ListExperimentRunsRequest.d.ts +6 -6
  60. package/dist/models/ListExperimentRunsResponseBody.d.ts +2 -2
  61. package/dist/models/ModelParameters.d.ts +142 -6
  62. package/dist/models/ModelParameters.js +69 -1
  63. package/dist/models/ModelParameters.js.map +1 -1
  64. package/dist/models/UpdateContextStoreRequest.d.ts +58 -59
  65. package/dist/models/UpdateContextStoreRequest.js +2 -0
  66. package/dist/models/UpdateContextStoreRequest.js.map +1 -1
  67. package/dist/models/UpdateContextStoreResponseBody.d.ts +2 -2
  68. package/dist/models/UpdateExperimentPlanRequest.d.ts +5 -5
  69. package/dist/models/UpdateExperimentPlanResponseBody.d.ts +1 -1
  70. package/dist/models/model.d.ts +16 -0
  71. package/dist/models/model.js +50 -18
  72. package/dist/models/model.js.map +1 -1
  73. package/package.json +1 -1
  74. package/src/client.ts +174 -17
  75. package/src/models/CreateAgentSpaceRequest.ts +13 -3
  76. package/src/models/CreateContextStoreRequest.ts +71 -61
  77. package/src/models/CreateContextStoreResponseBody.ts +2 -2
  78. package/src/models/CreateDatasetVersionRequest.ts +56 -0
  79. package/src/models/CreateDatasetVersionResponse.ts +40 -0
  80. package/src/models/CreateDatasetVersionResponseBody.ts +34 -0
  81. package/src/models/CreateExperimentPlanRequest.ts +9 -9
  82. package/src/models/CreateExperimentPlanResponseBody.ts +3 -3
  83. package/src/models/CreatePipelineRequest.ts +36 -36
  84. package/src/models/CreatePipelineResponseBody.ts +1 -1
  85. package/src/models/DeleteDatasetVersionRequest.ts +24 -0
  86. package/src/models/DeleteDatasetVersionResponse.ts +40 -0
  87. package/src/models/DeleteDatasetVersionResponseBody.ts +34 -0
  88. package/src/models/GetAgentSpaceResponseBody.ts +44 -0
  89. package/src/models/GetContextStoreResponseBody.ts +86 -78
  90. package/src/models/GetExperimentPlanResponseBody.ts +10 -10
  91. package/src/models/GetExperimentRunResponseBody.ts +1 -1
  92. package/src/models/ListAgentSpacesRequest.ts +55 -2
  93. package/src/models/ListAgentSpacesResponseBody.ts +67 -7
  94. package/src/models/ListAgentSpacesShrinkRequest.ts +74 -0
  95. package/src/models/ListDatasetVersionsRequest.ts +44 -0
  96. package/src/models/ListDatasetVersionsResponse.ts +40 -0
  97. package/src/models/ListDatasetVersionsResponseBody.ts +124 -0
  98. package/src/models/ListExperimentRunsRequest.ts +6 -6
  99. package/src/models/ListExperimentRunsResponseBody.ts +2 -2
  100. package/src/models/ModelParameters.ts +192 -6
  101. package/src/models/UpdateContextStoreRequest.ts +60 -59
  102. package/src/models/UpdateContextStoreResponseBody.ts +2 -2
  103. package/src/models/UpdateExperimentPlanRequest.ts +5 -5
  104. package/src/models/UpdateExperimentPlanResponseBody.ts +1 -1
  105. package/src/models/model.ts +16 -0
@@ -7,7 +7,7 @@ import { ExperimentConfig } from "./ExperimentConfig";
7
7
  export class GetExperimentPlanResponseBody extends $dara.Model {
8
8
  /**
9
9
  * @remarks
10
- * The creation time. The value is a millisecond-level UNIX timestamp.
10
+ * The creation time. The value is a UNIX timestamp in milliseconds.
11
11
  *
12
12
  * @example
13
13
  * 1782816000000
@@ -15,7 +15,7 @@ export class GetExperimentPlanResponseBody extends $dara.Model {
15
15
  createdAt?: number;
16
16
  /**
17
17
  * @remarks
18
- * The associated dataset ID.
18
+ * The ID of the associated dataset.
19
19
  *
20
20
  * @example
21
21
  * arms_customer_agent_level1
@@ -26,7 +26,7 @@ export class GetExperimentPlanResponseBody extends $dara.Model {
26
26
  * The description.
27
27
  *
28
28
  * @example
29
- * Compare checkout Agent baseline with optimized version
29
+ * Compare the checkout agent baseline with the optimized version
30
30
  */
31
31
  description?: string;
32
32
  /**
@@ -39,7 +39,7 @@ export class GetExperimentPlanResponseBody extends $dara.Model {
39
39
  evaluators?: Evaluator[];
40
40
  /**
41
41
  * @remarks
42
- * The experiment type.
42
+ * The type of the experiment.
43
43
  *
44
44
  * @example
45
45
  * online
@@ -58,17 +58,17 @@ export class GetExperimentPlanResponseBody extends $dara.Model {
58
58
  * Optional.
59
59
  *
60
60
  * @example
61
- * {"question": "How do I request a refund?"}
61
+ * {"question": "How do I get a refund?"}
62
62
  */
63
63
  input?: { [key: string]: any };
64
64
  /**
65
65
  * @remarks
66
- * The name of the associated data processing pipeline. This value is empty if no pipeline is associated.
66
+ * The name of the associated data processing pipeline. This field is empty if no pipeline is associated.
67
67
  */
68
68
  pipelineName?: string;
69
69
  /**
70
70
  * @remarks
71
- * The experiment plan ID.
71
+ * The ID of the experiment plan.
72
72
  *
73
73
  * @example
74
74
  * exp-plan-0242d983f5d340fd8479cf2c19eb279e
@@ -76,7 +76,7 @@ export class GetExperimentPlanResponseBody extends $dara.Model {
76
76
  planId?: string;
77
77
  /**
78
78
  * @remarks
79
- * The experiment plan name.
79
+ * The name of the experiment plan.
80
80
  *
81
81
  * @example
82
82
  * arms_agent_experiment
@@ -108,7 +108,7 @@ export class GetExperimentPlanResponseBody extends $dara.Model {
108
108
  selectedItemIds?: string[];
109
109
  /**
110
110
  * @remarks
111
- * The plan status.
111
+ * The status of the plan.
112
112
  *
113
113
  * @example
114
114
  * stopped
@@ -116,7 +116,7 @@ export class GetExperimentPlanResponseBody extends $dara.Model {
116
116
  status?: string;
117
117
  /**
118
118
  * @remarks
119
- * The update time. The value is a millisecond-level UNIX timestamp.
119
+ * The update time. The value is a UNIX timestamp in milliseconds.
120
120
  *
121
121
  * @example
122
122
  * 1782816600000
@@ -6,7 +6,7 @@ import { ExperimentRecord } from "./ExperimentRecord";
6
6
  export class GetExperimentRunResponseBody extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The experiment run record details. Fields with null values are not returned.
9
+ * The details of the experiment run. Fields with null values are not returned.
10
10
  *
11
11
  * @example
12
12
  * {"recordId": "exp-run-f6d419b0ed3d43a7b585948a55efc07b", "experimentPlanId": "exp-plan-0242d983f5d340fd8479cf2c19eb279e", "recordName": "arms_agent_experiment 2026/07/22 20:02:55", "planName": "arms_agent_experiment", "status": "evaluating", "totalTasks": 40, "completedTasks": 40, "failedTasks": 0, "progress": 100.0, "executedAt": 1784721775379, "completedAt": 1784721811392, "dataSourceType": "dataset-full", "datasetId": "arms_customer_agent_level1", "modelNames": ["qwen3.7-plus", "qwen3.7-max"], "evaluationTaskId": "eval-task-6bec93bfa03740dd86ce2bf1496e65fb"}
@@ -2,10 +2,50 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class ListAgentSpacesRequestTag extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The tag key.
9
+ *
10
+ * @example
11
+ * env
12
+ */
13
+ key?: string;
14
+ /**
15
+ * @remarks
16
+ * The tag value.
17
+ *
18
+ * @example
19
+ * test
20
+ */
21
+ value?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ key: 'key',
25
+ value: 'value',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ key: 'string',
32
+ value: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
5
45
  export class ListAgentSpacesRequest extends $dara.Model {
6
46
  /**
7
47
  * @remarks
8
- * The AgentSpace name.
48
+ * The name of the AgentSpace.
9
49
  *
10
50
  * @example
11
51
  * test-agent-space
@@ -13,7 +53,7 @@ export class ListAgentSpacesRequest extends $dara.Model {
13
53
  agentSpace?: string;
14
54
  /**
15
55
  * @remarks
16
- * The maximum number of results to return.
56
+ * The maximum number of results.
17
57
  *
18
58
  * @example
19
59
  * 50
@@ -35,12 +75,21 @@ export class ListAgentSpacesRequest extends $dara.Model {
35
75
  * cn-hangzhou
36
76
  */
37
77
  regionId?: string;
78
+ /**
79
+ * @remarks
80
+ * Filters only active AgentSpaces in the current region. Multiple conditions use the AND operator, and keys must be unique. Omitting the value matches the existence of the key, and an empty character string is an exact match for an empty value. An empty array is equivalent to not using label filtering and retains the original cross-region resources.
81
+ *
82
+ * @example
83
+ * [{\\"key\\": \\"env\\", \\"value\\": \\"test\\"}]
84
+ */
85
+ tag?: ListAgentSpacesRequestTag[];
38
86
  static names(): { [key: string]: string } {
39
87
  return {
40
88
  agentSpace: 'agentSpace',
41
89
  maxResults: 'maxResults',
42
90
  nextToken: 'nextToken',
43
91
  regionId: 'regionId',
92
+ tag: 'tag',
44
93
  };
45
94
  }
46
95
 
@@ -50,10 +99,14 @@ export class ListAgentSpacesRequest extends $dara.Model {
50
99
  maxResults: 'number',
51
100
  nextToken: 'string',
52
101
  regionId: 'string',
102
+ tag: { 'type': 'array', 'itemType': ListAgentSpacesRequestTag },
53
103
  };
54
104
  }
55
105
 
56
106
  validate() {
107
+ if(Array.isArray(this.tag)) {
108
+ $dara.Model.validateArray(this.tag);
109
+ }
57
110
  super.validate();
58
111
  }
59
112
 
@@ -3,10 +3,17 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ListAgentSpacesResponseBodyAgentSpacesMseNamespace extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The method used to attach the MSE namespace. AutoCreated indicates automatic creation by AgentLoop. UserSelected indicates that an existing namespace is selected and attached when the AgentSpace is created.
9
+ *
10
+ * @example
11
+ * AutoCreated
12
+ */
6
13
  bindType?: string;
7
14
  /**
8
15
  * @remarks
9
- * The MSE namespace ID.
16
+ * The ID of the MSE namespace.
10
17
  *
11
18
  * @example
12
19
  * phoenixcloud-raw-logs
@@ -14,7 +21,7 @@ export class ListAgentSpacesResponseBodyAgentSpacesMseNamespace extends $dara.Mo
14
21
  namespaceId?: string;
15
22
  /**
16
23
  * @remarks
17
- * The MSE namespace name.
24
+ * The name of the MSE namespace.
18
25
  *
19
26
  * @example
20
27
  * terraform-alicloud-modules
@@ -45,10 +52,50 @@ export class ListAgentSpacesResponseBodyAgentSpacesMseNamespace extends $dara.Mo
45
52
  }
46
53
  }
47
54
 
55
+ export class ListAgentSpacesResponseBodyAgentSpacesTags extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The tag key.
59
+ *
60
+ * @example
61
+ * env
62
+ */
63
+ key?: string;
64
+ /**
65
+ * @remarks
66
+ * The tag value, which can be an empty string.
67
+ *
68
+ * @example
69
+ * test
70
+ */
71
+ value?: string;
72
+ static names(): { [key: string]: string } {
73
+ return {
74
+ key: 'key',
75
+ value: 'value',
76
+ };
77
+ }
78
+
79
+ static types(): { [key: string]: any } {
80
+ return {
81
+ key: 'string',
82
+ value: 'string',
83
+ };
84
+ }
85
+
86
+ validate() {
87
+ super.validate();
88
+ }
89
+
90
+ constructor(map?: { [key: string]: any }) {
91
+ super(map);
92
+ }
93
+ }
94
+
48
95
  export class ListAgentSpacesResponseBodyAgentSpaces extends $dara.Model {
49
96
  /**
50
97
  * @remarks
51
- * The AgentSpace name.
98
+ * The name of the AgentSpace.
52
99
  *
53
100
  * @example
54
101
  * test-agent-space
@@ -95,12 +142,20 @@ export class ListAgentSpacesResponseBodyAgentSpaces extends $dara.Model {
95
142
  regionId?: string;
96
143
  /**
97
144
  * @remarks
98
- * The Simple Log Service project name.
145
+ * The name of the Simple Log Service project.
99
146
  *
100
147
  * @example
101
148
  * default-cms-1152309027070167-cn-beijing
102
149
  */
103
150
  slsProject?: string;
151
+ /**
152
+ * @remarks
153
+ * Returns only the tags of AgentSpaces that are active in the current region and match the local instance. An empty array is returned when it is confirmed that there are no tags. This field is omitted for entries in other regions, inactive entries, or entries that do not match the local instance. Omission of this field does not indicate the absence of tags.
154
+ *
155
+ * @example
156
+ * [{\\"key\\": \\"env\\", \\"value\\": \\"test\\"}]
157
+ */
158
+ tags?: ListAgentSpacesResponseBodyAgentSpacesTags[];
104
159
  /**
105
160
  * @remarks
106
161
  * The update time.
@@ -120,6 +175,7 @@ export class ListAgentSpacesResponseBodyAgentSpaces extends $dara.Model {
120
175
  mseNamespace: 'mseNamespace',
121
176
  regionId: 'regionId',
122
177
  slsProject: 'slsProject',
178
+ tags: 'tags',
123
179
  updateTime: 'updateTime',
124
180
  };
125
181
  }
@@ -133,6 +189,7 @@ export class ListAgentSpacesResponseBodyAgentSpaces extends $dara.Model {
133
189
  mseNamespace: ListAgentSpacesResponseBodyAgentSpacesMseNamespace,
134
190
  regionId: 'string',
135
191
  slsProject: 'string',
192
+ tags: { 'type': 'array', 'itemType': ListAgentSpacesResponseBodyAgentSpacesTags },
136
193
  updateTime: 'string',
137
194
  };
138
195
  }
@@ -141,6 +198,9 @@ export class ListAgentSpacesResponseBodyAgentSpaces extends $dara.Model {
141
198
  if(this.mseNamespace && typeof (this.mseNamespace as any).validate === 'function') {
142
199
  (this.mseNamespace as any).validate();
143
200
  }
201
+ if(Array.isArray(this.tags)) {
202
+ $dara.Model.validateArray(this.tags);
203
+ }
144
204
  super.validate();
145
205
  }
146
206
 
@@ -152,12 +212,12 @@ export class ListAgentSpacesResponseBodyAgentSpaces extends $dara.Model {
152
212
  export class ListAgentSpacesResponseBody extends $dara.Model {
153
213
  /**
154
214
  * @remarks
155
- * The AgentSpaces information.
215
+ * The information about the AgentSpaces.
156
216
  */
157
217
  agentSpaces?: ListAgentSpacesResponseBodyAgentSpaces[];
158
218
  /**
159
219
  * @remarks
160
- * The maximum number of results returned.
220
+ * The maximum number of returned results.
161
221
  *
162
222
  * @example
163
223
  * 100
@@ -165,7 +225,7 @@ export class ListAgentSpacesResponseBody extends $dara.Model {
165
225
  maxResults?: number;
166
226
  /**
167
227
  * @remarks
168
- * The pagination token. This parameter is empty if no more pages are available.
228
+ * The pagination token. This parameter is empty if there are no more pages.
169
229
  *
170
230
  * @example
171
231
  * b5754ef15c784abc8696d82790d2985c
@@ -0,0 +1,74 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListAgentSpacesShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the AgentSpace.
9
+ *
10
+ * @example
11
+ * test-agent-space
12
+ */
13
+ agentSpace?: string;
14
+ /**
15
+ * @remarks
16
+ * The maximum number of results.
17
+ *
18
+ * @example
19
+ * 50
20
+ */
21
+ maxResults?: number;
22
+ /**
23
+ * @remarks
24
+ * The pagination token.
25
+ *
26
+ * @example
27
+ * pEL20OGYeZQez8NdW7ve
28
+ */
29
+ nextToken?: string;
30
+ /**
31
+ * @remarks
32
+ * The region ID.
33
+ *
34
+ * @example
35
+ * cn-hangzhou
36
+ */
37
+ regionId?: string;
38
+ /**
39
+ * @remarks
40
+ * Filters only active AgentSpaces in the current region. Multiple conditions use the AND operator, and keys must be unique. Omitting the value matches the existence of the key, and an empty character string is an exact match for an empty value. An empty array is equivalent to not using label filtering and retains the original cross-region resources.
41
+ *
42
+ * @example
43
+ * [{\\"key\\": \\"env\\", \\"value\\": \\"test\\"}]
44
+ */
45
+ tagShrink?: string;
46
+ static names(): { [key: string]: string } {
47
+ return {
48
+ agentSpace: 'agentSpace',
49
+ maxResults: 'maxResults',
50
+ nextToken: 'nextToken',
51
+ regionId: 'regionId',
52
+ tagShrink: 'tag',
53
+ };
54
+ }
55
+
56
+ static types(): { [key: string]: any } {
57
+ return {
58
+ agentSpace: 'string',
59
+ maxResults: 'number',
60
+ nextToken: 'string',
61
+ regionId: 'string',
62
+ tagShrink: 'string',
63
+ };
64
+ }
65
+
66
+ validate() {
67
+ super.validate();
68
+ }
69
+
70
+ constructor(map?: { [key: string]: any }) {
71
+ super(map);
72
+ }
73
+ }
74
+
@@ -0,0 +1,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListDatasetVersionsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The maximum number of versions to return per page. Valid values: 1 to 100. Default value: 100. The actual number of returned versions may be less than this value.
9
+ *
10
+ * @example
11
+ * 20
12
+ */
13
+ maxResults?: number;
14
+ /**
15
+ * @remarks
16
+ * The pagination token for the next page. Do not specify this parameter in the first request. To query subsequent pages, pass the nextToken value from the previous response as is, and keep the agent workspace and dataset name unchanged. The example is for demonstration purposes only. Use the actual token returned by the API operation.
17
+ *
18
+ * @example
19
+ * umaQfI7x758Ns4TgWrj8yA3fYlnk7dJgsfhMrSViRY8=
20
+ */
21
+ nextToken?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ maxResults: 'maxResults',
25
+ nextToken: 'nextToken',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ maxResults: 'number',
32
+ nextToken: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListDatasetVersionsResponseBody } from "./ListDatasetVersionsResponseBody";
4
+
5
+
6
+ export class ListDatasetVersionsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListDatasetVersionsResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ListDatasetVersionsResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,124 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListDatasetVersionsResponseBodyVersions extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The creation time of the version, in RFC 3339 format, including time zone information. For example, the Z in 2026-11-11T06:00:00Z indicates UTC.
9
+ *
10
+ * @example
11
+ * 2026-11-11T06:00:00Z
12
+ */
13
+ createTime?: string;
14
+ /**
15
+ * @remarks
16
+ * The description provided when the version was created. If no description was provided, an empty string is returned.
17
+ *
18
+ * @example
19
+ * The dataset version used for the first evaluation
20
+ */
21
+ description?: string;
22
+ /**
23
+ * @remarks
24
+ * The name of the historical version, which corresponds to the name specified when the version was created. This value can be used as the version parameter for DeleteDatasetVersion.
25
+ *
26
+ * @example
27
+ * v1
28
+ */
29
+ version?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ createTime: 'createTime',
33
+ description: 'description',
34
+ version: 'version',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ createTime: 'string',
41
+ description: 'string',
42
+ version: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
55
+ export class ListDatasetVersionsResponseBody extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The maximum number of versions per page used for this query, which is not the actual number of versions returned on the current page.
59
+ *
60
+ * @example
61
+ * 20
62
+ */
63
+ maxResults?: number;
64
+ /**
65
+ * @remarks
66
+ * The pagination token for the next page. This parameter is returned when a next page exists. To query the next page, pass this value as is to nextToken. If this parameter is not returned or is empty, no next page exists. The example is for demonstration purposes only.
67
+ *
68
+ * @example
69
+ * umaQfI7x758Ns4TgWrj8yA3fYlnk7dJgsfhMrSViRY8=
70
+ */
71
+ nextToken?: string;
72
+ /**
73
+ * @remarks
74
+ * The unique identifier of the request, which is used to locate and troubleshoot issues.
75
+ *
76
+ * @example
77
+ * D17DE39E-6C62-50E3-9EB7-FDE41BB0D43D
78
+ */
79
+ requestId?: string;
80
+ /**
81
+ * @remarks
82
+ * The total number of versions of the dataset, excluding deleted versions. This value is not limited by the current page size.
83
+ *
84
+ * @example
85
+ * 35
86
+ */
87
+ total?: number;
88
+ /**
89
+ * @remarks
90
+ * The list of historical versions of the dataset on the current page. An empty array is returned if no versions meet the conditions.
91
+ */
92
+ versions?: ListDatasetVersionsResponseBodyVersions[];
93
+ static names(): { [key: string]: string } {
94
+ return {
95
+ maxResults: 'maxResults',
96
+ nextToken: 'nextToken',
97
+ requestId: 'requestId',
98
+ total: 'total',
99
+ versions: 'versions',
100
+ };
101
+ }
102
+
103
+ static types(): { [key: string]: any } {
104
+ return {
105
+ maxResults: 'number',
106
+ nextToken: 'string',
107
+ requestId: 'string',
108
+ total: 'number',
109
+ versions: { 'type': 'array', 'itemType': ListDatasetVersionsResponseBodyVersions },
110
+ };
111
+ }
112
+
113
+ validate() {
114
+ if(Array.isArray(this.versions)) {
115
+ $dara.Model.validateArray(this.versions);
116
+ }
117
+ super.validate();
118
+ }
119
+
120
+ constructor(map?: { [key: string]: any }) {
121
+ super(map);
122
+ }
123
+ }
124
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListExperimentRunsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Filters results by exact dataset ID.
8
+ * Filters the results by exact dataset ID.
9
9
  *
10
10
  * @example
11
11
  * arms_customer_agent_level1
@@ -13,7 +13,7 @@ export class ListExperimentRunsRequest extends $dara.Model {
13
13
  datasetId?: string;
14
14
  /**
15
15
  * @remarks
16
- * Filters results by fuzzy match on the experiment configuration name.
16
+ * Filters the results by using a fuzzy match on the name in the experiment configuration.
17
17
  *
18
18
  * @example
19
19
  * experimentA
@@ -21,7 +21,7 @@ export class ListExperimentRunsRequest extends $dara.Model {
21
21
  experimentName?: string;
22
22
  /**
23
23
  * @remarks
24
- * Optional. Use `page` and `pageSize` for pagination instead.
24
+ * Optional. For pagination, use page and pageSize.
25
25
  *
26
26
  * @example
27
27
  * 20
@@ -29,7 +29,7 @@ export class ListExperimentRunsRequest extends $dara.Model {
29
29
  maxResults?: number;
30
30
  /**
31
31
  * @remarks
32
- * Optional. Use `page` and `pageSize` for pagination instead.
32
+ * Optional. For pagination, use page and pageSize.
33
33
  *
34
34
  * @example
35
35
  * eyJwYWdlIjoxfQ==
@@ -53,7 +53,7 @@ export class ListExperimentRunsRequest extends $dara.Model {
53
53
  pageSize?: number;
54
54
  /**
55
55
  * @remarks
56
- * Filters results by fuzzy match on the experiment plan name.
56
+ * Filters the results by using a fuzzy match on the experiment plan name.
57
57
  *
58
58
  * @example
59
59
  * arms_agent_experiment
@@ -61,7 +61,7 @@ export class ListExperimentRunsRequest extends $dara.Model {
61
61
  planName?: string;
62
62
  /**
63
63
  * @remarks
64
- * Filters results by status.
64
+ * Filters the results by status.
65
65
  *
66
66
  * @example
67
67
  * evaluating
@@ -6,7 +6,7 @@ import { ExperimentRecord } from "./ExperimentRecord";
6
6
  export class ListExperimentRunsResponseBody extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The maximum number of entries returned.
9
+ * The maximum number of returned entries.
10
10
  *
11
11
  * @example
12
12
  * 20
@@ -38,7 +38,7 @@ export class ListExperimentRunsResponseBody extends $dara.Model {
38
38
  pageSize?: number;
39
39
  /**
40
40
  * @remarks
41
- * The list of experiment run records.
41
+ * The list of experiment runs.
42
42
  *
43
43
  * @example
44
44
  * [{"recordId": "exp-run-f6d419b0ed3d43a7b585948a55efc07b", "experimentPlanId": "exp-plan-0242d983f5d340fd8479cf2c19eb279e", "recordName": "arms_agent_experiment 2026/07/22 20:02:55", "planName": "arms_agent_experiment", "status": "evaluating", "progress": 100.0, "totalTasks": 40, "completedTasks": 40, "failedTasks": 0, "dataSourceType": "dataset-full", "datasetId": "arms_customer_agent_level1", "modelNames": ["qwen3.7-plus", "qwen3.7-max"], "evaluationTaskId": "eval-task-6bec93bfa03740dd86ce2bf1496e65fb", "executedAt": 1784721775379, "completedAt": 1784721811392}, {"recordId": "a5397261-6e6d-4e45-bf52-feb8686f7524", "experimentPlanId": "exp-plan-e95bff54685a4ae29ff3a834c1008a71", "recordName": "rca_benchmark_eval_experiment 2026/07/22 19:23:59", "planName": "rca_benchmark_eval_experiment", "status": "completed", "progress": 100.0, "totalTasks": 20, "completedTasks": 20, "failedTasks": 0, "dataSourceType": "dataset-full", "datasetId": "rca_benckmark_eval", "modelNames": [], "evaluationTaskId": "eval-task-b1395b3bdf3e4dc994d7dcde7a66da45", "executedAt": 1784719439255, "completedAt": 1784719989371}]