@eigenpal/sdk 0.10.56 → 0.11.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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { type Client, formDataBodySerializer, type Options as Options2, type TDataShape } from './client';
4
4
  import { client } from './client.gen';
5
- import type { AuthCheckData, AuthCheckErrors, AuthCheckResponses, AutomationsDatasetExportData, AutomationsDatasetExportErrors, AutomationsDatasetExportResponses, AutomationsDatasetImportData, AutomationsDatasetImportErrors, AutomationsDatasetImportResponses, AutomationsEvaluatorsGetData, AutomationsEvaluatorsGetErrors, AutomationsEvaluatorsGetResponses, AutomationsEvaluatorsUpdateData, AutomationsEvaluatorsUpdateErrors, AutomationsEvaluatorsUpdateResponses, AutomationsExamplesCreateData, AutomationsExamplesCreateErrors, AutomationsExamplesCreateResponses, AutomationsExamplesDeleteData, AutomationsExamplesDeleteErrors, AutomationsExamplesDeleteResponses, AutomationsExamplesExpectedFileDeleteData, AutomationsExamplesExpectedFileDeleteErrors, AutomationsExamplesExpectedFileDeleteResponses, AutomationsExamplesExpectedFileGetData, AutomationsExamplesExpectedFileGetErrors, AutomationsExamplesExpectedFileGetResponses, AutomationsExamplesExpectedFilesCreateData, AutomationsExamplesExpectedFilesCreateErrors, AutomationsExamplesExpectedFilesCreateResponses, AutomationsExamplesExpectedFilesListData, AutomationsExamplesExpectedFilesListErrors, AutomationsExamplesExpectedFilesListResponses, AutomationsExamplesExpectedFileUpdateData, AutomationsExamplesExpectedFileUpdateErrors, AutomationsExamplesExpectedFileUpdateResponses, AutomationsExamplesGetData, AutomationsExamplesGetErrors, AutomationsExamplesGetResponses, AutomationsExamplesInputFileDeleteData, AutomationsExamplesInputFileDeleteErrors, AutomationsExamplesInputFileDeleteResponses, AutomationsExamplesInputFileGetData, AutomationsExamplesInputFileGetErrors, AutomationsExamplesInputFileGetResponses, AutomationsExamplesInputFilesCreateData, AutomationsExamplesInputFilesCreateErrors, AutomationsExamplesInputFilesCreateResponses, AutomationsExamplesInputFilesListData, AutomationsExamplesInputFilesListErrors, AutomationsExamplesInputFilesListResponses, AutomationsExamplesInputFileUpdateData, AutomationsExamplesInputFileUpdateErrors, AutomationsExamplesInputFileUpdateResponses, AutomationsExamplesListData, AutomationsExamplesListErrors, AutomationsExamplesListResponses, AutomationsExamplesRunData, AutomationsExamplesRunErrors, AutomationsExamplesRunResponses, AutomationsExamplesUpdateData, AutomationsExamplesUpdateErrors, AutomationsExamplesUpdateResponses, AutomationsExperimentsCancelData, AutomationsExperimentsCancelErrors, AutomationsExperimentsCancelResponses, AutomationsExperimentsCreateData, AutomationsExperimentsCreateErrors, AutomationsExperimentsCreateResponses, AutomationsExperimentsCreateStreamData, AutomationsExperimentsCreateStreamErrors, AutomationsExperimentsCreateStreamResponses, AutomationsExperimentsExportAllData, AutomationsExperimentsExportAllErrors, AutomationsExperimentsExportAllResponses, AutomationsExperimentsExportData, AutomationsExperimentsExportErrors, AutomationsExperimentsExportResponses, AutomationsExperimentsGetData, AutomationsExperimentsGetErrors, AutomationsExperimentsGetResponses, AutomationsExperimentsListData, AutomationsExperimentsListErrors, AutomationsExperimentsListResponses, AutomationsGetData, AutomationsGetErrors, AutomationsGetResponses, AutomationsListData, AutomationsListErrors, AutomationsListResponses, AutomationsReviewsHealthData, AutomationsReviewsHealthErrors, AutomationsReviewsHealthResponses, AutomationsSyncData, AutomationsSyncErrors, AutomationsSyncResponses, AutomationsTriggersGetData, AutomationsTriggersGetErrors, AutomationsTriggersGetResponses, AutomationsVersionsListData, AutomationsVersionsListErrors, AutomationsVersionsListResponses, ExperimentsResolveData, ExperimentsResolveErrors, ExperimentsResolveResponses, FilesContentGetData, FilesContentGetErrors, FilesContentGetResponses, FilesCreateData, FilesCreateErrors, FilesCreateResponses, FilesDeleteData, FilesDeleteErrors, FilesDeleteResponses, FilesGetData, FilesGetErrors, FilesGetResponses, RunsArtifactsGetData, RunsArtifactsGetErrors, RunsArtifactsGetResponses, RunsArtifactsListData, RunsArtifactsListErrors, RunsArtifactsListResponses, RunsCancelData, RunsCancelErrors, RunsCancelResponses, RunsEventsListData, RunsEventsListErrors, RunsEventsListResponses, RunsGetData, RunsGetErrors, RunsGetResponses, RunsListData, RunsListErrors, RunsListResponses, RunsPromoteData, RunsPromoteErrors, RunsPromoteResponses, RunsRerunData, RunsRerunErrors, RunsRerunResponses, RunsReviewsClearData, RunsReviewsClearErrors, RunsReviewsClearResponses, RunsReviewsExpectedCreateData, RunsReviewsExpectedCreateErrors, RunsReviewsExpectedCreateResponses, RunsReviewsExpectedFileDeleteData, RunsReviewsExpectedFileDeleteErrors, RunsReviewsExpectedFileDeleteResponses, RunsReviewsExpectedFileGetData, RunsReviewsExpectedFileGetErrors, RunsReviewsExpectedFileGetResponses, RunsReviewsExpectedFileUpdateData, RunsReviewsExpectedFileUpdateErrors, RunsReviewsExpectedFileUpdateResponses, RunsReviewsExpectedGetData, RunsReviewsExpectedGetErrors, RunsReviewsExpectedGetResponses, RunsReviewsGetData, RunsReviewsGetErrors, RunsReviewsGetResponses, RunsReviewsUpdateData, RunsReviewsUpdateErrors, RunsReviewsUpdateResponses, RunsScoresListData, RunsScoresListErrors, RunsScoresListResponses, RunsStartData, RunsStartErrors, RunsStartResponses, RunsStepsListData, RunsStepsListErrors, RunsStepsListResponses, RunsTraceGetData, RunsTraceGetErrors, RunsTraceGetResponses, RunsUsageGetData, RunsUsageGetErrors, RunsUsageGetResponses } from './types.gen';
5
+ import type { AuthCheckData, AuthCheckErrors, AuthCheckResponses, AutomationsDatasetExportData, AutomationsDatasetExportErrors, AutomationsDatasetExportResponses, AutomationsDatasetImportData, AutomationsDatasetImportErrors, AutomationsDatasetImportResponses, AutomationsEvaluatorsGetData, AutomationsEvaluatorsGetErrors, AutomationsEvaluatorsGetResponses, AutomationsEvaluatorsUpdateData, AutomationsEvaluatorsUpdateErrors, AutomationsEvaluatorsUpdateResponses, AutomationsExamplesCreateData, AutomationsExamplesCreateErrors, AutomationsExamplesCreateResponses, AutomationsExamplesDeleteData, AutomationsExamplesDeleteErrors, AutomationsExamplesDeleteResponses, AutomationsExamplesExpectedFileDeleteData, AutomationsExamplesExpectedFileDeleteErrors, AutomationsExamplesExpectedFileDeleteResponses, AutomationsExamplesExpectedFileGetData, AutomationsExamplesExpectedFileGetErrors, AutomationsExamplesExpectedFileGetResponses, AutomationsExamplesExpectedFilesCreateData, AutomationsExamplesExpectedFilesCreateErrors, AutomationsExamplesExpectedFilesCreateResponses, AutomationsExamplesExpectedFilesListData, AutomationsExamplesExpectedFilesListErrors, AutomationsExamplesExpectedFilesListResponses, AutomationsExamplesExpectedFileUpdateData, AutomationsExamplesExpectedFileUpdateErrors, AutomationsExamplesExpectedFileUpdateResponses, AutomationsExamplesGetData, AutomationsExamplesGetErrors, AutomationsExamplesGetResponses, AutomationsExamplesInputFileDeleteData, AutomationsExamplesInputFileDeleteErrors, AutomationsExamplesInputFileDeleteResponses, AutomationsExamplesInputFileGetData, AutomationsExamplesInputFileGetErrors, AutomationsExamplesInputFileGetResponses, AutomationsExamplesInputFilesCreateData, AutomationsExamplesInputFilesCreateErrors, AutomationsExamplesInputFilesCreateResponses, AutomationsExamplesInputFilesListData, AutomationsExamplesInputFilesListErrors, AutomationsExamplesInputFilesListResponses, AutomationsExamplesInputFileUpdateData, AutomationsExamplesInputFileUpdateErrors, AutomationsExamplesInputFileUpdateResponses, AutomationsExamplesListData, AutomationsExamplesListErrors, AutomationsExamplesListResponses, AutomationsExamplesRunData, AutomationsExamplesRunErrors, AutomationsExamplesRunResponses, AutomationsExamplesUpdateData, AutomationsExamplesUpdateErrors, AutomationsExamplesUpdateResponses, AutomationsExperimentsCancelData, AutomationsExperimentsCancelErrors, AutomationsExperimentsCancelResponses, AutomationsExperimentsCreateData, AutomationsExperimentsCreateErrors, AutomationsExperimentsCreateResponses, AutomationsExperimentsCreateStreamData, AutomationsExperimentsCreateStreamErrors, AutomationsExperimentsCreateStreamResponses, AutomationsExperimentsExportAllData, AutomationsExperimentsExportAllErrors, AutomationsExperimentsExportAllResponses, AutomationsExperimentsExportData, AutomationsExperimentsExportErrors, AutomationsExperimentsExportResponses, AutomationsExperimentsGetData, AutomationsExperimentsGetErrors, AutomationsExperimentsGetResponses, AutomationsExperimentsListData, AutomationsExperimentsListErrors, AutomationsExperimentsListResponses, AutomationsGetData, AutomationsGetErrors, AutomationsGetResponses, AutomationsListData, AutomationsListErrors, AutomationsListResponses, AutomationsReviewsHealthData, AutomationsReviewsHealthErrors, AutomationsReviewsHealthResponses, AutomationsSyncData, AutomationsSyncErrors, AutomationsSyncResponses, AutomationsTriggersGetData, AutomationsTriggersGetErrors, AutomationsTriggersGetResponses, AutomationsVersionsListData, AutomationsVersionsListErrors, AutomationsVersionsListResponses, ExperimentsResolveData, ExperimentsResolveErrors, ExperimentsResolveResponses, FilesContentGetData, FilesContentGetErrors, FilesContentGetResponses, FilesCreateData, FilesCreateErrors, FilesCreateResponses, FilesDeleteData, FilesDeleteErrors, FilesDeleteResponses, FilesGetData, FilesGetErrors, FilesGetResponses, FilesUploadsAbortData, FilesUploadsAbortErrors, FilesUploadsAbortResponses, FilesUploadsCompleteData, FilesUploadsCompleteErrors, FilesUploadsCompleteResponses, FilesUploadsCreateData, FilesUploadsCreateErrors, FilesUploadsCreateResponses, RunsArtifactsGetData, RunsArtifactsGetErrors, RunsArtifactsGetResponses, RunsArtifactsListData, RunsArtifactsListErrors, RunsArtifactsListResponses, RunsCancelData, RunsCancelErrors, RunsCancelResponses, RunsEventsListData, RunsEventsListErrors, RunsEventsListResponses, RunsGetData, RunsGetErrors, RunsGetResponses, RunsListData, RunsListErrors, RunsListResponses, RunsPromoteData, RunsPromoteErrors, RunsPromoteResponses, RunsRerunData, RunsRerunErrors, RunsRerunResponses, RunsReviewsClearData, RunsReviewsClearErrors, RunsReviewsClearResponses, RunsReviewsExpectedCreateData, RunsReviewsExpectedCreateErrors, RunsReviewsExpectedCreateResponses, RunsReviewsExpectedFileDeleteData, RunsReviewsExpectedFileDeleteErrors, RunsReviewsExpectedFileDeleteResponses, RunsReviewsExpectedFileGetData, RunsReviewsExpectedFileGetErrors, RunsReviewsExpectedFileGetResponses, RunsReviewsExpectedFileUpdateData, RunsReviewsExpectedFileUpdateErrors, RunsReviewsExpectedFileUpdateResponses, RunsReviewsExpectedGetData, RunsReviewsExpectedGetErrors, RunsReviewsExpectedGetResponses, RunsReviewsGetData, RunsReviewsGetErrors, RunsReviewsGetResponses, RunsReviewsUpdateData, RunsReviewsUpdateErrors, RunsReviewsUpdateResponses, RunsScoresListData, RunsScoresListErrors, RunsScoresListResponses, RunsStartData, RunsStartErrors, RunsStartResponses, RunsStepsListData, RunsStepsListErrors, RunsStepsListResponses, RunsTraceGetData, RunsTraceGetErrors, RunsTraceGetResponses, RunsUsageGetData, RunsUsageGetErrors, RunsUsageGetResponses } from './types.gen';
6
6
 
7
7
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
8
8
  /**
@@ -25,7 +25,7 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
25
25
  */
26
26
  export const authCheck = <ThrowOnError extends boolean = false>(options?: Options<AuthCheckData, ThrowOnError>) => (options?.client ?? client).get<AuthCheckResponses, AuthCheckErrors, ThrowOnError>({
27
27
  security: [{ scheme: 'bearer', type: 'http' }],
28
- url: '/api/v1/auth/check',
28
+ url: '/v1/auth/check',
29
29
  ...options
30
30
  });
31
31
 
@@ -36,7 +36,7 @@ export const authCheck = <ThrowOnError extends boolean = false>(options?: Option
36
36
  */
37
37
  export const automationsList = <ThrowOnError extends boolean = false>(options?: Options<AutomationsListData, ThrowOnError>) => (options?.client ?? client).get<AutomationsListResponses, AutomationsListErrors, ThrowOnError>({
38
38
  security: [{ scheme: 'bearer', type: 'http' }],
39
- url: '/api/v1/automations',
39
+ url: '/v1/automations',
40
40
  ...options
41
41
  });
42
42
 
@@ -47,18 +47,18 @@ export const automationsList = <ThrowOnError extends boolean = false>(options?:
47
47
  */
48
48
  export const automationsGet = <ThrowOnError extends boolean = false>(options: Options<AutomationsGetData, ThrowOnError>) => (options.client ?? client).get<AutomationsGetResponses, AutomationsGetErrors, ThrowOnError>({
49
49
  security: [{ scheme: 'bearer', type: 'http' }],
50
- url: '/api/v1/automations/{id}',
50
+ url: '/v1/automations/{id}',
51
51
  ...options
52
52
  });
53
53
 
54
54
  /**
55
55
  * Export automation dataset
56
56
  *
57
- * Download the automation dataset as a ZIP archive. The archive uses the examples/<name>/input and examples/<name>/expected folder convention, so it can be re-imported into another automation or environment.
57
+ * Download the automation dataset as a ZIP archive. The archive uses the examples/<name>/input and examples/<name>/expected folder convention, so it can be re-imported into another automation or environment. Cloud deployments may redirect large archives to a short-lived storage URL.
58
58
  */
59
59
  export const automationsDatasetExport = <ThrowOnError extends boolean = false>(options: Options<AutomationsDatasetExportData, ThrowOnError>) => (options.client ?? client).get<AutomationsDatasetExportResponses, AutomationsDatasetExportErrors, ThrowOnError>({
60
60
  security: [{ scheme: 'bearer', type: 'http' }],
61
- url: '/api/v1/automations/{id}/dataset/export',
61
+ url: '/v1/automations/{id}/dataset/export',
62
62
  ...options
63
63
  });
64
64
 
@@ -70,7 +70,7 @@ export const automationsDatasetExport = <ThrowOnError extends boolean = false>(o
70
70
  export const automationsDatasetImport = <ThrowOnError extends boolean = false>(options: Options<AutomationsDatasetImportData, ThrowOnError>) => (options.client ?? client).post<AutomationsDatasetImportResponses, AutomationsDatasetImportErrors, ThrowOnError>({
71
71
  ...formDataBodySerializer,
72
72
  security: [{ scheme: 'bearer', type: 'http' }],
73
- url: '/api/v1/automations/{id}/dataset/import',
73
+ url: '/v1/automations/{id}/dataset/import',
74
74
  ...options,
75
75
  headers: {
76
76
  'Content-Type': null,
@@ -85,7 +85,7 @@ export const automationsDatasetImport = <ThrowOnError extends boolean = false>(o
85
85
  */
86
86
  export const automationsEvaluatorsGet = <ThrowOnError extends boolean = false>(options: Options<AutomationsEvaluatorsGetData, ThrowOnError>) => (options.client ?? client).get<AutomationsEvaluatorsGetResponses, AutomationsEvaluatorsGetErrors, ThrowOnError>({
87
87
  security: [{ scheme: 'bearer', type: 'http' }],
88
- url: '/api/v1/automations/{id}/evaluators',
88
+ url: '/v1/automations/{id}/evaluators',
89
89
  ...options
90
90
  });
91
91
 
@@ -96,7 +96,7 @@ export const automationsEvaluatorsGet = <ThrowOnError extends boolean = false>(o
96
96
  */
97
97
  export const automationsEvaluatorsUpdate = <ThrowOnError extends boolean = false>(options: Options<AutomationsEvaluatorsUpdateData, ThrowOnError>) => (options.client ?? client).put<AutomationsEvaluatorsUpdateResponses, AutomationsEvaluatorsUpdateErrors, ThrowOnError>({
98
98
  security: [{ scheme: 'bearer', type: 'http' }],
99
- url: '/api/v1/automations/{id}/evaluators',
99
+ url: '/v1/automations/{id}/evaluators',
100
100
  ...options,
101
101
  headers: {
102
102
  'Content-Type': 'application/json',
@@ -111,7 +111,7 @@ export const automationsEvaluatorsUpdate = <ThrowOnError extends boolean = false
111
111
  */
112
112
  export const automationsExamplesList = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesListData, ThrowOnError>) => (options.client ?? client).get<AutomationsExamplesListResponses, AutomationsExamplesListErrors, ThrowOnError>({
113
113
  security: [{ scheme: 'bearer', type: 'http' }],
114
- url: '/api/v1/automations/{id}/examples',
114
+ url: '/v1/automations/{id}/examples',
115
115
  ...options
116
116
  });
117
117
 
@@ -122,7 +122,7 @@ export const automationsExamplesList = <ThrowOnError extends boolean = false>(op
122
122
  */
123
123
  export const automationsExamplesCreate = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesCreateData, ThrowOnError>) => (options.client ?? client).post<AutomationsExamplesCreateResponses, AutomationsExamplesCreateErrors, ThrowOnError>({
124
124
  security: [{ scheme: 'bearer', type: 'http' }],
125
- url: '/api/v1/automations/{id}/examples',
125
+ url: '/v1/automations/{id}/examples',
126
126
  ...options,
127
127
  headers: {
128
128
  'Content-Type': 'application/json',
@@ -137,7 +137,7 @@ export const automationsExamplesCreate = <ThrowOnError extends boolean = false>(
137
137
  */
138
138
  export const automationsExamplesDelete = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesDeleteData, ThrowOnError>) => (options.client ?? client).delete<AutomationsExamplesDeleteResponses, AutomationsExamplesDeleteErrors, ThrowOnError>({
139
139
  security: [{ scheme: 'bearer', type: 'http' }],
140
- url: '/api/v1/automations/{id}/examples/{exampleId}',
140
+ url: '/v1/automations/{id}/examples/{exampleId}',
141
141
  ...options
142
142
  });
143
143
 
@@ -148,7 +148,7 @@ export const automationsExamplesDelete = <ThrowOnError extends boolean = false>(
148
148
  */
149
149
  export const automationsExamplesGet = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesGetData, ThrowOnError>) => (options.client ?? client).get<AutomationsExamplesGetResponses, AutomationsExamplesGetErrors, ThrowOnError>({
150
150
  security: [{ scheme: 'bearer', type: 'http' }],
151
- url: '/api/v1/automations/{id}/examples/{exampleId}',
151
+ url: '/v1/automations/{id}/examples/{exampleId}',
152
152
  ...options
153
153
  });
154
154
 
@@ -159,7 +159,7 @@ export const automationsExamplesGet = <ThrowOnError extends boolean = false>(opt
159
159
  */
160
160
  export const automationsExamplesUpdate = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesUpdateData, ThrowOnError>) => (options.client ?? client).patch<AutomationsExamplesUpdateResponses, AutomationsExamplesUpdateErrors, ThrowOnError>({
161
161
  security: [{ scheme: 'bearer', type: 'http' }],
162
- url: '/api/v1/automations/{id}/examples/{exampleId}',
162
+ url: '/v1/automations/{id}/examples/{exampleId}',
163
163
  ...options,
164
164
  headers: {
165
165
  'Content-Type': 'application/json',
@@ -174,7 +174,7 @@ export const automationsExamplesUpdate = <ThrowOnError extends boolean = false>(
174
174
  */
175
175
  export const automationsExamplesExpectedFilesList = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesExpectedFilesListData, ThrowOnError>) => (options.client ?? client).get<AutomationsExamplesExpectedFilesListResponses, AutomationsExamplesExpectedFilesListErrors, ThrowOnError>({
176
176
  security: [{ scheme: 'bearer', type: 'http' }],
177
- url: '/api/v1/automations/{id}/examples/{exampleId}/expected',
177
+ url: '/v1/automations/{id}/examples/{exampleId}/expected',
178
178
  ...options
179
179
  });
180
180
 
@@ -186,7 +186,7 @@ export const automationsExamplesExpectedFilesList = <ThrowOnError extends boolea
186
186
  export const automationsExamplesExpectedFilesCreate = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesExpectedFilesCreateData, ThrowOnError>) => (options.client ?? client).post<AutomationsExamplesExpectedFilesCreateResponses, AutomationsExamplesExpectedFilesCreateErrors, ThrowOnError>({
187
187
  ...formDataBodySerializer,
188
188
  security: [{ scheme: 'bearer', type: 'http' }],
189
- url: '/api/v1/automations/{id}/examples/{exampleId}/expected',
189
+ url: '/v1/automations/{id}/examples/{exampleId}/expected',
190
190
  ...options,
191
191
  headers: {
192
192
  'Content-Type': null,
@@ -201,7 +201,7 @@ export const automationsExamplesExpectedFilesCreate = <ThrowOnError extends bool
201
201
  */
202
202
  export const automationsExamplesExpectedFileDelete = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesExpectedFileDeleteData, ThrowOnError>) => (options.client ?? client).delete<AutomationsExamplesExpectedFileDeleteResponses, AutomationsExamplesExpectedFileDeleteErrors, ThrowOnError>({
203
203
  security: [{ scheme: 'bearer', type: 'http' }],
204
- url: '/api/v1/automations/{id}/examples/{exampleId}/expected/{path}',
204
+ url: '/v1/automations/{id}/examples/{exampleId}/expected/{path}',
205
205
  ...options
206
206
  });
207
207
 
@@ -212,7 +212,7 @@ export const automationsExamplesExpectedFileDelete = <ThrowOnError extends boole
212
212
  */
213
213
  export const automationsExamplesExpectedFileGet = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesExpectedFileGetData, ThrowOnError>) => (options.client ?? client).get<AutomationsExamplesExpectedFileGetResponses, AutomationsExamplesExpectedFileGetErrors, ThrowOnError>({
214
214
  security: [{ scheme: 'bearer', type: 'http' }],
215
- url: '/api/v1/automations/{id}/examples/{exampleId}/expected/{path}',
215
+ url: '/v1/automations/{id}/examples/{exampleId}/expected/{path}',
216
216
  ...options
217
217
  });
218
218
 
@@ -223,7 +223,7 @@ export const automationsExamplesExpectedFileGet = <ThrowOnError extends boolean
223
223
  */
224
224
  export const automationsExamplesExpectedFileUpdate = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesExpectedFileUpdateData, ThrowOnError>) => (options.client ?? client).patch<AutomationsExamplesExpectedFileUpdateResponses, AutomationsExamplesExpectedFileUpdateErrors, ThrowOnError>({
225
225
  security: [{ scheme: 'bearer', type: 'http' }],
226
- url: '/api/v1/automations/{id}/examples/{exampleId}/expected/{path}',
226
+ url: '/v1/automations/{id}/examples/{exampleId}/expected/{path}',
227
227
  ...options,
228
228
  headers: {
229
229
  'Content-Type': 'application/json',
@@ -238,7 +238,7 @@ export const automationsExamplesExpectedFileUpdate = <ThrowOnError extends boole
238
238
  */
239
239
  export const automationsExamplesInputFilesList = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesInputFilesListData, ThrowOnError>) => (options.client ?? client).get<AutomationsExamplesInputFilesListResponses, AutomationsExamplesInputFilesListErrors, ThrowOnError>({
240
240
  security: [{ scheme: 'bearer', type: 'http' }],
241
- url: '/api/v1/automations/{id}/examples/{exampleId}/input',
241
+ url: '/v1/automations/{id}/examples/{exampleId}/input',
242
242
  ...options
243
243
  });
244
244
 
@@ -250,7 +250,7 @@ export const automationsExamplesInputFilesList = <ThrowOnError extends boolean =
250
250
  export const automationsExamplesInputFilesCreate = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesInputFilesCreateData, ThrowOnError>) => (options.client ?? client).post<AutomationsExamplesInputFilesCreateResponses, AutomationsExamplesInputFilesCreateErrors, ThrowOnError>({
251
251
  ...formDataBodySerializer,
252
252
  security: [{ scheme: 'bearer', type: 'http' }],
253
- url: '/api/v1/automations/{id}/examples/{exampleId}/input',
253
+ url: '/v1/automations/{id}/examples/{exampleId}/input',
254
254
  ...options,
255
255
  headers: {
256
256
  'Content-Type': null,
@@ -265,7 +265,7 @@ export const automationsExamplesInputFilesCreate = <ThrowOnError extends boolean
265
265
  */
266
266
  export const automationsExamplesInputFileDelete = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesInputFileDeleteData, ThrowOnError>) => (options.client ?? client).delete<AutomationsExamplesInputFileDeleteResponses, AutomationsExamplesInputFileDeleteErrors, ThrowOnError>({
267
267
  security: [{ scheme: 'bearer', type: 'http' }],
268
- url: '/api/v1/automations/{id}/examples/{exampleId}/input/{path}',
268
+ url: '/v1/automations/{id}/examples/{exampleId}/input/{path}',
269
269
  ...options
270
270
  });
271
271
 
@@ -276,7 +276,7 @@ export const automationsExamplesInputFileDelete = <ThrowOnError extends boolean
276
276
  */
277
277
  export const automationsExamplesInputFileGet = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesInputFileGetData, ThrowOnError>) => (options.client ?? client).get<AutomationsExamplesInputFileGetResponses, AutomationsExamplesInputFileGetErrors, ThrowOnError>({
278
278
  security: [{ scheme: 'bearer', type: 'http' }],
279
- url: '/api/v1/automations/{id}/examples/{exampleId}/input/{path}',
279
+ url: '/v1/automations/{id}/examples/{exampleId}/input/{path}',
280
280
  ...options
281
281
  });
282
282
 
@@ -287,7 +287,7 @@ export const automationsExamplesInputFileGet = <ThrowOnError extends boolean = f
287
287
  */
288
288
  export const automationsExamplesInputFileUpdate = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesInputFileUpdateData, ThrowOnError>) => (options.client ?? client).patch<AutomationsExamplesInputFileUpdateResponses, AutomationsExamplesInputFileUpdateErrors, ThrowOnError>({
289
289
  security: [{ scheme: 'bearer', type: 'http' }],
290
- url: '/api/v1/automations/{id}/examples/{exampleId}/input/{path}',
290
+ url: '/v1/automations/{id}/examples/{exampleId}/input/{path}',
291
291
  ...options,
292
292
  headers: {
293
293
  'Content-Type': 'application/json',
@@ -302,7 +302,7 @@ export const automationsExamplesInputFileUpdate = <ThrowOnError extends boolean
302
302
  */
303
303
  export const automationsExamplesRun = <ThrowOnError extends boolean = false>(options: Options<AutomationsExamplesRunData, ThrowOnError>) => (options.client ?? client).post<AutomationsExamplesRunResponses, AutomationsExamplesRunErrors, ThrowOnError>({
304
304
  security: [{ scheme: 'bearer', type: 'http' }],
305
- url: '/api/v1/automations/{id}/examples/{exampleId}/run',
305
+ url: '/v1/automations/{id}/examples/{exampleId}/run',
306
306
  ...options
307
307
  });
308
308
 
@@ -313,7 +313,7 @@ export const automationsExamplesRun = <ThrowOnError extends boolean = false>(opt
313
313
  */
314
314
  export const automationsExperimentsList = <ThrowOnError extends boolean = false>(options: Options<AutomationsExperimentsListData, ThrowOnError>) => (options.client ?? client).get<AutomationsExperimentsListResponses, AutomationsExperimentsListErrors, ThrowOnError>({
315
315
  security: [{ scheme: 'bearer', type: 'http' }],
316
- url: '/api/v1/automations/{id}/experiments',
316
+ url: '/v1/automations/{id}/experiments',
317
317
  ...options
318
318
  });
319
319
 
@@ -324,7 +324,7 @@ export const automationsExperimentsList = <ThrowOnError extends boolean = false>
324
324
  */
325
325
  export const automationsExperimentsCreate = <ThrowOnError extends boolean = false>(options: Options<AutomationsExperimentsCreateData, ThrowOnError>) => (options.client ?? client).post<AutomationsExperimentsCreateResponses, AutomationsExperimentsCreateErrors, ThrowOnError>({
326
326
  security: [{ scheme: 'bearer', type: 'http' }],
327
- url: '/api/v1/automations/{id}/experiments',
327
+ url: '/v1/automations/{id}/experiments',
328
328
  ...options,
329
329
  headers: {
330
330
  'Content-Type': 'application/json',
@@ -339,7 +339,7 @@ export const automationsExperimentsCreate = <ThrowOnError extends boolean = fals
339
339
  */
340
340
  export const automationsExperimentsGet = <ThrowOnError extends boolean = false>(options: Options<AutomationsExperimentsGetData, ThrowOnError>) => (options.client ?? client).get<AutomationsExperimentsGetResponses, AutomationsExperimentsGetErrors, ThrowOnError>({
341
341
  security: [{ scheme: 'bearer', type: 'http' }],
342
- url: '/api/v1/automations/{id}/experiments/{experimentId}',
342
+ url: '/v1/automations/{id}/experiments/{experimentId}',
343
343
  ...options
344
344
  });
345
345
 
@@ -350,7 +350,7 @@ export const automationsExperimentsGet = <ThrowOnError extends boolean = false>(
350
350
  */
351
351
  export const automationsExperimentsCancel = <ThrowOnError extends boolean = false>(options: Options<AutomationsExperimentsCancelData, ThrowOnError>) => (options.client ?? client).post<AutomationsExperimentsCancelResponses, AutomationsExperimentsCancelErrors, ThrowOnError>({
352
352
  security: [{ scheme: 'bearer', type: 'http' }],
353
- url: '/api/v1/automations/{id}/experiments/{experimentId}/cancel',
353
+ url: '/v1/automations/{id}/experiments/{experimentId}/cancel',
354
354
  ...options
355
355
  });
356
356
 
@@ -361,7 +361,7 @@ export const automationsExperimentsCancel = <ThrowOnError extends boolean = fals
361
361
  */
362
362
  export const automationsExperimentsExport = <ThrowOnError extends boolean = false>(options: Options<AutomationsExperimentsExportData, ThrowOnError>) => (options.client ?? client).get<AutomationsExperimentsExportResponses, AutomationsExperimentsExportErrors, ThrowOnError>({
363
363
  security: [{ scheme: 'bearer', type: 'http' }],
364
- url: '/api/v1/automations/{id}/experiments/{experimentId}/export',
364
+ url: '/v1/automations/{id}/experiments/{experimentId}/export',
365
365
  ...options
366
366
  });
367
367
 
@@ -372,7 +372,7 @@ export const automationsExperimentsExport = <ThrowOnError extends boolean = fals
372
372
  */
373
373
  export const automationsExperimentsExportAll = <ThrowOnError extends boolean = false>(options: Options<AutomationsExperimentsExportAllData, ThrowOnError>) => (options.client ?? client).get<AutomationsExperimentsExportAllResponses, AutomationsExperimentsExportAllErrors, ThrowOnError>({
374
374
  security: [{ scheme: 'bearer', type: 'http' }],
375
- url: '/api/v1/automations/{id}/experiments/export',
375
+ url: '/v1/automations/{id}/experiments/export',
376
376
  ...options
377
377
  });
378
378
 
@@ -383,7 +383,7 @@ export const automationsExperimentsExportAll = <ThrowOnError extends boolean = f
383
383
  */
384
384
  export const automationsExperimentsCreateStream = <ThrowOnError extends boolean = false>(options: Options<AutomationsExperimentsCreateStreamData, ThrowOnError>) => (options.client ?? client).post<AutomationsExperimentsCreateStreamResponses, AutomationsExperimentsCreateStreamErrors, ThrowOnError>({
385
385
  security: [{ scheme: 'bearer', type: 'http' }],
386
- url: '/api/v1/automations/{id}/experiments/stream',
386
+ url: '/v1/automations/{id}/experiments/stream',
387
387
  ...options,
388
388
  headers: {
389
389
  'Content-Type': 'application/json',
@@ -398,7 +398,7 @@ export const automationsExperimentsCreateStream = <ThrowOnError extends boolean
398
398
  */
399
399
  export const automationsReviewsHealth = <ThrowOnError extends boolean = false>(options: Options<AutomationsReviewsHealthData, ThrowOnError>) => (options.client ?? client).get<AutomationsReviewsHealthResponses, AutomationsReviewsHealthErrors, ThrowOnError>({
400
400
  security: [{ scheme: 'bearer', type: 'http' }],
401
- url: '/api/v1/automations/{id}/reviews/health',
401
+ url: '/v1/automations/{id}/reviews/health',
402
402
  ...options
403
403
  });
404
404
 
@@ -409,7 +409,7 @@ export const automationsReviewsHealth = <ThrowOnError extends boolean = false>(o
409
409
  */
410
410
  export const automationsSync = <ThrowOnError extends boolean = false>(options: Options<AutomationsSyncData, ThrowOnError>) => (options.client ?? client).post<AutomationsSyncResponses, AutomationsSyncErrors, ThrowOnError>({
411
411
  security: [{ scheme: 'bearer', type: 'http' }],
412
- url: '/api/v1/automations/{id}/sync',
412
+ url: '/v1/automations/{id}/sync',
413
413
  ...options
414
414
  });
415
415
 
@@ -420,7 +420,7 @@ export const automationsSync = <ThrowOnError extends boolean = false>(options: O
420
420
  */
421
421
  export const automationsTriggersGet = <ThrowOnError extends boolean = false>(options: Options<AutomationsTriggersGetData, ThrowOnError>) => (options.client ?? client).get<AutomationsTriggersGetResponses, AutomationsTriggersGetErrors, ThrowOnError>({
422
422
  security: [{ scheme: 'bearer', type: 'http' }],
423
- url: '/api/v1/automations/{id}/triggers',
423
+ url: '/v1/automations/{id}/triggers',
424
424
  ...options
425
425
  });
426
426
 
@@ -431,7 +431,7 @@ export const automationsTriggersGet = <ThrowOnError extends boolean = false>(opt
431
431
  */
432
432
  export const automationsVersionsList = <ThrowOnError extends boolean = false>(options: Options<AutomationsVersionsListData, ThrowOnError>) => (options.client ?? client).get<AutomationsVersionsListResponses, AutomationsVersionsListErrors, ThrowOnError>({
433
433
  security: [{ scheme: 'bearer', type: 'http' }],
434
- url: '/api/v1/automations/{id}/versions',
434
+ url: '/v1/automations/{id}/versions',
435
435
  ...options
436
436
  });
437
437
 
@@ -442,7 +442,7 @@ export const automationsVersionsList = <ThrowOnError extends boolean = false>(op
442
442
  */
443
443
  export const experimentsResolve = <ThrowOnError extends boolean = false>(options: Options<ExperimentsResolveData, ThrowOnError>) => (options.client ?? client).get<ExperimentsResolveResponses, ExperimentsResolveErrors, ThrowOnError>({
444
444
  security: [{ scheme: 'bearer', type: 'http' }],
445
- url: '/api/v1/experiments/{experimentId}',
445
+ url: '/v1/experiments/{experimentId}',
446
446
  ...options
447
447
  });
448
448
 
@@ -454,7 +454,7 @@ export const experimentsResolve = <ThrowOnError extends boolean = false>(options
454
454
  export const filesCreate = <ThrowOnError extends boolean = false>(options: Options<FilesCreateData, ThrowOnError>) => (options.client ?? client).post<FilesCreateResponses, FilesCreateErrors, ThrowOnError>({
455
455
  ...formDataBodySerializer,
456
456
  security: [{ scheme: 'bearer', type: 'http' }],
457
- url: '/api/v1/files',
457
+ url: '/v1/files',
458
458
  ...options,
459
459
  headers: {
460
460
  'Content-Type': null,
@@ -469,7 +469,7 @@ export const filesCreate = <ThrowOnError extends boolean = false>(options: Optio
469
469
  */
470
470
  export const filesDelete = <ThrowOnError extends boolean = false>(options: Options<FilesDeleteData, ThrowOnError>) => (options.client ?? client).delete<FilesDeleteResponses, FilesDeleteErrors, ThrowOnError>({
471
471
  security: [{ scheme: 'bearer', type: 'http' }],
472
- url: '/api/v1/files/{id}',
472
+ url: '/v1/files/{id}',
473
473
  ...options
474
474
  });
475
475
 
@@ -480,18 +480,55 @@ export const filesDelete = <ThrowOnError extends boolean = false>(options: Optio
480
480
  */
481
481
  export const filesGet = <ThrowOnError extends boolean = false>(options: Options<FilesGetData, ThrowOnError>) => (options.client ?? client).get<FilesGetResponses, FilesGetErrors, ThrowOnError>({
482
482
  security: [{ scheme: 'bearer', type: 'http' }],
483
- url: '/api/v1/files/{id}',
483
+ url: '/v1/files/{id}',
484
484
  ...options
485
485
  });
486
486
 
487
487
  /**
488
488
  * Download file content
489
489
  *
490
- * Download bytes for a reusable uploaded file.
490
+ * Download bytes for a reusable uploaded file. Direct-enabled deployments redirect responses above their configured body limit to a short-lived signed storage URL; multipart-only/on-prem deployments stream through the API.
491
491
  */
492
492
  export const filesContentGet = <ThrowOnError extends boolean = false>(options: Options<FilesContentGetData, ThrowOnError>) => (options.client ?? client).get<FilesContentGetResponses, FilesContentGetErrors, ThrowOnError>({
493
493
  security: [{ scheme: 'bearer', type: 'http' }],
494
- url: '/api/v1/files/{id}/content',
494
+ url: '/v1/files/{id}/content',
495
+ ...options
496
+ });
497
+
498
+ /**
499
+ * Prepare file upload
500
+ *
501
+ * Negotiate multipart when the file fits the deployment body limit (or direct storage is disabled), otherwise return a short-lived signed storage PUT. The response transport is authoritative; clients must not guess from file size alone.
502
+ */
503
+ export const filesUploadsCreate = <ThrowOnError extends boolean = false>(options: Options<FilesUploadsCreateData, ThrowOnError>) => (options.client ?? client).post<FilesUploadsCreateResponses, FilesUploadsCreateErrors, ThrowOnError>({
504
+ security: [{ scheme: 'bearer', type: 'http' }],
505
+ url: '/v1/files/uploads',
506
+ ...options,
507
+ headers: {
508
+ 'Content-Type': 'application/json',
509
+ ...options.headers
510
+ }
511
+ });
512
+
513
+ /**
514
+ * Abort file upload
515
+ *
516
+ * Abort a pending storage-direct upload and remove its pending object.
517
+ */
518
+ export const filesUploadsAbort = <ThrowOnError extends boolean = false>(options: Options<FilesUploadsAbortData, ThrowOnError>) => (options.client ?? client).delete<FilesUploadsAbortResponses, FilesUploadsAbortErrors, ThrowOnError>({
519
+ security: [{ scheme: 'bearer', type: 'http' }],
520
+ url: '/v1/files/uploads/{uploadId}',
521
+ ...options
522
+ });
523
+
524
+ /**
525
+ * Complete file upload
526
+ *
527
+ * Verify a storage-direct pending object and promote it into a reusable file. Safe to retry.
528
+ */
529
+ export const filesUploadsComplete = <ThrowOnError extends boolean = false>(options: Options<FilesUploadsCompleteData, ThrowOnError>) => (options.client ?? client).post<FilesUploadsCompleteResponses, FilesUploadsCompleteErrors, ThrowOnError>({
530
+ security: [{ scheme: 'bearer', type: 'http' }],
531
+ url: '/v1/files/uploads/{uploadId}/complete',
495
532
  ...options
496
533
  });
497
534
 
@@ -502,7 +539,7 @@ export const filesContentGet = <ThrowOnError extends boolean = false>(options: O
502
539
  */
503
540
  export const runsList = <ThrowOnError extends boolean = false>(options?: Options<RunsListData, ThrowOnError>) => (options?.client ?? client).get<RunsListResponses, RunsListErrors, ThrowOnError>({
504
541
  security: [{ scheme: 'bearer', type: 'http' }],
505
- url: '/api/v1/runs',
542
+ url: '/v1/runs',
506
543
  ...options
507
544
  });
508
545
 
@@ -513,7 +550,7 @@ export const runsList = <ThrowOnError extends boolean = false>(options?: Options
513
550
  */
514
551
  export const runsStart = <ThrowOnError extends boolean = false>(options: Options<RunsStartData, ThrowOnError>) => (options.client ?? client).post<RunsStartResponses, RunsStartErrors, ThrowOnError>({
515
552
  security: [{ scheme: 'bearer', type: 'http' }],
516
- url: '/api/v1/runs',
553
+ url: '/v1/runs',
517
554
  ...options,
518
555
  headers: {
519
556
  'Content-Type': 'application/json',
@@ -528,7 +565,7 @@ export const runsStart = <ThrowOnError extends boolean = false>(options: Options
528
565
  */
529
566
  export const runsGet = <ThrowOnError extends boolean = false>(options: Options<RunsGetData, ThrowOnError>) => (options.client ?? client).get<RunsGetResponses, RunsGetErrors, ThrowOnError>({
530
567
  security: [{ scheme: 'bearer', type: 'http' }],
531
- url: '/api/v1/runs/{id}',
568
+ url: '/v1/runs/{id}',
532
569
  ...options
533
570
  });
534
571
 
@@ -539,18 +576,18 @@ export const runsGet = <ThrowOnError extends boolean = false>(options: Options<R
539
576
  */
540
577
  export const runsArtifactsList = <ThrowOnError extends boolean = false>(options: Options<RunsArtifactsListData, ThrowOnError>) => (options.client ?? client).get<RunsArtifactsListResponses, RunsArtifactsListErrors, ThrowOnError>({
541
578
  security: [{ scheme: 'bearer', type: 'http' }],
542
- url: '/api/v1/runs/{id}/artifacts',
579
+ url: '/v1/runs/{id}/artifacts',
543
580
  ...options
544
581
  });
545
582
 
546
583
  /**
547
584
  * Download run artifact
548
585
  *
549
- * Download one artifact by path.
586
+ * Download one artifact by path. Cloud deployments may redirect to a short-lived storage URL for large files.
550
587
  */
551
588
  export const runsArtifactsGet = <ThrowOnError extends boolean = false>(options: Options<RunsArtifactsGetData, ThrowOnError>) => (options.client ?? client).get<RunsArtifactsGetResponses, RunsArtifactsGetErrors, ThrowOnError>({
552
589
  security: [{ scheme: 'bearer', type: 'http' }],
553
- url: '/api/v1/runs/{id}/artifacts/{path}',
590
+ url: '/v1/runs/{id}/artifacts/{path}',
554
591
  ...options
555
592
  });
556
593
 
@@ -561,7 +598,7 @@ export const runsArtifactsGet = <ThrowOnError extends boolean = false>(options:
561
598
  */
562
599
  export const runsCancel = <ThrowOnError extends boolean = false>(options: Options<RunsCancelData, ThrowOnError>) => (options.client ?? client).post<RunsCancelResponses, RunsCancelErrors, ThrowOnError>({
563
600
  security: [{ scheme: 'bearer', type: 'http' }],
564
- url: '/api/v1/runs/{id}/cancel',
601
+ url: '/v1/runs/{id}/cancel',
565
602
  ...options
566
603
  });
567
604
 
@@ -572,7 +609,7 @@ export const runsCancel = <ThrowOnError extends boolean = false>(options: Option
572
609
  */
573
610
  export const runsEventsList = <ThrowOnError extends boolean = false>(options: Options<RunsEventsListData, ThrowOnError>) => (options.client ?? client).get<RunsEventsListResponses, RunsEventsListErrors, ThrowOnError>({
574
611
  security: [{ scheme: 'bearer', type: 'http' }],
575
- url: '/api/v1/runs/{id}/events',
612
+ url: '/v1/runs/{id}/events',
576
613
  ...options
577
614
  });
578
615
 
@@ -583,7 +620,7 @@ export const runsEventsList = <ThrowOnError extends boolean = false>(options: Op
583
620
  */
584
621
  export const runsPromote = <ThrowOnError extends boolean = false>(options: Options<RunsPromoteData, ThrowOnError>) => (options.client ?? client).post<RunsPromoteResponses, RunsPromoteErrors, ThrowOnError>({
585
622
  security: [{ scheme: 'bearer', type: 'http' }],
586
- url: '/api/v1/runs/{id}/promote',
623
+ url: '/v1/runs/{id}/promote',
587
624
  ...options,
588
625
  headers: {
589
626
  'Content-Type': 'application/json',
@@ -598,7 +635,7 @@ export const runsPromote = <ThrowOnError extends boolean = false>(options: Optio
598
635
  */
599
636
  export const runsRerun = <ThrowOnError extends boolean = false>(options: Options<RunsRerunData, ThrowOnError>) => (options.client ?? client).post<RunsRerunResponses, RunsRerunErrors, ThrowOnError>({
600
637
  security: [{ scheme: 'bearer', type: 'http' }],
601
- url: '/api/v1/runs/{id}/rerun',
638
+ url: '/v1/runs/{id}/rerun',
602
639
  ...options
603
640
  });
604
641
 
@@ -609,7 +646,7 @@ export const runsRerun = <ThrowOnError extends boolean = false>(options: Options
609
646
  */
610
647
  export const runsReviewsClear = <ThrowOnError extends boolean = false>(options: Options<RunsReviewsClearData, ThrowOnError>) => (options.client ?? client).delete<RunsReviewsClearResponses, RunsReviewsClearErrors, ThrowOnError>({
611
648
  security: [{ scheme: 'bearer', type: 'http' }],
612
- url: '/api/v1/runs/{id}/reviews',
649
+ url: '/v1/runs/{id}/reviews',
613
650
  ...options
614
651
  });
615
652
 
@@ -620,7 +657,7 @@ export const runsReviewsClear = <ThrowOnError extends boolean = false>(options:
620
657
  */
621
658
  export const runsReviewsGet = <ThrowOnError extends boolean = false>(options: Options<RunsReviewsGetData, ThrowOnError>) => (options.client ?? client).get<RunsReviewsGetResponses, RunsReviewsGetErrors, ThrowOnError>({
622
659
  security: [{ scheme: 'bearer', type: 'http' }],
623
- url: '/api/v1/runs/{id}/reviews',
660
+ url: '/v1/runs/{id}/reviews',
624
661
  ...options
625
662
  });
626
663
 
@@ -631,7 +668,7 @@ export const runsReviewsGet = <ThrowOnError extends boolean = false>(options: Op
631
668
  */
632
669
  export const runsReviewsUpdate = <ThrowOnError extends boolean = false>(options: Options<RunsReviewsUpdateData, ThrowOnError>) => (options.client ?? client).put<RunsReviewsUpdateResponses, RunsReviewsUpdateErrors, ThrowOnError>({
633
670
  security: [{ scheme: 'bearer', type: 'http' }],
634
- url: '/api/v1/runs/{id}/reviews',
671
+ url: '/v1/runs/{id}/reviews',
635
672
  ...options,
636
673
  headers: {
637
674
  'Content-Type': 'application/json',
@@ -646,7 +683,7 @@ export const runsReviewsUpdate = <ThrowOnError extends boolean = false>(options:
646
683
  */
647
684
  export const runsReviewsExpectedGet = <ThrowOnError extends boolean = false>(options: Options<RunsReviewsExpectedGetData, ThrowOnError>) => (options.client ?? client).get<RunsReviewsExpectedGetResponses, RunsReviewsExpectedGetErrors, ThrowOnError>({
648
685
  security: [{ scheme: 'bearer', type: 'http' }],
649
- url: '/api/v1/runs/{id}/reviews/expected',
686
+ url: '/v1/runs/{id}/reviews/expected',
650
687
  ...options
651
688
  });
652
689
 
@@ -658,7 +695,7 @@ export const runsReviewsExpectedGet = <ThrowOnError extends boolean = false>(opt
658
695
  export const runsReviewsExpectedCreate = <ThrowOnError extends boolean = false>(options: Options<RunsReviewsExpectedCreateData, ThrowOnError>) => (options.client ?? client).post<RunsReviewsExpectedCreateResponses, RunsReviewsExpectedCreateErrors, ThrowOnError>({
659
696
  ...((options.body && typeof options.body === 'object' && 'file' in options.body) ? formDataBodySerializer : {}),
660
697
  security: [{ scheme: 'bearer', type: 'http' }],
661
- url: '/api/v1/runs/{id}/reviews/expected',
698
+ url: '/v1/runs/{id}/reviews/expected',
662
699
  ...options,
663
700
  headers: {
664
701
  'Content-Type': (options.body && typeof options.body === 'object' && 'file' in options.body) ? null : 'application/json',
@@ -673,7 +710,7 @@ export const runsReviewsExpectedCreate = <ThrowOnError extends boolean = false>(
673
710
  */
674
711
  export const runsReviewsExpectedFileDelete = <ThrowOnError extends boolean = false>(options: Options<RunsReviewsExpectedFileDeleteData, ThrowOnError>) => (options.client ?? client).delete<RunsReviewsExpectedFileDeleteResponses, RunsReviewsExpectedFileDeleteErrors, ThrowOnError>({
675
712
  security: [{ scheme: 'bearer', type: 'http' }],
676
- url: '/api/v1/runs/{id}/reviews/expected/{filename}',
713
+ url: '/v1/runs/{id}/reviews/expected/{filename}',
677
714
  ...options
678
715
  });
679
716
 
@@ -684,7 +721,7 @@ export const runsReviewsExpectedFileDelete = <ThrowOnError extends boolean = fal
684
721
  */
685
722
  export const runsReviewsExpectedFileGet = <ThrowOnError extends boolean = false>(options: Options<RunsReviewsExpectedFileGetData, ThrowOnError>) => (options.client ?? client).get<RunsReviewsExpectedFileGetResponses, RunsReviewsExpectedFileGetErrors, ThrowOnError>({
686
723
  security: [{ scheme: 'bearer', type: 'http' }],
687
- url: '/api/v1/runs/{id}/reviews/expected/{filename}',
724
+ url: '/v1/runs/{id}/reviews/expected/{filename}',
688
725
  ...options
689
726
  });
690
727
 
@@ -695,7 +732,7 @@ export const runsReviewsExpectedFileGet = <ThrowOnError extends boolean = false>
695
732
  */
696
733
  export const runsReviewsExpectedFileUpdate = <ThrowOnError extends boolean = false>(options: Options<RunsReviewsExpectedFileUpdateData, ThrowOnError>) => (options.client ?? client).patch<RunsReviewsExpectedFileUpdateResponses, RunsReviewsExpectedFileUpdateErrors, ThrowOnError>({
697
734
  security: [{ scheme: 'bearer', type: 'http' }],
698
- url: '/api/v1/runs/{id}/reviews/expected/{filename}',
735
+ url: '/v1/runs/{id}/reviews/expected/{filename}',
699
736
  ...options,
700
737
  headers: {
701
738
  'Content-Type': 'application/json',
@@ -710,7 +747,7 @@ export const runsReviewsExpectedFileUpdate = <ThrowOnError extends boolean = fal
710
747
  */
711
748
  export const runsScoresList = <ThrowOnError extends boolean = false>(options: Options<RunsScoresListData, ThrowOnError>) => (options.client ?? client).get<RunsScoresListResponses, RunsScoresListErrors, ThrowOnError>({
712
749
  security: [{ scheme: 'bearer', type: 'http' }],
713
- url: '/api/v1/runs/{id}/scores',
750
+ url: '/v1/runs/{id}/scores',
714
751
  ...options
715
752
  });
716
753
 
@@ -721,7 +758,7 @@ export const runsScoresList = <ThrowOnError extends boolean = false>(options: Op
721
758
  */
722
759
  export const runsStepsList = <ThrowOnError extends boolean = false>(options: Options<RunsStepsListData, ThrowOnError>) => (options.client ?? client).get<RunsStepsListResponses, RunsStepsListErrors, ThrowOnError>({
723
760
  security: [{ scheme: 'bearer', type: 'http' }],
724
- url: '/api/v1/runs/{id}/steps',
761
+ url: '/v1/runs/{id}/steps',
725
762
  ...options
726
763
  });
727
764
 
@@ -732,7 +769,7 @@ export const runsStepsList = <ThrowOnError extends boolean = false>(options: Opt
732
769
  */
733
770
  export const runsTraceGet = <ThrowOnError extends boolean = false>(options: Options<RunsTraceGetData, ThrowOnError>) => (options.client ?? client).get<RunsTraceGetResponses, RunsTraceGetErrors, ThrowOnError>({
734
771
  security: [{ scheme: 'bearer', type: 'http' }],
735
- url: '/api/v1/runs/{id}/trace',
772
+ url: '/v1/runs/{id}/trace',
736
773
  ...options
737
774
  });
738
775
 
@@ -743,6 +780,6 @@ export const runsTraceGet = <ThrowOnError extends boolean = false>(options: Opti
743
780
  */
744
781
  export const runsUsageGet = <ThrowOnError extends boolean = false>(options: Options<RunsUsageGetData, ThrowOnError>) => (options.client ?? client).get<RunsUsageGetResponses, RunsUsageGetErrors, ThrowOnError>({
745
782
  security: [{ scheme: 'bearer', type: 'http' }],
746
- url: '/api/v1/runs/{id}/usage',
783
+ url: '/v1/runs/{id}/usage',
747
784
  ...options
748
785
  });