@alicloud/agentloop20260520 2.3.6 → 2.3.8

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 (45) hide show
  1. package/dist/client.d.ts +12 -12
  2. package/dist/client.js +15 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreatePipelineRequest.d.ts +148 -39
  5. package/dist/models/CreatePipelineRequest.js +76 -1
  6. package/dist/models/CreatePipelineRequest.js.map +1 -1
  7. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  8. package/dist/models/GetPipelineResponseBody.d.ts +157 -42
  9. package/dist/models/GetPipelineResponseBody.js +78 -1
  10. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  11. package/dist/models/ListPipelinesResponseBody.d.ts +111 -0
  12. package/dist/models/ListPipelinesResponseBody.js +102 -1
  13. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  14. package/dist/models/MetaSchemaValue.d.ts +21 -0
  15. package/dist/models/MetaSchemaValue.js +58 -0
  16. package/dist/models/MetaSchemaValue.js.map +1 -0
  17. package/dist/models/PreviewPipelineRequest.d.ts +91 -17
  18. package/dist/models/PreviewPipelineRequest.js +52 -1
  19. package/dist/models/PreviewPipelineRequest.js.map +1 -1
  20. package/dist/models/PreviewPipelineResponseBody.d.ts +45 -16
  21. package/dist/models/PreviewPipelineResponseBody.js +6 -0
  22. package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
  23. package/dist/models/UpdateDatasetRequest.d.ts +33 -0
  24. package/dist/models/UpdateDatasetRequest.js +27 -1
  25. package/dist/models/UpdateDatasetRequest.js.map +1 -1
  26. package/dist/models/UpdatePipelineRequest.d.ts +140 -32
  27. package/dist/models/UpdatePipelineRequest.js +76 -1
  28. package/dist/models/UpdatePipelineRequest.js.map +1 -1
  29. package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
  30. package/dist/models/model.d.ts +17 -0
  31. package/dist/models/model.js +120 -86
  32. package/dist/models/model.js.map +1 -1
  33. package/package.json +1 -1
  34. package/src/client.ts +16 -12
  35. package/src/models/CreatePipelineRequest.ts +196 -39
  36. package/src/models/CreatePipelineResponseBody.ts +1 -1
  37. package/src/models/GetPipelineResponseBody.ts +207 -42
  38. package/src/models/ListPipelinesResponseBody.ts +176 -0
  39. package/src/models/MetaSchemaValue.ts +34 -0
  40. package/src/models/PreviewPipelineRequest.ts +124 -17
  41. package/src/models/PreviewPipelineResponseBody.ts +48 -16
  42. package/src/models/UpdateDatasetRequest.ts +50 -0
  43. package/src/models/UpdatePipelineRequest.ts +188 -32
  44. package/src/models/UpdatePipelineResponseBody.ts +1 -1
  45. package/src/models/model.ts +17 -0
package/src/client.ts CHANGED
@@ -2819,15 +2819,15 @@ export default class Client extends OpenApi {
2819
2819
  }
2820
2820
 
2821
2821
  /**
2822
- * Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
2822
+ * Previews a pipeline. Runs a trial query based on the specified data source, node orchestration, and time range without creating pipeline resources, and returns a small amount of sample data to authenticate parameter settings and preview processing results.
2823
2823
  *
2824
2824
  * @remarks
2825
- * ## Operation description
2826
- * - **agentSpace** must be an AgentSpace instance that has been created under the current account.
2827
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
2828
- * - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
2825
+ * ## Request description
2826
+ * - **agentSpace** must be an AgentSpace instance created under the current account.
2827
+ * - **source.type** currently supports only the `logstore` type, and `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
2828
+ * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
2829
2829
  * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
2830
- * - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
2830
+ * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
2831
2831
  *
2832
2832
  * @param request - PreviewPipelineRequest
2833
2833
  * @param headers - map
@@ -2872,15 +2872,15 @@ export default class Client extends OpenApi {
2872
2872
  }
2873
2873
 
2874
2874
  /**
2875
- * Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
2875
+ * Previews a pipeline. Runs a trial query based on the specified data source, node orchestration, and time range without creating pipeline resources, and returns a small amount of sample data to authenticate parameter settings and preview processing results.
2876
2876
  *
2877
2877
  * @remarks
2878
- * ## Operation description
2879
- * - **agentSpace** must be an AgentSpace instance that has been created under the current account.
2880
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
2881
- * - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
2878
+ * ## Request description
2879
+ * - **agentSpace** must be an AgentSpace instance created under the current account.
2880
+ * - **source.type** currently supports only the `logstore` type, and `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
2881
+ * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
2882
2882
  * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
2883
- * - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
2883
+ * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
2884
2884
  *
2885
2885
  * @param request - PreviewPipelineRequest
2886
2886
  * @returns PreviewPipelineResponse
@@ -3231,6 +3231,10 @@ export default class Client extends OpenApi {
3231
3231
  body["description"] = request.description;
3232
3232
  }
3233
3233
 
3234
+ if (!$dara.isNull(request.renames)) {
3235
+ body["renames"] = request.renames;
3236
+ }
3237
+
3234
3238
  if (!$dara.isNull(request.schema)) {
3235
3239
  body["schema"] = request.schema;
3236
3240
  }
@@ -2,10 +2,40 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The bootstrap start time in UNIX seconds. It has the same precision as runOnce or scheduled fromTime. Millisecond values greater than or equal to 1e12 are automatically converted. The cursor starts from this time aligned to the grid and catches up window by window. After catching up, it switches to minute intervals. By default, it starts from the current time and processes only incremental data.
9
+ *
10
+ * @example
11
+ * 1735660800
12
+ */
13
+ fromTime?: number;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ fromTime: 'fromTime',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ fromTime: 'number',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
5
35
  export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
6
36
  /**
7
37
  * @remarks
8
- * The start time of the data processing window, in UNIX seconds. The value must be less than toTime.
38
+ * The start time of the data processing window in UNIX seconds. The value must be less than the toTime value.
9
39
  *
10
40
  * @example
11
41
  * 1735660800
@@ -13,7 +43,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
13
43
  fromTime?: number;
14
44
  /**
15
45
  * @remarks
16
- * The end time of the data processing window, in UNIX seconds. The value must be greater than fromTime.
46
+ * The end time of the data processing window in UNIX seconds. The value must be greater than the fromTime value.
17
47
  *
18
48
  * @example
19
49
  * 1735747200
@@ -45,7 +75,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
45
75
  export class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
46
76
  /**
47
77
  * @remarks
48
- * The scheduling start time, in UNIX milliseconds.
78
+ * The start time of the scheduling in UNIX milliseconds.
49
79
  *
50
80
  * @example
51
81
  * 1735660800000
@@ -85,9 +115,15 @@ export class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
85
115
  export class CreatePipelineRequestExecutePolicy extends $dara.Model {
86
116
  /**
87
117
  * @remarks
88
- * The scheduling mode. Valid values:
89
- * - RunOnce: one-time execution.
90
- * - Scheduled: periodic scheduling.
118
+ * The continuous execution configuration. This is used when the type is trace. The processing frequency is a fixed value managed by the server.
119
+ *
120
+ * @example
121
+ * {"fromTime":1735660800}
122
+ */
123
+ continuous?: CreatePipelineRequestExecutePolicyContinuous;
124
+ /**
125
+ * @remarks
126
+ * The scheduling mode. Valid values: RunOnce (single execution) and Scheduled (periodic scheduling).
91
127
  *
92
128
  * @example
93
129
  * RunOnce
@@ -95,16 +131,23 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
95
131
  mode?: string;
96
132
  /**
97
133
  * @remarks
98
- * The one-time execution configuration. This parameter is required only when mode is set to RunOnce.
134
+ * The single execution configuration. This parameter is required only when the mode is RunOnce.
135
+ *
136
+ * @example
137
+ * {"fromTime":1735660800,"toTime":1735664400}
99
138
  */
100
139
  runOnce?: CreatePipelineRequestExecutePolicyRunOnce;
101
140
  /**
102
141
  * @remarks
103
- * The periodic scheduling configuration. This parameter is required only when mode is set to Scheduled.
142
+ * The periodic scheduling configuration. This parameter is required only when the mode is Scheduled.
143
+ *
144
+ * @example
145
+ * {"interval":"1h","fromTime":1735660800}
104
146
  */
105
147
  scheduled?: CreatePipelineRequestExecutePolicyScheduled;
106
148
  static names(): { [key: string]: string } {
107
149
  return {
150
+ continuous: 'continuous',
108
151
  mode: 'mode',
109
152
  runOnce: 'runOnce',
110
153
  scheduled: 'scheduled',
@@ -113,6 +156,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
113
156
 
114
157
  static types(): { [key: string]: any } {
115
158
  return {
159
+ continuous: CreatePipelineRequestExecutePolicyContinuous,
116
160
  mode: 'string',
117
161
  runOnce: CreatePipelineRequestExecutePolicyRunOnce,
118
162
  scheduled: CreatePipelineRequestExecutePolicyScheduled,
@@ -120,6 +164,9 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
120
164
  }
121
165
 
122
166
  validate() {
167
+ if(this.continuous && typeof (this.continuous as any).validate === 'function') {
168
+ (this.continuous as any).validate();
169
+ }
123
170
  if(this.runOnce && typeof (this.runOnce as any).validate === 'function') {
124
171
  (this.runOnce as any).validate();
125
172
  }
@@ -137,7 +184,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
137
184
  export class CreatePipelineRequestPipelineNodes extends $dara.Model {
138
185
  /**
139
186
  * @remarks
140
- * The node ID.
187
+ * The ID of the node.
141
188
  *
142
189
  * @example
143
190
  * node-1
@@ -145,12 +192,12 @@ export class CreatePipelineRequestPipelineNodes extends $dara.Model {
145
192
  id?: string;
146
193
  /**
147
194
  * @remarks
148
- * The node parameters in key-value format. The parameters vary based on the node type.
195
+ * The parameters of the node. This is a key-value structure and varies based on the node type.
149
196
  */
150
197
  parameters?: { [key: string]: any };
151
198
  /**
152
199
  * @remarks
153
- * The node type.
200
+ * The type of the node.
154
201
  *
155
202
  * @example
156
203
  * transform
@@ -188,6 +235,9 @@ export class CreatePipelineRequestPipeline extends $dara.Model {
188
235
  /**
189
236
  * @remarks
190
237
  * The list of nodes.
238
+ *
239
+ * @example
240
+ * [{"id":"select-fields","type":"project","parameters":{}}]
191
241
  */
192
242
  nodes?: CreatePipelineRequestPipelineNodes[];
193
243
  static names(): { [key: string]: string } {
@@ -217,7 +267,7 @@ export class CreatePipelineRequestPipeline extends $dara.Model {
217
267
  export class CreatePipelineRequestSinkConditionDefaultSinkDataset extends $dara.Model {
218
268
  /**
219
269
  * @remarks
220
- * The name of the AgentSpace to which the default destination dataset belongs.
270
+ * The name of the agent space to which the default destination dataset belongs.
221
271
  *
222
272
  * @example
223
273
  * my-agent-space
@@ -297,7 +347,7 @@ export class CreatePipelineRequestSinkConditionDefaultSink extends $dara.Model {
297
347
  export class CreatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.Model {
298
348
  /**
299
349
  * @remarks
300
- * The name of the AgentSpace to which the destination dataset belongs.
350
+ * The name of the agent space to which the destination dataset belongs.
301
351
  *
302
352
  * @example
303
353
  * my-agent-space
@@ -337,12 +387,12 @@ export class CreatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.M
337
387
  export class CreatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
338
388
  /**
339
389
  * @remarks
340
- * The route destination dataset.
390
+ * The destination dataset for the route.
341
391
  */
342
392
  dataset?: CreatePipelineRequestSinkConditionRoutesSinkDataset;
343
393
  /**
344
394
  * @remarks
345
- * The route destination type. Currently, only dataset is supported.
395
+ * The destination type for the route. Currently, only dataset is supported.
346
396
  *
347
397
  * @example
348
398
  * dataset
@@ -377,7 +427,7 @@ export class CreatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
377
427
  export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
378
428
  /**
379
429
  * @remarks
380
- * The route expression in SPL. Only where, project, and extend are supported.
430
+ * The route expression in Search Processing Language (SPL). Only where, project, and extend are supported.
381
431
  *
382
432
  * @example
383
433
  * * | where intent = \\"refund\\"
@@ -393,7 +443,7 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
393
443
  id?: string;
394
444
  /**
395
445
  * @remarks
396
- * The route write destination.
446
+ * The write destination for the route.
397
447
  */
398
448
  sink?: CreatePipelineRequestSinkConditionRoutesSink;
399
449
  static names(): { [key: string]: string } {
@@ -477,7 +527,7 @@ export class CreatePipelineRequestSinkCondition extends $dara.Model {
477
527
  export class CreatePipelineRequestSinkDataset extends $dara.Model {
478
528
  /**
479
529
  * @remarks
480
- * The name of the AgentSpace to which the destination dataset belongs.
530
+ * The name of the agent space to which the destination dataset belongs.
481
531
  *
482
532
  * @example
483
533
  * my-agent-space
@@ -517,17 +567,17 @@ export class CreatePipelineRequestSinkDataset extends $dara.Model {
517
567
  export class CreatePipelineRequestSink extends $dara.Model {
518
568
  /**
519
569
  * @remarks
520
- * The conditional routing configuration. This parameter is used only when sink.type is set to condition.
570
+ * The conditional routing configuration. This is used only when sink.type is set to condition.
521
571
  */
522
572
  condition?: CreatePipelineRequestSinkCondition;
523
573
  /**
524
574
  * @remarks
525
- * The destination dataset configuration.
575
+ * The destination dataset configuration for the dataset sink. This is used only when sink.type is set to dataset.
526
576
  */
527
577
  dataset?: CreatePipelineRequestSinkDataset;
528
578
  /**
529
579
  * @remarks
530
- * The sink type. Currently, only Dataset is supported.
580
+ * The destination type. Currently, dataset is supported.
531
581
  *
532
582
  * @example
533
583
  * Dataset
@@ -575,7 +625,7 @@ export class CreatePipelineRequestSourceDataset extends $dara.Model {
575
625
  dataset?: string;
576
626
  /**
577
627
  * @remarks
578
- * The filter condition for the dataset data.
628
+ * The data filter condition for the dataset.
579
629
  *
580
630
  * @example
581
631
  * status = \\"pending\\"
@@ -607,7 +657,7 @@ export class CreatePipelineRequestSourceDataset extends $dara.Model {
607
657
  export class CreatePipelineRequestSourceInputFields extends $dara.Model {
608
658
  /**
609
659
  * @remarks
610
- * The field name.
660
+ * The name of the field.
611
661
  *
612
662
  * @example
613
663
  * question
@@ -615,7 +665,7 @@ export class CreatePipelineRequestSourceInputFields extends $dara.Model {
615
665
  name?: string;
616
666
  /**
617
667
  * @remarks
618
- * The field type. Valid values: text, long, double, and json.
668
+ * The data type of the field. Valid values: text, long, double, and json.
619
669
  *
620
670
  * @example
621
671
  * text
@@ -647,7 +697,7 @@ export class CreatePipelineRequestSourceInputFields extends $dara.Model {
647
697
  export class CreatePipelineRequestSourceLogstore extends $dara.Model {
648
698
  /**
649
699
  * @remarks
650
- * The name of the SLS Logstore.
700
+ * The name of the Simple Log Service Logstore.
651
701
  *
652
702
  * @example
653
703
  * my-sls-logstore
@@ -655,7 +705,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
655
705
  logstore?: string;
656
706
  /**
657
707
  * @remarks
658
- * The name of the SLS project.
708
+ * The name of the Simple Log Service project.
659
709
  *
660
710
  * @example
661
711
  * my-sls-project
@@ -663,7 +713,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
663
713
  project?: string;
664
714
  /**
665
715
  * @remarks
666
- * The data filtered query statement in SLS query/analysis syntax.
716
+ * The data filtered query statement, which uses the Simple Log Service query and analysis syntax.
667
717
  *
668
718
  * @example
669
719
  * * | SELECT *
@@ -694,25 +744,118 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
694
744
  }
695
745
  }
696
746
 
747
+ export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
748
+ /**
749
+ * @remarks
750
+ * The list of enrichment columns. This parameter is retained for backward compatibility. The current implementation outputs only the fixed agent_trajectory column, and this parameter no longer affects the output.
751
+ *
752
+ * @example
753
+ * ["input","output","session_id"]
754
+ */
755
+ columns?: string[];
756
+ /**
757
+ * @remarks
758
+ * Specifies whether to enable trajectory enrichment.
759
+ *
760
+ * @example
761
+ * false
762
+ */
763
+ enabled?: boolean;
764
+ static names(): { [key: string]: string } {
765
+ return {
766
+ columns: 'columns',
767
+ enabled: 'enabled',
768
+ };
769
+ }
770
+
771
+ static types(): { [key: string]: any } {
772
+ return {
773
+ columns: { 'type': 'array', 'itemType': 'string' },
774
+ enabled: 'boolean',
775
+ };
776
+ }
777
+
778
+ validate() {
779
+ if(Array.isArray(this.columns)) {
780
+ $dara.Model.validateArray(this.columns);
781
+ }
782
+ super.validate();
783
+ }
784
+
785
+ constructor(map?: { [key: string]: any }) {
786
+ super(map);
787
+ }
788
+ }
789
+
790
+ export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
791
+ /**
792
+ * @remarks
793
+ * The trajectory enrichment configuration. It mounts trajectory data into the scrubbing results based on the trace_id. When writing to a dataset, the data is stored in the fixed agent_trajectory column, where the column value is the trajectory JSON content.
794
+ *
795
+ * @example
796
+ * {"enabled":true,"columns":["input","output"]}
797
+ */
798
+ enrich?: CreatePipelineRequestSourceTrajectoryEnrich;
799
+ static names(): { [key: string]: string } {
800
+ return {
801
+ enrich: 'enrich',
802
+ };
803
+ }
804
+
805
+ static types(): { [key: string]: any } {
806
+ return {
807
+ enrich: CreatePipelineRequestSourceTrajectoryEnrich,
808
+ };
809
+ }
810
+
811
+ validate() {
812
+ if(this.enrich && typeof (this.enrich as any).validate === 'function') {
813
+ (this.enrich as any).validate();
814
+ }
815
+ super.validate();
816
+ }
817
+
818
+ constructor(map?: { [key: string]: any }) {
819
+ super(map);
820
+ }
821
+ }
822
+
697
823
  export class CreatePipelineRequestSource extends $dara.Model {
698
824
  /**
699
825
  * @remarks
700
- * The dataset datasource config under the current AgentSpace.
826
+ * The dataset datasource config under the current agent space.
827
+ *
828
+ * @example
829
+ * {"dataset":"my-dataset","filter":"status = \\"pending\\""}
701
830
  */
702
831
  dataset?: CreatePipelineRequestSourceDataset;
703
832
  /**
704
833
  * @remarks
705
- * The input fields and field types. This parameter applies to all data source types.
834
+ * The input fields and their data types. This applies to all data source types.
835
+ *
836
+ * @example
837
+ * [{"name":"question","type":"text"}]
706
838
  */
707
839
  inputFields?: CreatePipelineRequestSourceInputFields[];
708
840
  /**
709
841
  * @remarks
710
- * The SLS Logstore datasource config.
842
+ * The Simple Log Service Logstore datasource config.
843
+ *
844
+ * @example
845
+ * {"project":"my-sls-project","logstore":"agent-logs"}
711
846
  */
712
847
  logstore?: CreatePipelineRequestSourceLogstore;
713
848
  /**
714
849
  * @remarks
715
- * The data source type. Currently, SLS is supported.
850
+ * The trajectory data configuration. This is optional and takes effect only when the type is set to trace. It retrieves ATIF standard trajectory data from the trajectory scrubbing service and extends it based on features.
851
+ *
852
+ * @example
853
+ * {"enrich":{"enabled":true,"columns":["input","output"]}}
854
+ */
855
+ trajectory?: CreatePipelineRequestSourceTrajectory;
856
+ /**
857
+ * @remarks
858
+ * The data source type. Currently, Simple Log Service is supported.
716
859
  *
717
860
  * @example
718
861
  * SLS
@@ -723,6 +866,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
723
866
  dataset: 'dataset',
724
867
  inputFields: 'inputFields',
725
868
  logstore: 'logstore',
869
+ trajectory: 'trajectory',
726
870
  type: 'type',
727
871
  };
728
872
  }
@@ -732,6 +876,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
732
876
  dataset: CreatePipelineRequestSourceDataset,
733
877
  inputFields: { 'type': 'array', 'itemType': CreatePipelineRequestSourceInputFields },
734
878
  logstore: CreatePipelineRequestSourceLogstore,
879
+ trajectory: CreatePipelineRequestSourceTrajectory,
735
880
  type: 'string',
736
881
  };
737
882
  }
@@ -746,6 +891,9 @@ export class CreatePipelineRequestSource extends $dara.Model {
746
891
  if(this.logstore && typeof (this.logstore as any).validate === 'function') {
747
892
  (this.logstore as any).validate();
748
893
  }
894
+ if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
895
+ (this.trajectory as any).validate();
896
+ }
749
897
  super.validate();
750
898
  }
751
899
 
@@ -757,25 +905,31 @@ export class CreatePipelineRequestSource extends $dara.Model {
757
905
  export class CreatePipelineRequest extends $dara.Model {
758
906
  /**
759
907
  * @remarks
760
- * The pipeline description. The description can be up to 256 characters in length.
908
+ * The description of the pipeline. Maximum length: 256 characters.
761
909
  *
762
910
  * @example
763
- * Collect trace data from SLS, perform data cleaning, and ingest it into a dataset
911
+ * Collect trace data from SLS and perform data cleaning into a dataset
764
912
  */
765
913
  description?: string;
766
914
  /**
767
915
  * @remarks
768
- * The scheduling policy.
916
+ * The scheduling method.
917
+ *
918
+ * @example
919
+ * {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
769
920
  */
770
921
  executePolicy?: CreatePipelineRequestExecutePolicy;
771
922
  /**
772
923
  * @remarks
773
- * The pipeline configuration for node orchestration.
924
+ * The pipeline configuration, including node orchestration.
925
+ *
926
+ * @example
927
+ * {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
774
928
  */
775
929
  pipeline?: CreatePipelineRequestPipeline;
776
930
  /**
777
931
  * @remarks
778
- * The pipeline name. The name must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens (-).
932
+ * The name of the pipeline. The name must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens (-).
779
933
  *
780
934
  * @example
781
935
  * my-pipeline
@@ -783,17 +937,20 @@ export class CreatePipelineRequest extends $dara.Model {
783
937
  pipelineName?: string;
784
938
  /**
785
939
  * @remarks
786
- * The pipeline sink (data write destination).
940
+ * The pipeline sink, which is the data write destination.
787
941
  */
788
942
  sink?: CreatePipelineRequestSink;
789
943
  /**
790
944
  * @remarks
791
- * The pipeline data source.
945
+ * The data source for the pipeline.
946
+ *
947
+ * @example
948
+ * {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
792
949
  */
793
950
  source?: CreatePipelineRequestSource;
794
951
  /**
795
952
  * @remarks
796
- * The idempotency token. A unique string generated by the client to ensure the idempotency of the create operation.
953
+ * The idempotency token. This is a unique string generated by the client to ensure the idempotency of the create operation.
797
954
  *
798
955
  * @example
799
956
  * a1b2c3d4-1234-5678-90ab-cdef12345678
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreatePipelineResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID, which is used to locate and troubleshoot issues.
8
+ * The request ID used to locate the request during troubleshooting.
9
9
  *
10
10
  * @example
11
11
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M