@to11ai/sdk 1.1.0 → 2.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,6 +35,21 @@ export type ConflictError = {
35
35
  };
36
36
  success: false;
37
37
  };
38
+ export type ContentTooLargeError = {
39
+ _tag: 'ContentTooLargeError';
40
+ code: number;
41
+ error: {
42
+ code: string;
43
+ details?: unknown | null;
44
+ message: string;
45
+ rowErrors?: Array<{
46
+ code: string;
47
+ message: string;
48
+ path: Array<string | number>;
49
+ }> | null;
50
+ };
51
+ success: false;
52
+ };
38
53
  export type ForbiddenError = {
39
54
  _tag: 'ForbiddenError';
40
55
  code: number;
@@ -191,7 +206,7 @@ export type Prompt = {
191
206
  name: string;
192
207
  projectId: string;
193
208
  slug: string;
194
- status: 'active' | 'draft' | 'archived';
209
+ status: 'active' | 'archived';
195
210
  tags: Array<string>;
196
211
  updatedAt: string;
197
212
  };
@@ -274,7 +289,8 @@ export type ResolvedPrompt = {
274
289
  [key: string]: 'rendered' | 'dimmed';
275
290
  } | null;
276
291
  contentHash: string;
277
- labels: Array<string>;
292
+ label: string;
293
+ modelConfig?: unknown | null;
278
294
  promptId: string;
279
295
  releaseId: string;
280
296
  rendered: RenderedPrompt;
@@ -479,6 +495,10 @@ export type ApiKeysGetApiKeyJwksErrors = {
479
495
  * GoneError
480
496
  */
481
497
  410: GoneError;
498
+ /**
499
+ * ContentTooLargeError
500
+ */
501
+ 413: ContentTooLargeError;
482
502
  /**
483
503
  * MisdirectedRequestError
484
504
  */
@@ -543,6 +563,10 @@ export type ApiKeysGetApiKeyOpenIdConfigErrors = {
543
563
  * GoneError
544
564
  */
545
565
  410: GoneError;
566
+ /**
567
+ * ContentTooLargeError
568
+ */
569
+ 413: ContentTooLargeError;
546
570
  /**
547
571
  * MisdirectedRequestError
548
572
  */
@@ -609,6 +633,10 @@ export type HealthHealthzErrors = {
609
633
  * GoneError
610
634
  */
611
635
  410: GoneError;
636
+ /**
637
+ * ContentTooLargeError
638
+ */
639
+ 413: ContentTooLargeError;
612
640
  /**
613
641
  * MisdirectedRequestError
614
642
  */
@@ -700,6 +728,10 @@ export type RoutingSnapshotsGetRoutingSnapshotByEnvErrors = {
700
728
  * GoneError
701
729
  */
702
730
  410: GoneError;
731
+ /**
732
+ * ContentTooLargeError
733
+ */
734
+ 413: ContentTooLargeError;
703
735
  /**
704
736
  * MisdirectedRequestError
705
737
  */
@@ -810,6 +842,10 @@ export type HealthReadyzErrors = {
810
842
  * GoneError
811
843
  */
812
844
  410: GoneError;
845
+ /**
846
+ * ContentTooLargeError
847
+ */
848
+ 413: ContentTooLargeError;
813
849
  /**
814
850
  * MisdirectedRequestError
815
851
  */
@@ -926,6 +962,10 @@ export type ApiKeysCreateApiKeyPlatformErrors = {
926
962
  * GoneError
927
963
  */
928
964
  410: GoneError;
965
+ /**
966
+ * ContentTooLargeError
967
+ */
968
+ 413: ContentTooLargeError;
929
969
  /**
930
970
  * MisdirectedRequestError
931
971
  */
@@ -1028,6 +1068,10 @@ export type CostRateAdminResyncCostRatesErrors = {
1028
1068
  * GoneError
1029
1069
  */
1030
1070
  410: GoneError;
1071
+ /**
1072
+ * ContentTooLargeError
1073
+ */
1074
+ 413: ContentTooLargeError;
1031
1075
  /**
1032
1076
  * MisdirectedRequestError
1033
1077
  */
@@ -1120,6 +1164,10 @@ export type DataCentersBootstrapDataCenterErrors = {
1120
1164
  * GoneError
1121
1165
  */
1122
1166
  410: GoneError;
1167
+ /**
1168
+ * ContentTooLargeError
1169
+ */
1170
+ 413: ContentTooLargeError;
1123
1171
  /**
1124
1172
  * MisdirectedRequestError
1125
1173
  */
@@ -1223,6 +1271,10 @@ export type DataCentersGetDataCenterBootstrapStatusErrors = {
1223
1271
  * GoneError
1224
1272
  */
1225
1273
  410: GoneError;
1274
+ /**
1275
+ * ContentTooLargeError
1276
+ */
1277
+ 413: ContentTooLargeError;
1226
1278
  /**
1227
1279
  * MisdirectedRequestError
1228
1280
  */
@@ -1326,6 +1378,10 @@ export type PlatformSettingsGetPlatformSettingErrors = {
1326
1378
  * GoneError
1327
1379
  */
1328
1380
  410: GoneError;
1381
+ /**
1382
+ * ContentTooLargeError
1383
+ */
1384
+ 413: ContentTooLargeError;
1329
1385
  /**
1330
1386
  * MisdirectedRequestError
1331
1387
  */
@@ -1421,6 +1477,10 @@ export type PlatformSettingsUpdatePlatformSettingErrors = {
1421
1477
  * GoneError
1422
1478
  */
1423
1479
  410: GoneError;
1480
+ /**
1481
+ * ContentTooLargeError
1482
+ */
1483
+ 413: ContentTooLargeError;
1424
1484
  /**
1425
1485
  * MisdirectedRequestError
1426
1486
  */
@@ -1512,6 +1572,10 @@ export type CostRateAdminResyncProjectScopeMapErrors = {
1512
1572
  * GoneError
1513
1573
  */
1514
1574
  410: GoneError;
1575
+ /**
1576
+ * ContentTooLargeError
1577
+ */
1578
+ 413: ContentTooLargeError;
1515
1579
  /**
1516
1580
  * MisdirectedRequestError
1517
1581
  */
@@ -1615,6 +1679,10 @@ export type ApiKeysListApiKeysErrors = {
1615
1679
  * GoneError
1616
1680
  */
1617
1681
  410: GoneError;
1682
+ /**
1683
+ * ContentTooLargeError
1684
+ */
1685
+ 413: ContentTooLargeError;
1618
1686
  /**
1619
1687
  * MisdirectedRequestError
1620
1688
  */
@@ -1744,6 +1812,10 @@ export type ApiKeysDeleteApiKeyErrors = {
1744
1812
  * GoneError
1745
1813
  */
1746
1814
  410: GoneError;
1815
+ /**
1816
+ * ContentTooLargeError
1817
+ */
1818
+ 413: ContentTooLargeError;
1747
1819
  /**
1748
1820
  * MisdirectedRequestError
1749
1821
  */
@@ -1834,6 +1906,10 @@ export type ApiKeysGetApiKeyErrors = {
1834
1906
  * GoneError
1835
1907
  */
1836
1908
  410: GoneError;
1909
+ /**
1910
+ * ContentTooLargeError
1911
+ */
1912
+ 413: ContentTooLargeError;
1837
1913
  /**
1838
1914
  * MisdirectedRequestError
1839
1915
  */
@@ -1945,6 +2021,10 @@ export type ApiKeysUpdateApiKeyErrors = {
1945
2021
  * GoneError
1946
2022
  */
1947
2023
  410: GoneError;
2024
+ /**
2025
+ * ContentTooLargeError
2026
+ */
2027
+ 413: ContentTooLargeError;
1948
2028
  /**
1949
2029
  * MisdirectedRequestError
1950
2030
  */
@@ -2057,6 +2137,10 @@ export type ApiKeysGetApiKeyAuditErrors = {
2057
2137
  * GoneError
2058
2138
  */
2059
2139
  410: GoneError;
2140
+ /**
2141
+ * ContentTooLargeError
2142
+ */
2143
+ 413: ContentTooLargeError;
2060
2144
  /**
2061
2145
  * MisdirectedRequestError
2062
2146
  */
@@ -2160,6 +2244,10 @@ export type ApiKeysRotateApiKeyErrors = {
2160
2244
  * GoneError
2161
2245
  */
2162
2246
  410: GoneError;
2247
+ /**
2248
+ * ContentTooLargeError
2249
+ */
2250
+ 413: ContentTooLargeError;
2163
2251
  /**
2164
2252
  * MisdirectedRequestError
2165
2253
  */
@@ -2266,6 +2354,10 @@ export type ApiKeysGetApiKeyUsageErrors = {
2266
2354
  * GoneError
2267
2355
  */
2268
2356
  410: GoneError;
2357
+ /**
2358
+ * ContentTooLargeError
2359
+ */
2360
+ 413: ContentTooLargeError;
2269
2361
  /**
2270
2362
  * MisdirectedRequestError
2271
2363
  */
@@ -2359,6 +2451,10 @@ export type AuthAuthMeErrors = {
2359
2451
  * GoneError
2360
2452
  */
2361
2453
  410: GoneError;
2454
+ /**
2455
+ * ContentTooLargeError
2456
+ */
2457
+ 413: ContentTooLargeError;
2362
2458
  /**
2363
2459
  * MisdirectedRequestError
2364
2460
  */
@@ -2448,6 +2544,10 @@ export type AuthResolveExternalPrincipalErrors = {
2448
2544
  * GoneError
2449
2545
  */
2450
2546
  410: GoneError;
2547
+ /**
2548
+ * ContentTooLargeError
2549
+ */
2550
+ 413: ContentTooLargeError;
2451
2551
  /**
2452
2552
  * MisdirectedRequestError
2453
2553
  */
@@ -2509,8 +2609,8 @@ export type DataCentersListDataCentersData = {
2509
2609
  body?: never;
2510
2610
  path?: never;
2511
2611
  query?: {
2512
- page?: string | string | null;
2513
- limit?: string | string | null;
2612
+ page?: number | null;
2613
+ limit?: number | null;
2514
2614
  search?: string | null;
2515
2615
  sortDir?: 'asc' | 'desc' | null;
2516
2616
  status?: 'active' | 'deprecated' | null;
@@ -2543,6 +2643,10 @@ export type DataCentersListDataCentersErrors = {
2543
2643
  * GoneError
2544
2644
  */
2545
2645
  410: GoneError;
2646
+ /**
2647
+ * ContentTooLargeError
2648
+ */
2649
+ 413: ContentTooLargeError;
2546
2650
  /**
2547
2651
  * MisdirectedRequestError
2548
2652
  */
@@ -2643,6 +2747,10 @@ export type DataCentersCreateDataCenterErrors = {
2643
2747
  * GoneError
2644
2748
  */
2645
2749
  410: GoneError;
2750
+ /**
2751
+ * ContentTooLargeError
2752
+ */
2753
+ 413: ContentTooLargeError;
2646
2754
  /**
2647
2755
  * MisdirectedRequestError
2648
2756
  */
@@ -2746,6 +2854,10 @@ export type DataCentersDeprecateDataCenterErrors = {
2746
2854
  * GoneError
2747
2855
  */
2748
2856
  410: GoneError;
2857
+ /**
2858
+ * ContentTooLargeError
2859
+ */
2860
+ 413: ContentTooLargeError;
2749
2861
  /**
2750
2862
  * MisdirectedRequestError
2751
2863
  */
@@ -2847,6 +2959,10 @@ export type DataCentersGetDataCenterErrors = {
2847
2959
  * GoneError
2848
2960
  */
2849
2961
  410: GoneError;
2962
+ /**
2963
+ * ContentTooLargeError
2964
+ */
2965
+ 413: ContentTooLargeError;
2850
2966
  /**
2851
2967
  * MisdirectedRequestError
2852
2968
  */
@@ -2956,6 +3072,10 @@ export type DataCentersUpdateDataCenterErrors = {
2956
3072
  * GoneError
2957
3073
  */
2958
3074
  410: GoneError;
3075
+ /**
3076
+ * ContentTooLargeError
3077
+ */
3078
+ 413: ContentTooLargeError;
2959
3079
  /**
2960
3080
  * MisdirectedRequestError
2961
3081
  */
@@ -3030,8 +3150,8 @@ export type DataCentersListDataCenterAuditEntriesData = {
3030
3150
  dataCenterId: string;
3031
3151
  };
3032
3152
  query?: {
3033
- page?: string | string | null;
3034
- limit?: string | string | null;
3153
+ page?: number | null;
3154
+ limit?: number | null;
3035
3155
  search?: string | null;
3036
3156
  sortDir?: 'asc' | 'desc' | null;
3037
3157
  action?: 'create' | 'update' | 'deprecate' | null;
@@ -3064,6 +3184,10 @@ export type DataCentersListDataCenterAuditEntriesErrors = {
3064
3184
  * GoneError
3065
3185
  */
3066
3186
  410: GoneError;
3187
+ /**
3188
+ * ContentTooLargeError
3189
+ */
3190
+ 413: ContentTooLargeError;
3067
3191
  /**
3068
3192
  * MisdirectedRequestError
3069
3193
  */
@@ -3166,6 +3290,10 @@ export type IngestTokenExchangeIngestTokenErrors = {
3166
3290
  * GoneError
3167
3291
  */
3168
3292
  410: GoneError;
3293
+ /**
3294
+ * ContentTooLargeError
3295
+ */
3296
+ 413: ContentTooLargeError;
3169
3297
  /**
3170
3298
  * MisdirectedRequestError
3171
3299
  */
@@ -3261,6 +3389,10 @@ export type OrganizationsAcceptOrganizationInvitationErrors = {
3261
3389
  * GoneError
3262
3390
  */
3263
3391
  410: GoneError;
3392
+ /**
3393
+ * ContentTooLargeError
3394
+ */
3395
+ 413: ContentTooLargeError;
3264
3396
  /**
3265
3397
  * MisdirectedRequestError
3266
3398
  */
@@ -3350,6 +3482,10 @@ export type OrganizationsAcceptPendingOrganizationInvitationsErrors = {
3350
3482
  * GoneError
3351
3483
  */
3352
3484
  410: GoneError;
3485
+ /**
3486
+ * ContentTooLargeError
3487
+ */
3488
+ 413: ContentTooLargeError;
3353
3489
  /**
3354
3490
  * MisdirectedRequestError
3355
3491
  */
@@ -3440,6 +3576,10 @@ export type OrganizationsGetOrganizationInvitationDetailsErrors = {
3440
3576
  * GoneError
3441
3577
  */
3442
3578
  410: GoneError;
3579
+ /**
3580
+ * ContentTooLargeError
3581
+ */
3582
+ 413: ContentTooLargeError;
3443
3583
  /**
3444
3584
  * MisdirectedRequestError
3445
3585
  */
@@ -3504,7 +3644,10 @@ export type OrganizationsGetOrganizationInvitationDetailsResponse = Organization
3504
3644
  export type ApiKeysListApiKeysSuperData = {
3505
3645
  body?: never;
3506
3646
  path?: never;
3507
- query?: never;
3647
+ query?: {
3648
+ page?: number | null;
3649
+ limit?: number | null;
3650
+ };
3508
3651
  url: '/v1/keys';
3509
3652
  };
3510
3653
  export type ApiKeysListApiKeysSuperErrors = {
@@ -3532,6 +3675,10 @@ export type ApiKeysListApiKeysSuperErrors = {
3532
3675
  * GoneError
3533
3676
  */
3534
3677
  410: GoneError;
3678
+ /**
3679
+ * ContentTooLargeError
3680
+ */
3681
+ 413: ContentTooLargeError;
3535
3682
  /**
3536
3683
  * MisdirectedRequestError
3537
3684
  */
@@ -3560,19 +3707,17 @@ export type ApiKeysListApiKeysSuperResponses = {
3560
3707
  */
3561
3708
  200: {
3562
3709
  code: number;
3563
- data: {
3564
- keys: Array<{
3565
- createdAt: string;
3566
- environment: 'live' | 'test';
3567
- expiresAt: string;
3568
- id: string;
3569
- key: string;
3570
- orgId: string | null;
3571
- projectId: string | null;
3572
- revokedAt: string | null;
3573
- scopes: Array<string>;
3574
- }>;
3575
- } | null;
3710
+ data: Array<{
3711
+ createdAt: string;
3712
+ environment: 'live' | 'test';
3713
+ expiresAt: string;
3714
+ id: string;
3715
+ key: string;
3716
+ orgId: string | null;
3717
+ projectId: string | null;
3718
+ revokedAt: string | null;
3719
+ scopes: Array<string>;
3720
+ }> | null;
3576
3721
  error: {
3577
3722
  code: string;
3578
3723
  details?: unknown | null;
@@ -3635,6 +3780,10 @@ export type ApiKeysCreateApiKeySuperErrors = {
3635
3780
  * GoneError
3636
3781
  */
3637
3782
  410: GoneError;
3783
+ /**
3784
+ * ContentTooLargeError
3785
+ */
3786
+ 413: ContentTooLargeError;
3638
3787
  /**
3639
3788
  * MisdirectedRequestError
3640
3789
  */
@@ -3727,6 +3876,10 @@ export type ApiKeysRevokeApiKeySuperErrors = {
3727
3876
  * GoneError
3728
3877
  */
3729
3878
  410: GoneError;
3879
+ /**
3880
+ * ContentTooLargeError
3881
+ */
3882
+ 413: ContentTooLargeError;
3730
3883
  /**
3731
3884
  * MisdirectedRequestError
3732
3885
  */
@@ -3792,8 +3945,8 @@ export type CostRatesListBuiltinCostRatesData = {
3792
3945
  model?: string | null;
3793
3946
  tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
3794
3947
  asOf?: string | null;
3795
- page?: string | null;
3796
- limit?: string | null;
3948
+ page?: number | null;
3949
+ limit?: number | null;
3797
3950
  includeDeleted?: 'true' | 'false' | null;
3798
3951
  };
3799
3952
  url: '/v1/llm-cost-rates/builtin';
@@ -3823,6 +3976,10 @@ export type CostRatesListBuiltinCostRatesErrors = {
3823
3976
  * GoneError
3824
3977
  */
3825
3978
  410: GoneError;
3979
+ /**
3980
+ * ContentTooLargeError
3981
+ */
3982
+ 413: ContentTooLargeError;
3826
3983
  /**
3827
3984
  * MisdirectedRequestError
3828
3985
  */
@@ -3903,8 +4060,8 @@ export type OrganizationsListOrganizationsData = {
3903
4060
  body?: never;
3904
4061
  path?: never;
3905
4062
  query?: {
3906
- page?: string | string | null;
3907
- limit?: string | string | null;
4063
+ page?: number | null;
4064
+ limit?: number | null;
3908
4065
  search?: string | null;
3909
4066
  sortDir?: 'asc' | 'desc' | null;
3910
4067
  status?: 'active' | 'suspended' | 'deleted' | null;
@@ -3937,6 +4094,10 @@ export type OrganizationsListOrganizationsErrors = {
3937
4094
  * GoneError
3938
4095
  */
3939
4096
  410: GoneError;
4097
+ /**
4098
+ * ContentTooLargeError
4099
+ */
4100
+ 413: ContentTooLargeError;
3940
4101
  /**
3941
4102
  * MisdirectedRequestError
3942
4103
  */
@@ -4040,6 +4201,10 @@ export type OrganizationsCreateOrganizationErrors = {
4040
4201
  * GoneError
4041
4202
  */
4042
4203
  410: GoneError;
4204
+ /**
4205
+ * ContentTooLargeError
4206
+ */
4207
+ 413: ContentTooLargeError;
4043
4208
  /**
4044
4209
  * MisdirectedRequestError
4045
4210
  */
@@ -4136,6 +4301,10 @@ export type OrganizationsDeleteOrganizationErrors = {
4136
4301
  * GoneError
4137
4302
  */
4138
4303
  410: GoneError;
4304
+ /**
4305
+ * ContentTooLargeError
4306
+ */
4307
+ 413: ContentTooLargeError;
4139
4308
  /**
4140
4309
  * MisdirectedRequestError
4141
4310
  */
@@ -4232,6 +4401,10 @@ export type OrganizationsGetOrganizationErrors = {
4232
4401
  * GoneError
4233
4402
  */
4234
4403
  410: GoneError;
4404
+ /**
4405
+ * ContentTooLargeError
4406
+ */
4407
+ 413: ContentTooLargeError;
4235
4408
  /**
4236
4409
  * MisdirectedRequestError
4237
4410
  */
@@ -4304,10 +4477,238 @@ export type OrganizationsUpdateOrganizationData = {
4304
4477
  path: {
4305
4478
  orgId: string;
4306
4479
  };
4307
- query?: never;
4308
- url: '/v1/orgs/{orgId}';
4480
+ query?: never;
4481
+ url: '/v1/orgs/{orgId}';
4482
+ };
4483
+ export type OrganizationsUpdateOrganizationErrors = {
4484
+ /**
4485
+ * BadRequestError
4486
+ */
4487
+ 400: BadRequestError;
4488
+ /**
4489
+ * UnauthorizedError
4490
+ */
4491
+ 401: UnauthorizedError;
4492
+ /**
4493
+ * ForbiddenError
4494
+ */
4495
+ 403: ForbiddenError;
4496
+ /**
4497
+ * NotFoundError
4498
+ */
4499
+ 404: NotFoundError;
4500
+ /**
4501
+ * ConflictError
4502
+ */
4503
+ 409: ConflictError;
4504
+ /**
4505
+ * GoneError
4506
+ */
4507
+ 410: GoneError;
4508
+ /**
4509
+ * ContentTooLargeError
4510
+ */
4511
+ 413: ContentTooLargeError;
4512
+ /**
4513
+ * MisdirectedRequestError
4514
+ */
4515
+ 421: MisdirectedRequestError;
4516
+ /**
4517
+ * UnprocessableEntityError
4518
+ */
4519
+ 422: UnprocessableEntityError;
4520
+ /**
4521
+ * TooManyRequestsError
4522
+ */
4523
+ 429: TooManyRequestsError;
4524
+ /**
4525
+ * InternalServerError
4526
+ */
4527
+ 500: InternalServerError;
4528
+ /**
4529
+ * ServiceUnavailableError
4530
+ */
4531
+ 503: ServiceUnavailableError;
4532
+ };
4533
+ export type OrganizationsUpdateOrganizationError = OrganizationsUpdateOrganizationErrors[keyof OrganizationsUpdateOrganizationErrors];
4534
+ export type OrganizationsUpdateOrganizationResponses = {
4535
+ /**
4536
+ * Success
4537
+ */
4538
+ 200: {
4539
+ code: number;
4540
+ data: {
4541
+ createdAt: string;
4542
+ id: string;
4543
+ name: string;
4544
+ preferredDataCenter: string | null;
4545
+ slug: string;
4546
+ status: 'active' | 'suspended' | 'deleted';
4547
+ updatedAt: string;
4548
+ } | null;
4549
+ error: {
4550
+ code: string;
4551
+ details?: unknown | null;
4552
+ message: string;
4553
+ rowErrors?: Array<{
4554
+ code: string;
4555
+ message: string;
4556
+ path: Array<string | number>;
4557
+ }> | null;
4558
+ } | null;
4559
+ pagination: {
4560
+ limit: number;
4561
+ page: number;
4562
+ total: number;
4563
+ totalPages: number;
4564
+ } | null;
4565
+ sdkBehavior?: {
4566
+ flags: {
4567
+ [key: string]: unknown;
4568
+ };
4569
+ v: number;
4570
+ } | null;
4571
+ success: boolean;
4572
+ };
4573
+ };
4574
+ export type OrganizationsUpdateOrganizationResponse = OrganizationsUpdateOrganizationResponses[keyof OrganizationsUpdateOrganizationResponses];
4575
+ export type OrgAuditListOrgAuditEventsData = {
4576
+ body?: never;
4577
+ path: {
4578
+ orgId: string;
4579
+ };
4580
+ query?: {
4581
+ resource_type?: string | null;
4582
+ event_type?: string | null;
4583
+ actor_id?: string | null;
4584
+ workspace_id?: string | null;
4585
+ since?: string | null;
4586
+ until?: string | null;
4587
+ limit?: string | null;
4588
+ cursor?: string | null;
4589
+ };
4590
+ url: '/v1/orgs/{orgId}/audit';
4591
+ };
4592
+ export type OrgAuditListOrgAuditEventsErrors = {
4593
+ /**
4594
+ * BadRequestError
4595
+ */
4596
+ 400: BadRequestError;
4597
+ /**
4598
+ * UnauthorizedError
4599
+ */
4600
+ 401: UnauthorizedError;
4601
+ /**
4602
+ * ForbiddenError
4603
+ */
4604
+ 403: ForbiddenError;
4605
+ /**
4606
+ * NotFoundError
4607
+ */
4608
+ 404: NotFoundError;
4609
+ /**
4610
+ * ConflictError
4611
+ */
4612
+ 409: ConflictError;
4613
+ /**
4614
+ * GoneError
4615
+ */
4616
+ 410: GoneError;
4617
+ /**
4618
+ * ContentTooLargeError
4619
+ */
4620
+ 413: ContentTooLargeError;
4621
+ /**
4622
+ * MisdirectedRequestError
4623
+ */
4624
+ 421: MisdirectedRequestError;
4625
+ /**
4626
+ * UnprocessableEntityError
4627
+ */
4628
+ 422: UnprocessableEntityError;
4629
+ /**
4630
+ * TooManyRequestsError
4631
+ */
4632
+ 429: TooManyRequestsError;
4633
+ /**
4634
+ * InternalServerError
4635
+ */
4636
+ 500: InternalServerError;
4637
+ /**
4638
+ * ServiceUnavailableError
4639
+ */
4640
+ 503: ServiceUnavailableError;
4641
+ };
4642
+ export type OrgAuditListOrgAuditEventsError = OrgAuditListOrgAuditEventsErrors[keyof OrgAuditListOrgAuditEventsErrors];
4643
+ export type OrgAuditListOrgAuditEventsResponses = {
4644
+ /**
4645
+ * Success
4646
+ */
4647
+ 200: {
4648
+ code: number;
4649
+ data: {
4650
+ items: Array<{
4651
+ actorId: string;
4652
+ actorType: 'user' | 'api_key' | 'worker';
4653
+ afterState: unknown | null;
4654
+ beforeState: unknown | null;
4655
+ createdAt: string;
4656
+ eventType: string;
4657
+ id: string;
4658
+ organizationId: string | null;
4659
+ reason: string | null;
4660
+ resourceId: string;
4661
+ resourceType: 'role' | 'organization' | 'organization_invitation' | 'workspace' | 'platform_setting' | 'api_key';
4662
+ scope: 'organization' | 'system';
4663
+ workspaceId: string | null;
4664
+ }>;
4665
+ pagination: {
4666
+ nextCursor: string | null;
4667
+ };
4668
+ } | null;
4669
+ error: {
4670
+ code: string;
4671
+ details?: unknown | null;
4672
+ message: string;
4673
+ rowErrors?: Array<{
4674
+ code: string;
4675
+ message: string;
4676
+ path: Array<string | number>;
4677
+ }> | null;
4678
+ } | null;
4679
+ pagination: {
4680
+ limit: number;
4681
+ page: number;
4682
+ total: number;
4683
+ totalPages: number;
4684
+ } | null;
4685
+ sdkBehavior?: {
4686
+ flags: {
4687
+ [key: string]: unknown;
4688
+ };
4689
+ v: number;
4690
+ } | null;
4691
+ success: boolean;
4692
+ };
4693
+ };
4694
+ export type OrgAuditListOrgAuditEventsResponse = OrgAuditListOrgAuditEventsResponses[keyof OrgAuditListOrgAuditEventsResponses];
4695
+ export type OrgAuditExportExportOrgAuditEventsData = {
4696
+ body?: never;
4697
+ path: {
4698
+ orgId: string;
4699
+ };
4700
+ query?: {
4701
+ format?: 'csv' | 'json' | null;
4702
+ resource_type?: string | null;
4703
+ event_type?: string | null;
4704
+ actor_id?: string | null;
4705
+ workspace_id?: string | null;
4706
+ since?: string | null;
4707
+ until?: string | null;
4708
+ };
4709
+ url: '/v1/orgs/{orgId}/audit/export';
4309
4710
  };
4310
- export type OrganizationsUpdateOrganizationErrors = {
4711
+ export type OrgAuditExportExportOrgAuditEventsErrors = {
4311
4712
  /**
4312
4713
  * BadRequestError
4313
4714
  */
@@ -4332,6 +4733,10 @@ export type OrganizationsUpdateOrganizationErrors = {
4332
4733
  * GoneError
4333
4734
  */
4334
4735
  410: GoneError;
4736
+ /**
4737
+ * ContentTooLargeError
4738
+ */
4739
+ 413: ContentTooLargeError;
4335
4740
  /**
4336
4741
  * MisdirectedRequestError
4337
4742
  */
@@ -4353,21 +4758,18 @@ export type OrganizationsUpdateOrganizationErrors = {
4353
4758
  */
4354
4759
  503: ServiceUnavailableError;
4355
4760
  };
4356
- export type OrganizationsUpdateOrganizationError = OrganizationsUpdateOrganizationErrors[keyof OrganizationsUpdateOrganizationErrors];
4357
- export type OrganizationsUpdateOrganizationResponses = {
4761
+ export type OrgAuditExportExportOrgAuditEventsError = OrgAuditExportExportOrgAuditEventsErrors[keyof OrgAuditExportExportOrgAuditEventsErrors];
4762
+ export type OrgAuditExportExportOrgAuditEventsResponses = {
4358
4763
  /**
4359
4764
  * Success
4360
4765
  */
4361
4766
  200: {
4362
4767
  code: number;
4363
4768
  data: {
4364
- createdAt: string;
4365
- id: string;
4366
- name: string;
4367
- preferredDataCenter: string | null;
4368
- slug: string;
4369
- status: 'active' | 'suspended' | 'deleted';
4370
- updatedAt: string;
4769
+ content: string;
4770
+ exportedAt: string;
4771
+ format: 'csv' | 'json';
4772
+ rowCount: number;
4371
4773
  } | null;
4372
4774
  error: {
4373
4775
  code: string;
@@ -4394,7 +4796,7 @@ export type OrganizationsUpdateOrganizationResponses = {
4394
4796
  success: boolean;
4395
4797
  };
4396
4798
  };
4397
- export type OrganizationsUpdateOrganizationResponse = OrganizationsUpdateOrganizationResponses[keyof OrganizationsUpdateOrganizationResponses];
4799
+ export type OrgAuditExportExportOrgAuditEventsResponse = OrgAuditExportExportOrgAuditEventsResponses[keyof OrgAuditExportExportOrgAuditEventsResponses];
4398
4800
  export type DashboardingGetOrganizationPersesLaunchData = {
4399
4801
  body?: never;
4400
4802
  path: {
@@ -4428,6 +4830,10 @@ export type DashboardingGetOrganizationPersesLaunchErrors = {
4428
4830
  * GoneError
4429
4831
  */
4430
4832
  410: GoneError;
4833
+ /**
4834
+ * ContentTooLargeError
4835
+ */
4836
+ 413: ContentTooLargeError;
4431
4837
  /**
4432
4838
  * MisdirectedRequestError
4433
4839
  */
@@ -4520,6 +4926,10 @@ export type DashboardingSyncOrganizationPersesErrors = {
4520
4926
  * GoneError
4521
4927
  */
4522
4928
  410: GoneError;
4929
+ /**
4930
+ * ContentTooLargeError
4931
+ */
4932
+ 413: ContentTooLargeError;
4523
4933
  /**
4524
4934
  * MisdirectedRequestError
4525
4935
  */
@@ -4587,8 +4997,8 @@ export type OrganizationsListOrganizationInvitationsData = {
4587
4997
  orgId: string;
4588
4998
  };
4589
4999
  query?: {
4590
- page?: string | string | null;
4591
- limit?: string | string | null;
5000
+ page?: number | null;
5001
+ limit?: number | null;
4592
5002
  search?: string | null;
4593
5003
  sortDir?: 'asc' | 'desc' | null;
4594
5004
  status?: 'PENDING' | 'ACCEPTED' | 'REVOKED' | 'EXPIRED' | 'SUPERSEDED' | null;
@@ -4621,6 +5031,10 @@ export type OrganizationsListOrganizationInvitationsErrors = {
4621
5031
  * GoneError
4622
5032
  */
4623
5033
  410: GoneError;
5034
+ /**
5035
+ * ContentTooLargeError
5036
+ */
5037
+ 413: ContentTooLargeError;
4624
5038
  /**
4625
5039
  * MisdirectedRequestError
4626
5040
  */
@@ -4747,6 +5161,10 @@ export type OrganizationsCreateOrganizationInvitationErrors = {
4747
5161
  * GoneError
4748
5162
  */
4749
5163
  410: GoneError;
5164
+ /**
5165
+ * ContentTooLargeError
5166
+ */
5167
+ 413: ContentTooLargeError;
4750
5168
  /**
4751
5169
  * MisdirectedRequestError
4752
5170
  */
@@ -4863,6 +5281,10 @@ export type OrganizationsRevokeOrganizationInvitationErrors = {
4863
5281
  * GoneError
4864
5282
  */
4865
5283
  410: GoneError;
5284
+ /**
5285
+ * ContentTooLargeError
5286
+ */
5287
+ 413: ContentTooLargeError;
4866
5288
  /**
4867
5289
  * MisdirectedRequestError
4868
5290
  */
@@ -4956,6 +5378,10 @@ export type OrganizationsResendOrganizationInvitationErrors = {
4956
5378
  * GoneError
4957
5379
  */
4958
5380
  410: GoneError;
5381
+ /**
5382
+ * ContentTooLargeError
5383
+ */
5384
+ 413: ContentTooLargeError;
4959
5385
  /**
4960
5386
  * MisdirectedRequestError
4961
5387
  */
@@ -5043,7 +5469,10 @@ export type ApiKeysListApiKeysOrgData = {
5043
5469
  path: {
5044
5470
  orgId: string;
5045
5471
  };
5046
- query?: never;
5472
+ query?: {
5473
+ page?: number | null;
5474
+ limit?: number | null;
5475
+ };
5047
5476
  url: '/v1/orgs/{orgId}/keys';
5048
5477
  };
5049
5478
  export type ApiKeysListApiKeysOrgErrors = {
@@ -5071,6 +5500,10 @@ export type ApiKeysListApiKeysOrgErrors = {
5071
5500
  * GoneError
5072
5501
  */
5073
5502
  410: GoneError;
5503
+ /**
5504
+ * ContentTooLargeError
5505
+ */
5506
+ 413: ContentTooLargeError;
5074
5507
  /**
5075
5508
  * MisdirectedRequestError
5076
5509
  */
@@ -5099,19 +5532,17 @@ export type ApiKeysListApiKeysOrgResponses = {
5099
5532
  */
5100
5533
  200: {
5101
5534
  code: number;
5102
- data: {
5103
- keys: Array<{
5104
- createdAt: string;
5105
- environment: 'live' | 'test';
5106
- expiresAt: string;
5107
- id: string;
5108
- key: string;
5109
- orgId: string | null;
5110
- projectId: string | null;
5111
- revokedAt: string | null;
5112
- scopes: Array<string>;
5113
- }>;
5114
- } | null;
5535
+ data: Array<{
5536
+ createdAt: string;
5537
+ environment: 'live' | 'test';
5538
+ expiresAt: string;
5539
+ id: string;
5540
+ key: string;
5541
+ orgId: string | null;
5542
+ projectId: string | null;
5543
+ revokedAt: string | null;
5544
+ scopes: Array<string>;
5545
+ }> | null;
5115
5546
  error: {
5116
5547
  code: string;
5117
5548
  details?: unknown | null;
@@ -5177,6 +5608,10 @@ export type ApiKeysCreateApiKeyOrgErrors = {
5177
5608
  * GoneError
5178
5609
  */
5179
5610
  410: GoneError;
5611
+ /**
5612
+ * ContentTooLargeError
5613
+ */
5614
+ 413: ContentTooLargeError;
5180
5615
  /**
5181
5616
  * MisdirectedRequestError
5182
5617
  */
@@ -5282,6 +5717,10 @@ export type ApiKeysRevokeApiKeyOrgErrors = {
5282
5717
  * GoneError
5283
5718
  */
5284
5719
  410: GoneError;
5720
+ /**
5721
+ * ContentTooLargeError
5722
+ */
5723
+ 413: ContentTooLargeError;
5285
5724
  /**
5286
5725
  * MisdirectedRequestError
5287
5726
  */
@@ -5349,8 +5788,8 @@ export type CostRatesListOrgCostRatesData = {
5349
5788
  model?: string | null;
5350
5789
  tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
5351
5790
  asOf?: string | null;
5352
- page?: string | null;
5353
- limit?: string | null;
5791
+ page?: number | null;
5792
+ limit?: number | null;
5354
5793
  includeDeleted?: 'true' | 'false' | null;
5355
5794
  };
5356
5795
  url: '/v1/orgs/{orgId}/llm-cost-rates';
@@ -5380,6 +5819,10 @@ export type CostRatesListOrgCostRatesErrors = {
5380
5819
  * GoneError
5381
5820
  */
5382
5821
  410: GoneError;
5822
+ /**
5823
+ * ContentTooLargeError
5824
+ */
5825
+ 413: ContentTooLargeError;
5383
5826
  /**
5384
5827
  * MisdirectedRequestError
5385
5828
  */
@@ -5501,6 +5944,10 @@ export type CostRatesCreateOrgCostRateErrors = {
5501
5944
  * GoneError
5502
5945
  */
5503
5946
  410: GoneError;
5947
+ /**
5948
+ * ContentTooLargeError
5949
+ */
5950
+ 413: ContentTooLargeError;
5504
5951
  /**
5505
5952
  * MisdirectedRequestError
5506
5953
  */
@@ -5610,6 +6057,10 @@ export type CostRatesDeleteOrgCostRateErrors = {
5610
6057
  * GoneError
5611
6058
  */
5612
6059
  410: GoneError;
6060
+ /**
6061
+ * ContentTooLargeError
6062
+ */
6063
+ 413: ContentTooLargeError;
5613
6064
  /**
5614
6065
  * MisdirectedRequestError
5615
6066
  */
@@ -5704,6 +6155,10 @@ export type CostRatesUpdateOrgCostRateErrors = {
5704
6155
  * GoneError
5705
6156
  */
5706
6157
  410: GoneError;
6158
+ /**
6159
+ * ContentTooLargeError
6160
+ */
6161
+ 413: ContentTooLargeError;
5707
6162
  /**
5708
6163
  * MisdirectedRequestError
5709
6164
  */
@@ -5785,8 +6240,8 @@ export type OrganizationsListOrganizationMembersData = {
5785
6240
  orgId: string;
5786
6241
  };
5787
6242
  query?: {
5788
- page?: string | string | null;
5789
- limit?: string | string | null;
6243
+ page?: number | null;
6244
+ limit?: number | null;
5790
6245
  search?: string | null;
5791
6246
  sortDir?: 'asc' | 'desc' | null;
5792
6247
  sortBy?: 'createdAt' | 'updatedAt' | 'userId' | 'roleId' | null;
@@ -5819,6 +6274,10 @@ export type OrganizationsListOrganizationMembersErrors = {
5819
6274
  * GoneError
5820
6275
  */
5821
6276
  410: GoneError;
6277
+ /**
6278
+ * ContentTooLargeError
6279
+ */
6280
+ 413: ContentTooLargeError;
5822
6281
  /**
5823
6282
  * MisdirectedRequestError
5824
6283
  */
@@ -5927,6 +6386,10 @@ export type OrganizationsRemoveOrganizationMemberErrors = {
5927
6386
  * GoneError
5928
6387
  */
5929
6388
  410: GoneError;
6389
+ /**
6390
+ * ContentTooLargeError
6391
+ */
6392
+ 413: ContentTooLargeError;
5930
6393
  /**
5931
6394
  * MisdirectedRequestError
5932
6395
  */
@@ -6020,6 +6483,10 @@ export type OrganizationsUpsertOrganizationMemberErrors = {
6020
6483
  * GoneError
6021
6484
  */
6022
6485
  410: GoneError;
6486
+ /**
6487
+ * ContentTooLargeError
6488
+ */
6489
+ 413: ContentTooLargeError;
6023
6490
  /**
6024
6491
  * MisdirectedRequestError
6025
6492
  */
@@ -6100,8 +6567,8 @@ export type RbacListPermissionsData = {
6100
6567
  orgId: string;
6101
6568
  };
6102
6569
  query?: {
6103
- page?: string | string | null;
6104
- limit?: string | string | null;
6570
+ page?: number | null;
6571
+ limit?: number | null;
6105
6572
  search?: string | null;
6106
6573
  sortDir?: 'asc' | 'desc' | null;
6107
6574
  sortBy?: 'createdAt' | 'updatedAt' | 'name' | 'slug' | null;
@@ -6133,6 +6600,10 @@ export type RbacListPermissionsErrors = {
6133
6600
  * GoneError
6134
6601
  */
6135
6602
  410: GoneError;
6603
+ /**
6604
+ * ContentTooLargeError
6605
+ */
6606
+ 413: ContentTooLargeError;
6136
6607
  /**
6137
6608
  * MisdirectedRequestError
6138
6609
  */
@@ -6203,8 +6674,8 @@ export type ProjectsListProjectsByOrgData = {
6203
6674
  orgId: string;
6204
6675
  };
6205
6676
  query?: {
6206
- page?: string | string | null;
6207
- limit?: string | string | null;
6677
+ page?: number | null;
6678
+ limit?: number | null;
6208
6679
  search?: string | null;
6209
6680
  sortDir?: 'asc' | 'desc' | null;
6210
6681
  status?: string | null;
@@ -6237,6 +6708,10 @@ export type ProjectsListProjectsByOrgErrors = {
6237
6708
  * GoneError
6238
6709
  */
6239
6710
  410: GoneError;
6711
+ /**
6712
+ * ContentTooLargeError
6713
+ */
6714
+ 413: ContentTooLargeError;
6240
6715
  /**
6241
6716
  * MisdirectedRequestError
6242
6717
  */
@@ -6341,6 +6816,10 @@ export type ProjectsCreateProjectByOrgErrors = {
6341
6816
  * GoneError
6342
6817
  */
6343
6818
  410: GoneError;
6819
+ /**
6820
+ * ContentTooLargeError
6821
+ */
6822
+ 413: ContentTooLargeError;
6344
6823
  /**
6345
6824
  * MisdirectedRequestError
6346
6825
  */
@@ -6413,8 +6892,8 @@ export type OrganizationsListProjectMembersForOrgData = {
6413
6892
  projectId: string;
6414
6893
  };
6415
6894
  query?: {
6416
- page?: string | string | null;
6417
- limit?: string | string | null;
6895
+ page?: number | null;
6896
+ limit?: number | null;
6418
6897
  search?: string | null;
6419
6898
  sortDir?: 'asc' | 'desc' | null;
6420
6899
  sortBy?: 'createdAt' | 'updatedAt' | 'userId' | 'roleId' | null;
@@ -6446,6 +6925,10 @@ export type OrganizationsListProjectMembersForOrgErrors = {
6446
6925
  * GoneError
6447
6926
  */
6448
6927
  410: GoneError;
6928
+ /**
6929
+ * ContentTooLargeError
6930
+ */
6931
+ 413: ContentTooLargeError;
6449
6932
  /**
6450
6933
  * MisdirectedRequestError
6451
6934
  */
@@ -6542,6 +7025,10 @@ export type OrganizationsRemoveProjectMemberForOrgErrors = {
6542
7025
  * GoneError
6543
7026
  */
6544
7027
  410: GoneError;
7028
+ /**
7029
+ * ContentTooLargeError
7030
+ */
7031
+ 413: ContentTooLargeError;
6545
7032
  /**
6546
7033
  * MisdirectedRequestError
6547
7034
  */
@@ -6636,6 +7123,10 @@ export type OrganizationsUpsertProjectMemberForOrgErrors = {
6636
7123
  * GoneError
6637
7124
  */
6638
7125
  410: GoneError;
7126
+ /**
7127
+ * ContentTooLargeError
7128
+ */
7129
+ 413: ContentTooLargeError;
6639
7130
  /**
6640
7131
  * MisdirectedRequestError
6641
7132
  */
@@ -6735,6 +7226,10 @@ export type RbacIntrospectEffectivePermissionsErrors = {
6735
7226
  * GoneError
6736
7227
  */
6737
7228
  410: GoneError;
7229
+ /**
7230
+ * ContentTooLargeError
7231
+ */
7232
+ 413: ContentTooLargeError;
6738
7233
  /**
6739
7234
  * MisdirectedRequestError
6740
7235
  */
@@ -6851,6 +7346,10 @@ export type RbacGetSelfEffectivePermissionsErrors = {
6851
7346
  * GoneError
6852
7347
  */
6853
7348
  410: GoneError;
7349
+ /**
7350
+ * ContentTooLargeError
7351
+ */
7352
+ 413: ContentTooLargeError;
6854
7353
  /**
6855
7354
  * MisdirectedRequestError
6856
7355
  */
@@ -6940,8 +7439,8 @@ export type RbacListRolesData = {
6940
7439
  orgId: string;
6941
7440
  };
6942
7441
  query?: {
6943
- page?: string | string | null;
6944
- limit?: string | string | null;
7442
+ page?: number | null;
7443
+ limit?: number | null;
6945
7444
  search?: string | null;
6946
7445
  sortDir?: 'asc' | 'desc' | null;
6947
7446
  sortBy?: 'createdAt' | 'updatedAt' | 'name' | 'slug' | null;
@@ -6974,6 +7473,10 @@ export type RbacListRolesErrors = {
6974
7473
  * GoneError
6975
7474
  */
6976
7475
  410: GoneError;
7476
+ /**
7477
+ * ContentTooLargeError
7478
+ */
7479
+ 413: ContentTooLargeError;
6977
7480
  /**
6978
7481
  * MisdirectedRequestError
6979
7482
  */
@@ -7078,6 +7581,10 @@ export type RbacCreateRoleErrors = {
7078
7581
  * GoneError
7079
7582
  */
7080
7583
  410: GoneError;
7584
+ /**
7585
+ * ContentTooLargeError
7586
+ */
7587
+ 413: ContentTooLargeError;
7081
7588
  /**
7082
7589
  * MisdirectedRequestError
7083
7590
  */
@@ -7178,6 +7685,10 @@ export type RbacDeleteRoleErrors = {
7178
7685
  * GoneError
7179
7686
  */
7180
7687
  410: GoneError;
7688
+ /**
7689
+ * ContentTooLargeError
7690
+ */
7691
+ 413: ContentTooLargeError;
7181
7692
  /**
7182
7693
  * MisdirectedRequestError
7183
7694
  */
@@ -7272,6 +7783,10 @@ export type RbacUpdateRoleErrors = {
7272
7783
  * GoneError
7273
7784
  */
7274
7785
  410: GoneError;
7786
+ /**
7787
+ * ContentTooLargeError
7788
+ */
7789
+ 413: ContentTooLargeError;
7275
7790
  /**
7276
7791
  * MisdirectedRequestError
7277
7792
  */
@@ -7374,6 +7889,10 @@ export type RbacSetRolePermissionsErrors = {
7374
7889
  * GoneError
7375
7890
  */
7376
7891
  410: GoneError;
7892
+ /**
7893
+ * ContentTooLargeError
7894
+ */
7895
+ 413: ContentTooLargeError;
7377
7896
  /**
7378
7897
  * MisdirectedRequestError
7379
7898
  */
@@ -7476,6 +7995,10 @@ export type RbacSetUserPermissionOverridesErrors = {
7476
7995
  * GoneError
7477
7996
  */
7478
7997
  410: GoneError;
7998
+ /**
7999
+ * ContentTooLargeError
8000
+ */
8001
+ 413: ContentTooLargeError;
7479
8002
  /**
7480
8003
  * MisdirectedRequestError
7481
8004
  */
@@ -7548,8 +8071,8 @@ export type WorkspacesListWorkspacesData = {
7548
8071
  orgId: string;
7549
8072
  };
7550
8073
  query?: {
7551
- page?: string | string | null;
7552
- limit?: string | string | null;
8074
+ page?: number | null;
8075
+ limit?: number | null;
7553
8076
  search?: string | null;
7554
8077
  sortDir?: 'asc' | 'desc' | null;
7555
8078
  status?: string | null;
@@ -7582,6 +8105,10 @@ export type WorkspacesListWorkspacesErrors = {
7582
8105
  * GoneError
7583
8106
  */
7584
8107
  410: GoneError;
8108
+ /**
8109
+ * ContentTooLargeError
8110
+ */
8111
+ 413: ContentTooLargeError;
7585
8112
  /**
7586
8113
  * MisdirectedRequestError
7587
8114
  */
@@ -7682,6 +8209,10 @@ export type WorkspacesCreateWorkspaceErrors = {
7682
8209
  * GoneError
7683
8210
  */
7684
8211
  410: GoneError;
8212
+ /**
8213
+ * ContentTooLargeError
8214
+ */
8215
+ 413: ContentTooLargeError;
7685
8216
  /**
7686
8217
  * MisdirectedRequestError
7687
8218
  */
@@ -7780,6 +8311,10 @@ export type WorkspacesDeleteWorkspaceErrors = {
7780
8311
  * GoneError
7781
8312
  */
7782
8313
  410: GoneError;
8314
+ /**
8315
+ * ContentTooLargeError
8316
+ */
8317
+ 413: ContentTooLargeError;
7783
8318
  /**
7784
8319
  * MisdirectedRequestError
7785
8320
  */
@@ -7878,6 +8413,10 @@ export type WorkspacesGetWorkspaceErrors = {
7878
8413
  * GoneError
7879
8414
  */
7880
8415
  410: GoneError;
8416
+ /**
8417
+ * ContentTooLargeError
8418
+ */
8419
+ 413: ContentTooLargeError;
7881
8420
  /**
7882
8421
  * MisdirectedRequestError
7883
8422
  */
@@ -7981,6 +8520,10 @@ export type WorkspacesUpdateWorkspaceErrors = {
7981
8520
  * GoneError
7982
8521
  */
7983
8522
  410: GoneError;
8523
+ /**
8524
+ * ContentTooLargeError
8525
+ */
8526
+ 413: ContentTooLargeError;
7984
8527
  /**
7985
8528
  * MisdirectedRequestError
7986
8529
  */
@@ -8079,6 +8622,10 @@ export type WorkspacesGetWorkspaceDeletionSummaryErrors = {
8079
8622
  * GoneError
8080
8623
  */
8081
8624
  410: GoneError;
8625
+ /**
8626
+ * ContentTooLargeError
8627
+ */
8628
+ 413: ContentTooLargeError;
8082
8629
  /**
8083
8630
  * MisdirectedRequestError
8084
8631
  */
@@ -8152,8 +8699,8 @@ export type CostRatesListWorkspaceCostRatesData = {
8152
8699
  model?: string | null;
8153
8700
  tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
8154
8701
  asOf?: string | null;
8155
- page?: string | null;
8156
- limit?: string | null;
8702
+ page?: number | null;
8703
+ limit?: number | null;
8157
8704
  includeDeleted?: 'true' | 'false' | null;
8158
8705
  };
8159
8706
  url: '/v1/orgs/{orgId}/workspaces/{workspaceId}/llm-cost-rates';
@@ -8183,6 +8730,10 @@ export type CostRatesListWorkspaceCostRatesErrors = {
8183
8730
  * GoneError
8184
8731
  */
8185
8732
  410: GoneError;
8733
+ /**
8734
+ * ContentTooLargeError
8735
+ */
8736
+ 413: ContentTooLargeError;
8186
8737
  /**
8187
8738
  * MisdirectedRequestError
8188
8739
  */
@@ -8305,6 +8856,10 @@ export type CostRatesCreateWorkspaceCostRateErrors = {
8305
8856
  * GoneError
8306
8857
  */
8307
8858
  410: GoneError;
8859
+ /**
8860
+ * ContentTooLargeError
8861
+ */
8862
+ 413: ContentTooLargeError;
8308
8863
  /**
8309
8864
  * MisdirectedRequestError
8310
8865
  */
@@ -8415,6 +8970,10 @@ export type CostRatesDeleteWorkspaceCostRateErrors = {
8415
8970
  * GoneError
8416
8971
  */
8417
8972
  410: GoneError;
8973
+ /**
8974
+ * ContentTooLargeError
8975
+ */
8976
+ 413: ContentTooLargeError;
8418
8977
  /**
8419
8978
  * MisdirectedRequestError
8420
8979
  */
@@ -8510,6 +9069,10 @@ export type CostRatesUpdateWorkspaceCostRateErrors = {
8510
9069
  * GoneError
8511
9070
  */
8512
9071
  410: GoneError;
9072
+ /**
9073
+ * ContentTooLargeError
9074
+ */
9075
+ 413: ContentTooLargeError;
8513
9076
  /**
8514
9077
  * MisdirectedRequestError
8515
9078
  */
@@ -8592,8 +9155,8 @@ export type WorkspacesListWorkspaceMembersData = {
8592
9155
  workspaceId: string;
8593
9156
  };
8594
9157
  query?: {
8595
- page?: string | string | null;
8596
- limit?: string | string | null;
9158
+ page?: number | null;
9159
+ limit?: number | null;
8597
9160
  search?: string | null;
8598
9161
  sortDir?: 'asc' | 'desc' | null;
8599
9162
  sortBy?: 'createdAt' | 'updatedAt' | 'userId' | 'workspaceRoleId' | null;
@@ -8625,6 +9188,10 @@ export type WorkspacesListWorkspaceMembersErrors = {
8625
9188
  * GoneError
8626
9189
  */
8627
9190
  410: GoneError;
9191
+ /**
9192
+ * ContentTooLargeError
9193
+ */
9194
+ 413: ContentTooLargeError;
8628
9195
  /**
8629
9196
  * MisdirectedRequestError
8630
9197
  */
@@ -8721,6 +9288,10 @@ export type WorkspacesRemoveWorkspaceMemberErrors = {
8721
9288
  * GoneError
8722
9289
  */
8723
9290
  410: GoneError;
9291
+ /**
9292
+ * ContentTooLargeError
9293
+ */
9294
+ 413: ContentTooLargeError;
8724
9295
  /**
8725
9296
  * MisdirectedRequestError
8726
9297
  */
@@ -8815,6 +9386,10 @@ export type WorkspacesUpsertWorkspaceMemberErrors = {
8815
9386
  * GoneError
8816
9387
  */
8817
9388
  410: GoneError;
9389
+ /**
9390
+ * ContentTooLargeError
9391
+ */
9392
+ 413: ContentTooLargeError;
8818
9393
  /**
8819
9394
  * MisdirectedRequestError
8820
9395
  */
@@ -8909,6 +9484,10 @@ export type AuthLookupPrincipalsBatchErrors = {
8909
9484
  * GoneError
8910
9485
  */
8911
9486
  410: GoneError;
9487
+ /**
9488
+ * ContentTooLargeError
9489
+ */
9490
+ 413: ContentTooLargeError;
8912
9491
  /**
8913
9492
  * MisdirectedRequestError
8914
9493
  */
@@ -9014,6 +9593,10 @@ export type ProjectsDeleteProjectErrors = {
9014
9593
  * GoneError
9015
9594
  */
9016
9595
  410: GoneError;
9596
+ /**
9597
+ * ContentTooLargeError
9598
+ */
9599
+ 413: ContentTooLargeError;
9017
9600
  /**
9018
9601
  * MisdirectedRequestError
9019
9602
  */
@@ -9112,6 +9695,10 @@ export type ProjectsGetProjectErrors = {
9112
9695
  * GoneError
9113
9696
  */
9114
9697
  410: GoneError;
9698
+ /**
9699
+ * ContentTooLargeError
9700
+ */
9701
+ 413: ContentTooLargeError;
9115
9702
  /**
9116
9703
  * MisdirectedRequestError
9117
9704
  */
@@ -9214,6 +9801,10 @@ export type ProjectsUpdateProjectErrors = {
9214
9801
  * GoneError
9215
9802
  */
9216
9803
  410: GoneError;
9804
+ /**
9805
+ * ContentTooLargeError
9806
+ */
9807
+ 413: ContentTooLargeError;
9217
9808
  /**
9218
9809
  * MisdirectedRequestError
9219
9810
  */
@@ -9324,6 +9915,10 @@ export type ProjectAuditListProjectAuditEventsErrors = {
9324
9915
  * GoneError
9325
9916
  */
9326
9917
  410: GoneError;
9918
+ /**
9919
+ * ContentTooLargeError
9920
+ */
9921
+ 413: ContentTooLargeError;
9327
9922
  /**
9328
9923
  * MisdirectedRequestError
9329
9924
  */
@@ -9450,6 +10045,10 @@ export type ProjectAuditExportExportProjectAuditEventsErrors = {
9450
10045
  * GoneError
9451
10046
  */
9452
10047
  410: GoneError;
10048
+ /**
10049
+ * ContentTooLargeError
10050
+ */
10051
+ 413: ContentTooLargeError;
9453
10052
  /**
9454
10053
  * MisdirectedRequestError
9455
10054
  */
@@ -9549,6 +10148,10 @@ export type CredentialsDirectoryListProjectCredentialsDirectoryErrors = {
9549
10148
  * GoneError
9550
10149
  */
9551
10150
  410: GoneError;
10151
+ /**
10152
+ * ContentTooLargeError
10153
+ */
10154
+ 413: ContentTooLargeError;
9552
10155
  /**
9553
10156
  * MisdirectedRequestError
9554
10157
  */
@@ -9679,6 +10282,10 @@ export type CredentialAuditGetCredentialAuditErrors = {
9679
10282
  * GoneError
9680
10283
  */
9681
10284
  410: GoneError;
10285
+ /**
10286
+ * ContentTooLargeError
10287
+ */
10288
+ 413: ContentTooLargeError;
9682
10289
  /**
9683
10290
  * MisdirectedRequestError
9684
10291
  */
@@ -9787,6 +10394,10 @@ export type CredentialLineageGetCredentialLineageErrors = {
9787
10394
  * GoneError
9788
10395
  */
9789
10396
  410: GoneError;
10397
+ /**
10398
+ * ContentTooLargeError
10399
+ */
10400
+ 413: ContentTooLargeError;
9790
10401
  /**
9791
10402
  * MisdirectedRequestError
9792
10403
  */
@@ -9898,6 +10509,10 @@ export type DashboardingGetProjectPersesLaunchErrors = {
9898
10509
  * GoneError
9899
10510
  */
9900
10511
  410: GoneError;
10512
+ /**
10513
+ * ContentTooLargeError
10514
+ */
10515
+ 413: ContentTooLargeError;
9901
10516
  /**
9902
10517
  * MisdirectedRequestError
9903
10518
  */
@@ -9990,6 +10605,10 @@ export type DashboardingSyncProjectPersesErrors = {
9990
10605
  * GoneError
9991
10606
  */
9992
10607
  410: GoneError;
10608
+ /**
10609
+ * ContentTooLargeError
10610
+ */
10611
+ 413: ContentTooLargeError;
9993
10612
  /**
9994
10613
  * MisdirectedRequestError
9995
10614
  */
@@ -10084,6 +10703,10 @@ export type ProjectsGetProjectDeletionSummaryErrors = {
10084
10703
  * GoneError
10085
10704
  */
10086
10705
  410: GoneError;
10706
+ /**
10707
+ * ContentTooLargeError
10708
+ */
10709
+ 413: ContentTooLargeError;
10087
10710
  /**
10088
10711
  * MisdirectedRequestError
10089
10712
  */
@@ -10151,6 +10774,8 @@ export type ProjectEnvironmentsListProjectEnvironmentsData = {
10151
10774
  };
10152
10775
  query?: {
10153
10776
  includeArchived?: 'true' | 'false' | null;
10777
+ page?: number | null;
10778
+ limit?: number | null;
10154
10779
  };
10155
10780
  url: '/v1/projects/{projectId}/environments';
10156
10781
  };
@@ -10179,6 +10804,10 @@ export type ProjectEnvironmentsListProjectEnvironmentsErrors = {
10179
10804
  * GoneError
10180
10805
  */
10181
10806
  410: GoneError;
10807
+ /**
10808
+ * ContentTooLargeError
10809
+ */
10810
+ 413: ContentTooLargeError;
10182
10811
  /**
10183
10812
  * MisdirectedRequestError
10184
10813
  */
@@ -10278,6 +10907,10 @@ export type ProjectEnvironmentsCreateProjectEnvironmentErrors = {
10278
10907
  * GoneError
10279
10908
  */
10280
10909
  410: GoneError;
10910
+ /**
10911
+ * ContentTooLargeError
10912
+ */
10913
+ 413: ContentTooLargeError;
10281
10914
  /**
10282
10915
  * MisdirectedRequestError
10283
10916
  */
@@ -10367,6 +11000,10 @@ export type PromptsGetPromptEnvPolicyErrors = {
10367
11000
  * GoneError
10368
11001
  */
10369
11002
  410: GoneError;
11003
+ /**
11004
+ * ContentTooLargeError
11005
+ */
11006
+ 413: ContentTooLargeError;
10370
11007
  /**
10371
11008
  * MisdirectedRequestError
10372
11009
  */
@@ -10481,6 +11118,10 @@ export type PromptsUpsertPromptEnvPolicyErrors = {
10481
11118
  * GoneError
10482
11119
  */
10483
11120
  410: GoneError;
11121
+ /**
11122
+ * ContentTooLargeError
11123
+ */
11124
+ 413: ContentTooLargeError;
10484
11125
  /**
10485
11126
  * MisdirectedRequestError
10486
11127
  */
@@ -10590,6 +11231,10 @@ export type SnapshotGetProjectSnapshotAtTimeErrors = {
10590
11231
  * GoneError
10591
11232
  */
10592
11233
  410: GoneError;
11234
+ /**
11235
+ * ContentTooLargeError
11236
+ */
11237
+ 413: ContentTooLargeError;
10593
11238
  /**
10594
11239
  * MisdirectedRequestError
10595
11240
  */
@@ -10708,6 +11353,10 @@ export type ProjectEnvironmentsUpdateProjectEnvironmentErrors = {
10708
11353
  * GoneError
10709
11354
  */
10710
11355
  410: GoneError;
11356
+ /**
11357
+ * ContentTooLargeError
11358
+ */
11359
+ 413: ContentTooLargeError;
10711
11360
  /**
10712
11361
  * MisdirectedRequestError
10713
11362
  */
@@ -10797,6 +11446,10 @@ export type ProjectEnvironmentsGetProjectEnvironmentErrors = {
10797
11446
  * GoneError
10798
11447
  */
10799
11448
  410: GoneError;
11449
+ /**
11450
+ * ContentTooLargeError
11451
+ */
11452
+ 413: ContentTooLargeError;
10800
11453
  /**
10801
11454
  * MisdirectedRequestError
10802
11455
  */
@@ -10886,6 +11539,10 @@ export type ProjectEnvironmentsArchiveProjectEnvironmentErrors = {
10886
11539
  * GoneError
10887
11540
  */
10888
11541
  410: GoneError;
11542
+ /**
11543
+ * ContentTooLargeError
11544
+ */
11545
+ 413: ContentTooLargeError;
10889
11546
  /**
10890
11547
  * MisdirectedRequestError
10891
11548
  */
@@ -10975,6 +11632,10 @@ export type ProjectEnvironmentsRestoreProjectEnvironmentErrors = {
10975
11632
  * GoneError
10976
11633
  */
10977
11634
  410: GoneError;
11635
+ /**
11636
+ * ContentTooLargeError
11637
+ */
11638
+ 413: ContentTooLargeError;
10978
11639
  /**
10979
11640
  * MisdirectedRequestError
10980
11641
  */
@@ -11035,7 +11696,10 @@ export type ApiKeysListApiKeysProjectData = {
11035
11696
  path: {
11036
11697
  projectId: string;
11037
11698
  };
11038
- query?: never;
11699
+ query?: {
11700
+ page?: number | null;
11701
+ limit?: number | null;
11702
+ };
11039
11703
  url: '/v1/projects/{projectId}/keys';
11040
11704
  };
11041
11705
  export type ApiKeysListApiKeysProjectErrors = {
@@ -11063,6 +11727,10 @@ export type ApiKeysListApiKeysProjectErrors = {
11063
11727
  * GoneError
11064
11728
  */
11065
11729
  410: GoneError;
11730
+ /**
11731
+ * ContentTooLargeError
11732
+ */
11733
+ 413: ContentTooLargeError;
11066
11734
  /**
11067
11735
  * MisdirectedRequestError
11068
11736
  */
@@ -11091,19 +11759,17 @@ export type ApiKeysListApiKeysProjectResponses = {
11091
11759
  */
11092
11760
  200: {
11093
11761
  code: number;
11094
- data: {
11095
- keys: Array<{
11096
- createdAt: string;
11097
- environment: 'live' | 'test';
11098
- expiresAt: string;
11099
- id: string;
11100
- key: string;
11101
- orgId: string | null;
11102
- projectId: string | null;
11103
- revokedAt: string | null;
11104
- scopes: Array<string>;
11105
- }>;
11106
- } | null;
11762
+ data: Array<{
11763
+ createdAt: string;
11764
+ environment: 'live' | 'test';
11765
+ expiresAt: string;
11766
+ id: string;
11767
+ key: string;
11768
+ orgId: string | null;
11769
+ projectId: string | null;
11770
+ revokedAt: string | null;
11771
+ scopes: Array<string>;
11772
+ }> | null;
11107
11773
  error: {
11108
11774
  code: string;
11109
11775
  details?: unknown | null;
@@ -11169,6 +11835,10 @@ export type ApiKeysCreateApiKeyProjectErrors = {
11169
11835
  * GoneError
11170
11836
  */
11171
11837
  410: GoneError;
11838
+ /**
11839
+ * ContentTooLargeError
11840
+ */
11841
+ 413: ContentTooLargeError;
11172
11842
  /**
11173
11843
  * MisdirectedRequestError
11174
11844
  */
@@ -11274,6 +11944,10 @@ export type ApiKeysRevokeApiKeyProjectErrors = {
11274
11944
  * GoneError
11275
11945
  */
11276
11946
  410: GoneError;
11947
+ /**
11948
+ * ContentTooLargeError
11949
+ */
11950
+ 413: ContentTooLargeError;
11277
11951
  /**
11278
11952
  * MisdirectedRequestError
11279
11953
  */
@@ -11371,6 +12045,10 @@ export type PromptsListPromptLabelEventsByProjectErrors = {
11371
12045
  * GoneError
11372
12046
  */
11373
12047
  410: GoneError;
12048
+ /**
12049
+ * ContentTooLargeError
12050
+ */
12051
+ 413: ContentTooLargeError;
11374
12052
  /**
11375
12053
  * MisdirectedRequestError
11376
12054
  */
@@ -11444,8 +12122,8 @@ export type CostRatesListProjectCostRatesData = {
11444
12122
  model?: string | null;
11445
12123
  tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
11446
12124
  asOf?: string | null;
11447
- page?: string | null;
11448
- limit?: string | null;
12125
+ page?: number | null;
12126
+ limit?: number | null;
11449
12127
  includeDeleted?: 'true' | 'false' | null;
11450
12128
  };
11451
12129
  url: '/v1/projects/{projectId}/llm-cost-rates';
@@ -11475,6 +12153,10 @@ export type CostRatesListProjectCostRatesErrors = {
11475
12153
  * GoneError
11476
12154
  */
11477
12155
  410: GoneError;
12156
+ /**
12157
+ * ContentTooLargeError
12158
+ */
12159
+ 413: ContentTooLargeError;
11478
12160
  /**
11479
12161
  * MisdirectedRequestError
11480
12162
  */
@@ -11596,6 +12278,10 @@ export type CostRatesCreateProjectCostRateErrors = {
11596
12278
  * GoneError
11597
12279
  */
11598
12280
  410: GoneError;
12281
+ /**
12282
+ * ContentTooLargeError
12283
+ */
12284
+ 413: ContentTooLargeError;
11599
12285
  /**
11600
12286
  * MisdirectedRequestError
11601
12287
  */
@@ -11680,6 +12366,8 @@ export type CostRatesGetEffectiveCostRatesData = {
11680
12366
  provider?: string | null;
11681
12367
  model?: string | null;
11682
12368
  asOf?: string | null;
12369
+ page?: number | null;
12370
+ limit?: number | null;
11683
12371
  };
11684
12372
  url: '/v1/projects/{projectId}/llm-cost-rates/effective';
11685
12373
  };
@@ -11708,6 +12396,10 @@ export type CostRatesGetEffectiveCostRatesErrors = {
11708
12396
  * GoneError
11709
12397
  */
11710
12398
  410: GoneError;
12399
+ /**
12400
+ * ContentTooLargeError
12401
+ */
12402
+ 413: ContentTooLargeError;
11711
12403
  /**
11712
12404
  * MisdirectedRequestError
11713
12405
  */
@@ -11810,6 +12502,10 @@ export type CostRatesDeleteProjectCostRateErrors = {
11810
12502
  * GoneError
11811
12503
  */
11812
12504
  410: GoneError;
12505
+ /**
12506
+ * ContentTooLargeError
12507
+ */
12508
+ 413: ContentTooLargeError;
11813
12509
  /**
11814
12510
  * MisdirectedRequestError
11815
12511
  */
@@ -11904,6 +12600,10 @@ export type CostRatesUpdateProjectCostRateErrors = {
11904
12600
  * GoneError
11905
12601
  */
11906
12602
  410: GoneError;
12603
+ /**
12604
+ * ContentTooLargeError
12605
+ */
12606
+ 413: ContentTooLargeError;
11907
12607
  /**
11908
12608
  * MisdirectedRequestError
11909
12609
  */
@@ -11985,8 +12685,8 @@ export type ProjectsListProjectMembersData = {
11985
12685
  projectId: string;
11986
12686
  };
11987
12687
  query?: {
11988
- page?: string | string | null;
11989
- limit?: string | string | null;
12688
+ page?: number | null;
12689
+ limit?: number | null;
11990
12690
  search?: string | null;
11991
12691
  sortDir?: 'asc' | 'desc' | null;
11992
12692
  sortBy?: 'createdAt' | 'updatedAt' | 'userId' | 'roleId' | null;
@@ -12018,6 +12718,10 @@ export type ProjectsListProjectMembersErrors = {
12018
12718
  * GoneError
12019
12719
  */
12020
12720
  410: GoneError;
12721
+ /**
12722
+ * ContentTooLargeError
12723
+ */
12724
+ 413: ContentTooLargeError;
12021
12725
  /**
12022
12726
  * MisdirectedRequestError
12023
12727
  */
@@ -12113,6 +12817,10 @@ export type ProjectsRemoveProjectMemberErrors = {
12113
12817
  * GoneError
12114
12818
  */
12115
12819
  410: GoneError;
12820
+ /**
12821
+ * ContentTooLargeError
12822
+ */
12823
+ 413: ContentTooLargeError;
12116
12824
  /**
12117
12825
  * MisdirectedRequestError
12118
12826
  */
@@ -12206,6 +12914,10 @@ export type ProjectsUpsertProjectMemberErrors = {
12206
12914
  * GoneError
12207
12915
  */
12208
12916
  410: GoneError;
12917
+ /**
12918
+ * ContentTooLargeError
12919
+ */
12920
+ 413: ContentTooLargeError;
12209
12921
  /**
12210
12922
  * MisdirectedRequestError
12211
12923
  */
@@ -12304,6 +13016,10 @@ export type ProjectOverviewGetProjectOverviewErrors = {
12304
13016
  * GoneError
12305
13017
  */
12306
13018
  410: GoneError;
13019
+ /**
13020
+ * ContentTooLargeError
13021
+ */
13022
+ 413: ContentTooLargeError;
12307
13023
  /**
12308
13024
  * MisdirectedRequestError
12309
13025
  */
@@ -12649,6 +13365,8 @@ export type PromptsListProjectLabelsData = {
12649
13365
  };
12650
13366
  query?: {
12651
13367
  includeArchived?: 'true' | 'false' | null;
13368
+ page?: number | null;
13369
+ limit?: number | null;
12652
13370
  };
12653
13371
  url: '/v1/projects/{projectId}/prompt-labels';
12654
13372
  };
@@ -12677,6 +13395,10 @@ export type PromptsListProjectLabelsErrors = {
12677
13395
  * GoneError
12678
13396
  */
12679
13397
  410: GoneError;
13398
+ /**
13399
+ * ContentTooLargeError
13400
+ */
13401
+ 413: ContentTooLargeError;
12680
13402
  /**
12681
13403
  * MisdirectedRequestError
12682
13404
  */
@@ -12770,6 +13492,10 @@ export type PromptsCreateProjectLabelErrors = {
12770
13492
  * GoneError
12771
13493
  */
12772
13494
  410: GoneError;
13495
+ /**
13496
+ * ContentTooLargeError
13497
+ */
13498
+ 413: ContentTooLargeError;
12773
13499
  /**
12774
13500
  * MisdirectedRequestError
12775
13501
  */
@@ -12859,6 +13585,10 @@ export type PromptsArchiveProjectLabelErrors = {
12859
13585
  * GoneError
12860
13586
  */
12861
13587
  410: GoneError;
13588
+ /**
13589
+ * ContentTooLargeError
13590
+ */
13591
+ 413: ContentTooLargeError;
12862
13592
  /**
12863
13593
  * MisdirectedRequestError
12864
13594
  */
@@ -12948,6 +13678,10 @@ export type PromptsGetProjectLabelErrors = {
12948
13678
  * GoneError
12949
13679
  */
12950
13680
  410: GoneError;
13681
+ /**
13682
+ * ContentTooLargeError
13683
+ */
13684
+ 413: ContentTooLargeError;
12951
13685
  /**
12952
13686
  * MisdirectedRequestError
12953
13687
  */
@@ -13041,6 +13775,10 @@ export type PromptsUpdateProjectLabelErrors = {
13041
13775
  * GoneError
13042
13776
  */
13043
13777
  410: GoneError;
13778
+ /**
13779
+ * ContentTooLargeError
13780
+ */
13781
+ 413: ContentTooLargeError;
13044
13782
  /**
13045
13783
  * MisdirectedRequestError
13046
13784
  */
@@ -13102,7 +13840,10 @@ export type PromptsListProjectLabelUsagesData = {
13102
13840
  projectId: string;
13103
13841
  label: string;
13104
13842
  };
13105
- query?: never;
13843
+ query?: {
13844
+ page?: number | null;
13845
+ limit?: number | null;
13846
+ };
13106
13847
  url: '/v1/projects/{projectId}/prompt-labels/{label}/usages';
13107
13848
  };
13108
13849
  export type PromptsListProjectLabelUsagesErrors = {
@@ -13130,6 +13871,10 @@ export type PromptsListProjectLabelUsagesErrors = {
13130
13871
  * GoneError
13131
13872
  */
13132
13873
  410: GoneError;
13874
+ /**
13875
+ * ContentTooLargeError
13876
+ */
13877
+ 413: ContentTooLargeError;
13133
13878
  /**
13134
13879
  * MisdirectedRequestError
13135
13880
  */
@@ -13191,8 +13936,8 @@ export type PromptsListPromptsData = {
13191
13936
  projectId: string;
13192
13937
  };
13193
13938
  query?: {
13194
- page?: string | string | null;
13195
- limit?: string | string | null;
13939
+ page?: number | null;
13940
+ limit?: number | null;
13196
13941
  search?: string | null;
13197
13942
  sortDir?: 'asc' | 'desc' | null;
13198
13943
  status?: string | null;
@@ -13227,6 +13972,10 @@ export type PromptsListPromptsErrors = {
13227
13972
  * GoneError
13228
13973
  */
13229
13974
  410: GoneError;
13975
+ /**
13976
+ * ContentTooLargeError
13977
+ */
13978
+ 413: ContentTooLargeError;
13230
13979
  /**
13231
13980
  * MisdirectedRequestError
13232
13981
  */
@@ -13277,7 +14026,7 @@ export type PromptsListPromptsResponses = {
13277
14026
  name: string;
13278
14027
  projectId: string;
13279
14028
  slug: string;
13280
- status: 'active' | 'draft' | 'archived';
14029
+ status: 'active' | 'archived';
13281
14030
  tags: Array<string>;
13282
14031
  updatedAt: string;
13283
14032
  }> | null;
@@ -13312,7 +14061,6 @@ export type PromptsCreatePromptData = {
13312
14061
  description?: string | null;
13313
14062
  name: string;
13314
14063
  slug: string;
13315
- status?: 'active' | 'draft' | null;
13316
14064
  tags?: Array<string> | null;
13317
14065
  };
13318
14066
  path: {
@@ -13345,7 +14093,11 @@ export type PromptsCreatePromptErrors = {
13345
14093
  /**
13346
14094
  * GoneError
13347
14095
  */
13348
- 410: GoneError;
14096
+ 410: GoneError;
14097
+ /**
14098
+ * ContentTooLargeError
14099
+ */
14100
+ 413: ContentTooLargeError;
13349
14101
  /**
13350
14102
  * MisdirectedRequestError
13351
14103
  */
@@ -13405,12 +14157,6 @@ export type PromptsBulkPromptsData = {
13405
14157
  body: {
13406
14158
  action: 'archive' | 'restore';
13407
14159
  promptIds: Array<string>;
13408
- } | {
13409
- action: 'setStatus';
13410
- payload: {
13411
- status: 'active' | 'draft';
13412
- };
13413
- promptIds: Array<string>;
13414
14160
  };
13415
14161
  path: {
13416
14162
  projectId: string;
@@ -13443,6 +14189,10 @@ export type PromptsBulkPromptsErrors = {
13443
14189
  * GoneError
13444
14190
  */
13445
14191
  410: GoneError;
14192
+ /**
14193
+ * ContentTooLargeError
14194
+ */
14195
+ 413: ContentTooLargeError;
13446
14196
  /**
13447
14197
  * MisdirectedRequestError
13448
14198
  */
@@ -13545,6 +14295,10 @@ export type PromptsGetPromptDirectorySummaryErrors = {
13545
14295
  * GoneError
13546
14296
  */
13547
14297
  410: GoneError;
14298
+ /**
14299
+ * ContentTooLargeError
14300
+ */
14301
+ 413: ContentTooLargeError;
13548
14302
  /**
13549
14303
  * MisdirectedRequestError
13550
14304
  */
@@ -13584,7 +14338,6 @@ export type PromptsGetPromptDirectorySummaryResponses = {
13584
14338
  } | null;
13585
14339
  prompts: {
13586
14340
  archived: number;
13587
- draft: number;
13588
14341
  published: number;
13589
14342
  total: number;
13590
14343
  };
@@ -13653,6 +14406,10 @@ export type PromptsArchivePromptErrors = {
13653
14406
  * GoneError
13654
14407
  */
13655
14408
  410: GoneError;
14409
+ /**
14410
+ * ContentTooLargeError
14411
+ */
14412
+ 413: ContentTooLargeError;
13656
14413
  /**
13657
14414
  * MisdirectedRequestError
13658
14415
  */
@@ -13742,6 +14499,10 @@ export type PromptsGetPromptErrors = {
13742
14499
  * GoneError
13743
14500
  */
13744
14501
  410: GoneError;
14502
+ /**
14503
+ * ContentTooLargeError
14504
+ */
14505
+ 413: ContentTooLargeError;
13745
14506
  /**
13746
14507
  * MisdirectedRequestError
13747
14508
  */
@@ -13801,7 +14562,7 @@ export type PromptsUpdatePromptData = {
13801
14562
  body: {
13802
14563
  description?: string | null | null;
13803
14564
  name?: string | null;
13804
- status?: 'active' | 'draft' | 'archived' | null;
14565
+ status?: 'active' | 'archived' | null;
13805
14566
  tags?: Array<string> | null;
13806
14567
  };
13807
14568
  path: {
@@ -13836,6 +14597,10 @@ export type PromptsUpdatePromptErrors = {
13836
14597
  * GoneError
13837
14598
  */
13838
14599
  410: GoneError;
14600
+ /**
14601
+ * ContentTooLargeError
14602
+ */
14603
+ 413: ContentTooLargeError;
13839
14604
  /**
13840
14605
  * MisdirectedRequestError
13841
14606
  */
@@ -13932,6 +14697,10 @@ export type PromptsListPromptLabelEventsByPromptErrors = {
13932
14697
  * GoneError
13933
14698
  */
13934
14699
  410: GoneError;
14700
+ /**
14701
+ * ContentTooLargeError
14702
+ */
14703
+ 413: ContentTooLargeError;
13935
14704
  /**
13936
14705
  * MisdirectedRequestError
13937
14706
  */
@@ -14003,6 +14772,8 @@ export type PromptsListPromptLabelsData = {
14003
14772
  };
14004
14773
  query?: {
14005
14774
  asOf?: string | null;
14775
+ page?: number | null;
14776
+ limit?: number | null;
14006
14777
  };
14007
14778
  url: '/v1/projects/{projectId}/prompts/{promptId}/labels';
14008
14779
  };
@@ -14031,6 +14802,10 @@ export type PromptsListPromptLabelsErrors = {
14031
14802
  * GoneError
14032
14803
  */
14033
14804
  410: GoneError;
14805
+ /**
14806
+ * ContentTooLargeError
14807
+ */
14808
+ 413: ContentTooLargeError;
14034
14809
  /**
14035
14810
  * MisdirectedRequestError
14036
14811
  */
@@ -14124,6 +14899,10 @@ export type PromptsMovePromptLabelErrors = {
14124
14899
  * GoneError
14125
14900
  */
14126
14901
  410: GoneError;
14902
+ /**
14903
+ * ContentTooLargeError
14904
+ */
14905
+ 413: ContentTooLargeError;
14127
14906
  /**
14128
14907
  * MisdirectedRequestError
14129
14908
  */
@@ -14221,6 +15000,10 @@ export type PromptsListPromptLabelEventsByLabelErrors = {
14221
15000
  * GoneError
14222
15001
  */
14223
15002
  410: GoneError;
15003
+ /**
15004
+ * ContentTooLargeError
15005
+ */
15006
+ 413: ContentTooLargeError;
14224
15007
  /**
14225
15008
  * MisdirectedRequestError
14226
15009
  */
@@ -14326,6 +15109,10 @@ export type PromptsSetWeightedReleaseErrors = {
14326
15109
  * GoneError
14327
15110
  */
14328
15111
  410: GoneError;
15112
+ /**
15113
+ * ContentTooLargeError
15114
+ */
15115
+ 413: ContentTooLargeError;
14329
15116
  /**
14330
15117
  * MisdirectedRequestError
14331
15118
  */
@@ -14417,6 +15204,10 @@ export type PromptMetricsGetPromptRequestMetricsErrors = {
14417
15204
  * GoneError
14418
15205
  */
14419
15206
  410: GoneError;
15207
+ /**
15208
+ * ContentTooLargeError
15209
+ */
15210
+ 413: ContentTooLargeError;
14420
15211
  /**
14421
15212
  * MisdirectedRequestError
14422
15213
  */
@@ -14489,7 +15280,10 @@ export type PromptsListPromptVersionsData = {
14489
15280
  projectId: string;
14490
15281
  promptId: string;
14491
15282
  };
14492
- query?: never;
15283
+ query?: {
15284
+ page?: number | null;
15285
+ limit?: number | null;
15286
+ };
14493
15287
  url: '/v1/projects/{projectId}/prompts/{promptId}/versions';
14494
15288
  };
14495
15289
  export type PromptsListPromptVersionsErrors = {
@@ -14517,6 +15311,10 @@ export type PromptsListPromptVersionsErrors = {
14517
15311
  * GoneError
14518
15312
  */
14519
15313
  410: GoneError;
15314
+ /**
15315
+ * ContentTooLargeError
15316
+ */
15317
+ 413: ContentTooLargeError;
14520
15318
  /**
14521
15319
  * MisdirectedRequestError
14522
15320
  */
@@ -14614,6 +15412,10 @@ export type PromptsCreatePromptVersionErrors = {
14614
15412
  * GoneError
14615
15413
  */
14616
15414
  410: GoneError;
15415
+ /**
15416
+ * ContentTooLargeError
15417
+ */
15418
+ 413: ContentTooLargeError;
14617
15419
  /**
14618
15420
  * MisdirectedRequestError
14619
15421
  */
@@ -14706,6 +15508,10 @@ export type PromptsGetPromptVersionDiffErrors = {
14706
15508
  * GoneError
14707
15509
  */
14708
15510
  410: GoneError;
15511
+ /**
15512
+ * ContentTooLargeError
15513
+ */
15514
+ 413: ContentTooLargeError;
14709
15515
  /**
14710
15516
  * MisdirectedRequestError
14711
15517
  */
@@ -14881,6 +15687,10 @@ export type PromptsGetPromptVersionErrors = {
14881
15687
  * GoneError
14882
15688
  */
14883
15689
  410: GoneError;
15690
+ /**
15691
+ * ContentTooLargeError
15692
+ */
15693
+ 413: ContentTooLargeError;
14884
15694
  /**
14885
15695
  * MisdirectedRequestError
14886
15696
  */
@@ -14971,6 +15781,10 @@ export type PromptsGetPromptReviewStateErrors = {
14971
15781
  * GoneError
14972
15782
  */
14973
15783
  410: GoneError;
15784
+ /**
15785
+ * ContentTooLargeError
15786
+ */
15787
+ 413: ContentTooLargeError;
14974
15788
  /**
14975
15789
  * MisdirectedRequestError
14976
15790
  */
@@ -15083,6 +15897,10 @@ export type PromptsSubmitPromptReviewErrors = {
15083
15897
  * GoneError
15084
15898
  */
15085
15899
  410: GoneError;
15900
+ /**
15901
+ * ContentTooLargeError
15902
+ */
15903
+ 413: ContentTooLargeError;
15086
15904
  /**
15087
15905
  * MisdirectedRequestError
15088
15906
  */
@@ -15187,6 +16005,10 @@ export type PromptsWithdrawPromptReviewErrors = {
15187
16005
  * GoneError
15188
16006
  */
15189
16007
  410: GoneError;
16008
+ /**
16009
+ * ContentTooLargeError
16010
+ */
16011
+ 413: ContentTooLargeError;
15190
16012
  /**
15191
16013
  * MisdirectedRequestError
15192
16014
  */
@@ -15256,7 +16078,6 @@ export type PromptsWithdrawPromptReviewResponses = {
15256
16078
  export type PromptsWithdrawPromptReviewResponse = PromptsWithdrawPromptReviewResponses[keyof PromptsWithdrawPromptReviewResponses];
15257
16079
  export type PromptsResolvePromptData = {
15258
16080
  body: {
15259
- developerRole?: 'user' | 'developer' | 'system' | null;
15260
16081
  labels: Array<string>;
15261
16082
  slug: string;
15262
16083
  subject?: string | null;
@@ -15295,6 +16116,10 @@ export type PromptsResolvePromptErrors = {
15295
16116
  * GoneError
15296
16117
  */
15297
16118
  410: GoneError;
16119
+ /**
16120
+ * ContentTooLargeError
16121
+ */
16122
+ 413: ContentTooLargeError;
15298
16123
  /**
15299
16124
  * MisdirectedRequestError
15300
16125
  */
@@ -15387,6 +16212,10 @@ export type CredentialLifecycleRenameCredentialErrors = {
15387
16212
  * GoneError
15388
16213
  */
15389
16214
  410: GoneError;
16215
+ /**
16216
+ * ContentTooLargeError
16217
+ */
16218
+ 413: ContentTooLargeError;
15390
16219
  /**
15391
16220
  * MisdirectedRequestError
15392
16221
  */
@@ -15493,6 +16322,10 @@ export type CredentialAttachmentsDetachCredentialFromProviderErrors = {
15493
16322
  * GoneError
15494
16323
  */
15495
16324
  410: GoneError;
16325
+ /**
16326
+ * ContentTooLargeError
16327
+ */
16328
+ 413: ContentTooLargeError;
15496
16329
  /**
15497
16330
  * MisdirectedRequestError
15498
16331
  */
@@ -15585,6 +16418,10 @@ export type CredentialAttachmentsAttachCredentialToProviderErrors = {
15585
16418
  * GoneError
15586
16419
  */
15587
16420
  410: GoneError;
16421
+ /**
16422
+ * ContentTooLargeError
16423
+ */
16424
+ 413: ContentTooLargeError;
15588
16425
  /**
15589
16426
  * MisdirectedRequestError
15590
16427
  */
@@ -15677,6 +16514,10 @@ export type CredentialLifecycleRestoreCredentialErrors = {
15677
16514
  * GoneError
15678
16515
  */
15679
16516
  410: GoneError;
16517
+ /**
16518
+ * ContentTooLargeError
16519
+ */
16520
+ 413: ContentTooLargeError;
15680
16521
  /**
15681
16522
  * MisdirectedRequestError
15682
16523
  */
@@ -15748,7 +16589,10 @@ export type CredentialAttachmentsListEligibleCredentialsData = {
15748
16589
  projectId: string;
15749
16590
  providerId: string;
15750
16591
  };
15751
- query?: never;
16592
+ query?: {
16593
+ page?: number | null;
16594
+ limit?: number | null;
16595
+ };
15752
16596
  url: '/v1/projects/{projectId}/providers/{providerId}/eligible-credentials';
15753
16597
  };
15754
16598
  export type CredentialAttachmentsListEligibleCredentialsErrors = {
@@ -15776,6 +16620,10 @@ export type CredentialAttachmentsListEligibleCredentialsErrors = {
15776
16620
  * GoneError
15777
16621
  */
15778
16622
  410: GoneError;
16623
+ /**
16624
+ * ContentTooLargeError
16625
+ */
16626
+ 413: ContentTooLargeError;
15779
16627
  /**
15780
16628
  * MisdirectedRequestError
15781
16629
  */
@@ -15804,16 +16652,14 @@ export type CredentialAttachmentsListEligibleCredentialsResponses = {
15804
16652
  */
15805
16653
  200: {
15806
16654
  code: number;
15807
- data: {
15808
- credentials: Array<{
15809
- createdAt: string;
15810
- credentialType: string;
15811
- id: string;
15812
- keyLast4: string;
15813
- label: string | null;
15814
- providerCatalogId: string;
15815
- }>;
15816
- } | null;
16655
+ data: Array<{
16656
+ createdAt: string;
16657
+ credentialType: string;
16658
+ id: string;
16659
+ keyLast4: string;
16660
+ label: string | null;
16661
+ providerCatalogId: string;
16662
+ }> | null;
15817
16663
  error: {
15818
16664
  code: string;
15819
16665
  details?: unknown | null;
@@ -15883,6 +16729,10 @@ export type ProviderActivationsCreateProviderEnvActivationErrors = {
15883
16729
  * GoneError
15884
16730
  */
15885
16731
  410: GoneError;
16732
+ /**
16733
+ * ContentTooLargeError
16734
+ */
16735
+ 413: ContentTooLargeError;
15886
16736
  /**
15887
16737
  * MisdirectedRequestError
15888
16738
  */
@@ -16003,6 +16853,10 @@ export type ProviderEmergencyRotationEmergencyRotateProviderCredentialErrors = {
16003
16853
  * GoneError
16004
16854
  */
16005
16855
  410: GoneError;
16856
+ /**
16857
+ * ContentTooLargeError
16858
+ */
16859
+ 413: ContentTooLargeError;
16006
16860
  /**
16007
16861
  * MisdirectedRequestError
16008
16862
  */
@@ -16114,6 +16968,10 @@ export type ProviderRollbackRollbackProviderEnvActivationErrors = {
16114
16968
  * GoneError
16115
16969
  */
16116
16970
  410: GoneError;
16971
+ /**
16972
+ * ContentTooLargeError
16973
+ */
16974
+ 413: ContentTooLargeError;
16117
16975
  /**
16118
16976
  * MisdirectedRequestError
16119
16977
  */
@@ -16225,6 +17083,10 @@ export type ProviderEnvPoliciesApproveProviderEnvActivationErrors = {
16225
17083
  * GoneError
16226
17084
  */
16227
17085
  410: GoneError;
17086
+ /**
17087
+ * ContentTooLargeError
17088
+ */
17089
+ 413: ContentTooLargeError;
16228
17090
  /**
16229
17091
  * MisdirectedRequestError
16230
17092
  */
@@ -16333,6 +17195,10 @@ export type ProviderEnvPoliciesRejectProviderEnvActivationErrors = {
16333
17195
  * GoneError
16334
17196
  */
16335
17197
  410: GoneError;
17198
+ /**
17199
+ * ContentTooLargeError
17200
+ */
17201
+ 413: ContentTooLargeError;
16336
17202
  /**
16337
17203
  * MisdirectedRequestError
16338
17204
  */
@@ -16440,6 +17306,10 @@ export type ProviderDeactivationDeactivateProviderEnvActivationErrors = {
16440
17306
  * GoneError
16441
17307
  */
16442
17308
  410: GoneError;
17309
+ /**
17310
+ * ContentTooLargeError
17311
+ */
17312
+ 413: ContentTooLargeError;
16443
17313
  /**
16444
17314
  * MisdirectedRequestError
16445
17315
  */
@@ -16544,6 +17414,10 @@ export type ProviderEnvPoliciesDeleteProviderEnvPolicyErrors = {
16544
17414
  * GoneError
16545
17415
  */
16546
17416
  410: GoneError;
17417
+ /**
17418
+ * ContentTooLargeError
17419
+ */
17420
+ 413: ContentTooLargeError;
16547
17421
  /**
16548
17422
  * MisdirectedRequestError
16549
17423
  */
@@ -16639,6 +17513,10 @@ export type ProviderEnvPoliciesGetProviderEnvPolicyErrors = {
16639
17513
  * GoneError
16640
17514
  */
16641
17515
  410: GoneError;
17516
+ /**
17517
+ * ContentTooLargeError
17518
+ */
17519
+ 413: ContentTooLargeError;
16642
17520
  /**
16643
17521
  * MisdirectedRequestError
16644
17522
  */
@@ -16756,6 +17634,10 @@ export type ProviderEnvPoliciesUpsertProviderEnvPolicyErrors = {
16756
17634
  * GoneError
16757
17635
  */
16758
17636
  410: GoneError;
17637
+ /**
17638
+ * ContentTooLargeError
17639
+ */
17640
+ 413: ContentTooLargeError;
16759
17641
  /**
16760
17642
  * MisdirectedRequestError
16761
17643
  */
@@ -16865,6 +17747,10 @@ export type RoutingMetricsGetRuleFunctionMetricsErrors = {
16865
17747
  * GoneError
16866
17748
  */
16867
17749
  410: GoneError;
17750
+ /**
17751
+ * ContentTooLargeError
17752
+ */
17753
+ 413: ContentTooLargeError;
16868
17754
  /**
16869
17755
  * MisdirectedRequestError
16870
17756
  */
@@ -16983,6 +17869,10 @@ export type RoutingMetricsGetRoutingMetricsSummaryErrors = {
16983
17869
  * GoneError
16984
17870
  */
16985
17871
  410: GoneError;
17872
+ /**
17873
+ * ContentTooLargeError
17874
+ */
17875
+ 413: ContentTooLargeError;
16986
17876
  /**
16987
17877
  * MisdirectedRequestError
16988
17878
  */
@@ -17069,7 +17959,10 @@ export type RoutingProvidersListRoutingProvidersData = {
17069
17959
  path: {
17070
17960
  projectId: string;
17071
17961
  };
17072
- query?: never;
17962
+ query?: {
17963
+ page?: number | null;
17964
+ limit?: number | null;
17965
+ };
17073
17966
  url: '/v1/projects/{projectId}/routing/providers';
17074
17967
  };
17075
17968
  export type RoutingProvidersListRoutingProvidersErrors = {
@@ -17097,6 +17990,10 @@ export type RoutingProvidersListRoutingProvidersErrors = {
17097
17990
  * GoneError
17098
17991
  */
17099
17992
  410: GoneError;
17993
+ /**
17994
+ * ContentTooLargeError
17995
+ */
17996
+ 413: ContentTooLargeError;
17100
17997
  /**
17101
17998
  * MisdirectedRequestError
17102
17999
  */
@@ -17165,7 +18062,7 @@ export type RoutingProvidersListRoutingProvidersResponses = {
17165
18062
  health: 'healthy' | 'degraded' | 'failing';
17166
18063
  id: string;
17167
18064
  lastTestedAt: string | null;
17168
- lifecycleState: 'active' | 'deactivated' | 'archived';
18065
+ lifecycleState: 'active' | 'disconnected' | 'archived' | 'deleted';
17169
18066
  modelCount: number;
17170
18067
  projectId: string;
17171
18068
  providerCatalogId: string;
@@ -17255,6 +18152,10 @@ export type RoutingProvidersCreateRoutingProviderErrors = {
17255
18152
  * GoneError
17256
18153
  */
17257
18154
  410: GoneError;
18155
+ /**
18156
+ * ContentTooLargeError
18157
+ */
18158
+ 413: ContentTooLargeError;
17258
18159
  /**
17259
18160
  * MisdirectedRequestError
17260
18161
  */
@@ -17323,7 +18224,7 @@ export type RoutingProvidersCreateRoutingProviderResponses = {
17323
18224
  health: 'healthy' | 'degraded' | 'failing';
17324
18225
  id: string;
17325
18226
  lastTestedAt: string | null;
17326
- lifecycleState: 'active' | 'deactivated' | 'archived';
18227
+ lifecycleState: 'active' | 'disconnected' | 'archived' | 'deleted';
17327
18228
  modelCount: number;
17328
18229
  projectId: string;
17329
18230
  providerCatalogId: string;
@@ -17454,6 +18355,10 @@ export type RoutingProvidersConnectRoutingProviderErrors = {
17454
18355
  * GoneError
17455
18356
  */
17456
18357
  410: GoneError;
18358
+ /**
18359
+ * ContentTooLargeError
18360
+ */
18361
+ 413: ContentTooLargeError;
17457
18362
  /**
17458
18363
  * MisdirectedRequestError
17459
18364
  */
@@ -17537,7 +18442,7 @@ export type RoutingProvidersConnectRoutingProviderResponses = {
17537
18442
  health: 'healthy' | 'degraded' | 'failing';
17538
18443
  id: string;
17539
18444
  lastTestedAt: string | null;
17540
- lifecycleState: 'active' | 'deactivated' | 'archived';
18445
+ lifecycleState: 'active' | 'disconnected' | 'archived' | 'deleted';
17541
18446
  modelCount: number;
17542
18447
  projectId: string;
17543
18448
  providerCatalogId: string;
@@ -17594,6 +18499,8 @@ export type RoutingMetricsGetRoutingProviderMetricsData = {
17594
18499
  };
17595
18500
  query?: {
17596
18501
  window?: string | null;
18502
+ page?: number | null;
18503
+ limit?: number | null;
17597
18504
  };
17598
18505
  url: '/v1/projects/{projectId}/routing/providers/metrics';
17599
18506
  };
@@ -17622,6 +18529,10 @@ export type RoutingMetricsGetRoutingProviderMetricsErrors = {
17622
18529
  * GoneError
17623
18530
  */
17624
18531
  410: GoneError;
18532
+ /**
18533
+ * ContentTooLargeError
18534
+ */
18535
+ 413: ContentTooLargeError;
17625
18536
  /**
17626
18537
  * MisdirectedRequestError
17627
18538
  */
@@ -17722,6 +18633,10 @@ export type RoutingMetricsGetProvidersSummaryErrors = {
17722
18633
  * GoneError
17723
18634
  */
17724
18635
  410: GoneError;
18636
+ /**
18637
+ * ContentTooLargeError
18638
+ */
18639
+ 413: ContentTooLargeError;
17725
18640
  /**
17726
18641
  * MisdirectedRequestError
17727
18642
  */
@@ -17833,6 +18748,10 @@ export type RoutingProvidersTestRoutingCredentialPreCreateErrors = {
17833
18748
  * GoneError
17834
18749
  */
17835
18750
  410: GoneError;
18751
+ /**
18752
+ * ContentTooLargeError
18753
+ */
18754
+ 413: ContentTooLargeError;
17836
18755
  /**
17837
18756
  * MisdirectedRequestError
17838
18757
  */
@@ -17932,6 +18851,10 @@ export type RoutingProvidersDeleteRoutingProviderErrors = {
17932
18851
  * GoneError
17933
18852
  */
17934
18853
  410: GoneError;
18854
+ /**
18855
+ * ContentTooLargeError
18856
+ */
18857
+ 413: ContentTooLargeError;
17935
18858
  /**
17936
18859
  * MisdirectedRequestError
17937
18860
  */
@@ -18031,6 +18954,10 @@ export type RoutingProvidersGetRoutingProviderErrors = {
18031
18954
  * GoneError
18032
18955
  */
18033
18956
  410: GoneError;
18957
+ /**
18958
+ * ContentTooLargeError
18959
+ */
18960
+ 413: ContentTooLargeError;
18034
18961
  /**
18035
18962
  * MisdirectedRequestError
18036
18963
  */
@@ -18099,7 +19026,7 @@ export type RoutingProvidersGetRoutingProviderResponses = {
18099
19026
  health: 'healthy' | 'degraded' | 'failing';
18100
19027
  id: string;
18101
19028
  lastTestedAt: string | null;
18102
- lifecycleState: 'active' | 'deactivated' | 'archived';
19029
+ lifecycleState: 'active' | 'disconnected' | 'archived' | 'deleted';
18103
19030
  modelCount: number;
18104
19031
  projectId: string;
18105
19032
  providerCatalogId: string;
@@ -18187,6 +19114,10 @@ export type RoutingProvidersUpdateRoutingProviderErrors = {
18187
19114
  * GoneError
18188
19115
  */
18189
19116
  410: GoneError;
19117
+ /**
19118
+ * ContentTooLargeError
19119
+ */
19120
+ 413: ContentTooLargeError;
18190
19121
  /**
18191
19122
  * MisdirectedRequestError
18192
19123
  */
@@ -18255,7 +19186,7 @@ export type RoutingProvidersUpdateRoutingProviderResponses = {
18255
19186
  health: 'healthy' | 'degraded' | 'failing';
18256
19187
  id: string;
18257
19188
  lastTestedAt: string | null;
18258
- lifecycleState: 'active' | 'deactivated' | 'archived';
19189
+ lifecycleState: 'active' | 'disconnected' | 'archived' | 'deleted';
18259
19190
  modelCount: number;
18260
19191
  projectId: string;
18261
19192
  providerCatalogId: string;
@@ -18340,6 +19271,10 @@ export type RoutingProvidersArchiveRoutingProviderErrors = {
18340
19271
  * GoneError
18341
19272
  */
18342
19273
  410: GoneError;
19274
+ /**
19275
+ * ContentTooLargeError
19276
+ */
19277
+ 413: ContentTooLargeError;
18343
19278
  /**
18344
19279
  * MisdirectedRequestError
18345
19280
  */
@@ -18435,6 +19370,10 @@ export type RoutingProviderCatalogResolveRoutingProviderCatalogErrors = {
18435
19370
  * GoneError
18436
19371
  */
18437
19372
  410: GoneError;
19373
+ /**
19374
+ * ContentTooLargeError
19375
+ */
19376
+ 413: ContentTooLargeError;
18438
19377
  /**
18439
19378
  * MisdirectedRequestError
18440
19379
  */
@@ -18546,6 +19485,10 @@ export type RoutingProviderCatalogAcknowledgeRoutingProviderCatalogTransitionErr
18546
19485
  * GoneError
18547
19486
  */
18548
19487
  410: GoneError;
19488
+ /**
19489
+ * ContentTooLargeError
19490
+ */
19491
+ 413: ContentTooLargeError;
18549
19492
  /**
18550
19493
  * MisdirectedRequestError
18551
19494
  */
@@ -18609,7 +19552,10 @@ export type RoutingProvidersListRoutingCredentialsData = {
18609
19552
  projectId: string;
18610
19553
  providerId: string;
18611
19554
  };
18612
- query?: never;
19555
+ query?: {
19556
+ page?: number | null;
19557
+ limit?: number | null;
19558
+ };
18613
19559
  url: '/v1/projects/{projectId}/routing/providers/{providerId}/credentials';
18614
19560
  };
18615
19561
  export type RoutingProvidersListRoutingCredentialsErrors = {
@@ -18637,6 +19583,10 @@ export type RoutingProvidersListRoutingCredentialsErrors = {
18637
19583
  * GoneError
18638
19584
  */
18639
19585
  410: GoneError;
19586
+ /**
19587
+ * ContentTooLargeError
19588
+ */
19589
+ 413: ContentTooLargeError;
18640
19590
  /**
18641
19591
  * MisdirectedRequestError
18642
19592
  */
@@ -18759,6 +19709,10 @@ export type RoutingProvidersCreateRoutingCredentialErrors = {
18759
19709
  * GoneError
18760
19710
  */
18761
19711
  410: GoneError;
19712
+ /**
19713
+ * ContentTooLargeError
19714
+ */
19715
+ 413: ContentTooLargeError;
18762
19716
  /**
18763
19717
  * MisdirectedRequestError
18764
19718
  */
@@ -18865,6 +19819,10 @@ export type RoutingProvidersDeleteRoutingCredentialErrors = {
18865
19819
  * GoneError
18866
19820
  */
18867
19821
  410: GoneError;
19822
+ /**
19823
+ * ContentTooLargeError
19824
+ */
19825
+ 413: ContentTooLargeError;
18868
19826
  /**
18869
19827
  * MisdirectedRequestError
18870
19828
  */
@@ -18965,6 +19923,10 @@ export type RoutingProvidersTestRoutingCredentialErrors = {
18965
19923
  * GoneError
18966
19924
  */
18967
19925
  410: GoneError;
19926
+ /**
19927
+ * ContentTooLargeError
19928
+ */
19929
+ 413: ContentTooLargeError;
18968
19930
  /**
18969
19931
  * MisdirectedRequestError
18970
19932
  */
@@ -19068,6 +20030,10 @@ export type ProviderPromoteVersionPromoteProviderEnvVersionErrors = {
19068
20030
  * GoneError
19069
20031
  */
19070
20032
  410: GoneError;
20033
+ /**
20034
+ * ContentTooLargeError
20035
+ */
20036
+ 413: ContentTooLargeError;
19071
20037
  /**
19072
20038
  * MisdirectedRequestError
19073
20039
  */
@@ -19147,7 +20113,10 @@ export type RoutingProvidersListRoutingModelsData = {
19147
20113
  projectId: string;
19148
20114
  providerId: string;
19149
20115
  };
19150
- query?: never;
20116
+ query?: {
20117
+ page?: number | null;
20118
+ limit?: number | null;
20119
+ };
19151
20120
  url: '/v1/projects/{projectId}/routing/providers/{providerId}/models';
19152
20121
  };
19153
20122
  export type RoutingProvidersListRoutingModelsErrors = {
@@ -19175,6 +20144,10 @@ export type RoutingProvidersListRoutingModelsErrors = {
19175
20144
  * GoneError
19176
20145
  */
19177
20146
  410: GoneError;
20147
+ /**
20148
+ * ContentTooLargeError
20149
+ */
20150
+ 413: ContentTooLargeError;
19178
20151
  /**
19179
20152
  * MisdirectedRequestError
19180
20153
  */
@@ -19280,6 +20253,10 @@ export type RoutingProvidersCreateRoutingModelErrors = {
19280
20253
  * GoneError
19281
20254
  */
19282
20255
  410: GoneError;
20256
+ /**
20257
+ * ContentTooLargeError
20258
+ */
20259
+ 413: ContentTooLargeError;
19283
20260
  /**
19284
20261
  * MisdirectedRequestError
19285
20262
  */
@@ -19388,6 +20365,10 @@ export type RoutingProvidersDeleteRoutingModelErrors = {
19388
20365
  * GoneError
19389
20366
  */
19390
20367
  410: GoneError;
20368
+ /**
20369
+ * ContentTooLargeError
20370
+ */
20371
+ 413: ContentTooLargeError;
19391
20372
  /**
19392
20373
  * MisdirectedRequestError
19393
20374
  */
@@ -19492,6 +20473,10 @@ export type RoutingProvidersUpdateRoutingModelErrors = {
19492
20473
  * GoneError
19493
20474
  */
19494
20475
  410: GoneError;
20476
+ /**
20477
+ * ContentTooLargeError
20478
+ */
20479
+ 413: ContentTooLargeError;
19495
20480
  /**
19496
20481
  * MisdirectedRequestError
19497
20482
  */
@@ -19600,6 +20585,10 @@ export type RoutingProvidersRestoreRoutingModelErrors = {
19600
20585
  * GoneError
19601
20586
  */
19602
20587
  410: GoneError;
20588
+ /**
20589
+ * ContentTooLargeError
20590
+ */
20591
+ 413: ContentTooLargeError;
19603
20592
  /**
19604
20593
  * MisdirectedRequestError
19605
20594
  */
@@ -19709,6 +20698,10 @@ export type RoutingProvidersRestoreRoutingProviderErrors = {
19709
20698
  * GoneError
19710
20699
  */
19711
20700
  410: GoneError;
20701
+ /**
20702
+ * ContentTooLargeError
20703
+ */
20704
+ 413: ContentTooLargeError;
19712
20705
  /**
19713
20706
  * MisdirectedRequestError
19714
20707
  */
@@ -19772,7 +20765,10 @@ export type ProviderConfigVersionsListProviderConfigVersionsData = {
19772
20765
  projectId: string;
19773
20766
  providerId: string;
19774
20767
  };
19775
- query?: never;
20768
+ query?: {
20769
+ page?: number | null;
20770
+ limit?: number | null;
20771
+ };
19776
20772
  url: '/v1/projects/{projectId}/routing/providers/{providerId}/versions';
19777
20773
  };
19778
20774
  export type ProviderConfigVersionsListProviderConfigVersionsErrors = {
@@ -19800,6 +20796,10 @@ export type ProviderConfigVersionsListProviderConfigVersionsErrors = {
19800
20796
  * GoneError
19801
20797
  */
19802
20798
  410: GoneError;
20799
+ /**
20800
+ * ContentTooLargeError
20801
+ */
20802
+ 413: ContentTooLargeError;
19803
20803
  /**
19804
20804
  * MisdirectedRequestError
19805
20805
  */
@@ -19828,18 +20828,16 @@ export type ProviderConfigVersionsListProviderConfigVersionsResponses = {
19828
20828
  */
19829
20829
  200: {
19830
20830
  code: number;
19831
- data: {
19832
- versions: Array<{
19833
- configSnapshot: {
19834
- [key: string]: unknown;
19835
- };
19836
- contentHash: string;
19837
- createdAt: string;
19838
- createdBy: string | null;
19839
- liveInEnvSlugs: Array<string>;
19840
- version: number;
19841
- }>;
19842
- } | null;
20831
+ data: Array<{
20832
+ configSnapshot: {
20833
+ [key: string]: unknown;
20834
+ };
20835
+ contentHash: string;
20836
+ createdAt: string;
20837
+ createdBy: string | null;
20838
+ liveInEnvSlugs: Array<string>;
20839
+ version: number;
20840
+ }> | null;
19843
20841
  error: {
19844
20842
  code: string;
19845
20843
  details?: unknown | null;
@@ -19871,7 +20869,10 @@ export type RoutingRoutesListRoutingRoutesData = {
19871
20869
  path: {
19872
20870
  projectId: string;
19873
20871
  };
19874
- query?: never;
20872
+ query?: {
20873
+ page?: number | null;
20874
+ limit?: number | null;
20875
+ };
19875
20876
  url: '/v1/projects/{projectId}/routing/routes';
19876
20877
  };
19877
20878
  export type RoutingRoutesListRoutingRoutesErrors = {
@@ -19899,6 +20900,10 @@ export type RoutingRoutesListRoutingRoutesErrors = {
19899
20900
  * GoneError
19900
20901
  */
19901
20902
  410: GoneError;
20903
+ /**
20904
+ * ContentTooLargeError
20905
+ */
20906
+ 413: ContentTooLargeError;
19902
20907
  /**
19903
20908
  * MisdirectedRequestError
19904
20909
  */
@@ -20021,6 +21026,10 @@ export type RoutingRoutesCreateRoutingRouteErrors = {
20021
21026
  * GoneError
20022
21027
  */
20023
21028
  410: GoneError;
21029
+ /**
21030
+ * ContentTooLargeError
21031
+ */
21032
+ 413: ContentTooLargeError;
20024
21033
  /**
20025
21034
  * MisdirectedRequestError
20026
21035
  */
@@ -20130,6 +21139,10 @@ export type RoutingRoutesDeleteRoutingRouteErrors = {
20130
21139
  * GoneError
20131
21140
  */
20132
21141
  410: GoneError;
21142
+ /**
21143
+ * ContentTooLargeError
21144
+ */
21145
+ 413: ContentTooLargeError;
20133
21146
  /**
20134
21147
  * MisdirectedRequestError
20135
21148
  */
@@ -20221,6 +21234,10 @@ export type RoutingRoutesGetRoutingRouteErrors = {
20221
21234
  * GoneError
20222
21235
  */
20223
21236
  410: GoneError;
21237
+ /**
21238
+ * ContentTooLargeError
21239
+ */
21240
+ 413: ContentTooLargeError;
20224
21241
  /**
20225
21242
  * MisdirectedRequestError
20226
21243
  */
@@ -20344,6 +21361,10 @@ export type RoutingRoutesPatchRoutingRouteErrors = {
20344
21361
  * GoneError
20345
21362
  */
20346
21363
  410: GoneError;
21364
+ /**
21365
+ * ContentTooLargeError
21366
+ */
21367
+ 413: ContentTooLargeError;
20347
21368
  /**
20348
21369
  * MisdirectedRequestError
20349
21370
  */
@@ -20467,6 +21488,10 @@ export type RoutingRoutesReplaceRoutingRouteErrors = {
20467
21488
  * GoneError
20468
21489
  */
20469
21490
  410: GoneError;
21491
+ /**
21492
+ * ContentTooLargeError
21493
+ */
21494
+ 413: ContentTooLargeError;
20470
21495
  /**
20471
21496
  * MisdirectedRequestError
20472
21497
  */
@@ -20576,6 +21601,10 @@ export type RuleEnvPoliciesDeleteRuleEnvPolicyErrors = {
20576
21601
  * GoneError
20577
21602
  */
20578
21603
  410: GoneError;
21604
+ /**
21605
+ * ContentTooLargeError
21606
+ */
21607
+ 413: ContentTooLargeError;
20579
21608
  /**
20580
21609
  * MisdirectedRequestError
20581
21610
  */
@@ -20669,6 +21698,10 @@ export type RuleEnvPoliciesGetRuleEnvPolicyErrors = {
20669
21698
  * GoneError
20670
21699
  */
20671
21700
  410: GoneError;
21701
+ /**
21702
+ * ContentTooLargeError
21703
+ */
21704
+ 413: ContentTooLargeError;
20672
21705
  /**
20673
21706
  * MisdirectedRequestError
20674
21707
  */
@@ -20778,6 +21811,10 @@ export type RuleEnvPoliciesUpsertRuleEnvPolicyErrors = {
20778
21811
  * GoneError
20779
21812
  */
20780
21813
  410: GoneError;
21814
+ /**
21815
+ * ContentTooLargeError
21816
+ */
21817
+ 413: ContentTooLargeError;
20781
21818
  /**
20782
21819
  * MisdirectedRequestError
20783
21820
  */
@@ -20884,6 +21921,10 @@ export type RuleReleasesListRuleReleasesErrors = {
20884
21921
  * GoneError
20885
21922
  */
20886
21923
  410: GoneError;
21924
+ /**
21925
+ * ContentTooLargeError
21926
+ */
21927
+ 413: ContentTooLargeError;
20887
21928
  /**
20888
21929
  * MisdirectedRequestError
20889
21930
  */
@@ -20976,6 +22017,10 @@ export type RuleReleasesListRuleReleasesEnvErrors = {
20976
22017
  * GoneError
20977
22018
  */
20978
22019
  410: GoneError;
22020
+ /**
22021
+ * ContentTooLargeError
22022
+ */
22023
+ 413: ContentTooLargeError;
20979
22024
  /**
20980
22025
  * MisdirectedRequestError
20981
22026
  */
@@ -21074,6 +22119,10 @@ export type RuleReleasesInsertRuleReleaseErrors = {
21074
22119
  * GoneError
21075
22120
  */
21076
22121
  410: GoneError;
22122
+ /**
22123
+ * ContentTooLargeError
22124
+ */
22125
+ 413: ContentTooLargeError;
21077
22126
  /**
21078
22127
  * MisdirectedRequestError
21079
22128
  */
@@ -21175,6 +22224,10 @@ export type RuleReleasesRollbackRuleReleaseErrors = {
21175
22224
  * GoneError
21176
22225
  */
21177
22226
  410: GoneError;
22227
+ /**
22228
+ * ContentTooLargeError
22229
+ */
22230
+ 413: ContentTooLargeError;
21178
22231
  /**
21179
22232
  * MisdirectedRequestError
21180
22233
  */
@@ -21274,6 +22327,10 @@ export type RuleReleasesGetRuleReleaseErrors = {
21274
22327
  * GoneError
21275
22328
  */
21276
22329
  410: GoneError;
22330
+ /**
22331
+ * ContentTooLargeError
22332
+ */
22333
+ 413: ContentTooLargeError;
21277
22334
  /**
21278
22335
  * MisdirectedRequestError
21279
22336
  */
@@ -21366,6 +22423,10 @@ export type RuleReleaseApprovalsApproveRuleReleaseErrors = {
21366
22423
  * GoneError
21367
22424
  */
21368
22425
  410: GoneError;
22426
+ /**
22427
+ * ContentTooLargeError
22428
+ */
22429
+ 413: ContentTooLargeError;
21369
22430
  /**
21370
22431
  * MisdirectedRequestError
21371
22432
  */
@@ -21472,6 +22533,10 @@ export type RuleReleaseApprovalsRejectRuleReleaseErrors = {
21472
22533
  * GoneError
21473
22534
  */
21474
22535
  410: GoneError;
22536
+ /**
22537
+ * ContentTooLargeError
22538
+ */
22539
+ 413: ContentTooLargeError;
21475
22540
  /**
21476
22541
  * MisdirectedRequestError
21477
22542
  */
@@ -21578,6 +22643,10 @@ export type RuleVersionsListRuleVersionsErrors = {
21578
22643
  * GoneError
21579
22644
  */
21580
22645
  410: GoneError;
22646
+ /**
22647
+ * ContentTooLargeError
22648
+ */
22649
+ 413: ContentTooLargeError;
21581
22650
  /**
21582
22651
  * MisdirectedRequestError
21583
22652
  */
@@ -21670,6 +22739,10 @@ export type RuleVersionsCreateRuleVersionErrors = {
21670
22739
  * GoneError
21671
22740
  */
21672
22741
  410: GoneError;
22742
+ /**
22743
+ * ContentTooLargeError
22744
+ */
22745
+ 413: ContentTooLargeError;
21673
22746
  /**
21674
22747
  * MisdirectedRequestError
21675
22748
  */
@@ -21768,6 +22841,10 @@ export type RuleVersionsGetRuleVersionErrors = {
21768
22841
  * GoneError
21769
22842
  */
21770
22843
  410: GoneError;
22844
+ /**
22845
+ * ContentTooLargeError
22846
+ */
22847
+ 413: ContentTooLargeError;
21771
22848
  /**
21772
22849
  * MisdirectedRequestError
21773
22850
  */
@@ -21828,7 +22905,10 @@ export type RoutingTargetsListRoutingTargetsData = {
21828
22905
  path: {
21829
22906
  projectId: string;
21830
22907
  };
21831
- query?: never;
22908
+ query?: {
22909
+ page?: number | null;
22910
+ limit?: number | null;
22911
+ };
21832
22912
  url: '/v1/projects/{projectId}/routing/targets';
21833
22913
  };
21834
22914
  export type RoutingTargetsListRoutingTargetsErrors = {
@@ -21856,6 +22936,10 @@ export type RoutingTargetsListRoutingTargetsErrors = {
21856
22936
  * GoneError
21857
22937
  */
21858
22938
  410: GoneError;
22939
+ /**
22940
+ * ContentTooLargeError
22941
+ */
22942
+ 413: ContentTooLargeError;
21859
22943
  /**
21860
22944
  * MisdirectedRequestError
21861
22945
  */
@@ -21960,6 +23044,10 @@ export type RoutingTargetsCreateRoutingTargetErrors = {
21960
23044
  * GoneError
21961
23045
  */
21962
23046
  410: GoneError;
23047
+ /**
23048
+ * ContentTooLargeError
23049
+ */
23050
+ 413: ContentTooLargeError;
21963
23051
  /**
21964
23052
  * MisdirectedRequestError
21965
23053
  */
@@ -22059,6 +23147,10 @@ export type RoutingTargetsDeleteRoutingTargetErrors = {
22059
23147
  * GoneError
22060
23148
  */
22061
23149
  410: GoneError;
23150
+ /**
23151
+ * ContentTooLargeError
23152
+ */
23153
+ 413: ContentTooLargeError;
22062
23154
  /**
22063
23155
  * MisdirectedRequestError
22064
23156
  */
@@ -22150,6 +23242,10 @@ export type RoutingTargetsGetRoutingTargetErrors = {
22150
23242
  * GoneError
22151
23243
  */
22152
23244
  410: GoneError;
23245
+ /**
23246
+ * ContentTooLargeError
23247
+ */
23248
+ 413: ContentTooLargeError;
22153
23249
  /**
22154
23250
  * MisdirectedRequestError
22155
23251
  */
@@ -22255,6 +23351,10 @@ export type RoutingTargetsUpdateRoutingTargetErrors = {
22255
23351
  * GoneError
22256
23352
  */
22257
23353
  410: GoneError;
23354
+ /**
23355
+ * ContentTooLargeError
23356
+ */
23357
+ 413: ContentTooLargeError;
22258
23358
  /**
22259
23359
  * MisdirectedRequestError
22260
23360
  */
@@ -22360,6 +23460,10 @@ export type ScheduledChangesListScheduledChangesErrors = {
22360
23460
  * GoneError
22361
23461
  */
22362
23462
  410: GoneError;
23463
+ /**
23464
+ * ContentTooLargeError
23465
+ */
23466
+ 413: ContentTooLargeError;
22363
23467
  /**
22364
23468
  * MisdirectedRequestError
22365
23469
  */
@@ -22460,8 +23564,6 @@ export type TracesListTracesData = {
22460
23564
  minCost?: string | null;
22461
23565
  maxCost?: string | null;
22462
23566
  hasToolCalls?: 'yes' | 'no' | null;
22463
- invalidToolSelection?: 'yes' | null;
22464
- schemaFailure?: 'yes' | null;
22465
23567
  timePreset?: '10m' | '30m' | '1h' | '2h' | '3h' | '8h' | '24h' | '7d' | '14d' | '28d' | '60d' | null;
22466
23568
  startTimeFrom?: string | null;
22467
23569
  startTimeTo?: string | null;
@@ -22493,6 +23595,10 @@ export type TracesListTracesErrors = {
22493
23595
  * GoneError
22494
23596
  */
22495
23597
  410: GoneError;
23598
+ /**
23599
+ * ContentTooLargeError
23600
+ */
23601
+ 413: ContentTooLargeError;
22496
23602
  /**
22497
23603
  * MisdirectedRequestError
22498
23604
  */
@@ -22607,7 +23713,6 @@ export type TracesListTracesResponses = {
22607
23713
  cost_usd: number | null;
22608
23714
  duration_ms: number;
22609
23715
  input_tokens: number;
22610
- invalid_tool_calls: number;
22611
23716
  model: string;
22612
23717
  output_tokens: number;
22613
23718
  provider: string;
@@ -22684,6 +23789,10 @@ export type TracesGetTraceDetailErrors = {
22684
23789
  * GoneError
22685
23790
  */
22686
23791
  410: GoneError;
23792
+ /**
23793
+ * ContentTooLargeError
23794
+ */
23795
+ 413: ContentTooLargeError;
22687
23796
  /**
22688
23797
  * MisdirectedRequestError
22689
23798
  */
@@ -22876,9 +23985,7 @@ export type TracesGetTraceDetailResponses = {
22876
23985
  status: 'ok' | 'error' | 'timeout';
22877
23986
  summary: {
22878
23987
  cost_usd: number | null;
22879
- has_schema_failure: boolean;
22880
23988
  input_tokens: number;
22881
- invalid_tool_calls: number;
22882
23989
  llm_call_count: number;
22883
23990
  model: string;
22884
23991
  output_tokens: number;
@@ -22947,6 +24054,10 @@ export type RoutingTokensMintRoutingReadTokenErrors = {
22947
24054
  * GoneError
22948
24055
  */
22949
24056
  410: GoneError;
24057
+ /**
24058
+ * ContentTooLargeError
24059
+ */
24060
+ 413: ContentTooLargeError;
22950
24061
  /**
22951
24062
  * MisdirectedRequestError
22952
24063
  */
@@ -23008,7 +24119,10 @@ export type RoutingTokensMintRoutingReadTokenResponse = RoutingTokensMintRouting
23008
24119
  export type SupportedProvidersListSupportedProvidersData = {
23009
24120
  body?: never;
23010
24121
  path?: never;
23011
- query?: never;
24122
+ query?: {
24123
+ page?: number | null;
24124
+ limit?: number | null;
24125
+ };
23012
24126
  url: '/v1/supported-providers';
23013
24127
  };
23014
24128
  export type SupportedProvidersListSupportedProvidersErrors = {
@@ -23036,6 +24150,10 @@ export type SupportedProvidersListSupportedProvidersErrors = {
23036
24150
  * GoneError
23037
24151
  */
23038
24152
  410: GoneError;
24153
+ /**
24154
+ * ContentTooLargeError
24155
+ */
24156
+ 413: ContentTooLargeError;
23039
24157
  /**
23040
24158
  * MisdirectedRequestError
23041
24159
  */
@@ -23064,26 +24182,24 @@ export type SupportedProvidersListSupportedProvidersResponses = {
23064
24182
  */
23065
24183
  200: {
23066
24184
  code: number;
23067
- data: {
23068
- providers: Array<{
23069
- authMethods: unknown;
23070
- brandColor: string | null;
23071
- configSchema: unknown;
23072
- defaultBaseUrl: string;
23073
- description: string;
23074
- displayName: string;
23075
- id: string;
23076
- logoSlug: string;
23077
- monogram: string;
23078
- popular: boolean;
23079
- qualifiers: unknown;
23080
- region: boolean;
23081
- suggestedBaseUrl: string | null;
23082
- templateFields: unknown;
23083
- testStrategy: 'list-models' | 'list-models-quirk' | 'list-models-templated' | 'cloud-sdk' | 'probe-completion';
23084
- tier: 'frontier' | 'speed' | 'open' | 'aggregator' | 'cloud' | 'self';
23085
- }>;
23086
- } | null;
24185
+ data: Array<{
24186
+ authMethods: unknown;
24187
+ brandColor: string | null;
24188
+ configSchema: unknown;
24189
+ defaultBaseUrl: string;
24190
+ description: string;
24191
+ displayName: string;
24192
+ id: string;
24193
+ logoSlug: string;
24194
+ monogram: string;
24195
+ popular: boolean;
24196
+ qualifiers: unknown;
24197
+ region: boolean;
24198
+ suggestedBaseUrl: string | null;
24199
+ templateFields: unknown;
24200
+ testStrategy: 'list-models' | 'list-models-quirk' | 'list-models-templated' | 'cloud-sdk' | 'probe-completion';
24201
+ tier: 'frontier' | 'speed' | 'open' | 'aggregator' | 'cloud' | 'self';
24202
+ }> | null;
23087
24203
  error: {
23088
24204
  code: string;
23089
24205
  details?: unknown | null;
@@ -23144,6 +24260,10 @@ export type RbacAssignSystemRoleErrors = {
23144
24260
  * GoneError
23145
24261
  */
23146
24262
  410: GoneError;
24263
+ /**
24264
+ * ContentTooLargeError
24265
+ */
24266
+ 413: ContentTooLargeError;
23147
24267
  /**
23148
24268
  * MisdirectedRequestError
23149
24269
  */
@@ -23207,8 +24327,8 @@ export type ProjectsListProjectsData = {
23207
24327
  workspaceId: string;
23208
24328
  };
23209
24329
  query?: {
23210
- page?: string | string | null;
23211
- limit?: string | string | null;
24330
+ page?: number | null;
24331
+ limit?: number | null;
23212
24332
  search?: string | null;
23213
24333
  sortDir?: 'asc' | 'desc' | null;
23214
24334
  status?: string | null;
@@ -23241,6 +24361,10 @@ export type ProjectsListProjectsErrors = {
23241
24361
  * GoneError
23242
24362
  */
23243
24363
  410: GoneError;
24364
+ /**
24365
+ * ContentTooLargeError
24366
+ */
24367
+ 413: ContentTooLargeError;
23244
24368
  /**
23245
24369
  * MisdirectedRequestError
23246
24370
  */
@@ -23343,6 +24467,10 @@ export type ProjectsCreateProjectErrors = {
23343
24467
  * GoneError
23344
24468
  */
23345
24469
  410: GoneError;
24470
+ /**
24471
+ * ContentTooLargeError
24472
+ */
24473
+ 413: ContentTooLargeError;
23346
24474
  /**
23347
24475
  * MisdirectedRequestError
23348
24476
  */
@@ -23447,6 +24575,10 @@ export type ApiKeysCreateApiKeyWorkspaceErrors = {
23447
24575
  * GoneError
23448
24576
  */
23449
24577
  410: GoneError;
24578
+ /**
24579
+ * ContentTooLargeError
24580
+ */
24581
+ 413: ContentTooLargeError;
23450
24582
  /**
23451
24583
  * MisdirectedRequestError
23452
24584
  */