@to11ai/sdk 1.0.0 → 2.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,6 +41,22 @@ export type ConflictError = {
41
41
  success: false;
42
42
  };
43
43
 
44
+ export type ContentTooLargeError = {
45
+ _tag: 'ContentTooLargeError';
46
+ code: number;
47
+ error: {
48
+ code: string;
49
+ details?: unknown | null;
50
+ message: string;
51
+ rowErrors?: Array<{
52
+ code: string;
53
+ message: string;
54
+ path: Array<string | number>;
55
+ }> | null;
56
+ };
57
+ success: false;
58
+ };
59
+
44
60
  export type ForbiddenError = {
45
61
  _tag: 'ForbiddenError';
46
62
  code: number;
@@ -208,7 +224,7 @@ export type Prompt = {
208
224
  name: string;
209
225
  projectId: string;
210
226
  slug: string;
211
- status: 'active' | 'draft' | 'archived';
227
+ status: 'active' | 'archived';
212
228
  tags: Array<string>;
213
229
  updatedAt: string;
214
230
  };
@@ -303,7 +319,8 @@ export type ResolvedPrompt = {
303
319
  [key: string]: 'rendered' | 'dimmed';
304
320
  } | null;
305
321
  contentHash: string;
306
- labels: Array<string>;
322
+ label: string;
323
+ modelConfig?: unknown | null;
307
324
  promptId: string;
308
325
  releaseId: string;
309
326
  rendered: RenderedPrompt;
@@ -526,6 +543,10 @@ export type ApiKeysGetApiKeyJwksErrors = {
526
543
  * GoneError
527
544
  */
528
545
  410: GoneError;
546
+ /**
547
+ * ContentTooLargeError
548
+ */
549
+ 413: ContentTooLargeError;
529
550
  /**
530
551
  * MisdirectedRequestError
531
552
  */
@@ -595,6 +616,10 @@ export type ApiKeysGetApiKeyOpenIdConfigErrors = {
595
616
  * GoneError
596
617
  */
597
618
  410: GoneError;
619
+ /**
620
+ * ContentTooLargeError
621
+ */
622
+ 413: ContentTooLargeError;
598
623
  /**
599
624
  * MisdirectedRequestError
600
625
  */
@@ -666,6 +691,10 @@ export type HealthHealthzErrors = {
666
691
  * GoneError
667
692
  */
668
693
  410: GoneError;
694
+ /**
695
+ * ContentTooLargeError
696
+ */
697
+ 413: ContentTooLargeError;
669
698
  /**
670
699
  * MisdirectedRequestError
671
700
  */
@@ -762,6 +791,10 @@ export type RoutingSnapshotsGetRoutingSnapshotByEnvErrors = {
762
791
  * GoneError
763
792
  */
764
793
  410: GoneError;
794
+ /**
795
+ * ContentTooLargeError
796
+ */
797
+ 413: ContentTooLargeError;
765
798
  /**
766
799
  * MisdirectedRequestError
767
800
  */
@@ -882,6 +915,10 @@ export type HealthReadyzErrors = {
882
915
  * GoneError
883
916
  */
884
917
  410: GoneError;
918
+ /**
919
+ * ContentTooLargeError
920
+ */
921
+ 413: ContentTooLargeError;
885
922
  /**
886
923
  * MisdirectedRequestError
887
924
  */
@@ -1003,6 +1040,10 @@ export type ApiKeysCreateApiKeyPlatformErrors = {
1003
1040
  * GoneError
1004
1041
  */
1005
1042
  410: GoneError;
1043
+ /**
1044
+ * ContentTooLargeError
1045
+ */
1046
+ 413: ContentTooLargeError;
1006
1047
  /**
1007
1048
  * MisdirectedRequestError
1008
1049
  */
@@ -1110,6 +1151,10 @@ export type CostRateAdminResyncCostRatesErrors = {
1110
1151
  * GoneError
1111
1152
  */
1112
1153
  410: GoneError;
1154
+ /**
1155
+ * ContentTooLargeError
1156
+ */
1157
+ 413: ContentTooLargeError;
1113
1158
  /**
1114
1159
  * MisdirectedRequestError
1115
1160
  */
@@ -1207,6 +1252,10 @@ export type DataCentersBootstrapDataCenterErrors = {
1207
1252
  * GoneError
1208
1253
  */
1209
1254
  410: GoneError;
1255
+ /**
1256
+ * ContentTooLargeError
1257
+ */
1258
+ 413: ContentTooLargeError;
1210
1259
  /**
1211
1260
  * MisdirectedRequestError
1212
1261
  */
@@ -1315,6 +1364,10 @@ export type DataCentersGetDataCenterBootstrapStatusErrors = {
1315
1364
  * GoneError
1316
1365
  */
1317
1366
  410: GoneError;
1367
+ /**
1368
+ * ContentTooLargeError
1369
+ */
1370
+ 413: ContentTooLargeError;
1318
1371
  /**
1319
1372
  * MisdirectedRequestError
1320
1373
  */
@@ -1423,6 +1476,10 @@ export type PlatformSettingsGetPlatformSettingErrors = {
1423
1476
  * GoneError
1424
1477
  */
1425
1478
  410: GoneError;
1479
+ /**
1480
+ * ContentTooLargeError
1481
+ */
1482
+ 413: ContentTooLargeError;
1426
1483
  /**
1427
1484
  * MisdirectedRequestError
1428
1485
  */
@@ -1523,6 +1580,10 @@ export type PlatformSettingsUpdatePlatformSettingErrors = {
1523
1580
  * GoneError
1524
1581
  */
1525
1582
  410: GoneError;
1583
+ /**
1584
+ * ContentTooLargeError
1585
+ */
1586
+ 413: ContentTooLargeError;
1526
1587
  /**
1527
1588
  * MisdirectedRequestError
1528
1589
  */
@@ -1619,6 +1680,10 @@ export type CostRateAdminResyncProjectScopeMapErrors = {
1619
1680
  * GoneError
1620
1681
  */
1621
1682
  410: GoneError;
1683
+ /**
1684
+ * ContentTooLargeError
1685
+ */
1686
+ 413: ContentTooLargeError;
1622
1687
  /**
1623
1688
  * MisdirectedRequestError
1624
1689
  */
@@ -1727,6 +1792,10 @@ export type ApiKeysListApiKeysErrors = {
1727
1792
  * GoneError
1728
1793
  */
1729
1794
  410: GoneError;
1795
+ /**
1796
+ * ContentTooLargeError
1797
+ */
1798
+ 413: ContentTooLargeError;
1730
1799
  /**
1731
1800
  * MisdirectedRequestError
1732
1801
  */
@@ -1861,6 +1930,10 @@ export type ApiKeysDeleteApiKeyErrors = {
1861
1930
  * GoneError
1862
1931
  */
1863
1932
  410: GoneError;
1933
+ /**
1934
+ * ContentTooLargeError
1935
+ */
1936
+ 413: ContentTooLargeError;
1864
1937
  /**
1865
1938
  * MisdirectedRequestError
1866
1939
  */
@@ -1956,6 +2029,10 @@ export type ApiKeysGetApiKeyErrors = {
1956
2029
  * GoneError
1957
2030
  */
1958
2031
  410: GoneError;
2032
+ /**
2033
+ * ContentTooLargeError
2034
+ */
2035
+ 413: ContentTooLargeError;
1959
2036
  /**
1960
2037
  * MisdirectedRequestError
1961
2038
  */
@@ -2072,6 +2149,10 @@ export type ApiKeysUpdateApiKeyErrors = {
2072
2149
  * GoneError
2073
2150
  */
2074
2151
  410: GoneError;
2152
+ /**
2153
+ * ContentTooLargeError
2154
+ */
2155
+ 413: ContentTooLargeError;
2075
2156
  /**
2076
2157
  * MisdirectedRequestError
2077
2158
  */
@@ -2189,6 +2270,10 @@ export type ApiKeysGetApiKeyAuditErrors = {
2189
2270
  * GoneError
2190
2271
  */
2191
2272
  410: GoneError;
2273
+ /**
2274
+ * ContentTooLargeError
2275
+ */
2276
+ 413: ContentTooLargeError;
2192
2277
  /**
2193
2278
  * MisdirectedRequestError
2194
2279
  */
@@ -2297,6 +2382,10 @@ export type ApiKeysRotateApiKeyErrors = {
2297
2382
  * GoneError
2298
2383
  */
2299
2384
  410: GoneError;
2385
+ /**
2386
+ * ContentTooLargeError
2387
+ */
2388
+ 413: ContentTooLargeError;
2300
2389
  /**
2301
2390
  * MisdirectedRequestError
2302
2391
  */
@@ -2408,6 +2497,10 @@ export type ApiKeysGetApiKeyUsageErrors = {
2408
2497
  * GoneError
2409
2498
  */
2410
2499
  410: GoneError;
2500
+ /**
2501
+ * ContentTooLargeError
2502
+ */
2503
+ 413: ContentTooLargeError;
2411
2504
  /**
2412
2505
  * MisdirectedRequestError
2413
2506
  */
@@ -2506,6 +2599,10 @@ export type AuthAuthMeErrors = {
2506
2599
  * GoneError
2507
2600
  */
2508
2601
  410: GoneError;
2602
+ /**
2603
+ * ContentTooLargeError
2604
+ */
2605
+ 413: ContentTooLargeError;
2509
2606
  /**
2510
2607
  * MisdirectedRequestError
2511
2608
  */
@@ -2600,6 +2697,10 @@ export type AuthResolveExternalPrincipalErrors = {
2600
2697
  * GoneError
2601
2698
  */
2602
2699
  410: GoneError;
2700
+ /**
2701
+ * ContentTooLargeError
2702
+ */
2703
+ 413: ContentTooLargeError;
2603
2704
  /**
2604
2705
  * MisdirectedRequestError
2605
2706
  */
@@ -2665,8 +2766,8 @@ export type DataCentersListDataCentersData = {
2665
2766
  body?: never;
2666
2767
  path?: never;
2667
2768
  query?: {
2668
- page?: string | string | null;
2669
- limit?: string | string | null;
2769
+ page?: number | null;
2770
+ limit?: number | null;
2670
2771
  search?: string | null;
2671
2772
  sortDir?: 'asc' | 'desc' | null;
2672
2773
  status?: 'active' | 'deprecated' | null;
@@ -2700,6 +2801,10 @@ export type DataCentersListDataCentersErrors = {
2700
2801
  * GoneError
2701
2802
  */
2702
2803
  410: GoneError;
2804
+ /**
2805
+ * ContentTooLargeError
2806
+ */
2807
+ 413: ContentTooLargeError;
2703
2808
  /**
2704
2809
  * MisdirectedRequestError
2705
2810
  */
@@ -2805,6 +2910,10 @@ export type DataCentersCreateDataCenterErrors = {
2805
2910
  * GoneError
2806
2911
  */
2807
2912
  410: GoneError;
2913
+ /**
2914
+ * ContentTooLargeError
2915
+ */
2916
+ 413: ContentTooLargeError;
2808
2917
  /**
2809
2918
  * MisdirectedRequestError
2810
2919
  */
@@ -2913,6 +3022,10 @@ export type DataCentersDeprecateDataCenterErrors = {
2913
3022
  * GoneError
2914
3023
  */
2915
3024
  410: GoneError;
3025
+ /**
3026
+ * ContentTooLargeError
3027
+ */
3028
+ 413: ContentTooLargeError;
2916
3029
  /**
2917
3030
  * MisdirectedRequestError
2918
3031
  */
@@ -3019,6 +3132,10 @@ export type DataCentersGetDataCenterErrors = {
3019
3132
  * GoneError
3020
3133
  */
3021
3134
  410: GoneError;
3135
+ /**
3136
+ * ContentTooLargeError
3137
+ */
3138
+ 413: ContentTooLargeError;
3022
3139
  /**
3023
3140
  * MisdirectedRequestError
3024
3141
  */
@@ -3133,6 +3250,10 @@ export type DataCentersUpdateDataCenterErrors = {
3133
3250
  * GoneError
3134
3251
  */
3135
3252
  410: GoneError;
3253
+ /**
3254
+ * ContentTooLargeError
3255
+ */
3256
+ 413: ContentTooLargeError;
3136
3257
  /**
3137
3258
  * MisdirectedRequestError
3138
3259
  */
@@ -3211,8 +3332,8 @@ export type DataCentersListDataCenterAuditEntriesData = {
3211
3332
  dataCenterId: string;
3212
3333
  };
3213
3334
  query?: {
3214
- page?: string | string | null;
3215
- limit?: string | string | null;
3335
+ page?: number | null;
3336
+ limit?: number | null;
3216
3337
  search?: string | null;
3217
3338
  sortDir?: 'asc' | 'desc' | null;
3218
3339
  action?: 'create' | 'update' | 'deprecate' | null;
@@ -3246,6 +3367,10 @@ export type DataCentersListDataCenterAuditEntriesErrors = {
3246
3367
  * GoneError
3247
3368
  */
3248
3369
  410: GoneError;
3370
+ /**
3371
+ * ContentTooLargeError
3372
+ */
3373
+ 413: ContentTooLargeError;
3249
3374
  /**
3250
3375
  * MisdirectedRequestError
3251
3376
  */
@@ -3353,6 +3478,10 @@ export type IngestTokenExchangeIngestTokenErrors = {
3353
3478
  * GoneError
3354
3479
  */
3355
3480
  410: GoneError;
3481
+ /**
3482
+ * ContentTooLargeError
3483
+ */
3484
+ 413: ContentTooLargeError;
3356
3485
  /**
3357
3486
  * MisdirectedRequestError
3358
3487
  */
@@ -3453,6 +3582,10 @@ export type OrganizationsAcceptOrganizationInvitationErrors = {
3453
3582
  * GoneError
3454
3583
  */
3455
3584
  410: GoneError;
3585
+ /**
3586
+ * ContentTooLargeError
3587
+ */
3588
+ 413: ContentTooLargeError;
3456
3589
  /**
3457
3590
  * MisdirectedRequestError
3458
3591
  */
@@ -3547,6 +3680,10 @@ export type OrganizationsAcceptPendingOrganizationInvitationsErrors = {
3547
3680
  * GoneError
3548
3681
  */
3549
3682
  410: GoneError;
3683
+ /**
3684
+ * ContentTooLargeError
3685
+ */
3686
+ 413: ContentTooLargeError;
3550
3687
  /**
3551
3688
  * MisdirectedRequestError
3552
3689
  */
@@ -3642,6 +3779,10 @@ export type OrganizationsGetOrganizationInvitationDetailsErrors = {
3642
3779
  * GoneError
3643
3780
  */
3644
3781
  410: GoneError;
3782
+ /**
3783
+ * ContentTooLargeError
3784
+ */
3785
+ 413: ContentTooLargeError;
3645
3786
  /**
3646
3787
  * MisdirectedRequestError
3647
3788
  */
@@ -3710,7 +3851,10 @@ export type OrganizationsGetOrganizationInvitationDetailsResponse = Organization
3710
3851
  export type ApiKeysListApiKeysSuperData = {
3711
3852
  body?: never;
3712
3853
  path?: never;
3713
- query?: never;
3854
+ query?: {
3855
+ page?: number | null;
3856
+ limit?: number | null;
3857
+ };
3714
3858
  url: '/v1/keys';
3715
3859
  };
3716
3860
 
@@ -3739,6 +3883,10 @@ export type ApiKeysListApiKeysSuperErrors = {
3739
3883
  * GoneError
3740
3884
  */
3741
3885
  410: GoneError;
3886
+ /**
3887
+ * ContentTooLargeError
3888
+ */
3889
+ 413: ContentTooLargeError;
3742
3890
  /**
3743
3891
  * MisdirectedRequestError
3744
3892
  */
@@ -3769,19 +3917,17 @@ export type ApiKeysListApiKeysSuperResponses = {
3769
3917
  */
3770
3918
  200: {
3771
3919
  code: number;
3772
- data: {
3773
- keys: Array<{
3774
- createdAt: string;
3775
- environment: 'live' | 'test';
3776
- expiresAt: string;
3777
- id: string;
3778
- key: string;
3779
- orgId: string | null;
3780
- projectId: string | null;
3781
- revokedAt: string | null;
3782
- scopes: Array<string>;
3783
- }>;
3784
- } | null;
3920
+ data: Array<{
3921
+ createdAt: string;
3922
+ environment: 'live' | 'test';
3923
+ expiresAt: string;
3924
+ id: string;
3925
+ key: string;
3926
+ orgId: string | null;
3927
+ projectId: string | null;
3928
+ revokedAt: string | null;
3929
+ scopes: Array<string>;
3930
+ }> | null;
3785
3931
  error: {
3786
3932
  code: string;
3787
3933
  details?: unknown | null;
@@ -3847,6 +3993,10 @@ export type ApiKeysCreateApiKeySuperErrors = {
3847
3993
  * GoneError
3848
3994
  */
3849
3995
  410: GoneError;
3996
+ /**
3997
+ * ContentTooLargeError
3998
+ */
3999
+ 413: ContentTooLargeError;
3850
4000
  /**
3851
4001
  * MisdirectedRequestError
3852
4002
  */
@@ -3944,6 +4094,10 @@ export type ApiKeysRevokeApiKeySuperErrors = {
3944
4094
  * GoneError
3945
4095
  */
3946
4096
  410: GoneError;
4097
+ /**
4098
+ * ContentTooLargeError
4099
+ */
4100
+ 413: ContentTooLargeError;
3947
4101
  /**
3948
4102
  * MisdirectedRequestError
3949
4103
  */
@@ -4013,8 +4167,8 @@ export type CostRatesListBuiltinCostRatesData = {
4013
4167
  model?: string | null;
4014
4168
  tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
4015
4169
  asOf?: string | null;
4016
- page?: string | null;
4017
- limit?: string | null;
4170
+ page?: number | null;
4171
+ limit?: number | null;
4018
4172
  includeDeleted?: 'true' | 'false' | null;
4019
4173
  };
4020
4174
  url: '/v1/llm-cost-rates/builtin';
@@ -4045,6 +4199,10 @@ export type CostRatesListBuiltinCostRatesErrors = {
4045
4199
  * GoneError
4046
4200
  */
4047
4201
  410: GoneError;
4202
+ /**
4203
+ * ContentTooLargeError
4204
+ */
4205
+ 413: ContentTooLargeError;
4048
4206
  /**
4049
4207
  * MisdirectedRequestError
4050
4208
  */
@@ -4129,8 +4287,8 @@ export type OrganizationsListOrganizationsData = {
4129
4287
  body?: never;
4130
4288
  path?: never;
4131
4289
  query?: {
4132
- page?: string | string | null;
4133
- limit?: string | string | null;
4290
+ page?: number | null;
4291
+ limit?: number | null;
4134
4292
  search?: string | null;
4135
4293
  sortDir?: 'asc' | 'desc' | null;
4136
4294
  status?: 'active' | 'suspended' | 'deleted' | null;
@@ -4164,6 +4322,10 @@ export type OrganizationsListOrganizationsErrors = {
4164
4322
  * GoneError
4165
4323
  */
4166
4324
  410: GoneError;
4325
+ /**
4326
+ * ContentTooLargeError
4327
+ */
4328
+ 413: ContentTooLargeError;
4167
4329
  /**
4168
4330
  * MisdirectedRequestError
4169
4331
  */
@@ -4272,6 +4434,10 @@ export type OrganizationsCreateOrganizationErrors = {
4272
4434
  * GoneError
4273
4435
  */
4274
4436
  410: GoneError;
4437
+ /**
4438
+ * ContentTooLargeError
4439
+ */
4440
+ 413: ContentTooLargeError;
4275
4441
  /**
4276
4442
  * MisdirectedRequestError
4277
4443
  */
@@ -4373,6 +4539,10 @@ export type OrganizationsDeleteOrganizationErrors = {
4373
4539
  * GoneError
4374
4540
  */
4375
4541
  410: GoneError;
4542
+ /**
4543
+ * ContentTooLargeError
4544
+ */
4545
+ 413: ContentTooLargeError;
4376
4546
  /**
4377
4547
  * MisdirectedRequestError
4378
4548
  */
@@ -4474,6 +4644,10 @@ export type OrganizationsGetOrganizationErrors = {
4474
4644
  * GoneError
4475
4645
  */
4476
4646
  410: GoneError;
4647
+ /**
4648
+ * ContentTooLargeError
4649
+ */
4650
+ 413: ContentTooLargeError;
4477
4651
  /**
4478
4652
  * MisdirectedRequestError
4479
4653
  */
@@ -4550,11 +4724,249 @@ export type OrganizationsUpdateOrganizationData = {
4550
4724
  path: {
4551
4725
  orgId: string;
4552
4726
  };
4553
- query?: never;
4554
- url: '/v1/orgs/{orgId}';
4727
+ query?: never;
4728
+ url: '/v1/orgs/{orgId}';
4729
+ };
4730
+
4731
+ export type OrganizationsUpdateOrganizationErrors = {
4732
+ /**
4733
+ * BadRequestError
4734
+ */
4735
+ 400: BadRequestError;
4736
+ /**
4737
+ * UnauthorizedError
4738
+ */
4739
+ 401: UnauthorizedError;
4740
+ /**
4741
+ * ForbiddenError
4742
+ */
4743
+ 403: ForbiddenError;
4744
+ /**
4745
+ * NotFoundError
4746
+ */
4747
+ 404: NotFoundError;
4748
+ /**
4749
+ * ConflictError
4750
+ */
4751
+ 409: ConflictError;
4752
+ /**
4753
+ * GoneError
4754
+ */
4755
+ 410: GoneError;
4756
+ /**
4757
+ * ContentTooLargeError
4758
+ */
4759
+ 413: ContentTooLargeError;
4760
+ /**
4761
+ * MisdirectedRequestError
4762
+ */
4763
+ 421: MisdirectedRequestError;
4764
+ /**
4765
+ * UnprocessableEntityError
4766
+ */
4767
+ 422: UnprocessableEntityError;
4768
+ /**
4769
+ * TooManyRequestsError
4770
+ */
4771
+ 429: TooManyRequestsError;
4772
+ /**
4773
+ * InternalServerError
4774
+ */
4775
+ 500: InternalServerError;
4776
+ /**
4777
+ * ServiceUnavailableError
4778
+ */
4779
+ 503: ServiceUnavailableError;
4780
+ };
4781
+
4782
+ export type OrganizationsUpdateOrganizationError = OrganizationsUpdateOrganizationErrors[keyof OrganizationsUpdateOrganizationErrors];
4783
+
4784
+ export type OrganizationsUpdateOrganizationResponses = {
4785
+ /**
4786
+ * Success
4787
+ */
4788
+ 200: {
4789
+ code: number;
4790
+ data: {
4791
+ createdAt: string;
4792
+ id: string;
4793
+ name: string;
4794
+ preferredDataCenter: string | null;
4795
+ slug: string;
4796
+ status: 'active' | 'suspended' | 'deleted';
4797
+ updatedAt: string;
4798
+ } | null;
4799
+ error: {
4800
+ code: string;
4801
+ details?: unknown | null;
4802
+ message: string;
4803
+ rowErrors?: Array<{
4804
+ code: string;
4805
+ message: string;
4806
+ path: Array<string | number>;
4807
+ }> | null;
4808
+ } | null;
4809
+ pagination: {
4810
+ limit: number;
4811
+ page: number;
4812
+ total: number;
4813
+ totalPages: number;
4814
+ } | null;
4815
+ sdkBehavior?: {
4816
+ flags: {
4817
+ [key: string]: unknown;
4818
+ };
4819
+ v: number;
4820
+ } | null;
4821
+ success: boolean;
4822
+ };
4823
+ };
4824
+
4825
+ export type OrganizationsUpdateOrganizationResponse = OrganizationsUpdateOrganizationResponses[keyof OrganizationsUpdateOrganizationResponses];
4826
+
4827
+ export type OrgAuditListOrgAuditEventsData = {
4828
+ body?: never;
4829
+ path: {
4830
+ orgId: string;
4831
+ };
4832
+ query?: {
4833
+ resource_type?: string | null;
4834
+ event_type?: string | null;
4835
+ actor_id?: string | null;
4836
+ workspace_id?: string | null;
4837
+ since?: string | null;
4838
+ until?: string | null;
4839
+ limit?: string | null;
4840
+ cursor?: string | null;
4841
+ };
4842
+ url: '/v1/orgs/{orgId}/audit';
4843
+ };
4844
+
4845
+ export type OrgAuditListOrgAuditEventsErrors = {
4846
+ /**
4847
+ * BadRequestError
4848
+ */
4849
+ 400: BadRequestError;
4850
+ /**
4851
+ * UnauthorizedError
4852
+ */
4853
+ 401: UnauthorizedError;
4854
+ /**
4855
+ * ForbiddenError
4856
+ */
4857
+ 403: ForbiddenError;
4858
+ /**
4859
+ * NotFoundError
4860
+ */
4861
+ 404: NotFoundError;
4862
+ /**
4863
+ * ConflictError
4864
+ */
4865
+ 409: ConflictError;
4866
+ /**
4867
+ * GoneError
4868
+ */
4869
+ 410: GoneError;
4870
+ /**
4871
+ * ContentTooLargeError
4872
+ */
4873
+ 413: ContentTooLargeError;
4874
+ /**
4875
+ * MisdirectedRequestError
4876
+ */
4877
+ 421: MisdirectedRequestError;
4878
+ /**
4879
+ * UnprocessableEntityError
4880
+ */
4881
+ 422: UnprocessableEntityError;
4882
+ /**
4883
+ * TooManyRequestsError
4884
+ */
4885
+ 429: TooManyRequestsError;
4886
+ /**
4887
+ * InternalServerError
4888
+ */
4889
+ 500: InternalServerError;
4890
+ /**
4891
+ * ServiceUnavailableError
4892
+ */
4893
+ 503: ServiceUnavailableError;
4894
+ };
4895
+
4896
+ export type OrgAuditListOrgAuditEventsError = OrgAuditListOrgAuditEventsErrors[keyof OrgAuditListOrgAuditEventsErrors];
4897
+
4898
+ export type OrgAuditListOrgAuditEventsResponses = {
4899
+ /**
4900
+ * Success
4901
+ */
4902
+ 200: {
4903
+ code: number;
4904
+ data: {
4905
+ items: Array<{
4906
+ actorId: string;
4907
+ actorType: 'user' | 'api_key' | 'worker';
4908
+ afterState: unknown | null;
4909
+ beforeState: unknown | null;
4910
+ createdAt: string;
4911
+ eventType: string;
4912
+ id: string;
4913
+ organizationId: string | null;
4914
+ reason: string | null;
4915
+ resourceId: string;
4916
+ resourceType: 'role' | 'organization' | 'organization_invitation' | 'workspace' | 'platform_setting' | 'api_key';
4917
+ scope: 'organization' | 'system';
4918
+ workspaceId: string | null;
4919
+ }>;
4920
+ pagination: {
4921
+ nextCursor: string | null;
4922
+ };
4923
+ } | null;
4924
+ error: {
4925
+ code: string;
4926
+ details?: unknown | null;
4927
+ message: string;
4928
+ rowErrors?: Array<{
4929
+ code: string;
4930
+ message: string;
4931
+ path: Array<string | number>;
4932
+ }> | null;
4933
+ } | null;
4934
+ pagination: {
4935
+ limit: number;
4936
+ page: number;
4937
+ total: number;
4938
+ totalPages: number;
4939
+ } | null;
4940
+ sdkBehavior?: {
4941
+ flags: {
4942
+ [key: string]: unknown;
4943
+ };
4944
+ v: number;
4945
+ } | null;
4946
+ success: boolean;
4947
+ };
4948
+ };
4949
+
4950
+ export type OrgAuditListOrgAuditEventsResponse = OrgAuditListOrgAuditEventsResponses[keyof OrgAuditListOrgAuditEventsResponses];
4951
+
4952
+ export type OrgAuditExportExportOrgAuditEventsData = {
4953
+ body?: never;
4954
+ path: {
4955
+ orgId: string;
4956
+ };
4957
+ query?: {
4958
+ format?: 'csv' | 'json' | null;
4959
+ resource_type?: string | null;
4960
+ event_type?: string | null;
4961
+ actor_id?: string | null;
4962
+ workspace_id?: string | null;
4963
+ since?: string | null;
4964
+ until?: string | null;
4965
+ };
4966
+ url: '/v1/orgs/{orgId}/audit/export';
4555
4967
  };
4556
4968
 
4557
- export type OrganizationsUpdateOrganizationErrors = {
4969
+ export type OrgAuditExportExportOrgAuditEventsErrors = {
4558
4970
  /**
4559
4971
  * BadRequestError
4560
4972
  */
@@ -4579,6 +4991,10 @@ export type OrganizationsUpdateOrganizationErrors = {
4579
4991
  * GoneError
4580
4992
  */
4581
4993
  410: GoneError;
4994
+ /**
4995
+ * ContentTooLargeError
4996
+ */
4997
+ 413: ContentTooLargeError;
4582
4998
  /**
4583
4999
  * MisdirectedRequestError
4584
5000
  */
@@ -4601,22 +5017,19 @@ export type OrganizationsUpdateOrganizationErrors = {
4601
5017
  503: ServiceUnavailableError;
4602
5018
  };
4603
5019
 
4604
- export type OrganizationsUpdateOrganizationError = OrganizationsUpdateOrganizationErrors[keyof OrganizationsUpdateOrganizationErrors];
5020
+ export type OrgAuditExportExportOrgAuditEventsError = OrgAuditExportExportOrgAuditEventsErrors[keyof OrgAuditExportExportOrgAuditEventsErrors];
4605
5021
 
4606
- export type OrganizationsUpdateOrganizationResponses = {
5022
+ export type OrgAuditExportExportOrgAuditEventsResponses = {
4607
5023
  /**
4608
5024
  * Success
4609
5025
  */
4610
5026
  200: {
4611
5027
  code: number;
4612
5028
  data: {
4613
- createdAt: string;
4614
- id: string;
4615
- name: string;
4616
- preferredDataCenter: string | null;
4617
- slug: string;
4618
- status: 'active' | 'suspended' | 'deleted';
4619
- updatedAt: string;
5029
+ content: string;
5030
+ exportedAt: string;
5031
+ format: 'csv' | 'json';
5032
+ rowCount: number;
4620
5033
  } | null;
4621
5034
  error: {
4622
5035
  code: string;
@@ -4644,7 +5057,7 @@ export type OrganizationsUpdateOrganizationResponses = {
4644
5057
  };
4645
5058
  };
4646
5059
 
4647
- export type OrganizationsUpdateOrganizationResponse = OrganizationsUpdateOrganizationResponses[keyof OrganizationsUpdateOrganizationResponses];
5060
+ export type OrgAuditExportExportOrgAuditEventsResponse = OrgAuditExportExportOrgAuditEventsResponses[keyof OrgAuditExportExportOrgAuditEventsResponses];
4648
5061
 
4649
5062
  export type DashboardingGetOrganizationPersesLaunchData = {
4650
5063
  body?: never;
@@ -4680,6 +5093,10 @@ export type DashboardingGetOrganizationPersesLaunchErrors = {
4680
5093
  * GoneError
4681
5094
  */
4682
5095
  410: GoneError;
5096
+ /**
5097
+ * ContentTooLargeError
5098
+ */
5099
+ 413: ContentTooLargeError;
4683
5100
  /**
4684
5101
  * MisdirectedRequestError
4685
5102
  */
@@ -4777,6 +5194,10 @@ export type DashboardingSyncOrganizationPersesErrors = {
4777
5194
  * GoneError
4778
5195
  */
4779
5196
  410: GoneError;
5197
+ /**
5198
+ * ContentTooLargeError
5199
+ */
5200
+ 413: ContentTooLargeError;
4780
5201
  /**
4781
5202
  * MisdirectedRequestError
4782
5203
  */
@@ -4848,8 +5269,8 @@ export type OrganizationsListOrganizationInvitationsData = {
4848
5269
  orgId: string;
4849
5270
  };
4850
5271
  query?: {
4851
- page?: string | string | null;
4852
- limit?: string | string | null;
5272
+ page?: number | null;
5273
+ limit?: number | null;
4853
5274
  search?: string | null;
4854
5275
  sortDir?: 'asc' | 'desc' | null;
4855
5276
  status?: 'PENDING' | 'ACCEPTED' | 'REVOKED' | 'EXPIRED' | 'SUPERSEDED' | null;
@@ -4883,6 +5304,10 @@ export type OrganizationsListOrganizationInvitationsErrors = {
4883
5304
  * GoneError
4884
5305
  */
4885
5306
  410: GoneError;
5307
+ /**
5308
+ * ContentTooLargeError
5309
+ */
5310
+ 413: ContentTooLargeError;
4886
5311
  /**
4887
5312
  * MisdirectedRequestError
4888
5313
  */
@@ -5014,6 +5439,10 @@ export type OrganizationsCreateOrganizationInvitationErrors = {
5014
5439
  * GoneError
5015
5440
  */
5016
5441
  410: GoneError;
5442
+ /**
5443
+ * ContentTooLargeError
5444
+ */
5445
+ 413: ContentTooLargeError;
5017
5446
  /**
5018
5447
  * MisdirectedRequestError
5019
5448
  */
@@ -5135,6 +5564,10 @@ export type OrganizationsRevokeOrganizationInvitationErrors = {
5135
5564
  * GoneError
5136
5565
  */
5137
5566
  410: GoneError;
5567
+ /**
5568
+ * ContentTooLargeError
5569
+ */
5570
+ 413: ContentTooLargeError;
5138
5571
  /**
5139
5572
  * MisdirectedRequestError
5140
5573
  */
@@ -5233,6 +5666,10 @@ export type OrganizationsResendOrganizationInvitationErrors = {
5233
5666
  * GoneError
5234
5667
  */
5235
5668
  410: GoneError;
5669
+ /**
5670
+ * ContentTooLargeError
5671
+ */
5672
+ 413: ContentTooLargeError;
5236
5673
  /**
5237
5674
  * MisdirectedRequestError
5238
5675
  */
@@ -5324,7 +5761,10 @@ export type ApiKeysListApiKeysOrgData = {
5324
5761
  path: {
5325
5762
  orgId: string;
5326
5763
  };
5327
- query?: never;
5764
+ query?: {
5765
+ page?: number | null;
5766
+ limit?: number | null;
5767
+ };
5328
5768
  url: '/v1/orgs/{orgId}/keys';
5329
5769
  };
5330
5770
 
@@ -5353,6 +5793,10 @@ export type ApiKeysListApiKeysOrgErrors = {
5353
5793
  * GoneError
5354
5794
  */
5355
5795
  410: GoneError;
5796
+ /**
5797
+ * ContentTooLargeError
5798
+ */
5799
+ 413: ContentTooLargeError;
5356
5800
  /**
5357
5801
  * MisdirectedRequestError
5358
5802
  */
@@ -5383,19 +5827,17 @@ export type ApiKeysListApiKeysOrgResponses = {
5383
5827
  */
5384
5828
  200: {
5385
5829
  code: number;
5386
- data: {
5387
- keys: Array<{
5388
- createdAt: string;
5389
- environment: 'live' | 'test';
5390
- expiresAt: string;
5391
- id: string;
5392
- key: string;
5393
- orgId: string | null;
5394
- projectId: string | null;
5395
- revokedAt: string | null;
5396
- scopes: Array<string>;
5397
- }>;
5398
- } | null;
5830
+ data: Array<{
5831
+ createdAt: string;
5832
+ environment: 'live' | 'test';
5833
+ expiresAt: string;
5834
+ id: string;
5835
+ key: string;
5836
+ orgId: string | null;
5837
+ projectId: string | null;
5838
+ revokedAt: string | null;
5839
+ scopes: Array<string>;
5840
+ }> | null;
5399
5841
  error: {
5400
5842
  code: string;
5401
5843
  details?: unknown | null;
@@ -5464,6 +5906,10 @@ export type ApiKeysCreateApiKeyOrgErrors = {
5464
5906
  * GoneError
5465
5907
  */
5466
5908
  410: GoneError;
5909
+ /**
5910
+ * ContentTooLargeError
5911
+ */
5912
+ 413: ContentTooLargeError;
5467
5913
  /**
5468
5914
  * MisdirectedRequestError
5469
5915
  */
@@ -5574,6 +6020,10 @@ export type ApiKeysRevokeApiKeyOrgErrors = {
5574
6020
  * GoneError
5575
6021
  */
5576
6022
  410: GoneError;
6023
+ /**
6024
+ * ContentTooLargeError
6025
+ */
6026
+ 413: ContentTooLargeError;
5577
6027
  /**
5578
6028
  * MisdirectedRequestError
5579
6029
  */
@@ -5645,8 +6095,8 @@ export type CostRatesListOrgCostRatesData = {
5645
6095
  model?: string | null;
5646
6096
  tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
5647
6097
  asOf?: string | null;
5648
- page?: string | null;
5649
- limit?: string | null;
6098
+ page?: number | null;
6099
+ limit?: number | null;
5650
6100
  includeDeleted?: 'true' | 'false' | null;
5651
6101
  };
5652
6102
  url: '/v1/orgs/{orgId}/llm-cost-rates';
@@ -5677,6 +6127,10 @@ export type CostRatesListOrgCostRatesErrors = {
5677
6127
  * GoneError
5678
6128
  */
5679
6129
  410: GoneError;
6130
+ /**
6131
+ * ContentTooLargeError
6132
+ */
6133
+ 413: ContentTooLargeError;
5680
6134
  /**
5681
6135
  * MisdirectedRequestError
5682
6136
  */
@@ -5803,6 +6257,10 @@ export type CostRatesCreateOrgCostRateErrors = {
5803
6257
  * GoneError
5804
6258
  */
5805
6259
  410: GoneError;
6260
+ /**
6261
+ * ContentTooLargeError
6262
+ */
6263
+ 413: ContentTooLargeError;
5806
6264
  /**
5807
6265
  * MisdirectedRequestError
5808
6266
  */
@@ -5917,6 +6375,10 @@ export type CostRatesDeleteOrgCostRateErrors = {
5917
6375
  * GoneError
5918
6376
  */
5919
6377
  410: GoneError;
6378
+ /**
6379
+ * ContentTooLargeError
6380
+ */
6381
+ 413: ContentTooLargeError;
5920
6382
  /**
5921
6383
  * MisdirectedRequestError
5922
6384
  */
@@ -6016,6 +6478,10 @@ export type CostRatesUpdateOrgCostRateErrors = {
6016
6478
  * GoneError
6017
6479
  */
6018
6480
  410: GoneError;
6481
+ /**
6482
+ * ContentTooLargeError
6483
+ */
6484
+ 413: ContentTooLargeError;
6019
6485
  /**
6020
6486
  * MisdirectedRequestError
6021
6487
  */
@@ -6101,8 +6567,8 @@ export type OrganizationsListOrganizationMembersData = {
6101
6567
  orgId: string;
6102
6568
  };
6103
6569
  query?: {
6104
- page?: string | string | null;
6105
- limit?: string | string | null;
6570
+ page?: number | null;
6571
+ limit?: number | null;
6106
6572
  search?: string | null;
6107
6573
  sortDir?: 'asc' | 'desc' | null;
6108
6574
  sortBy?: 'createdAt' | 'updatedAt' | 'userId' | 'roleId' | null;
@@ -6136,6 +6602,10 @@ export type OrganizationsListOrganizationMembersErrors = {
6136
6602
  * GoneError
6137
6603
  */
6138
6604
  410: GoneError;
6605
+ /**
6606
+ * ContentTooLargeError
6607
+ */
6608
+ 413: ContentTooLargeError;
6139
6609
  /**
6140
6610
  * MisdirectedRequestError
6141
6611
  */
@@ -6249,6 +6719,10 @@ export type OrganizationsRemoveOrganizationMemberErrors = {
6249
6719
  * GoneError
6250
6720
  */
6251
6721
  410: GoneError;
6722
+ /**
6723
+ * ContentTooLargeError
6724
+ */
6725
+ 413: ContentTooLargeError;
6252
6726
  /**
6253
6727
  * MisdirectedRequestError
6254
6728
  */
@@ -6347,6 +6821,10 @@ export type OrganizationsUpsertOrganizationMemberErrors = {
6347
6821
  * GoneError
6348
6822
  */
6349
6823
  410: GoneError;
6824
+ /**
6825
+ * ContentTooLargeError
6826
+ */
6827
+ 413: ContentTooLargeError;
6350
6828
  /**
6351
6829
  * MisdirectedRequestError
6352
6830
  */
@@ -6431,8 +6909,8 @@ export type RbacListPermissionsData = {
6431
6909
  orgId: string;
6432
6910
  };
6433
6911
  query?: {
6434
- page?: string | string | null;
6435
- limit?: string | string | null;
6912
+ page?: number | null;
6913
+ limit?: number | null;
6436
6914
  search?: string | null;
6437
6915
  sortDir?: 'asc' | 'desc' | null;
6438
6916
  sortBy?: 'createdAt' | 'updatedAt' | 'name' | 'slug' | null;
@@ -6465,6 +6943,10 @@ export type RbacListPermissionsErrors = {
6465
6943
  * GoneError
6466
6944
  */
6467
6945
  410: GoneError;
6946
+ /**
6947
+ * ContentTooLargeError
6948
+ */
6949
+ 413: ContentTooLargeError;
6468
6950
  /**
6469
6951
  * MisdirectedRequestError
6470
6952
  */
@@ -6539,8 +7021,8 @@ export type ProjectsListProjectsByOrgData = {
6539
7021
  orgId: string;
6540
7022
  };
6541
7023
  query?: {
6542
- page?: string | string | null;
6543
- limit?: string | string | null;
7024
+ page?: number | null;
7025
+ limit?: number | null;
6544
7026
  search?: string | null;
6545
7027
  sortDir?: 'asc' | 'desc' | null;
6546
7028
  status?: string | null;
@@ -6574,6 +7056,10 @@ export type ProjectsListProjectsByOrgErrors = {
6574
7056
  * GoneError
6575
7057
  */
6576
7058
  410: GoneError;
7059
+ /**
7060
+ * ContentTooLargeError
7061
+ */
7062
+ 413: ContentTooLargeError;
6577
7063
  /**
6578
7064
  * MisdirectedRequestError
6579
7065
  */
@@ -6683,6 +7169,10 @@ export type ProjectsCreateProjectByOrgErrors = {
6683
7169
  * GoneError
6684
7170
  */
6685
7171
  410: GoneError;
7172
+ /**
7173
+ * ContentTooLargeError
7174
+ */
7175
+ 413: ContentTooLargeError;
6686
7176
  /**
6687
7177
  * MisdirectedRequestError
6688
7178
  */
@@ -6759,8 +7249,8 @@ export type OrganizationsListProjectMembersForOrgData = {
6759
7249
  projectId: string;
6760
7250
  };
6761
7251
  query?: {
6762
- page?: string | string | null;
6763
- limit?: string | string | null;
7252
+ page?: number | null;
7253
+ limit?: number | null;
6764
7254
  search?: string | null;
6765
7255
  sortDir?: 'asc' | 'desc' | null;
6766
7256
  sortBy?: 'createdAt' | 'updatedAt' | 'userId' | 'roleId' | null;
@@ -6793,6 +7283,10 @@ export type OrganizationsListProjectMembersForOrgErrors = {
6793
7283
  * GoneError
6794
7284
  */
6795
7285
  410: GoneError;
7286
+ /**
7287
+ * ContentTooLargeError
7288
+ */
7289
+ 413: ContentTooLargeError;
6796
7290
  /**
6797
7291
  * MisdirectedRequestError
6798
7292
  */
@@ -6894,6 +7388,10 @@ export type OrganizationsRemoveProjectMemberForOrgErrors = {
6894
7388
  * GoneError
6895
7389
  */
6896
7390
  410: GoneError;
7391
+ /**
7392
+ * ContentTooLargeError
7393
+ */
7394
+ 413: ContentTooLargeError;
6897
7395
  /**
6898
7396
  * MisdirectedRequestError
6899
7397
  */
@@ -6993,6 +7491,10 @@ export type OrganizationsUpsertProjectMemberForOrgErrors = {
6993
7491
  * GoneError
6994
7492
  */
6995
7493
  410: GoneError;
7494
+ /**
7495
+ * ContentTooLargeError
7496
+ */
7497
+ 413: ContentTooLargeError;
6996
7498
  /**
6997
7499
  * MisdirectedRequestError
6998
7500
  */
@@ -7097,6 +7599,10 @@ export type RbacIntrospectEffectivePermissionsErrors = {
7097
7599
  * GoneError
7098
7600
  */
7099
7601
  410: GoneError;
7602
+ /**
7603
+ * ContentTooLargeError
7604
+ */
7605
+ 413: ContentTooLargeError;
7100
7606
  /**
7101
7607
  * MisdirectedRequestError
7102
7608
  */
@@ -7218,6 +7724,10 @@ export type RbacGetSelfEffectivePermissionsErrors = {
7218
7724
  * GoneError
7219
7725
  */
7220
7726
  410: GoneError;
7727
+ /**
7728
+ * ContentTooLargeError
7729
+ */
7730
+ 413: ContentTooLargeError;
7221
7731
  /**
7222
7732
  * MisdirectedRequestError
7223
7733
  */
@@ -7311,8 +7821,8 @@ export type RbacListRolesData = {
7311
7821
  orgId: string;
7312
7822
  };
7313
7823
  query?: {
7314
- page?: string | string | null;
7315
- limit?: string | string | null;
7824
+ page?: number | null;
7825
+ limit?: number | null;
7316
7826
  search?: string | null;
7317
7827
  sortDir?: 'asc' | 'desc' | null;
7318
7828
  sortBy?: 'createdAt' | 'updatedAt' | 'name' | 'slug' | null;
@@ -7346,6 +7856,10 @@ export type RbacListRolesErrors = {
7346
7856
  * GoneError
7347
7857
  */
7348
7858
  410: GoneError;
7859
+ /**
7860
+ * ContentTooLargeError
7861
+ */
7862
+ 413: ContentTooLargeError;
7349
7863
  /**
7350
7864
  * MisdirectedRequestError
7351
7865
  */
@@ -7455,6 +7969,10 @@ export type RbacCreateRoleErrors = {
7455
7969
  * GoneError
7456
7970
  */
7457
7971
  410: GoneError;
7972
+ /**
7973
+ * ContentTooLargeError
7974
+ */
7975
+ 413: ContentTooLargeError;
7458
7976
  /**
7459
7977
  * MisdirectedRequestError
7460
7978
  */
@@ -7560,6 +8078,10 @@ export type RbacDeleteRoleErrors = {
7560
8078
  * GoneError
7561
8079
  */
7562
8080
  410: GoneError;
8081
+ /**
8082
+ * ContentTooLargeError
8083
+ */
8084
+ 413: ContentTooLargeError;
7563
8085
  /**
7564
8086
  * MisdirectedRequestError
7565
8087
  */
@@ -7659,6 +8181,10 @@ export type RbacUpdateRoleErrors = {
7659
8181
  * GoneError
7660
8182
  */
7661
8183
  410: GoneError;
8184
+ /**
8185
+ * ContentTooLargeError
8186
+ */
8187
+ 413: ContentTooLargeError;
7662
8188
  /**
7663
8189
  * MisdirectedRequestError
7664
8190
  */
@@ -7766,6 +8292,10 @@ export type RbacSetRolePermissionsErrors = {
7766
8292
  * GoneError
7767
8293
  */
7768
8294
  410: GoneError;
8295
+ /**
8296
+ * ContentTooLargeError
8297
+ */
8298
+ 413: ContentTooLargeError;
7769
8299
  /**
7770
8300
  * MisdirectedRequestError
7771
8301
  */
@@ -7873,6 +8403,10 @@ export type RbacSetUserPermissionOverridesErrors = {
7873
8403
  * GoneError
7874
8404
  */
7875
8405
  410: GoneError;
8406
+ /**
8407
+ * ContentTooLargeError
8408
+ */
8409
+ 413: ContentTooLargeError;
7876
8410
  /**
7877
8411
  * MisdirectedRequestError
7878
8412
  */
@@ -7949,8 +8483,8 @@ export type WorkspacesListWorkspacesData = {
7949
8483
  orgId: string;
7950
8484
  };
7951
8485
  query?: {
7952
- page?: string | string | null;
7953
- limit?: string | string | null;
8486
+ page?: number | null;
8487
+ limit?: number | null;
7954
8488
  search?: string | null;
7955
8489
  sortDir?: 'asc' | 'desc' | null;
7956
8490
  status?: string | null;
@@ -7984,6 +8518,10 @@ export type WorkspacesListWorkspacesErrors = {
7984
8518
  * GoneError
7985
8519
  */
7986
8520
  410: GoneError;
8521
+ /**
8522
+ * ContentTooLargeError
8523
+ */
8524
+ 413: ContentTooLargeError;
7987
8525
  /**
7988
8526
  * MisdirectedRequestError
7989
8527
  */
@@ -8089,6 +8627,10 @@ export type WorkspacesCreateWorkspaceErrors = {
8089
8627
  * GoneError
8090
8628
  */
8091
8629
  410: GoneError;
8630
+ /**
8631
+ * ContentTooLargeError
8632
+ */
8633
+ 413: ContentTooLargeError;
8092
8634
  /**
8093
8635
  * MisdirectedRequestError
8094
8636
  */
@@ -8192,6 +8734,10 @@ export type WorkspacesDeleteWorkspaceErrors = {
8192
8734
  * GoneError
8193
8735
  */
8194
8736
  410: GoneError;
8737
+ /**
8738
+ * ContentTooLargeError
8739
+ */
8740
+ 413: ContentTooLargeError;
8195
8741
  /**
8196
8742
  * MisdirectedRequestError
8197
8743
  */
@@ -8295,6 +8841,10 @@ export type WorkspacesGetWorkspaceErrors = {
8295
8841
  * GoneError
8296
8842
  */
8297
8843
  410: GoneError;
8844
+ /**
8845
+ * ContentTooLargeError
8846
+ */
8847
+ 413: ContentTooLargeError;
8298
8848
  /**
8299
8849
  * MisdirectedRequestError
8300
8850
  */
@@ -8403,6 +8953,10 @@ export type WorkspacesUpdateWorkspaceErrors = {
8403
8953
  * GoneError
8404
8954
  */
8405
8955
  410: GoneError;
8956
+ /**
8957
+ * ContentTooLargeError
8958
+ */
8959
+ 413: ContentTooLargeError;
8406
8960
  /**
8407
8961
  * MisdirectedRequestError
8408
8962
  */
@@ -8506,6 +9060,10 @@ export type WorkspacesGetWorkspaceDeletionSummaryErrors = {
8506
9060
  * GoneError
8507
9061
  */
8508
9062
  410: GoneError;
9063
+ /**
9064
+ * ContentTooLargeError
9065
+ */
9066
+ 413: ContentTooLargeError;
8509
9067
  /**
8510
9068
  * MisdirectedRequestError
8511
9069
  */
@@ -8583,8 +9141,8 @@ export type CostRatesListWorkspaceCostRatesData = {
8583
9141
  model?: string | null;
8584
9142
  tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
8585
9143
  asOf?: string | null;
8586
- page?: string | null;
8587
- limit?: string | null;
9144
+ page?: number | null;
9145
+ limit?: number | null;
8588
9146
  includeDeleted?: 'true' | 'false' | null;
8589
9147
  };
8590
9148
  url: '/v1/orgs/{orgId}/workspaces/{workspaceId}/llm-cost-rates';
@@ -8615,6 +9173,10 @@ export type CostRatesListWorkspaceCostRatesErrors = {
8615
9173
  * GoneError
8616
9174
  */
8617
9175
  410: GoneError;
9176
+ /**
9177
+ * ContentTooLargeError
9178
+ */
9179
+ 413: ContentTooLargeError;
8618
9180
  /**
8619
9181
  * MisdirectedRequestError
8620
9182
  */
@@ -8742,6 +9304,10 @@ export type CostRatesCreateWorkspaceCostRateErrors = {
8742
9304
  * GoneError
8743
9305
  */
8744
9306
  410: GoneError;
9307
+ /**
9308
+ * ContentTooLargeError
9309
+ */
9310
+ 413: ContentTooLargeError;
8745
9311
  /**
8746
9312
  * MisdirectedRequestError
8747
9313
  */
@@ -8857,6 +9423,10 @@ export type CostRatesDeleteWorkspaceCostRateErrors = {
8857
9423
  * GoneError
8858
9424
  */
8859
9425
  410: GoneError;
9426
+ /**
9427
+ * ContentTooLargeError
9428
+ */
9429
+ 413: ContentTooLargeError;
8860
9430
  /**
8861
9431
  * MisdirectedRequestError
8862
9432
  */
@@ -8957,6 +9527,10 @@ export type CostRatesUpdateWorkspaceCostRateErrors = {
8957
9527
  * GoneError
8958
9528
  */
8959
9529
  410: GoneError;
9530
+ /**
9531
+ * ContentTooLargeError
9532
+ */
9533
+ 413: ContentTooLargeError;
8960
9534
  /**
8961
9535
  * MisdirectedRequestError
8962
9536
  */
@@ -9043,8 +9617,8 @@ export type WorkspacesListWorkspaceMembersData = {
9043
9617
  workspaceId: string;
9044
9618
  };
9045
9619
  query?: {
9046
- page?: string | string | null;
9047
- limit?: string | string | null;
9620
+ page?: number | null;
9621
+ limit?: number | null;
9048
9622
  search?: string | null;
9049
9623
  sortDir?: 'asc' | 'desc' | null;
9050
9624
  sortBy?: 'createdAt' | 'updatedAt' | 'userId' | 'workspaceRoleId' | null;
@@ -9077,6 +9651,10 @@ export type WorkspacesListWorkspaceMembersErrors = {
9077
9651
  * GoneError
9078
9652
  */
9079
9653
  410: GoneError;
9654
+ /**
9655
+ * ContentTooLargeError
9656
+ */
9657
+ 413: ContentTooLargeError;
9080
9658
  /**
9081
9659
  * MisdirectedRequestError
9082
9660
  */
@@ -9178,6 +9756,10 @@ export type WorkspacesRemoveWorkspaceMemberErrors = {
9178
9756
  * GoneError
9179
9757
  */
9180
9758
  410: GoneError;
9759
+ /**
9760
+ * ContentTooLargeError
9761
+ */
9762
+ 413: ContentTooLargeError;
9181
9763
  /**
9182
9764
  * MisdirectedRequestError
9183
9765
  */
@@ -9277,6 +9859,10 @@ export type WorkspacesUpsertWorkspaceMemberErrors = {
9277
9859
  * GoneError
9278
9860
  */
9279
9861
  410: GoneError;
9862
+ /**
9863
+ * ContentTooLargeError
9864
+ */
9865
+ 413: ContentTooLargeError;
9280
9866
  /**
9281
9867
  * MisdirectedRequestError
9282
9868
  */
@@ -9376,6 +9962,10 @@ export type AuthLookupPrincipalsBatchErrors = {
9376
9962
  * GoneError
9377
9963
  */
9378
9964
  410: GoneError;
9965
+ /**
9966
+ * ContentTooLargeError
9967
+ */
9968
+ 413: ContentTooLargeError;
9379
9969
  /**
9380
9970
  * MisdirectedRequestError
9381
9971
  */
@@ -9486,6 +10076,10 @@ export type ProjectsDeleteProjectErrors = {
9486
10076
  * GoneError
9487
10077
  */
9488
10078
  410: GoneError;
10079
+ /**
10080
+ * ContentTooLargeError
10081
+ */
10082
+ 413: ContentTooLargeError;
9489
10083
  /**
9490
10084
  * MisdirectedRequestError
9491
10085
  */
@@ -9589,6 +10183,10 @@ export type ProjectsGetProjectErrors = {
9589
10183
  * GoneError
9590
10184
  */
9591
10185
  410: GoneError;
10186
+ /**
10187
+ * ContentTooLargeError
10188
+ */
10189
+ 413: ContentTooLargeError;
9592
10190
  /**
9593
10191
  * MisdirectedRequestError
9594
10192
  */
@@ -9696,6 +10294,10 @@ export type ProjectsUpdateProjectErrors = {
9696
10294
  * GoneError
9697
10295
  */
9698
10296
  410: GoneError;
10297
+ /**
10298
+ * ContentTooLargeError
10299
+ */
10300
+ 413: ContentTooLargeError;
9699
10301
  /**
9700
10302
  * MisdirectedRequestError
9701
10303
  */
@@ -9811,6 +10413,10 @@ export type ProjectAuditListProjectAuditEventsErrors = {
9811
10413
  * GoneError
9812
10414
  */
9813
10415
  410: GoneError;
10416
+ /**
10417
+ * ContentTooLargeError
10418
+ */
10419
+ 413: ContentTooLargeError;
9814
10420
  /**
9815
10421
  * MisdirectedRequestError
9816
10422
  */
@@ -9942,6 +10548,10 @@ export type ProjectAuditExportExportProjectAuditEventsErrors = {
9942
10548
  * GoneError
9943
10549
  */
9944
10550
  410: GoneError;
10551
+ /**
10552
+ * ContentTooLargeError
10553
+ */
10554
+ 413: ContentTooLargeError;
9945
10555
  /**
9946
10556
  * MisdirectedRequestError
9947
10557
  */
@@ -10046,6 +10656,10 @@ export type CredentialsDirectoryListProjectCredentialsDirectoryErrors = {
10046
10656
  * GoneError
10047
10657
  */
10048
10658
  410: GoneError;
10659
+ /**
10660
+ * ContentTooLargeError
10661
+ */
10662
+ 413: ContentTooLargeError;
10049
10663
  /**
10050
10664
  * MisdirectedRequestError
10051
10665
  */
@@ -10181,6 +10795,10 @@ export type CredentialAuditGetCredentialAuditErrors = {
10181
10795
  * GoneError
10182
10796
  */
10183
10797
  410: GoneError;
10798
+ /**
10799
+ * ContentTooLargeError
10800
+ */
10801
+ 413: ContentTooLargeError;
10184
10802
  /**
10185
10803
  * MisdirectedRequestError
10186
10804
  */
@@ -10294,6 +10912,10 @@ export type CredentialLineageGetCredentialLineageErrors = {
10294
10912
  * GoneError
10295
10913
  */
10296
10914
  410: GoneError;
10915
+ /**
10916
+ * ContentTooLargeError
10917
+ */
10918
+ 413: ContentTooLargeError;
10297
10919
  /**
10298
10920
  * MisdirectedRequestError
10299
10921
  */
@@ -10410,6 +11032,10 @@ export type DashboardingGetProjectPersesLaunchErrors = {
10410
11032
  * GoneError
10411
11033
  */
10412
11034
  410: GoneError;
11035
+ /**
11036
+ * ContentTooLargeError
11037
+ */
11038
+ 413: ContentTooLargeError;
10413
11039
  /**
10414
11040
  * MisdirectedRequestError
10415
11041
  */
@@ -10507,6 +11133,10 @@ export type DashboardingSyncProjectPersesErrors = {
10507
11133
  * GoneError
10508
11134
  */
10509
11135
  410: GoneError;
11136
+ /**
11137
+ * ContentTooLargeError
11138
+ */
11139
+ 413: ContentTooLargeError;
10510
11140
  /**
10511
11141
  * MisdirectedRequestError
10512
11142
  */
@@ -10606,6 +11236,10 @@ export type ProjectsGetProjectDeletionSummaryErrors = {
10606
11236
  * GoneError
10607
11237
  */
10608
11238
  410: GoneError;
11239
+ /**
11240
+ * ContentTooLargeError
11241
+ */
11242
+ 413: ContentTooLargeError;
10609
11243
  /**
10610
11244
  * MisdirectedRequestError
10611
11245
  */
@@ -10677,6 +11311,8 @@ export type ProjectEnvironmentsListProjectEnvironmentsData = {
10677
11311
  };
10678
11312
  query?: {
10679
11313
  includeArchived?: 'true' | 'false' | null;
11314
+ page?: number | null;
11315
+ limit?: number | null;
10680
11316
  };
10681
11317
  url: '/v1/projects/{projectId}/environments';
10682
11318
  };
@@ -10706,6 +11342,10 @@ export type ProjectEnvironmentsListProjectEnvironmentsErrors = {
10706
11342
  * GoneError
10707
11343
  */
10708
11344
  410: GoneError;
11345
+ /**
11346
+ * ContentTooLargeError
11347
+ */
11348
+ 413: ContentTooLargeError;
10709
11349
  /**
10710
11350
  * MisdirectedRequestError
10711
11351
  */
@@ -10810,6 +11450,10 @@ export type ProjectEnvironmentsCreateProjectEnvironmentErrors = {
10810
11450
  * GoneError
10811
11451
  */
10812
11452
  410: GoneError;
11453
+ /**
11454
+ * ContentTooLargeError
11455
+ */
11456
+ 413: ContentTooLargeError;
10813
11457
  /**
10814
11458
  * MisdirectedRequestError
10815
11459
  */
@@ -10904,6 +11548,10 @@ export type PromptsGetPromptEnvPolicyErrors = {
10904
11548
  * GoneError
10905
11549
  */
10906
11550
  410: GoneError;
11551
+ /**
11552
+ * ContentTooLargeError
11553
+ */
11554
+ 413: ContentTooLargeError;
10907
11555
  /**
10908
11556
  * MisdirectedRequestError
10909
11557
  */
@@ -11023,6 +11671,10 @@ export type PromptsUpsertPromptEnvPolicyErrors = {
11023
11671
  * GoneError
11024
11672
  */
11025
11673
  410: GoneError;
11674
+ /**
11675
+ * ContentTooLargeError
11676
+ */
11677
+ 413: ContentTooLargeError;
11026
11678
  /**
11027
11679
  * MisdirectedRequestError
11028
11680
  */
@@ -11137,6 +11789,10 @@ export type SnapshotGetProjectSnapshotAtTimeErrors = {
11137
11789
  * GoneError
11138
11790
  */
11139
11791
  410: GoneError;
11792
+ /**
11793
+ * ContentTooLargeError
11794
+ */
11795
+ 413: ContentTooLargeError;
11140
11796
  /**
11141
11797
  * MisdirectedRequestError
11142
11798
  */
@@ -11260,6 +11916,10 @@ export type ProjectEnvironmentsUpdateProjectEnvironmentErrors = {
11260
11916
  * GoneError
11261
11917
  */
11262
11918
  410: GoneError;
11919
+ /**
11920
+ * ContentTooLargeError
11921
+ */
11922
+ 413: ContentTooLargeError;
11263
11923
  /**
11264
11924
  * MisdirectedRequestError
11265
11925
  */
@@ -11354,6 +12014,10 @@ export type ProjectEnvironmentsGetProjectEnvironmentErrors = {
11354
12014
  * GoneError
11355
12015
  */
11356
12016
  410: GoneError;
12017
+ /**
12018
+ * ContentTooLargeError
12019
+ */
12020
+ 413: ContentTooLargeError;
11357
12021
  /**
11358
12022
  * MisdirectedRequestError
11359
12023
  */
@@ -11448,6 +12112,10 @@ export type ProjectEnvironmentsArchiveProjectEnvironmentErrors = {
11448
12112
  * GoneError
11449
12113
  */
11450
12114
  410: GoneError;
12115
+ /**
12116
+ * ContentTooLargeError
12117
+ */
12118
+ 413: ContentTooLargeError;
11451
12119
  /**
11452
12120
  * MisdirectedRequestError
11453
12121
  */
@@ -11542,6 +12210,10 @@ export type ProjectEnvironmentsRestoreProjectEnvironmentErrors = {
11542
12210
  * GoneError
11543
12211
  */
11544
12212
  410: GoneError;
12213
+ /**
12214
+ * ContentTooLargeError
12215
+ */
12216
+ 413: ContentTooLargeError;
11545
12217
  /**
11546
12218
  * MisdirectedRequestError
11547
12219
  */
@@ -11606,7 +12278,10 @@ export type ApiKeysListApiKeysProjectData = {
11606
12278
  path: {
11607
12279
  projectId: string;
11608
12280
  };
11609
- query?: never;
12281
+ query?: {
12282
+ page?: number | null;
12283
+ limit?: number | null;
12284
+ };
11610
12285
  url: '/v1/projects/{projectId}/keys';
11611
12286
  };
11612
12287
 
@@ -11635,6 +12310,10 @@ export type ApiKeysListApiKeysProjectErrors = {
11635
12310
  * GoneError
11636
12311
  */
11637
12312
  410: GoneError;
12313
+ /**
12314
+ * ContentTooLargeError
12315
+ */
12316
+ 413: ContentTooLargeError;
11638
12317
  /**
11639
12318
  * MisdirectedRequestError
11640
12319
  */
@@ -11665,19 +12344,17 @@ export type ApiKeysListApiKeysProjectResponses = {
11665
12344
  */
11666
12345
  200: {
11667
12346
  code: number;
11668
- data: {
11669
- keys: Array<{
11670
- createdAt: string;
11671
- environment: 'live' | 'test';
11672
- expiresAt: string;
11673
- id: string;
11674
- key: string;
11675
- orgId: string | null;
11676
- projectId: string | null;
11677
- revokedAt: string | null;
11678
- scopes: Array<string>;
11679
- }>;
11680
- } | null;
12347
+ data: Array<{
12348
+ createdAt: string;
12349
+ environment: 'live' | 'test';
12350
+ expiresAt: string;
12351
+ id: string;
12352
+ key: string;
12353
+ orgId: string | null;
12354
+ projectId: string | null;
12355
+ revokedAt: string | null;
12356
+ scopes: Array<string>;
12357
+ }> | null;
11681
12358
  error: {
11682
12359
  code: string;
11683
12360
  details?: unknown | null;
@@ -11746,6 +12423,10 @@ export type ApiKeysCreateApiKeyProjectErrors = {
11746
12423
  * GoneError
11747
12424
  */
11748
12425
  410: GoneError;
12426
+ /**
12427
+ * ContentTooLargeError
12428
+ */
12429
+ 413: ContentTooLargeError;
11749
12430
  /**
11750
12431
  * MisdirectedRequestError
11751
12432
  */
@@ -11856,6 +12537,10 @@ export type ApiKeysRevokeApiKeyProjectErrors = {
11856
12537
  * GoneError
11857
12538
  */
11858
12539
  410: GoneError;
12540
+ /**
12541
+ * ContentTooLargeError
12542
+ */
12543
+ 413: ContentTooLargeError;
11859
12544
  /**
11860
12545
  * MisdirectedRequestError
11861
12546
  */
@@ -11958,6 +12643,10 @@ export type PromptsListPromptLabelEventsByProjectErrors = {
11958
12643
  * GoneError
11959
12644
  */
11960
12645
  410: GoneError;
12646
+ /**
12647
+ * ContentTooLargeError
12648
+ */
12649
+ 413: ContentTooLargeError;
11961
12650
  /**
11962
12651
  * MisdirectedRequestError
11963
12652
  */
@@ -12035,8 +12724,8 @@ export type CostRatesListProjectCostRatesData = {
12035
12724
  model?: string | null;
12036
12725
  tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
12037
12726
  asOf?: string | null;
12038
- page?: string | null;
12039
- limit?: string | null;
12727
+ page?: number | null;
12728
+ limit?: number | null;
12040
12729
  includeDeleted?: 'true' | 'false' | null;
12041
12730
  };
12042
12731
  url: '/v1/projects/{projectId}/llm-cost-rates';
@@ -12067,6 +12756,10 @@ export type CostRatesListProjectCostRatesErrors = {
12067
12756
  * GoneError
12068
12757
  */
12069
12758
  410: GoneError;
12759
+ /**
12760
+ * ContentTooLargeError
12761
+ */
12762
+ 413: ContentTooLargeError;
12070
12763
  /**
12071
12764
  * MisdirectedRequestError
12072
12765
  */
@@ -12193,6 +12886,10 @@ export type CostRatesCreateProjectCostRateErrors = {
12193
12886
  * GoneError
12194
12887
  */
12195
12888
  410: GoneError;
12889
+ /**
12890
+ * ContentTooLargeError
12891
+ */
12892
+ 413: ContentTooLargeError;
12196
12893
  /**
12197
12894
  * MisdirectedRequestError
12198
12895
  */
@@ -12281,6 +12978,8 @@ export type CostRatesGetEffectiveCostRatesData = {
12281
12978
  provider?: string | null;
12282
12979
  model?: string | null;
12283
12980
  asOf?: string | null;
12981
+ page?: number | null;
12982
+ limit?: number | null;
12284
12983
  };
12285
12984
  url: '/v1/projects/{projectId}/llm-cost-rates/effective';
12286
12985
  };
@@ -12310,6 +13009,10 @@ export type CostRatesGetEffectiveCostRatesErrors = {
12310
13009
  * GoneError
12311
13010
  */
12312
13011
  410: GoneError;
13012
+ /**
13013
+ * ContentTooLargeError
13014
+ */
13015
+ 413: ContentTooLargeError;
12313
13016
  /**
12314
13017
  * MisdirectedRequestError
12315
13018
  */
@@ -12417,6 +13120,10 @@ export type CostRatesDeleteProjectCostRateErrors = {
12417
13120
  * GoneError
12418
13121
  */
12419
13122
  410: GoneError;
13123
+ /**
13124
+ * ContentTooLargeError
13125
+ */
13126
+ 413: ContentTooLargeError;
12420
13127
  /**
12421
13128
  * MisdirectedRequestError
12422
13129
  */
@@ -12516,6 +13223,10 @@ export type CostRatesUpdateProjectCostRateErrors = {
12516
13223
  * GoneError
12517
13224
  */
12518
13225
  410: GoneError;
13226
+ /**
13227
+ * ContentTooLargeError
13228
+ */
13229
+ 413: ContentTooLargeError;
12519
13230
  /**
12520
13231
  * MisdirectedRequestError
12521
13232
  */
@@ -12601,8 +13312,8 @@ export type ProjectsListProjectMembersData = {
12601
13312
  projectId: string;
12602
13313
  };
12603
13314
  query?: {
12604
- page?: string | string | null;
12605
- limit?: string | string | null;
13315
+ page?: number | null;
13316
+ limit?: number | null;
12606
13317
  search?: string | null;
12607
13318
  sortDir?: 'asc' | 'desc' | null;
12608
13319
  sortBy?: 'createdAt' | 'updatedAt' | 'userId' | 'roleId' | null;
@@ -12635,6 +13346,10 @@ export type ProjectsListProjectMembersErrors = {
12635
13346
  * GoneError
12636
13347
  */
12637
13348
  410: GoneError;
13349
+ /**
13350
+ * ContentTooLargeError
13351
+ */
13352
+ 413: ContentTooLargeError;
12638
13353
  /**
12639
13354
  * MisdirectedRequestError
12640
13355
  */
@@ -12735,6 +13450,10 @@ export type ProjectsRemoveProjectMemberErrors = {
12735
13450
  * GoneError
12736
13451
  */
12737
13452
  410: GoneError;
13453
+ /**
13454
+ * ContentTooLargeError
13455
+ */
13456
+ 413: ContentTooLargeError;
12738
13457
  /**
12739
13458
  * MisdirectedRequestError
12740
13459
  */
@@ -12833,6 +13552,10 @@ export type ProjectsUpsertProjectMemberErrors = {
12833
13552
  * GoneError
12834
13553
  */
12835
13554
  410: GoneError;
13555
+ /**
13556
+ * ContentTooLargeError
13557
+ */
13558
+ 413: ContentTooLargeError;
12836
13559
  /**
12837
13560
  * MisdirectedRequestError
12838
13561
  */
@@ -12936,6 +13659,10 @@ export type ProjectOverviewGetProjectOverviewErrors = {
12936
13659
  * GoneError
12937
13660
  */
12938
13661
  410: GoneError;
13662
+ /**
13663
+ * ContentTooLargeError
13664
+ */
13665
+ 413: ContentTooLargeError;
12939
13666
  /**
12940
13667
  * MisdirectedRequestError
12941
13668
  */
@@ -13285,6 +14012,8 @@ export type PromptsListProjectLabelsData = {
13285
14012
  };
13286
14013
  query?: {
13287
14014
  includeArchived?: 'true' | 'false' | null;
14015
+ page?: number | null;
14016
+ limit?: number | null;
13288
14017
  };
13289
14018
  url: '/v1/projects/{projectId}/prompt-labels';
13290
14019
  };
@@ -13314,6 +14043,10 @@ export type PromptsListProjectLabelsErrors = {
13314
14043
  * GoneError
13315
14044
  */
13316
14045
  410: GoneError;
14046
+ /**
14047
+ * ContentTooLargeError
14048
+ */
14049
+ 413: ContentTooLargeError;
13317
14050
  /**
13318
14051
  * MisdirectedRequestError
13319
14052
  */
@@ -13412,6 +14145,10 @@ export type PromptsCreateProjectLabelErrors = {
13412
14145
  * GoneError
13413
14146
  */
13414
14147
  410: GoneError;
14148
+ /**
14149
+ * ContentTooLargeError
14150
+ */
14151
+ 413: ContentTooLargeError;
13415
14152
  /**
13416
14153
  * MisdirectedRequestError
13417
14154
  */
@@ -13506,6 +14243,10 @@ export type PromptsArchiveProjectLabelErrors = {
13506
14243
  * GoneError
13507
14244
  */
13508
14245
  410: GoneError;
14246
+ /**
14247
+ * ContentTooLargeError
14248
+ */
14249
+ 413: ContentTooLargeError;
13509
14250
  /**
13510
14251
  * MisdirectedRequestError
13511
14252
  */
@@ -13600,6 +14341,10 @@ export type PromptsGetProjectLabelErrors = {
13600
14341
  * GoneError
13601
14342
  */
13602
14343
  410: GoneError;
14344
+ /**
14345
+ * ContentTooLargeError
14346
+ */
14347
+ 413: ContentTooLargeError;
13603
14348
  /**
13604
14349
  * MisdirectedRequestError
13605
14350
  */
@@ -13698,6 +14443,10 @@ export type PromptsUpdateProjectLabelErrors = {
13698
14443
  * GoneError
13699
14444
  */
13700
14445
  410: GoneError;
14446
+ /**
14447
+ * ContentTooLargeError
14448
+ */
14449
+ 413: ContentTooLargeError;
13701
14450
  /**
13702
14451
  * MisdirectedRequestError
13703
14452
  */
@@ -13763,7 +14512,10 @@ export type PromptsListProjectLabelUsagesData = {
13763
14512
  projectId: string;
13764
14513
  label: string;
13765
14514
  };
13766
- query?: never;
14515
+ query?: {
14516
+ page?: number | null;
14517
+ limit?: number | null;
14518
+ };
13767
14519
  url: '/v1/projects/{projectId}/prompt-labels/{label}/usages';
13768
14520
  };
13769
14521
 
@@ -13792,6 +14544,10 @@ export type PromptsListProjectLabelUsagesErrors = {
13792
14544
  * GoneError
13793
14545
  */
13794
14546
  410: GoneError;
14547
+ /**
14548
+ * ContentTooLargeError
14549
+ */
14550
+ 413: ContentTooLargeError;
13795
14551
  /**
13796
14552
  * MisdirectedRequestError
13797
14553
  */
@@ -13857,8 +14613,8 @@ export type PromptsListPromptsData = {
13857
14613
  projectId: string;
13858
14614
  };
13859
14615
  query?: {
13860
- page?: string | string | null;
13861
- limit?: string | string | null;
14616
+ page?: number | null;
14617
+ limit?: number | null;
13862
14618
  search?: string | null;
13863
14619
  sortDir?: 'asc' | 'desc' | null;
13864
14620
  status?: string | null;
@@ -13894,6 +14650,10 @@ export type PromptsListPromptsErrors = {
13894
14650
  * GoneError
13895
14651
  */
13896
14652
  410: GoneError;
14653
+ /**
14654
+ * ContentTooLargeError
14655
+ */
14656
+ 413: ContentTooLargeError;
13897
14657
  /**
13898
14658
  * MisdirectedRequestError
13899
14659
  */
@@ -13946,7 +14706,7 @@ export type PromptsListPromptsResponses = {
13946
14706
  name: string;
13947
14707
  projectId: string;
13948
14708
  slug: string;
13949
- status: 'active' | 'draft' | 'archived';
14709
+ status: 'active' | 'archived';
13950
14710
  tags: Array<string>;
13951
14711
  updatedAt: string;
13952
14712
  }> | null;
@@ -13983,7 +14743,6 @@ export type PromptsCreatePromptData = {
13983
14743
  description?: string | null;
13984
14744
  name: string;
13985
14745
  slug: string;
13986
- status?: 'active' | 'draft' | null;
13987
14746
  tags?: Array<string> | null;
13988
14747
  };
13989
14748
  path: {
@@ -14018,6 +14777,10 @@ export type PromptsCreatePromptErrors = {
14018
14777
  * GoneError
14019
14778
  */
14020
14779
  410: GoneError;
14780
+ /**
14781
+ * ContentTooLargeError
14782
+ */
14783
+ 413: ContentTooLargeError;
14021
14784
  /**
14022
14785
  * MisdirectedRequestError
14023
14786
  */
@@ -14081,12 +14844,6 @@ export type PromptsBulkPromptsData = {
14081
14844
  body: {
14082
14845
  action: 'archive' | 'restore';
14083
14846
  promptIds: Array<string>;
14084
- } | {
14085
- action: 'setStatus';
14086
- payload: {
14087
- status: 'active' | 'draft';
14088
- };
14089
- promptIds: Array<string>;
14090
14847
  };
14091
14848
  path: {
14092
14849
  projectId: string;
@@ -14120,6 +14877,10 @@ export type PromptsBulkPromptsErrors = {
14120
14877
  * GoneError
14121
14878
  */
14122
14879
  410: GoneError;
14880
+ /**
14881
+ * ContentTooLargeError
14882
+ */
14883
+ 413: ContentTooLargeError;
14123
14884
  /**
14124
14885
  * MisdirectedRequestError
14125
14886
  */
@@ -14227,6 +14988,10 @@ export type PromptsGetPromptDirectorySummaryErrors = {
14227
14988
  * GoneError
14228
14989
  */
14229
14990
  410: GoneError;
14991
+ /**
14992
+ * ContentTooLargeError
14993
+ */
14994
+ 413: ContentTooLargeError;
14230
14995
  /**
14231
14996
  * MisdirectedRequestError
14232
14997
  */
@@ -14268,7 +15033,6 @@ export type PromptsGetPromptDirectorySummaryResponses = {
14268
15033
  } | null;
14269
15034
  prompts: {
14270
15035
  archived: number;
14271
- draft: number;
14272
15036
  published: number;
14273
15037
  total: number;
14274
15038
  };
@@ -14340,6 +15104,10 @@ export type PromptsArchivePromptErrors = {
14340
15104
  * GoneError
14341
15105
  */
14342
15106
  410: GoneError;
15107
+ /**
15108
+ * ContentTooLargeError
15109
+ */
15110
+ 413: ContentTooLargeError;
14343
15111
  /**
14344
15112
  * MisdirectedRequestError
14345
15113
  */
@@ -14434,6 +15202,10 @@ export type PromptsGetPromptErrors = {
14434
15202
  * GoneError
14435
15203
  */
14436
15204
  410: GoneError;
15205
+ /**
15206
+ * ContentTooLargeError
15207
+ */
15208
+ 413: ContentTooLargeError;
14437
15209
  /**
14438
15210
  * MisdirectedRequestError
14439
15211
  */
@@ -14497,7 +15269,7 @@ export type PromptsUpdatePromptData = {
14497
15269
  body: {
14498
15270
  description?: string | null | null;
14499
15271
  name?: string | null;
14500
- status?: 'active' | 'draft' | 'archived' | null;
15272
+ status?: 'active' | 'archived' | null;
14501
15273
  tags?: Array<string> | null;
14502
15274
  };
14503
15275
  path: {
@@ -14533,6 +15305,10 @@ export type PromptsUpdatePromptErrors = {
14533
15305
  * GoneError
14534
15306
  */
14535
15307
  410: GoneError;
15308
+ /**
15309
+ * ContentTooLargeError
15310
+ */
15311
+ 413: ContentTooLargeError;
14536
15312
  /**
14537
15313
  * MisdirectedRequestError
14538
15314
  */
@@ -14634,6 +15410,10 @@ export type PromptsListPromptLabelEventsByPromptErrors = {
14634
15410
  * GoneError
14635
15411
  */
14636
15412
  410: GoneError;
15413
+ /**
15414
+ * ContentTooLargeError
15415
+ */
15416
+ 413: ContentTooLargeError;
14637
15417
  /**
14638
15418
  * MisdirectedRequestError
14639
15419
  */
@@ -14709,6 +15489,8 @@ export type PromptsListPromptLabelsData = {
14709
15489
  };
14710
15490
  query?: {
14711
15491
  asOf?: string | null;
15492
+ page?: number | null;
15493
+ limit?: number | null;
14712
15494
  };
14713
15495
  url: '/v1/projects/{projectId}/prompts/{promptId}/labels';
14714
15496
  };
@@ -14738,6 +15520,10 @@ export type PromptsListPromptLabelsErrors = {
14738
15520
  * GoneError
14739
15521
  */
14740
15522
  410: GoneError;
15523
+ /**
15524
+ * ContentTooLargeError
15525
+ */
15526
+ 413: ContentTooLargeError;
14741
15527
  /**
14742
15528
  * MisdirectedRequestError
14743
15529
  */
@@ -14836,6 +15622,10 @@ export type PromptsMovePromptLabelErrors = {
14836
15622
  * GoneError
14837
15623
  */
14838
15624
  410: GoneError;
15625
+ /**
15626
+ * ContentTooLargeError
15627
+ */
15628
+ 413: ContentTooLargeError;
14839
15629
  /**
14840
15630
  * MisdirectedRequestError
14841
15631
  */
@@ -14938,6 +15728,10 @@ export type PromptsListPromptLabelEventsByLabelErrors = {
14938
15728
  * GoneError
14939
15729
  */
14940
15730
  410: GoneError;
15731
+ /**
15732
+ * ContentTooLargeError
15733
+ */
15734
+ 413: ContentTooLargeError;
14941
15735
  /**
14942
15736
  * MisdirectedRequestError
14943
15737
  */
@@ -15048,6 +15842,10 @@ export type PromptsSetWeightedReleaseErrors = {
15048
15842
  * GoneError
15049
15843
  */
15050
15844
  410: GoneError;
15845
+ /**
15846
+ * ContentTooLargeError
15847
+ */
15848
+ 413: ContentTooLargeError;
15051
15849
  /**
15052
15850
  * MisdirectedRequestError
15053
15851
  */
@@ -15144,6 +15942,10 @@ export type PromptMetricsGetPromptRequestMetricsErrors = {
15144
15942
  * GoneError
15145
15943
  */
15146
15944
  410: GoneError;
15945
+ /**
15946
+ * ContentTooLargeError
15947
+ */
15948
+ 413: ContentTooLargeError;
15147
15949
  /**
15148
15950
  * MisdirectedRequestError
15149
15951
  */
@@ -15220,7 +16022,10 @@ export type PromptsListPromptVersionsData = {
15220
16022
  projectId: string;
15221
16023
  promptId: string;
15222
16024
  };
15223
- query?: never;
16025
+ query?: {
16026
+ page?: number | null;
16027
+ limit?: number | null;
16028
+ };
15224
16029
  url: '/v1/projects/{projectId}/prompts/{promptId}/versions';
15225
16030
  };
15226
16031
 
@@ -15249,6 +16054,10 @@ export type PromptsListPromptVersionsErrors = {
15249
16054
  * GoneError
15250
16055
  */
15251
16056
  410: GoneError;
16057
+ /**
16058
+ * ContentTooLargeError
16059
+ */
16060
+ 413: ContentTooLargeError;
15252
16061
  /**
15253
16062
  * MisdirectedRequestError
15254
16063
  */
@@ -15351,6 +16160,10 @@ export type PromptsCreatePromptVersionErrors = {
15351
16160
  * GoneError
15352
16161
  */
15353
16162
  410: GoneError;
16163
+ /**
16164
+ * ContentTooLargeError
16165
+ */
16166
+ 413: ContentTooLargeError;
15354
16167
  /**
15355
16168
  * MisdirectedRequestError
15356
16169
  */
@@ -15448,6 +16261,10 @@ export type PromptsGetPromptVersionDiffErrors = {
15448
16261
  * GoneError
15449
16262
  */
15450
16263
  410: GoneError;
16264
+ /**
16265
+ * ContentTooLargeError
16266
+ */
16267
+ 413: ContentTooLargeError;
15451
16268
  /**
15452
16269
  * MisdirectedRequestError
15453
16270
  */
@@ -15628,6 +16445,10 @@ export type PromptsGetPromptVersionErrors = {
15628
16445
  * GoneError
15629
16446
  */
15630
16447
  410: GoneError;
16448
+ /**
16449
+ * ContentTooLargeError
16450
+ */
16451
+ 413: ContentTooLargeError;
15631
16452
  /**
15632
16453
  * MisdirectedRequestError
15633
16454
  */
@@ -15723,6 +16544,10 @@ export type PromptsGetPromptReviewStateErrors = {
15723
16544
  * GoneError
15724
16545
  */
15725
16546
  410: GoneError;
16547
+ /**
16548
+ * ContentTooLargeError
16549
+ */
16550
+ 413: ContentTooLargeError;
15726
16551
  /**
15727
16552
  * MisdirectedRequestError
15728
16553
  */
@@ -15840,6 +16665,10 @@ export type PromptsSubmitPromptReviewErrors = {
15840
16665
  * GoneError
15841
16666
  */
15842
16667
  410: GoneError;
16668
+ /**
16669
+ * ContentTooLargeError
16670
+ */
16671
+ 413: ContentTooLargeError;
15843
16672
  /**
15844
16673
  * MisdirectedRequestError
15845
16674
  */
@@ -15949,6 +16778,10 @@ export type PromptsWithdrawPromptReviewErrors = {
15949
16778
  * GoneError
15950
16779
  */
15951
16780
  410: GoneError;
16781
+ /**
16782
+ * ContentTooLargeError
16783
+ */
16784
+ 413: ContentTooLargeError;
15952
16785
  /**
15953
16786
  * MisdirectedRequestError
15954
16787
  */
@@ -16022,7 +16855,6 @@ export type PromptsWithdrawPromptReviewResponse = PromptsWithdrawPromptReviewRes
16022
16855
 
16023
16856
  export type PromptsResolvePromptData = {
16024
16857
  body: {
16025
- developerRole?: 'user' | 'developer' | 'system' | null;
16026
16858
  labels: Array<string>;
16027
16859
  slug: string;
16028
16860
  subject?: string | null;
@@ -16062,6 +16894,10 @@ export type PromptsResolvePromptErrors = {
16062
16894
  * GoneError
16063
16895
  */
16064
16896
  410: GoneError;
16897
+ /**
16898
+ * ContentTooLargeError
16899
+ */
16900
+ 413: ContentTooLargeError;
16065
16901
  /**
16066
16902
  * MisdirectedRequestError
16067
16903
  */
@@ -16159,6 +16995,10 @@ export type CredentialLifecycleRenameCredentialErrors = {
16159
16995
  * GoneError
16160
16996
  */
16161
16997
  410: GoneError;
16998
+ /**
16999
+ * ContentTooLargeError
17000
+ */
17001
+ 413: ContentTooLargeError;
16162
17002
  /**
16163
17003
  * MisdirectedRequestError
16164
17004
  */
@@ -16270,6 +17110,10 @@ export type CredentialAttachmentsDetachCredentialFromProviderErrors = {
16270
17110
  * GoneError
16271
17111
  */
16272
17112
  410: GoneError;
17113
+ /**
17114
+ * ContentTooLargeError
17115
+ */
17116
+ 413: ContentTooLargeError;
16273
17117
  /**
16274
17118
  * MisdirectedRequestError
16275
17119
  */
@@ -16367,6 +17211,10 @@ export type CredentialAttachmentsAttachCredentialToProviderErrors = {
16367
17211
  * GoneError
16368
17212
  */
16369
17213
  410: GoneError;
17214
+ /**
17215
+ * ContentTooLargeError
17216
+ */
17217
+ 413: ContentTooLargeError;
16370
17218
  /**
16371
17219
  * MisdirectedRequestError
16372
17220
  */
@@ -16464,6 +17312,10 @@ export type CredentialLifecycleRestoreCredentialErrors = {
16464
17312
  * GoneError
16465
17313
  */
16466
17314
  410: GoneError;
17315
+ /**
17316
+ * ContentTooLargeError
17317
+ */
17318
+ 413: ContentTooLargeError;
16467
17319
  /**
16468
17320
  * MisdirectedRequestError
16469
17321
  */
@@ -16539,7 +17391,10 @@ export type CredentialAttachmentsListEligibleCredentialsData = {
16539
17391
  projectId: string;
16540
17392
  providerId: string;
16541
17393
  };
16542
- query?: never;
17394
+ query?: {
17395
+ page?: number | null;
17396
+ limit?: number | null;
17397
+ };
16543
17398
  url: '/v1/projects/{projectId}/providers/{providerId}/eligible-credentials';
16544
17399
  };
16545
17400
 
@@ -16568,6 +17423,10 @@ export type CredentialAttachmentsListEligibleCredentialsErrors = {
16568
17423
  * GoneError
16569
17424
  */
16570
17425
  410: GoneError;
17426
+ /**
17427
+ * ContentTooLargeError
17428
+ */
17429
+ 413: ContentTooLargeError;
16571
17430
  /**
16572
17431
  * MisdirectedRequestError
16573
17432
  */
@@ -16598,16 +17457,14 @@ export type CredentialAttachmentsListEligibleCredentialsResponses = {
16598
17457
  */
16599
17458
  200: {
16600
17459
  code: number;
16601
- data: {
16602
- credentials: Array<{
16603
- createdAt: string;
16604
- credentialType: string;
16605
- id: string;
16606
- keyLast4: string;
16607
- label: string | null;
16608
- providerCatalogId: string;
16609
- }>;
16610
- } | null;
17460
+ data: Array<{
17461
+ createdAt: string;
17462
+ credentialType: string;
17463
+ id: string;
17464
+ keyLast4: string;
17465
+ label: string | null;
17466
+ providerCatalogId: string;
17467
+ }> | null;
16611
17468
  error: {
16612
17469
  code: string;
16613
17470
  details?: unknown | null;
@@ -16680,6 +17537,10 @@ export type ProviderActivationsCreateProviderEnvActivationErrors = {
16680
17537
  * GoneError
16681
17538
  */
16682
17539
  410: GoneError;
17540
+ /**
17541
+ * ContentTooLargeError
17542
+ */
17543
+ 413: ContentTooLargeError;
16683
17544
  /**
16684
17545
  * MisdirectedRequestError
16685
17546
  */
@@ -16805,6 +17666,10 @@ export type ProviderEmergencyRotationEmergencyRotateProviderCredentialErrors = {
16805
17666
  * GoneError
16806
17667
  */
16807
17668
  410: GoneError;
17669
+ /**
17670
+ * ContentTooLargeError
17671
+ */
17672
+ 413: ContentTooLargeError;
16808
17673
  /**
16809
17674
  * MisdirectedRequestError
16810
17675
  */
@@ -16921,6 +17786,10 @@ export type ProviderRollbackRollbackProviderEnvActivationErrors = {
16921
17786
  * GoneError
16922
17787
  */
16923
17788
  410: GoneError;
17789
+ /**
17790
+ * ContentTooLargeError
17791
+ */
17792
+ 413: ContentTooLargeError;
16924
17793
  /**
16925
17794
  * MisdirectedRequestError
16926
17795
  */
@@ -17037,6 +17906,10 @@ export type ProviderEnvPoliciesApproveProviderEnvActivationErrors = {
17037
17906
  * GoneError
17038
17907
  */
17039
17908
  410: GoneError;
17909
+ /**
17910
+ * ContentTooLargeError
17911
+ */
17912
+ 413: ContentTooLargeError;
17040
17913
  /**
17041
17914
  * MisdirectedRequestError
17042
17915
  */
@@ -17150,6 +18023,10 @@ export type ProviderEnvPoliciesRejectProviderEnvActivationErrors = {
17150
18023
  * GoneError
17151
18024
  */
17152
18025
  410: GoneError;
18026
+ /**
18027
+ * ContentTooLargeError
18028
+ */
18029
+ 413: ContentTooLargeError;
17153
18030
  /**
17154
18031
  * MisdirectedRequestError
17155
18032
  */
@@ -17262,6 +18139,10 @@ export type ProviderDeactivationDeactivateProviderEnvActivationErrors = {
17262
18139
  * GoneError
17263
18140
  */
17264
18141
  410: GoneError;
18142
+ /**
18143
+ * ContentTooLargeError
18144
+ */
18145
+ 413: ContentTooLargeError;
17265
18146
  /**
17266
18147
  * MisdirectedRequestError
17267
18148
  */
@@ -17371,6 +18252,10 @@ export type ProviderEnvPoliciesDeleteProviderEnvPolicyErrors = {
17371
18252
  * GoneError
17372
18253
  */
17373
18254
  410: GoneError;
18255
+ /**
18256
+ * ContentTooLargeError
18257
+ */
18258
+ 413: ContentTooLargeError;
17374
18259
  /**
17375
18260
  * MisdirectedRequestError
17376
18261
  */
@@ -17471,6 +18356,10 @@ export type ProviderEnvPoliciesGetProviderEnvPolicyErrors = {
17471
18356
  * GoneError
17472
18357
  */
17473
18358
  410: GoneError;
18359
+ /**
18360
+ * ContentTooLargeError
18361
+ */
18362
+ 413: ContentTooLargeError;
17474
18363
  /**
17475
18364
  * MisdirectedRequestError
17476
18365
  */
@@ -17593,6 +18482,10 @@ export type ProviderEnvPoliciesUpsertProviderEnvPolicyErrors = {
17593
18482
  * GoneError
17594
18483
  */
17595
18484
  410: GoneError;
18485
+ /**
18486
+ * ContentTooLargeError
18487
+ */
18488
+ 413: ContentTooLargeError;
17596
18489
  /**
17597
18490
  * MisdirectedRequestError
17598
18491
  */
@@ -17707,6 +18600,10 @@ export type RoutingMetricsGetRuleFunctionMetricsErrors = {
17707
18600
  * GoneError
17708
18601
  */
17709
18602
  410: GoneError;
18603
+ /**
18604
+ * ContentTooLargeError
18605
+ */
18606
+ 413: ContentTooLargeError;
17710
18607
  /**
17711
18608
  * MisdirectedRequestError
17712
18609
  */
@@ -17830,6 +18727,10 @@ export type RoutingMetricsGetRoutingMetricsSummaryErrors = {
17830
18727
  * GoneError
17831
18728
  */
17832
18729
  410: GoneError;
18730
+ /**
18731
+ * ContentTooLargeError
18732
+ */
18733
+ 413: ContentTooLargeError;
17833
18734
  /**
17834
18735
  * MisdirectedRequestError
17835
18736
  */
@@ -17920,7 +18821,10 @@ export type RoutingProvidersListRoutingProvidersData = {
17920
18821
  path: {
17921
18822
  projectId: string;
17922
18823
  };
17923
- query?: never;
18824
+ query?: {
18825
+ page?: number | null;
18826
+ limit?: number | null;
18827
+ };
17924
18828
  url: '/v1/projects/{projectId}/routing/providers';
17925
18829
  };
17926
18830
 
@@ -17949,6 +18853,10 @@ export type RoutingProvidersListRoutingProvidersErrors = {
17949
18853
  * GoneError
17950
18854
  */
17951
18855
  410: GoneError;
18856
+ /**
18857
+ * ContentTooLargeError
18858
+ */
18859
+ 413: ContentTooLargeError;
17952
18860
  /**
17953
18861
  * MisdirectedRequestError
17954
18862
  */
@@ -18019,7 +18927,7 @@ export type RoutingProvidersListRoutingProvidersResponses = {
18019
18927
  health: 'healthy' | 'degraded' | 'failing';
18020
18928
  id: string;
18021
18929
  lastTestedAt: string | null;
18022
- lifecycleState: 'active' | 'deactivated' | 'archived';
18930
+ lifecycleState: 'active' | 'disconnected' | 'archived' | 'deleted';
18023
18931
  modelCount: number;
18024
18932
  projectId: string;
18025
18933
  providerCatalogId: string;
@@ -18112,6 +19020,10 @@ export type RoutingProvidersCreateRoutingProviderErrors = {
18112
19020
  * GoneError
18113
19021
  */
18114
19022
  410: GoneError;
19023
+ /**
19024
+ * ContentTooLargeError
19025
+ */
19026
+ 413: ContentTooLargeError;
18115
19027
  /**
18116
19028
  * MisdirectedRequestError
18117
19029
  */
@@ -18182,7 +19094,7 @@ export type RoutingProvidersCreateRoutingProviderResponses = {
18182
19094
  health: 'healthy' | 'degraded' | 'failing';
18183
19095
  id: string;
18184
19096
  lastTestedAt: string | null;
18185
- lifecycleState: 'active' | 'deactivated' | 'archived';
19097
+ lifecycleState: 'active' | 'disconnected' | 'archived' | 'deleted';
18186
19098
  modelCount: number;
18187
19099
  projectId: string;
18188
19100
  providerCatalogId: string;
@@ -18316,6 +19228,10 @@ export type RoutingProvidersConnectRoutingProviderErrors = {
18316
19228
  * GoneError
18317
19229
  */
18318
19230
  410: GoneError;
19231
+ /**
19232
+ * ContentTooLargeError
19233
+ */
19234
+ 413: ContentTooLargeError;
18319
19235
  /**
18320
19236
  * MisdirectedRequestError
18321
19237
  */
@@ -18401,7 +19317,7 @@ export type RoutingProvidersConnectRoutingProviderResponses = {
18401
19317
  health: 'healthy' | 'degraded' | 'failing';
18402
19318
  id: string;
18403
19319
  lastTestedAt: string | null;
18404
- lifecycleState: 'active' | 'deactivated' | 'archived';
19320
+ lifecycleState: 'active' | 'disconnected' | 'archived' | 'deleted';
18405
19321
  modelCount: number;
18406
19322
  projectId: string;
18407
19323
  providerCatalogId: string;
@@ -18460,6 +19376,8 @@ export type RoutingMetricsGetRoutingProviderMetricsData = {
18460
19376
  };
18461
19377
  query?: {
18462
19378
  window?: string | null;
19379
+ page?: number | null;
19380
+ limit?: number | null;
18463
19381
  };
18464
19382
  url: '/v1/projects/{projectId}/routing/providers/metrics';
18465
19383
  };
@@ -18489,6 +19407,10 @@ export type RoutingMetricsGetRoutingProviderMetricsErrors = {
18489
19407
  * GoneError
18490
19408
  */
18491
19409
  410: GoneError;
19410
+ /**
19411
+ * ContentTooLargeError
19412
+ */
19413
+ 413: ContentTooLargeError;
18492
19414
  /**
18493
19415
  * MisdirectedRequestError
18494
19416
  */
@@ -18594,6 +19516,10 @@ export type RoutingMetricsGetProvidersSummaryErrors = {
18594
19516
  * GoneError
18595
19517
  */
18596
19518
  410: GoneError;
19519
+ /**
19520
+ * ContentTooLargeError
19521
+ */
19522
+ 413: ContentTooLargeError;
18597
19523
  /**
18598
19524
  * MisdirectedRequestError
18599
19525
  */
@@ -18710,6 +19636,10 @@ export type RoutingProvidersTestRoutingCredentialPreCreateErrors = {
18710
19636
  * GoneError
18711
19637
  */
18712
19638
  410: GoneError;
19639
+ /**
19640
+ * ContentTooLargeError
19641
+ */
19642
+ 413: ContentTooLargeError;
18713
19643
  /**
18714
19644
  * MisdirectedRequestError
18715
19645
  */
@@ -18814,6 +19744,10 @@ export type RoutingProvidersDeleteRoutingProviderErrors = {
18814
19744
  * GoneError
18815
19745
  */
18816
19746
  410: GoneError;
19747
+ /**
19748
+ * ContentTooLargeError
19749
+ */
19750
+ 413: ContentTooLargeError;
18817
19751
  /**
18818
19752
  * MisdirectedRequestError
18819
19753
  */
@@ -18918,6 +19852,10 @@ export type RoutingProvidersGetRoutingProviderErrors = {
18918
19852
  * GoneError
18919
19853
  */
18920
19854
  410: GoneError;
19855
+ /**
19856
+ * ContentTooLargeError
19857
+ */
19858
+ 413: ContentTooLargeError;
18921
19859
  /**
18922
19860
  * MisdirectedRequestError
18923
19861
  */
@@ -18988,7 +19926,7 @@ export type RoutingProvidersGetRoutingProviderResponses = {
18988
19926
  health: 'healthy' | 'degraded' | 'failing';
18989
19927
  id: string;
18990
19928
  lastTestedAt: string | null;
18991
- lifecycleState: 'active' | 'deactivated' | 'archived';
19929
+ lifecycleState: 'active' | 'disconnected' | 'archived' | 'deleted';
18992
19930
  modelCount: number;
18993
19931
  projectId: string;
18994
19932
  providerCatalogId: string;
@@ -19079,6 +20017,10 @@ export type RoutingProvidersUpdateRoutingProviderErrors = {
19079
20017
  * GoneError
19080
20018
  */
19081
20019
  410: GoneError;
20020
+ /**
20021
+ * ContentTooLargeError
20022
+ */
20023
+ 413: ContentTooLargeError;
19082
20024
  /**
19083
20025
  * MisdirectedRequestError
19084
20026
  */
@@ -19149,7 +20091,7 @@ export type RoutingProvidersUpdateRoutingProviderResponses = {
19149
20091
  health: 'healthy' | 'degraded' | 'failing';
19150
20092
  id: string;
19151
20093
  lastTestedAt: string | null;
19152
- lifecycleState: 'active' | 'deactivated' | 'archived';
20094
+ lifecycleState: 'active' | 'disconnected' | 'archived' | 'deleted';
19153
20095
  modelCount: number;
19154
20096
  projectId: string;
19155
20097
  providerCatalogId: string;
@@ -19237,6 +20179,10 @@ export type RoutingProvidersArchiveRoutingProviderErrors = {
19237
20179
  * GoneError
19238
20180
  */
19239
20181
  410: GoneError;
20182
+ /**
20183
+ * ContentTooLargeError
20184
+ */
20185
+ 413: ContentTooLargeError;
19240
20186
  /**
19241
20187
  * MisdirectedRequestError
19242
20188
  */
@@ -19337,6 +20283,10 @@ export type RoutingProviderCatalogResolveRoutingProviderCatalogErrors = {
19337
20283
  * GoneError
19338
20284
  */
19339
20285
  410: GoneError;
20286
+ /**
20287
+ * ContentTooLargeError
20288
+ */
20289
+ 413: ContentTooLargeError;
19340
20290
  /**
19341
20291
  * MisdirectedRequestError
19342
20292
  */
@@ -19453,6 +20403,10 @@ export type RoutingProviderCatalogAcknowledgeRoutingProviderCatalogTransitionErr
19453
20403
  * GoneError
19454
20404
  */
19455
20405
  410: GoneError;
20406
+ /**
20407
+ * ContentTooLargeError
20408
+ */
20409
+ 413: ContentTooLargeError;
19456
20410
  /**
19457
20411
  * MisdirectedRequestError
19458
20412
  */
@@ -19520,7 +20474,10 @@ export type RoutingProvidersListRoutingCredentialsData = {
19520
20474
  projectId: string;
19521
20475
  providerId: string;
19522
20476
  };
19523
- query?: never;
20477
+ query?: {
20478
+ page?: number | null;
20479
+ limit?: number | null;
20480
+ };
19524
20481
  url: '/v1/projects/{projectId}/routing/providers/{providerId}/credentials';
19525
20482
  };
19526
20483
 
@@ -19549,6 +20506,10 @@ export type RoutingProvidersListRoutingCredentialsErrors = {
19549
20506
  * GoneError
19550
20507
  */
19551
20508
  410: GoneError;
20509
+ /**
20510
+ * ContentTooLargeError
20511
+ */
20512
+ 413: ContentTooLargeError;
19552
20513
  /**
19553
20514
  * MisdirectedRequestError
19554
20515
  */
@@ -19676,6 +20637,10 @@ export type RoutingProvidersCreateRoutingCredentialErrors = {
19676
20637
  * GoneError
19677
20638
  */
19678
20639
  410: GoneError;
20640
+ /**
20641
+ * ContentTooLargeError
20642
+ */
20643
+ 413: ContentTooLargeError;
19679
20644
  /**
19680
20645
  * MisdirectedRequestError
19681
20646
  */
@@ -19787,6 +20752,10 @@ export type RoutingProvidersDeleteRoutingCredentialErrors = {
19787
20752
  * GoneError
19788
20753
  */
19789
20754
  410: GoneError;
20755
+ /**
20756
+ * ContentTooLargeError
20757
+ */
20758
+ 413: ContentTooLargeError;
19790
20759
  /**
19791
20760
  * MisdirectedRequestError
19792
20761
  */
@@ -19892,6 +20861,10 @@ export type RoutingProvidersTestRoutingCredentialErrors = {
19892
20861
  * GoneError
19893
20862
  */
19894
20863
  410: GoneError;
20864
+ /**
20865
+ * ContentTooLargeError
20866
+ */
20867
+ 413: ContentTooLargeError;
19895
20868
  /**
19896
20869
  * MisdirectedRequestError
19897
20870
  */
@@ -20000,6 +20973,10 @@ export type ProviderPromoteVersionPromoteProviderEnvVersionErrors = {
20000
20973
  * GoneError
20001
20974
  */
20002
20975
  410: GoneError;
20976
+ /**
20977
+ * ContentTooLargeError
20978
+ */
20979
+ 413: ContentTooLargeError;
20003
20980
  /**
20004
20981
  * MisdirectedRequestError
20005
20982
  */
@@ -20083,7 +21060,10 @@ export type RoutingProvidersListRoutingModelsData = {
20083
21060
  projectId: string;
20084
21061
  providerId: string;
20085
21062
  };
20086
- query?: never;
21063
+ query?: {
21064
+ page?: number | null;
21065
+ limit?: number | null;
21066
+ };
20087
21067
  url: '/v1/projects/{projectId}/routing/providers/{providerId}/models';
20088
21068
  };
20089
21069
 
@@ -20112,6 +21092,10 @@ export type RoutingProvidersListRoutingModelsErrors = {
20112
21092
  * GoneError
20113
21093
  */
20114
21094
  410: GoneError;
21095
+ /**
21096
+ * ContentTooLargeError
21097
+ */
21098
+ 413: ContentTooLargeError;
20115
21099
  /**
20116
21100
  * MisdirectedRequestError
20117
21101
  */
@@ -20222,6 +21206,10 @@ export type RoutingProvidersCreateRoutingModelErrors = {
20222
21206
  * GoneError
20223
21207
  */
20224
21208
  410: GoneError;
21209
+ /**
21210
+ * ContentTooLargeError
21211
+ */
21212
+ 413: ContentTooLargeError;
20225
21213
  /**
20226
21214
  * MisdirectedRequestError
20227
21215
  */
@@ -20335,6 +21323,10 @@ export type RoutingProvidersDeleteRoutingModelErrors = {
20335
21323
  * GoneError
20336
21324
  */
20337
21325
  410: GoneError;
21326
+ /**
21327
+ * ContentTooLargeError
21328
+ */
21329
+ 413: ContentTooLargeError;
20338
21330
  /**
20339
21331
  * MisdirectedRequestError
20340
21332
  */
@@ -20444,6 +21436,10 @@ export type RoutingProvidersUpdateRoutingModelErrors = {
20444
21436
  * GoneError
20445
21437
  */
20446
21438
  410: GoneError;
21439
+ /**
21440
+ * ContentTooLargeError
21441
+ */
21442
+ 413: ContentTooLargeError;
20447
21443
  /**
20448
21444
  * MisdirectedRequestError
20449
21445
  */
@@ -20557,6 +21553,10 @@ export type RoutingProvidersRestoreRoutingModelErrors = {
20557
21553
  * GoneError
20558
21554
  */
20559
21555
  410: GoneError;
21556
+ /**
21557
+ * ContentTooLargeError
21558
+ */
21559
+ 413: ContentTooLargeError;
20560
21560
  /**
20561
21561
  * MisdirectedRequestError
20562
21562
  */
@@ -20671,6 +21671,10 @@ export type RoutingProvidersRestoreRoutingProviderErrors = {
20671
21671
  * GoneError
20672
21672
  */
20673
21673
  410: GoneError;
21674
+ /**
21675
+ * ContentTooLargeError
21676
+ */
21677
+ 413: ContentTooLargeError;
20674
21678
  /**
20675
21679
  * MisdirectedRequestError
20676
21680
  */
@@ -20738,7 +21742,10 @@ export type ProviderConfigVersionsListProviderConfigVersionsData = {
20738
21742
  projectId: string;
20739
21743
  providerId: string;
20740
21744
  };
20741
- query?: never;
21745
+ query?: {
21746
+ page?: number | null;
21747
+ limit?: number | null;
21748
+ };
20742
21749
  url: '/v1/projects/{projectId}/routing/providers/{providerId}/versions';
20743
21750
  };
20744
21751
 
@@ -20767,6 +21774,10 @@ export type ProviderConfigVersionsListProviderConfigVersionsErrors = {
20767
21774
  * GoneError
20768
21775
  */
20769
21776
  410: GoneError;
21777
+ /**
21778
+ * ContentTooLargeError
21779
+ */
21780
+ 413: ContentTooLargeError;
20770
21781
  /**
20771
21782
  * MisdirectedRequestError
20772
21783
  */
@@ -20797,18 +21808,16 @@ export type ProviderConfigVersionsListProviderConfigVersionsResponses = {
20797
21808
  */
20798
21809
  200: {
20799
21810
  code: number;
20800
- data: {
20801
- versions: Array<{
20802
- configSnapshot: {
20803
- [key: string]: unknown;
20804
- };
20805
- contentHash: string;
20806
- createdAt: string;
20807
- createdBy: string | null;
20808
- liveInEnvSlugs: Array<string>;
20809
- version: number;
20810
- }>;
20811
- } | null;
21811
+ data: Array<{
21812
+ configSnapshot: {
21813
+ [key: string]: unknown;
21814
+ };
21815
+ contentHash: string;
21816
+ createdAt: string;
21817
+ createdBy: string | null;
21818
+ liveInEnvSlugs: Array<string>;
21819
+ version: number;
21820
+ }> | null;
20812
21821
  error: {
20813
21822
  code: string;
20814
21823
  details?: unknown | null;
@@ -20842,7 +21851,10 @@ export type RoutingRoutesListRoutingRoutesData = {
20842
21851
  path: {
20843
21852
  projectId: string;
20844
21853
  };
20845
- query?: never;
21854
+ query?: {
21855
+ page?: number | null;
21856
+ limit?: number | null;
21857
+ };
20846
21858
  url: '/v1/projects/{projectId}/routing/routes';
20847
21859
  };
20848
21860
 
@@ -20871,6 +21883,10 @@ export type RoutingRoutesListRoutingRoutesErrors = {
20871
21883
  * GoneError
20872
21884
  */
20873
21885
  410: GoneError;
21886
+ /**
21887
+ * ContentTooLargeError
21888
+ */
21889
+ 413: ContentTooLargeError;
20874
21890
  /**
20875
21891
  * MisdirectedRequestError
20876
21892
  */
@@ -20998,6 +22014,10 @@ export type RoutingRoutesCreateRoutingRouteErrors = {
20998
22014
  * GoneError
20999
22015
  */
21000
22016
  410: GoneError;
22017
+ /**
22018
+ * ContentTooLargeError
22019
+ */
22020
+ 413: ContentTooLargeError;
21001
22021
  /**
21002
22022
  * MisdirectedRequestError
21003
22023
  */
@@ -21112,6 +22132,10 @@ export type RoutingRoutesDeleteRoutingRouteErrors = {
21112
22132
  * GoneError
21113
22133
  */
21114
22134
  410: GoneError;
22135
+ /**
22136
+ * ContentTooLargeError
22137
+ */
22138
+ 413: ContentTooLargeError;
21115
22139
  /**
21116
22140
  * MisdirectedRequestError
21117
22141
  */
@@ -21208,6 +22232,10 @@ export type RoutingRoutesGetRoutingRouteErrors = {
21208
22232
  * GoneError
21209
22233
  */
21210
22234
  410: GoneError;
22235
+ /**
22236
+ * ContentTooLargeError
22237
+ */
22238
+ 413: ContentTooLargeError;
21211
22239
  /**
21212
22240
  * MisdirectedRequestError
21213
22241
  */
@@ -21336,6 +22364,10 @@ export type RoutingRoutesPatchRoutingRouteErrors = {
21336
22364
  * GoneError
21337
22365
  */
21338
22366
  410: GoneError;
22367
+ /**
22368
+ * ContentTooLargeError
22369
+ */
22370
+ 413: ContentTooLargeError;
21339
22371
  /**
21340
22372
  * MisdirectedRequestError
21341
22373
  */
@@ -21464,6 +22496,10 @@ export type RoutingRoutesReplaceRoutingRouteErrors = {
21464
22496
  * GoneError
21465
22497
  */
21466
22498
  410: GoneError;
22499
+ /**
22500
+ * ContentTooLargeError
22501
+ */
22502
+ 413: ContentTooLargeError;
21467
22503
  /**
21468
22504
  * MisdirectedRequestError
21469
22505
  */
@@ -21578,6 +22614,10 @@ export type RuleEnvPoliciesDeleteRuleEnvPolicyErrors = {
21578
22614
  * GoneError
21579
22615
  */
21580
22616
  410: GoneError;
22617
+ /**
22618
+ * ContentTooLargeError
22619
+ */
22620
+ 413: ContentTooLargeError;
21581
22621
  /**
21582
22622
  * MisdirectedRequestError
21583
22623
  */
@@ -21676,6 +22716,10 @@ export type RuleEnvPoliciesGetRuleEnvPolicyErrors = {
21676
22716
  * GoneError
21677
22717
  */
21678
22718
  410: GoneError;
22719
+ /**
22720
+ * ContentTooLargeError
22721
+ */
22722
+ 413: ContentTooLargeError;
21679
22723
  /**
21680
22724
  * MisdirectedRequestError
21681
22725
  */
@@ -21790,6 +22834,10 @@ export type RuleEnvPoliciesUpsertRuleEnvPolicyErrors = {
21790
22834
  * GoneError
21791
22835
  */
21792
22836
  410: GoneError;
22837
+ /**
22838
+ * ContentTooLargeError
22839
+ */
22840
+ 413: ContentTooLargeError;
21793
22841
  /**
21794
22842
  * MisdirectedRequestError
21795
22843
  */
@@ -21901,6 +22949,10 @@ export type RuleReleasesListRuleReleasesErrors = {
21901
22949
  * GoneError
21902
22950
  */
21903
22951
  410: GoneError;
22952
+ /**
22953
+ * ContentTooLargeError
22954
+ */
22955
+ 413: ContentTooLargeError;
21904
22956
  /**
21905
22957
  * MisdirectedRequestError
21906
22958
  */
@@ -21998,6 +23050,10 @@ export type RuleReleasesListRuleReleasesEnvErrors = {
21998
23050
  * GoneError
21999
23051
  */
22000
23052
  410: GoneError;
23053
+ /**
23054
+ * ContentTooLargeError
23055
+ */
23056
+ 413: ContentTooLargeError;
22001
23057
  /**
22002
23058
  * MisdirectedRequestError
22003
23059
  */
@@ -22101,6 +23157,10 @@ export type RuleReleasesInsertRuleReleaseErrors = {
22101
23157
  * GoneError
22102
23158
  */
22103
23159
  410: GoneError;
23160
+ /**
23161
+ * ContentTooLargeError
23162
+ */
23163
+ 413: ContentTooLargeError;
22104
23164
  /**
22105
23165
  * MisdirectedRequestError
22106
23166
  */
@@ -22207,6 +23267,10 @@ export type RuleReleasesRollbackRuleReleaseErrors = {
22207
23267
  * GoneError
22208
23268
  */
22209
23269
  410: GoneError;
23270
+ /**
23271
+ * ContentTooLargeError
23272
+ */
23273
+ 413: ContentTooLargeError;
22210
23274
  /**
22211
23275
  * MisdirectedRequestError
22212
23276
  */
@@ -22311,6 +23375,10 @@ export type RuleReleasesGetRuleReleaseErrors = {
22311
23375
  * GoneError
22312
23376
  */
22313
23377
  410: GoneError;
23378
+ /**
23379
+ * ContentTooLargeError
23380
+ */
23381
+ 413: ContentTooLargeError;
22314
23382
  /**
22315
23383
  * MisdirectedRequestError
22316
23384
  */
@@ -22408,6 +23476,10 @@ export type RuleReleaseApprovalsApproveRuleReleaseErrors = {
22408
23476
  * GoneError
22409
23477
  */
22410
23478
  410: GoneError;
23479
+ /**
23480
+ * ContentTooLargeError
23481
+ */
23482
+ 413: ContentTooLargeError;
22411
23483
  /**
22412
23484
  * MisdirectedRequestError
22413
23485
  */
@@ -22519,6 +23591,10 @@ export type RuleReleaseApprovalsRejectRuleReleaseErrors = {
22519
23591
  * GoneError
22520
23592
  */
22521
23593
  410: GoneError;
23594
+ /**
23595
+ * ContentTooLargeError
23596
+ */
23597
+ 413: ContentTooLargeError;
22522
23598
  /**
22523
23599
  * MisdirectedRequestError
22524
23600
  */
@@ -22630,6 +23706,10 @@ export type RuleVersionsListRuleVersionsErrors = {
22630
23706
  * GoneError
22631
23707
  */
22632
23708
  410: GoneError;
23709
+ /**
23710
+ * ContentTooLargeError
23711
+ */
23712
+ 413: ContentTooLargeError;
22633
23713
  /**
22634
23714
  * MisdirectedRequestError
22635
23715
  */
@@ -22727,6 +23807,10 @@ export type RuleVersionsCreateRuleVersionErrors = {
22727
23807
  * GoneError
22728
23808
  */
22729
23809
  410: GoneError;
23810
+ /**
23811
+ * ContentTooLargeError
23812
+ */
23813
+ 413: ContentTooLargeError;
22730
23814
  /**
22731
23815
  * MisdirectedRequestError
22732
23816
  */
@@ -22830,6 +23914,10 @@ export type RuleVersionsGetRuleVersionErrors = {
22830
23914
  * GoneError
22831
23915
  */
22832
23916
  410: GoneError;
23917
+ /**
23918
+ * ContentTooLargeError
23919
+ */
23920
+ 413: ContentTooLargeError;
22833
23921
  /**
22834
23922
  * MisdirectedRequestError
22835
23923
  */
@@ -22894,7 +23982,10 @@ export type RoutingTargetsListRoutingTargetsData = {
22894
23982
  path: {
22895
23983
  projectId: string;
22896
23984
  };
22897
- query?: never;
23985
+ query?: {
23986
+ page?: number | null;
23987
+ limit?: number | null;
23988
+ };
22898
23989
  url: '/v1/projects/{projectId}/routing/targets';
22899
23990
  };
22900
23991
 
@@ -22923,6 +24014,10 @@ export type RoutingTargetsListRoutingTargetsErrors = {
22923
24014
  * GoneError
22924
24015
  */
22925
24016
  410: GoneError;
24017
+ /**
24018
+ * ContentTooLargeError
24019
+ */
24020
+ 413: ContentTooLargeError;
22926
24021
  /**
22927
24022
  * MisdirectedRequestError
22928
24023
  */
@@ -23032,6 +24127,10 @@ export type RoutingTargetsCreateRoutingTargetErrors = {
23032
24127
  * GoneError
23033
24128
  */
23034
24129
  410: GoneError;
24130
+ /**
24131
+ * ContentTooLargeError
24132
+ */
24133
+ 413: ContentTooLargeError;
23035
24134
  /**
23036
24135
  * MisdirectedRequestError
23037
24136
  */
@@ -23136,6 +24235,10 @@ export type RoutingTargetsDeleteRoutingTargetErrors = {
23136
24235
  * GoneError
23137
24236
  */
23138
24237
  410: GoneError;
24238
+ /**
24239
+ * ContentTooLargeError
24240
+ */
24241
+ 413: ContentTooLargeError;
23139
24242
  /**
23140
24243
  * MisdirectedRequestError
23141
24244
  */
@@ -23232,6 +24335,10 @@ export type RoutingTargetsGetRoutingTargetErrors = {
23232
24335
  * GoneError
23233
24336
  */
23234
24337
  410: GoneError;
24338
+ /**
24339
+ * ContentTooLargeError
24340
+ */
24341
+ 413: ContentTooLargeError;
23235
24342
  /**
23236
24343
  * MisdirectedRequestError
23237
24344
  */
@@ -23342,6 +24449,10 @@ export type RoutingTargetsUpdateRoutingTargetErrors = {
23342
24449
  * GoneError
23343
24450
  */
23344
24451
  410: GoneError;
24452
+ /**
24453
+ * ContentTooLargeError
24454
+ */
24455
+ 413: ContentTooLargeError;
23345
24456
  /**
23346
24457
  * MisdirectedRequestError
23347
24458
  */
@@ -23452,6 +24563,10 @@ export type ScheduledChangesListScheduledChangesErrors = {
23452
24563
  * GoneError
23453
24564
  */
23454
24565
  410: GoneError;
24566
+ /**
24567
+ * ContentTooLargeError
24568
+ */
24569
+ 413: ContentTooLargeError;
23455
24570
  /**
23456
24571
  * MisdirectedRequestError
23457
24572
  */
@@ -23556,8 +24671,6 @@ export type TracesListTracesData = {
23556
24671
  minCost?: string | null;
23557
24672
  maxCost?: string | null;
23558
24673
  hasToolCalls?: 'yes' | 'no' | null;
23559
- invalidToolSelection?: 'yes' | null;
23560
- schemaFailure?: 'yes' | null;
23561
24674
  timePreset?: '10m' | '30m' | '1h' | '2h' | '3h' | '8h' | '24h' | '7d' | '14d' | '28d' | '60d' | null;
23562
24675
  startTimeFrom?: string | null;
23563
24676
  startTimeTo?: string | null;
@@ -23590,6 +24703,10 @@ export type TracesListTracesErrors = {
23590
24703
  * GoneError
23591
24704
  */
23592
24705
  410: GoneError;
24706
+ /**
24707
+ * ContentTooLargeError
24708
+ */
24709
+ 413: ContentTooLargeError;
23593
24710
  /**
23594
24711
  * MisdirectedRequestError
23595
24712
  */
@@ -23706,7 +24823,6 @@ export type TracesListTracesResponses = {
23706
24823
  cost_usd: number | null;
23707
24824
  duration_ms: number;
23708
24825
  input_tokens: number;
23709
- invalid_tool_calls: number;
23710
24826
  model: string;
23711
24827
  output_tokens: number;
23712
24828
  provider: string;
@@ -23786,6 +24902,10 @@ export type TracesGetTraceDetailErrors = {
23786
24902
  * GoneError
23787
24903
  */
23788
24904
  410: GoneError;
24905
+ /**
24906
+ * ContentTooLargeError
24907
+ */
24908
+ 413: ContentTooLargeError;
23789
24909
  /**
23790
24910
  * MisdirectedRequestError
23791
24911
  */
@@ -23904,6 +25024,12 @@ export type TracesGetTraceDetailResponses = {
23904
25024
  attributes: {
23905
25025
  [key: string]: string | number | boolean | null;
23906
25026
  };
25027
+ consumedBy?: Array<{
25028
+ kind: string;
25029
+ name: string;
25030
+ spanId: string;
25031
+ traceId: string;
25032
+ }> | null;
23907
25033
  cost: {
23908
25034
  currency: 'USD';
23909
25035
  tokens: {
@@ -23952,6 +25078,15 @@ export type TracesGetTraceDetailResponses = {
23952
25078
  timestampOffsetMs: number;
23953
25079
  }>;
23954
25080
  kind: 'SERVER' | 'CLIENT' | 'INTERNAL';
25081
+ links?: Array<{
25082
+ attributes: {
25083
+ [key: string]: string;
25084
+ };
25085
+ kind: string;
25086
+ name: string;
25087
+ spanId: string;
25088
+ traceId: string;
25089
+ }> | null;
23955
25090
  name: string;
23956
25091
  parent_span_id: string | null;
23957
25092
  span_id: string;
@@ -23965,9 +25100,7 @@ export type TracesGetTraceDetailResponses = {
23965
25100
  status: 'ok' | 'error' | 'timeout';
23966
25101
  summary: {
23967
25102
  cost_usd: number | null;
23968
- has_schema_failure: boolean;
23969
25103
  input_tokens: number;
23970
- invalid_tool_calls: number;
23971
25104
  llm_call_count: number;
23972
25105
  model: string;
23973
25106
  output_tokens: number;
@@ -24039,6 +25172,10 @@ export type RoutingTokensMintRoutingReadTokenErrors = {
24039
25172
  * GoneError
24040
25173
  */
24041
25174
  410: GoneError;
25175
+ /**
25176
+ * ContentTooLargeError
25177
+ */
25178
+ 413: ContentTooLargeError;
24042
25179
  /**
24043
25180
  * MisdirectedRequestError
24044
25181
  */
@@ -24104,7 +25241,10 @@ export type RoutingTokensMintRoutingReadTokenResponse = RoutingTokensMintRouting
24104
25241
  export type SupportedProvidersListSupportedProvidersData = {
24105
25242
  body?: never;
24106
25243
  path?: never;
24107
- query?: never;
25244
+ query?: {
25245
+ page?: number | null;
25246
+ limit?: number | null;
25247
+ };
24108
25248
  url: '/v1/supported-providers';
24109
25249
  };
24110
25250
 
@@ -24133,6 +25273,10 @@ export type SupportedProvidersListSupportedProvidersErrors = {
24133
25273
  * GoneError
24134
25274
  */
24135
25275
  410: GoneError;
25276
+ /**
25277
+ * ContentTooLargeError
25278
+ */
25279
+ 413: ContentTooLargeError;
24136
25280
  /**
24137
25281
  * MisdirectedRequestError
24138
25282
  */
@@ -24163,26 +25307,24 @@ export type SupportedProvidersListSupportedProvidersResponses = {
24163
25307
  */
24164
25308
  200: {
24165
25309
  code: number;
24166
- data: {
24167
- providers: Array<{
24168
- authMethods: unknown;
24169
- brandColor: string | null;
24170
- configSchema: unknown;
24171
- defaultBaseUrl: string;
24172
- description: string;
24173
- displayName: string;
24174
- id: string;
24175
- logoSlug: string;
24176
- monogram: string;
24177
- popular: boolean;
24178
- qualifiers: unknown;
24179
- region: boolean;
24180
- suggestedBaseUrl: string | null;
24181
- templateFields: unknown;
24182
- testStrategy: 'list-models' | 'list-models-quirk' | 'list-models-templated' | 'cloud-sdk' | 'probe-completion';
24183
- tier: 'frontier' | 'speed' | 'open' | 'aggregator' | 'cloud' | 'self';
24184
- }>;
24185
- } | null;
25310
+ data: Array<{
25311
+ authMethods: unknown;
25312
+ brandColor: string | null;
25313
+ configSchema: unknown;
25314
+ defaultBaseUrl: string;
25315
+ description: string;
25316
+ displayName: string;
25317
+ id: string;
25318
+ logoSlug: string;
25319
+ monogram: string;
25320
+ popular: boolean;
25321
+ qualifiers: unknown;
25322
+ region: boolean;
25323
+ suggestedBaseUrl: string | null;
25324
+ templateFields: unknown;
25325
+ testStrategy: 'list-models' | 'list-models-quirk' | 'list-models-templated' | 'cloud-sdk' | 'probe-completion';
25326
+ tier: 'frontier' | 'speed' | 'open' | 'aggregator' | 'cloud' | 'self';
25327
+ }> | null;
24186
25328
  error: {
24187
25329
  code: string;
24188
25330
  details?: unknown | null;
@@ -24246,6 +25388,10 @@ export type RbacAssignSystemRoleErrors = {
24246
25388
  * GoneError
24247
25389
  */
24248
25390
  410: GoneError;
25391
+ /**
25392
+ * ContentTooLargeError
25393
+ */
25394
+ 413: ContentTooLargeError;
24249
25395
  /**
24250
25396
  * MisdirectedRequestError
24251
25397
  */
@@ -24313,8 +25459,8 @@ export type ProjectsListProjectsData = {
24313
25459
  workspaceId: string;
24314
25460
  };
24315
25461
  query?: {
24316
- page?: string | string | null;
24317
- limit?: string | string | null;
25462
+ page?: number | null;
25463
+ limit?: number | null;
24318
25464
  search?: string | null;
24319
25465
  sortDir?: 'asc' | 'desc' | null;
24320
25466
  status?: string | null;
@@ -24348,6 +25494,10 @@ export type ProjectsListProjectsErrors = {
24348
25494
  * GoneError
24349
25495
  */
24350
25496
  410: GoneError;
25497
+ /**
25498
+ * ContentTooLargeError
25499
+ */
25500
+ 413: ContentTooLargeError;
24351
25501
  /**
24352
25502
  * MisdirectedRequestError
24353
25503
  */
@@ -24455,6 +25605,10 @@ export type ProjectsCreateProjectErrors = {
24455
25605
  * GoneError
24456
25606
  */
24457
25607
  410: GoneError;
25608
+ /**
25609
+ * ContentTooLargeError
25610
+ */
25611
+ 413: ContentTooLargeError;
24458
25612
  /**
24459
25613
  * MisdirectedRequestError
24460
25614
  */
@@ -24564,6 +25718,10 @@ export type ApiKeysCreateApiKeyWorkspaceErrors = {
24564
25718
  * GoneError
24565
25719
  */
24566
25720
  410: GoneError;
25721
+ /**
25722
+ * ContentTooLargeError
25723
+ */
25724
+ 413: ContentTooLargeError;
24567
25725
  /**
24568
25726
  * MisdirectedRequestError
24569
25727
  */