@eigenpal/sdk 0.10.56 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
3
  export type ClientOptions = {
4
- baseUrl: 'https://studio.eigenpal.com' | (string & {});
4
+ baseUrl: 'https://api.eigenpal.com' | (string & {});
5
5
  };
6
6
 
7
7
  export type AutomationDatasetImportMultipartRequest = {
@@ -156,6 +156,18 @@ export type CreateFileMultipartRequest = {
156
156
  * Binary file field
157
157
  */
158
158
  file: Blob | File;
159
+ /**
160
+ * Optional lifecycle marker. `run-input` marks a retry-safe temporary run pre-upload reaped after 24 hours. `builder-attachment` marks a Studio builder intermediary (any MIME) with the same TTL.
161
+ */
162
+ purpose?: 'run-input' | 'builder-attachment';
163
+ };
164
+
165
+ export type CreateFileUploadSessionRequest = {
166
+ filename: string;
167
+ contentType: string;
168
+ size: number;
169
+ purpose?: 'run-input' | 'builder-attachment';
170
+ idempotencyKey?: string;
159
171
  };
160
172
 
161
173
  /**
@@ -935,6 +947,9 @@ export type File = {
935
947
  filename: string;
936
948
  contentType: string | null;
937
949
  size: number | null;
950
+ /**
951
+ * Optional lifecycle marker. `run-input` marks a retry-safe temporary run pre-upload reaped after 24 hours. `builder-attachment` marks a Studio builder intermediary (any MIME) with the same TTL. Omitted/null means a durable reusable file.
952
+ */
938
953
  purpose?: string | null;
939
954
  createdAt: string;
940
955
  };
@@ -943,6 +958,28 @@ export type DeleteFileResponse = {
943
958
  deleted: boolean;
944
959
  };
945
960
 
961
+ export type PresignedFileUploadSession = {
962
+ transport: 'presigned-put';
963
+ uploadId: string;
964
+ fileId: string;
965
+ url: string;
966
+ headers: {
967
+ [key: string]: string;
968
+ };
969
+ expiresAt: string;
970
+ maxFileSizeBytes: number;
971
+ };
972
+
973
+ export type MultipartFileUploadFallback = {
974
+ transport: 'multipart';
975
+ url: string;
976
+ maxFileSizeBytes: number;
977
+ };
978
+
979
+ export type AbortFileUploadResponse = {
980
+ aborted: true;
981
+ };
982
+
946
983
  export type RunsListResponse = {
947
984
  runs: Array<RunListItem>;
948
985
  nextCursor: string | null;
@@ -1496,7 +1533,7 @@ export type AuthCheckData = {
1496
1533
  body?: never;
1497
1534
  path?: never;
1498
1535
  query?: never;
1499
- url: '/api/v1/auth/check';
1536
+ url: '/v1/auth/check';
1500
1537
  };
1501
1538
 
1502
1539
  export type AuthCheckErrors = {
@@ -1562,7 +1599,7 @@ export type AutomationsListData = {
1562
1599
  */
1563
1600
  offset?: number;
1564
1601
  };
1565
- url: '/api/v1/automations';
1602
+ url: '/v1/automations';
1566
1603
  };
1567
1604
 
1568
1605
  export type AutomationsListErrors = {
@@ -1616,7 +1653,7 @@ export type AutomationsGetData = {
1616
1653
  id: string;
1617
1654
  };
1618
1655
  query?: never;
1619
- url: '/api/v1/automations/{id}';
1656
+ url: '/v1/automations/{id}';
1620
1657
  };
1621
1658
 
1622
1659
  export type AutomationsGetErrors = {
@@ -1675,7 +1712,7 @@ export type AutomationsDatasetExportData = {
1675
1712
  */
1676
1713
  exampleIds?: string;
1677
1714
  };
1678
- url: '/api/v1/automations/{id}/dataset/export';
1715
+ url: '/v1/automations/{id}/dataset/export';
1679
1716
  };
1680
1717
 
1681
1718
  export type AutomationsDatasetExportErrors = {
@@ -1729,7 +1766,7 @@ export type AutomationsDatasetImportData = {
1729
1766
  id: string;
1730
1767
  };
1731
1768
  query?: never;
1732
- url: '/api/v1/automations/{id}/dataset/import';
1769
+ url: '/v1/automations/{id}/dataset/import';
1733
1770
  };
1734
1771
 
1735
1772
  export type AutomationsDatasetImportErrors = {
@@ -1783,7 +1820,7 @@ export type AutomationsEvaluatorsGetData = {
1783
1820
  id: string;
1784
1821
  };
1785
1822
  query?: never;
1786
- url: '/api/v1/automations/{id}/evaluators';
1823
+ url: '/v1/automations/{id}/evaluators';
1787
1824
  };
1788
1825
 
1789
1826
  export type AutomationsEvaluatorsGetErrors = {
@@ -1837,7 +1874,7 @@ export type AutomationsEvaluatorsUpdateData = {
1837
1874
  id: string;
1838
1875
  };
1839
1876
  query?: never;
1840
- url: '/api/v1/automations/{id}/evaluators';
1877
+ url: '/v1/automations/{id}/evaluators';
1841
1878
  };
1842
1879
 
1843
1880
  export type AutomationsEvaluatorsUpdateErrors = {
@@ -1900,7 +1937,7 @@ export type AutomationsExamplesListData = {
1900
1937
  */
1901
1938
  offset?: number;
1902
1939
  };
1903
- url: '/api/v1/automations/{id}/examples';
1940
+ url: '/v1/automations/{id}/examples';
1904
1941
  };
1905
1942
 
1906
1943
  export type AutomationsExamplesListErrors = {
@@ -1954,7 +1991,7 @@ export type AutomationsExamplesCreateData = {
1954
1991
  id: string;
1955
1992
  };
1956
1993
  query?: never;
1957
- url: '/api/v1/automations/{id}/examples';
1994
+ url: '/v1/automations/{id}/examples';
1958
1995
  };
1959
1996
 
1960
1997
  export type AutomationsExamplesCreateErrors = {
@@ -2012,7 +2049,7 @@ export type AutomationsExamplesDeleteData = {
2012
2049
  exampleId: string;
2013
2050
  };
2014
2051
  query?: never;
2015
- url: '/api/v1/automations/{id}/examples/{exampleId}';
2052
+ url: '/v1/automations/{id}/examples/{exampleId}';
2016
2053
  };
2017
2054
 
2018
2055
  export type AutomationsExamplesDeleteErrors = {
@@ -2070,7 +2107,7 @@ export type AutomationsExamplesGetData = {
2070
2107
  exampleId: string;
2071
2108
  };
2072
2109
  query?: never;
2073
- url: '/api/v1/automations/{id}/examples/{exampleId}';
2110
+ url: '/v1/automations/{id}/examples/{exampleId}';
2074
2111
  };
2075
2112
 
2076
2113
  export type AutomationsExamplesGetErrors = {
@@ -2128,7 +2165,7 @@ export type AutomationsExamplesUpdateData = {
2128
2165
  exampleId: string;
2129
2166
  };
2130
2167
  query?: never;
2131
- url: '/api/v1/automations/{id}/examples/{exampleId}';
2168
+ url: '/v1/automations/{id}/examples/{exampleId}';
2132
2169
  };
2133
2170
 
2134
2171
  export type AutomationsExamplesUpdateErrors = {
@@ -2186,7 +2223,7 @@ export type AutomationsExamplesExpectedFilesListData = {
2186
2223
  exampleId: string;
2187
2224
  };
2188
2225
  query?: never;
2189
- url: '/api/v1/automations/{id}/examples/{exampleId}/expected';
2226
+ url: '/v1/automations/{id}/examples/{exampleId}/expected';
2190
2227
  };
2191
2228
 
2192
2229
  export type AutomationsExamplesExpectedFilesListErrors = {
@@ -2244,7 +2281,7 @@ export type AutomationsExamplesExpectedFilesCreateData = {
2244
2281
  exampleId: string;
2245
2282
  };
2246
2283
  query?: never;
2247
- url: '/api/v1/automations/{id}/examples/{exampleId}/expected';
2284
+ url: '/v1/automations/{id}/examples/{exampleId}/expected';
2248
2285
  };
2249
2286
 
2250
2287
  export type AutomationsExamplesExpectedFilesCreateErrors = {
@@ -2306,7 +2343,7 @@ export type AutomationsExamplesExpectedFileDeleteData = {
2306
2343
  path: string;
2307
2344
  };
2308
2345
  query?: never;
2309
- url: '/api/v1/automations/{id}/examples/{exampleId}/expected/{path}';
2346
+ url: '/v1/automations/{id}/examples/{exampleId}/expected/{path}';
2310
2347
  };
2311
2348
 
2312
2349
  export type AutomationsExamplesExpectedFileDeleteErrors = {
@@ -2366,7 +2403,7 @@ export type AutomationsExamplesExpectedFileGetData = {
2366
2403
  path: string;
2367
2404
  };
2368
2405
  query?: never;
2369
- url: '/api/v1/automations/{id}/examples/{exampleId}/expected/{path}';
2406
+ url: '/v1/automations/{id}/examples/{exampleId}/expected/{path}';
2370
2407
  };
2371
2408
 
2372
2409
  export type AutomationsExamplesExpectedFileGetErrors = {
@@ -2428,7 +2465,7 @@ export type AutomationsExamplesExpectedFileUpdateData = {
2428
2465
  path: string;
2429
2466
  };
2430
2467
  query?: never;
2431
- url: '/api/v1/automations/{id}/examples/{exampleId}/expected/{path}';
2468
+ url: '/v1/automations/{id}/examples/{exampleId}/expected/{path}';
2432
2469
  };
2433
2470
 
2434
2471
  export type AutomationsExamplesExpectedFileUpdateErrors = {
@@ -2486,7 +2523,7 @@ export type AutomationsExamplesInputFilesListData = {
2486
2523
  exampleId: string;
2487
2524
  };
2488
2525
  query?: never;
2489
- url: '/api/v1/automations/{id}/examples/{exampleId}/input';
2526
+ url: '/v1/automations/{id}/examples/{exampleId}/input';
2490
2527
  };
2491
2528
 
2492
2529
  export type AutomationsExamplesInputFilesListErrors = {
@@ -2544,7 +2581,7 @@ export type AutomationsExamplesInputFilesCreateData = {
2544
2581
  exampleId: string;
2545
2582
  };
2546
2583
  query?: never;
2547
- url: '/api/v1/automations/{id}/examples/{exampleId}/input';
2584
+ url: '/v1/automations/{id}/examples/{exampleId}/input';
2548
2585
  };
2549
2586
 
2550
2587
  export type AutomationsExamplesInputFilesCreateErrors = {
@@ -2606,7 +2643,7 @@ export type AutomationsExamplesInputFileDeleteData = {
2606
2643
  path: string;
2607
2644
  };
2608
2645
  query?: never;
2609
- url: '/api/v1/automations/{id}/examples/{exampleId}/input/{path}';
2646
+ url: '/v1/automations/{id}/examples/{exampleId}/input/{path}';
2610
2647
  };
2611
2648
 
2612
2649
  export type AutomationsExamplesInputFileDeleteErrors = {
@@ -2666,7 +2703,7 @@ export type AutomationsExamplesInputFileGetData = {
2666
2703
  path: string;
2667
2704
  };
2668
2705
  query?: never;
2669
- url: '/api/v1/automations/{id}/examples/{exampleId}/input/{path}';
2706
+ url: '/v1/automations/{id}/examples/{exampleId}/input/{path}';
2670
2707
  };
2671
2708
 
2672
2709
  export type AutomationsExamplesInputFileGetErrors = {
@@ -2728,7 +2765,7 @@ export type AutomationsExamplesInputFileUpdateData = {
2728
2765
  path: string;
2729
2766
  };
2730
2767
  query?: never;
2731
- url: '/api/v1/automations/{id}/examples/{exampleId}/input/{path}';
2768
+ url: '/v1/automations/{id}/examples/{exampleId}/input/{path}';
2732
2769
  };
2733
2770
 
2734
2771
  export type AutomationsExamplesInputFileUpdateErrors = {
@@ -2786,7 +2823,7 @@ export type AutomationsExamplesRunData = {
2786
2823
  exampleId: string;
2787
2824
  };
2788
2825
  query?: never;
2789
- url: '/api/v1/automations/{id}/examples/{exampleId}/run';
2826
+ url: '/v1/automations/{id}/examples/{exampleId}/run';
2790
2827
  };
2791
2828
 
2792
2829
  export type AutomationsExamplesRunErrors = {
@@ -2857,7 +2894,7 @@ export type AutomationsExperimentsListData = {
2857
2894
  */
2858
2895
  toDate?: string;
2859
2896
  };
2860
- url: '/api/v1/automations/{id}/experiments';
2897
+ url: '/v1/automations/{id}/experiments';
2861
2898
  };
2862
2899
 
2863
2900
  export type AutomationsExperimentsListErrors = {
@@ -2916,7 +2953,7 @@ export type AutomationsExperimentsCreateData = {
2916
2953
  id: string;
2917
2954
  };
2918
2955
  query?: never;
2919
- url: '/api/v1/automations/{id}/experiments';
2956
+ url: '/v1/automations/{id}/experiments';
2920
2957
  };
2921
2958
 
2922
2959
  export type AutomationsExperimentsCreateErrors = {
@@ -2974,7 +3011,7 @@ export type AutomationsExperimentsGetData = {
2974
3011
  experimentId: string;
2975
3012
  };
2976
3013
  query?: never;
2977
- url: '/api/v1/automations/{id}/experiments/{experimentId}';
3014
+ url: '/v1/automations/{id}/experiments/{experimentId}';
2978
3015
  };
2979
3016
 
2980
3017
  export type AutomationsExperimentsGetErrors = {
@@ -3032,7 +3069,7 @@ export type AutomationsExperimentsCancelData = {
3032
3069
  experimentId: string;
3033
3070
  };
3034
3071
  query?: never;
3035
- url: '/api/v1/automations/{id}/experiments/{experimentId}/cancel';
3072
+ url: '/v1/automations/{id}/experiments/{experimentId}/cancel';
3036
3073
  };
3037
3074
 
3038
3075
  export type AutomationsExperimentsCancelErrors = {
@@ -3087,7 +3124,7 @@ export type AutomationsExperimentsExportData = {
3087
3124
  format: 'csv' | 'json';
3088
3125
  includeTrace?: '0' | '1' | 'true' | 'false';
3089
3126
  };
3090
- url: '/api/v1/automations/{id}/experiments/{experimentId}/export';
3127
+ url: '/v1/automations/{id}/experiments/{experimentId}/export';
3091
3128
  };
3092
3129
 
3093
3130
  export type AutomationsExperimentsExportErrors = {
@@ -3140,7 +3177,7 @@ export type AutomationsExperimentsExportAllData = {
3140
3177
  query: {
3141
3178
  format: 'csv' | 'json';
3142
3179
  };
3143
- url: '/api/v1/automations/{id}/experiments/export';
3180
+ url: '/v1/automations/{id}/experiments/export';
3144
3181
  };
3145
3182
 
3146
3183
  export type AutomationsExperimentsExportAllErrors = {
@@ -3191,7 +3228,7 @@ export type AutomationsExperimentsCreateStreamData = {
3191
3228
  id: string;
3192
3229
  };
3193
3230
  query?: never;
3194
- url: '/api/v1/automations/{id}/experiments/stream';
3231
+ url: '/v1/automations/{id}/experiments/stream';
3195
3232
  };
3196
3233
 
3197
3234
  export type AutomationsExperimentsCreateStreamErrors = {
@@ -3292,7 +3329,7 @@ export type AutomationsReviewsHealthData = {
3292
3329
  */
3293
3330
  minRollingReviews?: number;
3294
3331
  };
3295
- url: '/api/v1/automations/{id}/reviews/health';
3332
+ url: '/v1/automations/{id}/reviews/health';
3296
3333
  };
3297
3334
 
3298
3335
  export type AutomationsReviewsHealthErrors = {
@@ -3346,7 +3383,7 @@ export type AutomationsSyncData = {
3346
3383
  id: string;
3347
3384
  };
3348
3385
  query?: never;
3349
- url: '/api/v1/automations/{id}/sync';
3386
+ url: '/v1/automations/{id}/sync';
3350
3387
  };
3351
3388
 
3352
3389
  export type AutomationsSyncErrors = {
@@ -3441,7 +3478,7 @@ export type AutomationsTriggersGetData = {
3441
3478
  id: string;
3442
3479
  };
3443
3480
  query?: never;
3444
- url: '/api/v1/automations/{id}/triggers';
3481
+ url: '/v1/automations/{id}/triggers';
3445
3482
  };
3446
3483
 
3447
3484
  export type AutomationsTriggersGetErrors = {
@@ -3495,7 +3532,7 @@ export type AutomationsVersionsListData = {
3495
3532
  id: string;
3496
3533
  };
3497
3534
  query?: never;
3498
- url: '/api/v1/automations/{id}/versions';
3535
+ url: '/v1/automations/{id}/versions';
3499
3536
  };
3500
3537
 
3501
3538
  export type AutomationsVersionsListErrors = {
@@ -3546,7 +3583,7 @@ export type ExperimentsResolveData = {
3546
3583
  experimentId: string;
3547
3584
  };
3548
3585
  query?: never;
3549
- url: '/api/v1/experiments/{experimentId}';
3586
+ url: '/v1/experiments/{experimentId}';
3550
3587
  };
3551
3588
 
3552
3589
  export type ExperimentsResolveErrors = {
@@ -3595,7 +3632,7 @@ export type FilesCreateData = {
3595
3632
  body: CreateFileMultipartRequest;
3596
3633
  path?: never;
3597
3634
  query?: never;
3598
- url: '/api/v1/files';
3635
+ url: '/v1/files';
3599
3636
  };
3600
3637
 
3601
3638
  export type FilesCreateErrors = {
@@ -3649,7 +3686,7 @@ export type FilesDeleteData = {
3649
3686
  id: string;
3650
3687
  };
3651
3688
  query?: never;
3652
- url: '/api/v1/files/{id}';
3689
+ url: '/v1/files/{id}';
3653
3690
  };
3654
3691
 
3655
3692
  export type FilesDeleteErrors = {
@@ -3703,7 +3740,7 @@ export type FilesGetData = {
3703
3740
  id: string;
3704
3741
  };
3705
3742
  query?: never;
3706
- url: '/api/v1/files/{id}';
3743
+ url: '/v1/files/{id}';
3707
3744
  };
3708
3745
 
3709
3746
  export type FilesGetErrors = {
@@ -3757,7 +3794,7 @@ export type FilesContentGetData = {
3757
3794
  id: string;
3758
3795
  };
3759
3796
  query?: never;
3760
- url: '/api/v1/files/{id}/content';
3797
+ url: '/v1/files/{id}/content';
3761
3798
  };
3762
3799
 
3763
3800
  export type FilesContentGetErrors = {
@@ -3800,6 +3837,157 @@ export type FilesContentGetResponses = {
3800
3837
  200: unknown;
3801
3838
  };
3802
3839
 
3840
+ export type FilesUploadsCreateData = {
3841
+ body: CreateFileUploadSessionRequest;
3842
+ path?: never;
3843
+ query?: never;
3844
+ url: '/v1/files/uploads';
3845
+ };
3846
+
3847
+ export type FilesUploadsCreateErrors = {
3848
+ /**
3849
+ * Validation error. Request shape did not match the spec.
3850
+ */
3851
+ 400: ApiErrorEnvelope;
3852
+ /**
3853
+ * Missing or invalid API key
3854
+ */
3855
+ 401: ApiErrorEnvelope;
3856
+ /**
3857
+ * API key lacks required scope
3858
+ */
3859
+ 403: ApiErrorEnvelope;
3860
+ /**
3861
+ * Resource not found
3862
+ */
3863
+ 404: ApiErrorEnvelope;
3864
+ /**
3865
+ * Payload too large. Upload exceeded the per-request size cap.
3866
+ */
3867
+ 413: ApiErrorEnvelope;
3868
+ /**
3869
+ * Rate limit exceeded
3870
+ */
3871
+ 429: ApiErrorEnvelope;
3872
+ /**
3873
+ * Internal server error
3874
+ */
3875
+ 500: ApiErrorEnvelope;
3876
+ };
3877
+
3878
+ export type FilesUploadsCreateError = FilesUploadsCreateErrors[keyof FilesUploadsCreateErrors];
3879
+
3880
+ export type FilesUploadsCreateResponses = {
3881
+ /**
3882
+ * Negotiated upload transport
3883
+ */
3884
+ 200: PresignedFileUploadSession | MultipartFileUploadFallback;
3885
+ };
3886
+
3887
+ export type FilesUploadsCreateResponse = FilesUploadsCreateResponses[keyof FilesUploadsCreateResponses];
3888
+
3889
+ export type FilesUploadsAbortData = {
3890
+ body?: never;
3891
+ path: {
3892
+ uploadId: string;
3893
+ };
3894
+ query?: never;
3895
+ url: '/v1/files/uploads/{uploadId}';
3896
+ };
3897
+
3898
+ export type FilesUploadsAbortErrors = {
3899
+ /**
3900
+ * Validation error. Request shape did not match the spec.
3901
+ */
3902
+ 400: ApiErrorEnvelope;
3903
+ /**
3904
+ * Missing or invalid API key
3905
+ */
3906
+ 401: ApiErrorEnvelope;
3907
+ /**
3908
+ * API key lacks required scope
3909
+ */
3910
+ 403: ApiErrorEnvelope;
3911
+ /**
3912
+ * Resource not found
3913
+ */
3914
+ 404: ApiErrorEnvelope;
3915
+ /**
3916
+ * Payload too large. Upload exceeded the per-request size cap.
3917
+ */
3918
+ 413: ApiErrorEnvelope;
3919
+ /**
3920
+ * Rate limit exceeded
3921
+ */
3922
+ 429: ApiErrorEnvelope;
3923
+ /**
3924
+ * Internal server error
3925
+ */
3926
+ 500: ApiErrorEnvelope;
3927
+ };
3928
+
3929
+ export type FilesUploadsAbortError = FilesUploadsAbortErrors[keyof FilesUploadsAbortErrors];
3930
+
3931
+ export type FilesUploadsAbortResponses = {
3932
+ /**
3933
+ * Upload aborted
3934
+ */
3935
+ 200: AbortFileUploadResponse;
3936
+ };
3937
+
3938
+ export type FilesUploadsAbortResponse = FilesUploadsAbortResponses[keyof FilesUploadsAbortResponses];
3939
+
3940
+ export type FilesUploadsCompleteData = {
3941
+ body?: never;
3942
+ path: {
3943
+ uploadId: string;
3944
+ };
3945
+ query?: never;
3946
+ url: '/v1/files/uploads/{uploadId}/complete';
3947
+ };
3948
+
3949
+ export type FilesUploadsCompleteErrors = {
3950
+ /**
3951
+ * Validation error. Request shape did not match the spec.
3952
+ */
3953
+ 400: ApiErrorEnvelope;
3954
+ /**
3955
+ * Missing or invalid API key
3956
+ */
3957
+ 401: ApiErrorEnvelope;
3958
+ /**
3959
+ * API key lacks required scope
3960
+ */
3961
+ 403: ApiErrorEnvelope;
3962
+ /**
3963
+ * Resource not found
3964
+ */
3965
+ 404: ApiErrorEnvelope;
3966
+ /**
3967
+ * Payload too large. Upload exceeded the per-request size cap.
3968
+ */
3969
+ 413: ApiErrorEnvelope;
3970
+ /**
3971
+ * Rate limit exceeded
3972
+ */
3973
+ 429: ApiErrorEnvelope;
3974
+ /**
3975
+ * Internal server error
3976
+ */
3977
+ 500: ApiErrorEnvelope;
3978
+ };
3979
+
3980
+ export type FilesUploadsCompleteError = FilesUploadsCompleteErrors[keyof FilesUploadsCompleteErrors];
3981
+
3982
+ export type FilesUploadsCompleteResponses = {
3983
+ /**
3984
+ * Completed reusable file
3985
+ */
3986
+ 200: File;
3987
+ };
3988
+
3989
+ export type FilesUploadsCompleteResponse = FilesUploadsCompleteResponses[keyof FilesUploadsCompleteResponses];
3990
+
3803
3991
  export type RunsListData = {
3804
3992
  body?: never;
3805
3993
  path?: never;
@@ -3844,7 +4032,7 @@ export type RunsListData = {
3844
4032
  */
3845
4033
  sampleRate?: string;
3846
4034
  };
3847
- url: '/api/v1/runs';
4035
+ url: '/v1/runs';
3848
4036
  };
3849
4037
 
3850
4038
  export type RunsListErrors = {
@@ -3902,7 +4090,7 @@ export type RunsStartData = {
3902
4090
  */
3903
4091
  wait_for_completion?: number;
3904
4092
  };
3905
- url: '/api/v1/runs';
4093
+ url: '/v1/runs';
3906
4094
  };
3907
4095
 
3908
4096
  export type RunsStartErrors = {
@@ -3969,7 +4157,7 @@ export type RunsGetData = {
3969
4157
  */
3970
4158
  expand?: string;
3971
4159
  };
3972
- url: '/api/v1/runs/{id}';
4160
+ url: '/v1/runs/{id}';
3973
4161
  };
3974
4162
 
3975
4163
  export type RunsGetErrors = {
@@ -4024,7 +4212,7 @@ export type RunsArtifactsListData = {
4024
4212
  };
4025
4213
  query?: {
4026
4214
  /**
4027
- * When `1`, download output files as a ZIP instead of listing paths. Does not include trace, scores, or input — use `GET /runs/{id}/scores` and `GET /runs/{id}/trace` for those.
4215
+ * When `1`, download output files as a ZIP instead of listing paths. Does not include trace, scores, or input — use `GET /runs/{id}/scores` and `GET /runs/{id}/trace` for those. Cloud deployments reject archives whose uncompressed inputs exceed 32 MiB (`413 artifacts_zip_too_large`); download files individually or pass a smaller `files=` subset.
4028
4216
  */
4029
4217
  zip?: '1';
4030
4218
  /**
@@ -4036,7 +4224,7 @@ export type RunsArtifactsListData = {
4036
4224
  */
4037
4225
  token?: string;
4038
4226
  };
4039
- url: '/api/v1/runs/{id}/artifacts';
4227
+ url: '/v1/runs/{id}/artifacts';
4040
4228
  };
4041
4229
 
4042
4230
  export type RunsArtifactsListErrors = {
@@ -4088,7 +4276,7 @@ export type RunsArtifactsGetData = {
4088
4276
  path: string;
4089
4277
  };
4090
4278
  query?: never;
4091
- url: '/api/v1/runs/{id}/artifacts/{path}';
4279
+ url: '/v1/runs/{id}/artifacts/{path}';
4092
4280
  };
4093
4281
 
4094
4282
  export type RunsArtifactsGetErrors = {
@@ -4137,7 +4325,7 @@ export type RunsCancelData = {
4137
4325
  id: string;
4138
4326
  };
4139
4327
  query?: never;
4140
- url: '/api/v1/runs/{id}/cancel';
4328
+ url: '/v1/runs/{id}/cancel';
4141
4329
  };
4142
4330
 
4143
4331
  export type RunsCancelErrors = {
@@ -4191,7 +4379,7 @@ export type RunsEventsListData = {
4191
4379
  id: string;
4192
4380
  };
4193
4381
  query?: never;
4194
- url: '/api/v1/runs/{id}/events';
4382
+ url: '/v1/runs/{id}/events';
4195
4383
  };
4196
4384
 
4197
4385
  export type RunsEventsListErrors = {
@@ -4245,7 +4433,7 @@ export type RunsPromoteData = {
4245
4433
  id: string;
4246
4434
  };
4247
4435
  query?: never;
4248
- url: '/api/v1/runs/{id}/promote';
4436
+ url: '/v1/runs/{id}/promote';
4249
4437
  };
4250
4438
 
4251
4439
  export type RunsPromoteErrors = {
@@ -4308,7 +4496,7 @@ export type RunsRerunData = {
4308
4496
  */
4309
4497
  wait_for_completion?: number;
4310
4498
  };
4311
- url: '/api/v1/runs/{id}/rerun';
4499
+ url: '/v1/runs/{id}/rerun';
4312
4500
  };
4313
4501
 
4314
4502
  export type RunsRerunErrors = {
@@ -4370,7 +4558,7 @@ export type RunsReviewsClearData = {
4370
4558
  id: string;
4371
4559
  };
4372
4560
  query?: never;
4373
- url: '/api/v1/runs/{id}/reviews';
4561
+ url: '/v1/runs/{id}/reviews';
4374
4562
  };
4375
4563
 
4376
4564
  export type RunsReviewsClearErrors = {
@@ -4424,7 +4612,7 @@ export type RunsReviewsGetData = {
4424
4612
  id: string;
4425
4613
  };
4426
4614
  query?: never;
4427
- url: '/api/v1/runs/{id}/reviews';
4615
+ url: '/v1/runs/{id}/reviews';
4428
4616
  };
4429
4617
 
4430
4618
  export type RunsReviewsGetErrors = {
@@ -4478,7 +4666,7 @@ export type RunsReviewsUpdateData = {
4478
4666
  id: string;
4479
4667
  };
4480
4668
  query?: never;
4481
- url: '/api/v1/runs/{id}/reviews';
4669
+ url: '/v1/runs/{id}/reviews';
4482
4670
  };
4483
4671
 
4484
4672
  export type RunsReviewsUpdateErrors = {
@@ -4532,7 +4720,7 @@ export type RunsReviewsExpectedGetData = {
4532
4720
  id: string;
4533
4721
  };
4534
4722
  query?: never;
4535
- url: '/api/v1/runs/{id}/reviews/expected';
4723
+ url: '/v1/runs/{id}/reviews/expected';
4536
4724
  };
4537
4725
 
4538
4726
  export type RunsReviewsExpectedGetErrors = {
@@ -4586,7 +4774,7 @@ export type RunsReviewsExpectedCreateData = {
4586
4774
  id: string;
4587
4775
  };
4588
4776
  query?: never;
4589
- url: '/api/v1/runs/{id}/reviews/expected';
4777
+ url: '/v1/runs/{id}/reviews/expected';
4590
4778
  };
4591
4779
 
4592
4780
  export type RunsReviewsExpectedCreateErrors = {
@@ -4644,7 +4832,7 @@ export type RunsReviewsExpectedFileDeleteData = {
4644
4832
  filename: string;
4645
4833
  };
4646
4834
  query?: never;
4647
- url: '/api/v1/runs/{id}/reviews/expected/{filename}';
4835
+ url: '/v1/runs/{id}/reviews/expected/{filename}';
4648
4836
  };
4649
4837
 
4650
4838
  export type RunsReviewsExpectedFileDeleteErrors = {
@@ -4702,7 +4890,7 @@ export type RunsReviewsExpectedFileGetData = {
4702
4890
  filename: string;
4703
4891
  };
4704
4892
  query?: never;
4705
- url: '/api/v1/runs/{id}/reviews/expected/{filename}';
4893
+ url: '/v1/runs/{id}/reviews/expected/{filename}';
4706
4894
  };
4707
4895
 
4708
4896
  export type RunsReviewsExpectedFileGetErrors = {
@@ -4760,7 +4948,7 @@ export type RunsReviewsExpectedFileUpdateData = {
4760
4948
  filename: string;
4761
4949
  };
4762
4950
  query?: never;
4763
- url: '/api/v1/runs/{id}/reviews/expected/{filename}';
4951
+ url: '/v1/runs/{id}/reviews/expected/{filename}';
4764
4952
  };
4765
4953
 
4766
4954
  export type RunsReviewsExpectedFileUpdateErrors = {
@@ -4814,7 +5002,7 @@ export type RunsScoresListData = {
4814
5002
  id: string;
4815
5003
  };
4816
5004
  query?: never;
4817
- url: '/api/v1/runs/{id}/scores';
5005
+ url: '/v1/runs/{id}/scores';
4818
5006
  };
4819
5007
 
4820
5008
  export type RunsScoresListErrors = {
@@ -4868,7 +5056,7 @@ export type RunsStepsListData = {
4868
5056
  id: string;
4869
5057
  };
4870
5058
  query?: never;
4871
- url: '/api/v1/runs/{id}/steps';
5059
+ url: '/v1/runs/{id}/steps';
4872
5060
  };
4873
5061
 
4874
5062
  export type RunsStepsListErrors = {
@@ -4922,7 +5110,7 @@ export type RunsTraceGetData = {
4922
5110
  id: string;
4923
5111
  };
4924
5112
  query?: never;
4925
- url: '/api/v1/runs/{id}/trace';
5113
+ url: '/v1/runs/{id}/trace';
4926
5114
  };
4927
5115
 
4928
5116
  export type RunsTraceGetErrors = {
@@ -4976,7 +5164,7 @@ export type RunsUsageGetData = {
4976
5164
  id: string;
4977
5165
  };
4978
5166
  query?: never;
4979
- url: '/api/v1/runs/{id}/usage';
5167
+ url: '/v1/runs/{id}/usage';
4980
5168
  };
4981
5169
 
4982
5170
  export type RunsUsageGetErrors = {