@gpt-core/client 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -116,6 +116,19 @@ type WorkspaceFilterExpiresAt = {
116
116
  * Filters the query to results matching the given filter object
117
117
  */
118
118
  type SearchFilter = unknown;
119
+ type ConversationFilterTitle = {
120
+ contains?: string;
121
+ eq?: string;
122
+ greater_than?: string;
123
+ greater_than_or_equal?: string;
124
+ ilike?: string;
125
+ in?: Array<string>;
126
+ is_nil?: boolean;
127
+ less_than?: string;
128
+ less_than_or_equal?: string;
129
+ like?: string;
130
+ not_eq?: string;
131
+ };
119
132
  type UserProfileFilterUserId = {
120
133
  eq?: string;
121
134
  greater_than?: string;
@@ -225,6 +238,16 @@ type Wallet = {
225
238
  };
226
239
  type: string;
227
240
  };
241
+ type MessageFilterRole = {
242
+ eq?: "system" | "user" | "assistant";
243
+ greater_than?: "system" | "user" | "assistant";
244
+ greater_than_or_equal?: "system" | "user" | "assistant";
245
+ in?: Array<string>;
246
+ is_nil?: boolean;
247
+ less_than?: "system" | "user" | "assistant";
248
+ less_than_or_equal?: "system" | "user" | "assistant";
249
+ not_eq?: "system" | "user" | "assistant";
250
+ };
228
251
  /**
229
252
  * A "Resource object" representing a message
230
253
  */
@@ -298,6 +321,16 @@ type UserFilterId = {
298
321
  less_than_or_equal?: string;
299
322
  not_eq?: string;
300
323
  };
324
+ type ConversationFilterTenantId = {
325
+ eq?: string;
326
+ greater_than?: string;
327
+ greater_than_or_equal?: string;
328
+ in?: Array<string>;
329
+ is_nil?: boolean;
330
+ less_than?: string;
331
+ less_than_or_equal?: string;
332
+ not_eq?: string;
333
+ };
301
334
  type WalletFilterCredits = {
302
335
  eq?: number;
303
336
  greater_than?: number;
@@ -371,6 +404,16 @@ type WalletFilterCreditsFree = {
371
404
  less_than_or_equal?: number;
372
405
  not_eq?: number;
373
406
  };
407
+ type ApiKeyFilterExpiresAt = {
408
+ eq?: unknown;
409
+ greater_than?: unknown;
410
+ greater_than_or_equal?: unknown;
411
+ in?: Array<unknown>;
412
+ is_nil?: boolean;
413
+ less_than?: unknown;
414
+ less_than_or_equal?: unknown;
415
+ not_eq?: unknown;
416
+ };
374
417
  type DocumentFilterTenantId = {
375
418
  eq?: string;
376
419
  greater_than?: string;
@@ -585,6 +628,22 @@ type PlanFilterStorageDays = {
585
628
  less_than_or_equal?: number;
586
629
  not_eq?: number;
587
630
  };
631
+ /**
632
+ * ID of the Specialty Agent assigned to this workspace
633
+ */
634
+ type WorkspaceFilterSpecialtyAgentId = {
635
+ contains?: string;
636
+ eq?: string;
637
+ greater_than?: string;
638
+ greater_than_or_equal?: string;
639
+ ilike?: string;
640
+ in?: Array<string>;
641
+ is_nil?: boolean;
642
+ less_than?: string;
643
+ less_than_or_equal?: string;
644
+ like?: string;
645
+ not_eq?: string;
646
+ };
588
647
  type StorageStatsFilterTotalObjects = {
589
648
  eq?: number;
590
649
  greater_than?: number;
@@ -800,6 +859,16 @@ type UserFilterIsAppAdmin = {
800
859
  less_than_or_equal?: boolean;
801
860
  not_eq?: boolean;
802
861
  };
862
+ type ApiKeyFilterWorkspaceId = {
863
+ eq?: string;
864
+ greater_than?: string;
865
+ greater_than_or_equal?: string;
866
+ in?: Array<string>;
867
+ is_nil?: boolean;
868
+ less_than?: string;
869
+ less_than_or_equal?: string;
870
+ not_eq?: string;
871
+ };
803
872
  type TrainingExampleFilterEmbedding = {
804
873
  eq?: unknown;
805
874
  greater_than?: unknown;
@@ -835,6 +904,10 @@ type Document = {
835
904
  * Field included by default.
836
905
  */
837
906
  application_id?: string | null | unknown;
907
+ /**
908
+ * Field included by default.
909
+ */
910
+ billed_credits?: number | null | unknown;
838
911
  /**
839
912
  * Field included by default.
840
913
  */
@@ -1212,6 +1285,16 @@ type DocumentFilterUploaderId = {
1212
1285
  less_than_or_equal?: string;
1213
1286
  not_eq?: string;
1214
1287
  };
1288
+ type ApiKeyFilterApplicationId = {
1289
+ eq?: string;
1290
+ greater_than?: string;
1291
+ greater_than_or_equal?: string;
1292
+ in?: Array<string>;
1293
+ is_nil?: boolean;
1294
+ less_than?: string;
1295
+ less_than_or_equal?: string;
1296
+ not_eq?: string;
1297
+ };
1215
1298
  /**
1216
1299
  * Filters the query to results matching the given filter object
1217
1300
  */
@@ -1348,6 +1431,16 @@ type CreditPackageFilterCreatedAt = {
1348
1431
  less_than_or_equal?: unknown;
1349
1432
  not_eq?: unknown;
1350
1433
  };
1434
+ type EmbeddingFilterBilledCredits = {
1435
+ eq?: number;
1436
+ greater_than?: number;
1437
+ greater_than_or_equal?: number;
1438
+ in?: Array<number>;
1439
+ is_nil?: boolean;
1440
+ less_than?: number;
1441
+ less_than_or_equal?: number;
1442
+ not_eq?: number;
1443
+ };
1351
1444
  type WalletFilterPlan = {
1352
1445
  eq?: {
1353
1446
  [key: string]: unknown;
@@ -1459,6 +1552,16 @@ type Plan = {
1459
1552
  * Filters the query to results matching the given filter object
1460
1553
  */
1461
1554
  type SemanticCacheEntryFilter = unknown;
1555
+ type DocumentFilterBilledCredits = {
1556
+ eq?: number;
1557
+ greater_than?: number;
1558
+ greater_than_or_equal?: number;
1559
+ in?: Array<number>;
1560
+ is_nil?: boolean;
1561
+ less_than?: number;
1562
+ less_than_or_equal?: number;
1563
+ not_eq?: number;
1564
+ };
1462
1565
  type UserProfileFilterPreferences = {
1463
1566
  eq?: {
1464
1567
  [key: string]: unknown;
@@ -1483,6 +1586,33 @@ type UserProfileFilterPreferences = {
1483
1586
  [key: string]: unknown;
1484
1587
  };
1485
1588
  };
1589
+ /**
1590
+ * Structured data providing context for this conversation (e.g., failed prediction results)
1591
+ */
1592
+ type ConversationFilterContextData = {
1593
+ eq?: {
1594
+ [key: string]: unknown;
1595
+ };
1596
+ greater_than?: {
1597
+ [key: string]: unknown;
1598
+ };
1599
+ greater_than_or_equal?: {
1600
+ [key: string]: unknown;
1601
+ };
1602
+ in?: Array<{
1603
+ [key: string]: unknown;
1604
+ }>;
1605
+ is_nil?: boolean;
1606
+ less_than?: {
1607
+ [key: string]: unknown;
1608
+ };
1609
+ less_than_or_equal?: {
1610
+ [key: string]: unknown;
1611
+ };
1612
+ not_eq?: {
1613
+ [key: string]: unknown;
1614
+ };
1615
+ };
1486
1616
  /**
1487
1617
  * A "Resource object" representing a application
1488
1618
  */
@@ -1565,7 +1695,15 @@ type ApiKey = {
1565
1695
  * An attributes object for a api_key
1566
1696
  */
1567
1697
  attributes?: {
1698
+ /**
1699
+ * Field included by default.
1700
+ */
1701
+ application_id: string;
1568
1702
  current_scopes?: Array<string> | null | unknown;
1703
+ /**
1704
+ * Field included by default.
1705
+ */
1706
+ expires_at?: unknown;
1569
1707
  /**
1570
1708
  * Field included by default.
1571
1709
  */
@@ -1574,13 +1712,84 @@ type ApiKey = {
1574
1712
  * Field included by default.
1575
1713
  */
1576
1714
  status: "active" | "revoked" | "expired";
1715
+ /**
1716
+ * Field included by default.
1717
+ */
1718
+ tenant_id?: string | null | unknown;
1719
+ /**
1720
+ * Field included by default.
1721
+ */
1722
+ user_id?: string | null | unknown;
1723
+ /**
1724
+ * Field included by default.
1725
+ */
1726
+ workspace_id?: string | null | unknown;
1577
1727
  };
1578
1728
  id: string;
1579
1729
  /**
1580
1730
  * A relationships object for a api_key
1581
1731
  */
1582
1732
  relationships?: {
1583
- [key: string]: never;
1733
+ account?: {
1734
+ /**
1735
+ * An identifier for account
1736
+ */
1737
+ data?: {
1738
+ id: string;
1739
+ meta?: {
1740
+ [key: string]: unknown;
1741
+ };
1742
+ type: string;
1743
+ } | null;
1744
+ };
1745
+ application?: {
1746
+ /**
1747
+ * An identifier for application
1748
+ */
1749
+ data?: {
1750
+ id: string;
1751
+ meta?: {
1752
+ [key: string]: unknown;
1753
+ };
1754
+ type: string;
1755
+ } | null;
1756
+ };
1757
+ tenant?: {
1758
+ /**
1759
+ * An identifier for tenant
1760
+ */
1761
+ data?: {
1762
+ id: string;
1763
+ meta?: {
1764
+ [key: string]: unknown;
1765
+ };
1766
+ type: string;
1767
+ } | null;
1768
+ };
1769
+ user?: {
1770
+ /**
1771
+ * An identifier for user
1772
+ */
1773
+ data?: {
1774
+ id: string;
1775
+ meta?: {
1776
+ [key: string]: unknown;
1777
+ };
1778
+ type: string;
1779
+ } | null;
1780
+ };
1781
+ workspace?: {
1782
+ /**
1783
+ * An identifier for workspace
1784
+ */
1785
+ data?: {
1786
+ id: string;
1787
+ meta?: {
1788
+ [key: string]: unknown;
1789
+ };
1790
+ type: string;
1791
+ } | null;
1792
+ };
1584
1793
  };
1585
1794
  type: string;
1586
1795
  };
@@ -1938,6 +2147,16 @@ type ExtractionResult = {
1938
2147
  };
1939
2148
  type: string;
1940
2149
  };
2150
+ type ConversationFilterId = {
2151
+ eq?: string;
2152
+ greater_than?: string;
2153
+ greater_than_or_equal?: string;
2154
+ in?: Array<string>;
2155
+ is_nil?: boolean;
2156
+ less_than?: string;
2157
+ less_than_or_equal?: string;
2158
+ not_eq?: string;
2159
+ };
1941
2160
  type WalletFilterCreditsSubscription = {
1942
2161
  eq?: number;
1943
2162
  greater_than?: number;
@@ -2037,6 +2256,16 @@ type GraphEdgeFilterTargetId = {
2037
2256
  less_than_or_equal?: string;
2038
2257
  not_eq?: string;
2039
2258
  };
2259
+ type ApiKeyFilterUserId = {
2260
+ eq?: string;
2261
+ greater_than?: string;
2262
+ greater_than_or_equal?: string;
2263
+ in?: Array<string>;
2264
+ is_nil?: boolean;
2265
+ less_than?: string;
2266
+ less_than_or_equal?: string;
2267
+ not_eq?: string;
2268
+ };
2040
2269
  /**
2041
2270
  * Filters the query to results matching the given filter object
2042
2271
  */
@@ -2210,6 +2439,20 @@ type TrainingExampleFilterInputText = {
2210
2439
  like?: string;
2211
2440
  not_eq?: string;
2212
2441
  };
2442
+ /**
2443
+ * Description of what this agent is good at, used for AI matching
2444
+ */
2445
+ type AgentFilterCapabilities = {
2446
+ contains?: string;
2447
+ eq?: string;
2448
+ greater_than?: string;
2449
+ greater_than_or_equal?: string;
2450
+ in?: Array<string>;
2451
+ is_nil?: boolean;
2452
+ less_than?: string;
2453
+ less_than_or_equal?: string;
2454
+ not_eq?: string;
2455
+ };
2213
2456
  type PlanFilterId = {
2214
2457
  eq?: string;
2215
2458
  greater_than?: string;
@@ -2224,6 +2467,19 @@ type PlanFilterId = {
2224
2467
  * Filters the query to results matching the given filter object
2225
2468
  */
2226
2469
  type ObjectFilter = unknown;
2470
+ type MessageFilterContent = {
2471
+ contains?: string;
2472
+ eq?: string;
2473
+ greater_than?: string;
2474
+ greater_than_or_equal?: string;
2475
+ ilike?: string;
2476
+ in?: Array<string>;
2477
+ is_nil?: boolean;
2478
+ less_than?: string;
2479
+ less_than_or_equal?: string;
2480
+ like?: string;
2481
+ not_eq?: string;
2482
+ };
2227
2483
  /**
2228
2484
  * Filters the query to results matching the given filter object
2229
2485
  */
@@ -2306,6 +2562,16 @@ type DocumentFilterId = {
2306
2562
  less_than_or_equal?: string;
2307
2563
  not_eq?: string;
2308
2564
  };
2565
+ type ApiKeyFilterTenantId = {
2566
+ eq?: string;
2567
+ greater_than?: string;
2568
+ greater_than_or_equal?: string;
2569
+ in?: Array<string>;
2570
+ is_nil?: boolean;
2571
+ less_than?: string;
2572
+ less_than_or_equal?: string;
2573
+ not_eq?: string;
2574
+ };
2309
2575
  type PaymentFilterCurrency = {
2310
2576
  contains?: string;
2311
2577
  eq?: string;
@@ -2317,6 +2583,16 @@ type PaymentFilterCurrency = {
2317
2583
  less_than_or_equal?: string;
2318
2584
  not_eq?: string;
2319
2585
  };
2586
+ type AgentFilterSlug = {
2587
+ eq?: string;
2588
+ greater_than?: string;
2589
+ greater_than_or_equal?: string;
2590
+ in?: Array<string>;
2591
+ is_nil?: boolean;
2592
+ less_than?: string;
2593
+ less_than_or_equal?: string;
2594
+ not_eq?: string;
2595
+ };
2320
2596
  /**
2321
2597
  * A "Resource object" representing a user
2322
2598
  */
@@ -2372,14 +2648,46 @@ type DocumentStatsFilterProcessing = {
2372
2648
  less_than_or_equal?: number;
2373
2649
  not_eq?: number;
2374
2650
  };
2375
- type TokenFilterLast4 = {
2376
- contains?: string;
2377
- eq?: string;
2378
- greater_than?: string;
2379
- greater_than_or_equal?: string;
2380
- in?: Array<string>;
2381
- is_nil?: boolean;
2382
- less_than?: string;
2651
+ /**
2652
+ * A "Resource object" representing a conversation
2653
+ */
2654
+ type Conversation = {
2655
+ /**
2656
+ * An attributes object for a conversation
2657
+ */
2658
+ attributes?: {
2659
+ /**
2660
+ * Structured data providing context for this conversation (e.g., failed prediction results). Field included by default.
2661
+ */
2662
+ context_data?: {
2663
+ [key: string]: unknown;
2664
+ } | null | unknown;
2665
+ /**
2666
+ * Field included by default.
2667
+ */
2668
+ tenant_id: string;
2669
+ /**
2670
+ * Field included by default.
2671
+ */
2672
+ title?: string | null | unknown;
2673
+ };
2674
+ id: string;
2675
+ /**
2676
+ * A relationships object for a conversation
2677
+ */
2678
+ relationships?: {
2679
+ [key: string]: never;
2680
+ };
2681
+ type: string;
2682
+ };
2683
+ type TokenFilterLast4 = {
2684
+ contains?: string;
2685
+ eq?: string;
2686
+ greater_than?: string;
2687
+ greater_than_or_equal?: string;
2688
+ in?: Array<string>;
2689
+ is_nil?: boolean;
2690
+ less_than?: string;
2383
2691
  less_than_or_equal?: string;
2384
2692
  not_eq?: string;
2385
2693
  };
@@ -2502,6 +2810,10 @@ type Embedding = {
2502
2810
  * An attributes object for a embedding
2503
2811
  */
2504
2812
  attributes?: {
2813
+ /**
2814
+ * Field included by default.
2815
+ */
2816
+ billed_credits?: number | null | unknown;
2505
2817
  /**
2506
2818
  * Field included by default.
2507
2819
  */
@@ -3625,6 +3937,17 @@ type PlanFilterName = {
3625
3937
  like?: string;
3626
3938
  not_eq?: string;
3627
3939
  };
3940
+ type AgentFilterDescription = {
3941
+ contains?: string;
3942
+ eq?: string;
3943
+ greater_than?: string;
3944
+ greater_than_or_equal?: string;
3945
+ in?: Array<string>;
3946
+ is_nil?: boolean;
3947
+ less_than?: string;
3948
+ less_than_or_equal?: string;
3949
+ not_eq?: string;
3950
+ };
3628
3951
  type AuditLogFilterActorId = {
3629
3952
  eq?: string;
3630
3953
  greater_than?: string;
@@ -3955,6 +4278,17 @@ type PaymentFilterCreatedAt = {
3955
4278
  * Filters the query to results matching the given filter object
3956
4279
  */
3957
4280
  type PlanFilter = unknown;
4281
+ type AgentFilterName = {
4282
+ contains?: string;
4283
+ eq?: string;
4284
+ greater_than?: string;
4285
+ greater_than_or_equal?: string;
4286
+ in?: Array<string>;
4287
+ is_nil?: boolean;
4288
+ less_than?: string;
4289
+ less_than_or_equal?: string;
4290
+ not_eq?: string;
4291
+ };
3958
4292
  /**
3959
4293
  * Filters the query to results matching the given filter object
3960
4294
  */
@@ -4059,12 +4393,22 @@ type Agent = {
4059
4393
  * An attributes object for a agent
4060
4394
  */
4061
4395
  attributes?: {
4062
- test_result?: {
4063
- [key: string]: unknown;
4064
- } | null | unknown;
4065
- validation_result?: {
4066
- [key: string]: unknown;
4067
- } | null | unknown;
4396
+ /**
4397
+ * Description of what this agent is good at, used for AI matching. Field included by default.
4398
+ */
4399
+ capabilities: string;
4400
+ /**
4401
+ * Field included by default.
4402
+ */
4403
+ description: string;
4404
+ /**
4405
+ * Field included by default.
4406
+ */
4407
+ name: string;
4408
+ /**
4409
+ * Field included by default.
4410
+ */
4411
+ slug: string;
4068
4412
  };
4069
4413
  id: string;
4070
4414
  /**
@@ -4267,6 +4611,10 @@ type Workspace = {
4267
4611
  * Field included by default.
4268
4612
  */
4269
4613
  slug: string;
4614
+ /**
4615
+ * ID of the Specialty Agent assigned to this workspace. Field included by default.
4616
+ */
4617
+ specialty_agent_id?: string | null | unknown;
4270
4618
  /**
4271
4619
  * Field included by default.
4272
4620
  */
@@ -4317,6 +4665,10 @@ type BucketFilterName = {
4317
4665
  like?: string;
4318
4666
  not_eq?: string;
4319
4667
  };
4668
+ /**
4669
+ * Filters the query to results matching the given filter object
4670
+ */
4671
+ type ConversationFilter = unknown;
4320
4672
  type AuditLogFilterResourceType = {
4321
4673
  contains?: string;
4322
4674
  eq?: string;
@@ -5141,6 +5493,10 @@ type PostWorkspacesData = {
5141
5493
  [key: string]: unknown;
5142
5494
  } | unknown;
5143
5495
  slug: string;
5496
+ /**
5497
+ * ID of the Specialty Agent assigned to this workspace
5498
+ */
5499
+ specialty_agent_id?: string | unknown;
5144
5500
  tenant_id: string;
5145
5501
  };
5146
5502
  relationships?: {
@@ -9597,6 +9953,7 @@ type PatchDocumentsByIdData = {
9597
9953
  body?: {
9598
9954
  data: {
9599
9955
  attributes?: {
9956
+ billed_credits?: number | unknown;
9600
9957
  content?: string | unknown;
9601
9958
  metadata?: {
9602
9959
  [key: string]: unknown;
@@ -10562,6 +10919,68 @@ type PostApplicationsResponses = {
10562
10919
  };
10563
10920
  };
10564
10921
  type PostApplicationsResponse = PostApplicationsResponses[keyof PostApplicationsResponses];
10922
+ type PostAgentsPredictData = {
10923
+ /**
10924
+ * Request body for the /agents/predict operation on agent resource
10925
+ */
10926
+ body?: {
10927
+ data: {
10928
+ description?: string | unknown;
10929
+ document_id?: string | unknown;
10930
+ file_content?: string | unknown;
10931
+ name?: string | unknown;
10932
+ };
10933
+ };
10934
+ headers: {
10935
+ /**
10936
+ * Application ID for authentication and routing
10937
+ */
10938
+ "x-application-key": string;
10939
+ };
10940
+ path?: never;
10941
+ query?: never;
10942
+ url: "/agents/predict";
10943
+ };
10944
+ type PostAgentsPredictErrors = {
10945
+ /**
10946
+ * Bad Request - Invalid input data or malformed request
10947
+ */
10948
+ 400: ErrorResponse;
10949
+ /**
10950
+ * Unauthorized - Missing or invalid authentication token
10951
+ */
10952
+ 401: ErrorResponse;
10953
+ /**
10954
+ * Forbidden - Authenticated but not authorized for this resource
10955
+ */
10956
+ 403: ErrorResponse;
10957
+ /**
10958
+ * Not Found - Resource does not exist
10959
+ */
10960
+ 404: ErrorResponse;
10961
+ /**
10962
+ * Too Many Requests - Rate limit exceeded
10963
+ */
10964
+ 429: ErrorResponse;
10965
+ /**
10966
+ * Internal Server Error - Unexpected server error
10967
+ */
10968
+ 500: ErrorResponse;
10969
+ /**
10970
+ * General Error
10971
+ */
10972
+ default: Errors;
10973
+ };
10974
+ type PostAgentsPredictError = PostAgentsPredictErrors[keyof PostAgentsPredictErrors];
10975
+ type PostAgentsPredictResponses = {
10976
+ /**
10977
+ * Success
10978
+ */
10979
+ 201: {
10980
+ [key: string]: unknown;
10981
+ };
10982
+ };
10983
+ type PostAgentsPredictResponse = PostAgentsPredictResponses[keyof PostAgentsPredictResponses];
10565
10984
  type DeleteThreadsByIdData = {
10566
10985
  body?: never;
10567
10986
  headers: {
@@ -11461,6 +11880,10 @@ type PatchWorkspacesByIdData = {
11461
11880
  low_balance_threshold?: number | unknown;
11462
11881
  name?: string | unknown;
11463
11882
  slug?: string | unknown;
11883
+ /**
11884
+ * ID of the Specialty Agent assigned to this workspace
11885
+ */
11886
+ specialty_agent_id?: string | unknown;
11464
11887
  };
11465
11888
  id: string;
11466
11889
  relationships?: {
@@ -13216,7 +13639,7 @@ type GetExtractionResultsResponses = {
13216
13639
  };
13217
13640
  };
13218
13641
  type GetExtractionResultsResponse = GetExtractionResultsResponses[keyof GetExtractionResultsResponses];
13219
- type DeleteAgentsByIdData = {
13642
+ type GetAgentsByIdData = {
13220
13643
  body?: never;
13221
13644
  headers: {
13222
13645
  /**
@@ -13245,7 +13668,7 @@ type DeleteAgentsByIdData = {
13245
13668
  };
13246
13669
  url: "/agents/{id}";
13247
13670
  };
13248
- type DeleteAgentsByIdErrors = {
13671
+ type GetAgentsByIdErrors = {
13249
13672
  /**
13250
13673
  * Bad Request - Invalid input data or malformed request
13251
13674
  */
@@ -13275,43 +13698,40 @@ type DeleteAgentsByIdErrors = {
13275
13698
  */
13276
13699
  default: Errors;
13277
13700
  };
13278
- type DeleteAgentsByIdError = DeleteAgentsByIdErrors[keyof DeleteAgentsByIdErrors];
13279
- type DeleteAgentsByIdResponses = {
13701
+ type GetAgentsByIdError = GetAgentsByIdErrors[keyof GetAgentsByIdErrors];
13702
+ type GetAgentsByIdResponses = {
13280
13703
  /**
13281
- * Deleted successfully
13704
+ * Success
13282
13705
  */
13283
- 200: unknown;
13706
+ 200: {
13707
+ data?: Agent;
13708
+ included?: Array<unknown>;
13709
+ meta?: {
13710
+ [key: string]: unknown;
13711
+ };
13712
+ };
13284
13713
  };
13285
- type GetAgentsByIdData = {
13286
- body?: never;
13714
+ type GetAgentsByIdResponse = GetAgentsByIdResponses[keyof GetAgentsByIdResponses];
13715
+ type PostDocumentsImportData = {
13716
+ /**
13717
+ * Request body for the /documents/import operation on document resource
13718
+ */
13719
+ body: {
13720
+ data: {
13721
+ file_url: string;
13722
+ };
13723
+ };
13287
13724
  headers: {
13288
13725
  /**
13289
13726
  * Application ID for authentication and routing
13290
13727
  */
13291
13728
  "x-application-key": string;
13292
13729
  };
13293
- path: {
13294
- id: string;
13295
- };
13296
- query?: {
13297
- /**
13298
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13299
- */
13300
- include?: string;
13301
- /**
13302
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
13303
- */
13304
- fields?: {
13305
- /**
13306
- * Comma separated field names for agent
13307
- */
13308
- agent?: string;
13309
- [key: string]: unknown | string | undefined;
13310
- };
13311
- };
13312
- url: "/agents/{id}";
13730
+ path?: never;
13731
+ query?: never;
13732
+ url: "/documents/import";
13313
13733
  };
13314
- type GetAgentsByIdErrors = {
13734
+ type PostDocumentsImportErrors = {
13315
13735
  /**
13316
13736
  * Bad Request - Invalid input data or malformed request
13317
13737
  */
@@ -13341,41 +13761,18 @@ type GetAgentsByIdErrors = {
13341
13761
  */
13342
13762
  default: Errors;
13343
13763
  };
13344
- type GetAgentsByIdError = GetAgentsByIdErrors[keyof GetAgentsByIdErrors];
13345
- type GetAgentsByIdResponses = {
13764
+ type PostDocumentsImportError = PostDocumentsImportErrors[keyof PostDocumentsImportErrors];
13765
+ type PostDocumentsImportResponses = {
13346
13766
  /**
13347
13767
  * Success
13348
13768
  */
13349
- 200: {
13350
- data?: Agent;
13351
- included?: Array<unknown>;
13352
- meta?: {
13353
- [key: string]: unknown;
13354
- };
13769
+ 201: {
13770
+ [key: string]: unknown;
13355
13771
  };
13356
13772
  };
13357
- type GetAgentsByIdResponse = GetAgentsByIdResponses[keyof GetAgentsByIdResponses];
13358
- type PatchAgentsByIdData = {
13359
- /**
13360
- * Request body for the /agents/:id operation on agent resource
13361
- */
13362
- body?: {
13363
- data: {
13364
- attributes?: {
13365
- domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | unknown;
13366
- name?: string | unknown;
13367
- prompt_template?: string | unknown;
13368
- schema_definition?: {
13369
- [key: string]: unknown;
13370
- } | unknown;
13371
- };
13372
- id: string;
13373
- relationships?: {
13374
- [key: string]: never;
13375
- };
13376
- type?: "agent";
13377
- };
13378
- };
13773
+ type PostDocumentsImportResponse = PostDocumentsImportResponses[keyof PostDocumentsImportResponses];
13774
+ type DeleteApiKeysByIdData = {
13775
+ body?: never;
13379
13776
  headers: {
13380
13777
  /**
13381
13778
  * Application ID for authentication and routing
@@ -13395,15 +13792,15 @@ type PatchAgentsByIdData = {
13395
13792
  */
13396
13793
  fields?: {
13397
13794
  /**
13398
- * Comma separated field names for agent
13795
+ * Comma separated field names for api_key
13399
13796
  */
13400
- agent?: string;
13797
+ api_key?: string;
13401
13798
  [key: string]: unknown | string | undefined;
13402
13799
  };
13403
13800
  };
13404
- url: "/agents/{id}";
13801
+ url: "/api_keys/{id}";
13405
13802
  };
13406
- type PatchAgentsByIdErrors = {
13803
+ type DeleteApiKeysByIdErrors = {
13407
13804
  /**
13408
13805
  * Bad Request - Invalid input data or malformed request
13409
13806
  */
@@ -13433,44 +13830,47 @@ type PatchAgentsByIdErrors = {
13433
13830
  */
13434
13831
  default: Errors;
13435
13832
  };
13436
- type PatchAgentsByIdError = PatchAgentsByIdErrors[keyof PatchAgentsByIdErrors];
13437
- type PatchAgentsByIdResponses = {
13833
+ type DeleteApiKeysByIdError = DeleteApiKeysByIdErrors[keyof DeleteApiKeysByIdErrors];
13834
+ type DeleteApiKeysByIdResponses = {
13438
13835
  /**
13439
- * Success
13836
+ * Deleted successfully
13440
13837
  */
13441
- 200: {
13442
- data?: Agent;
13443
- included?: Array<unknown>;
13444
- meta?: {
13445
- [key: string]: unknown;
13446
- };
13447
- };
13838
+ 200: unknown;
13448
13839
  };
13449
- type PatchAgentsByIdResponse = PatchAgentsByIdResponses[keyof PatchAgentsByIdResponses];
13450
- type PostDocumentsImportData = {
13451
- /**
13452
- * Request body for the /documents/import operation on document resource
13453
- */
13454
- body: {
13455
- data: {
13456
- file_url: string;
13457
- };
13458
- };
13840
+ type GetApiKeysByIdData = {
13841
+ body?: never;
13459
13842
  headers: {
13460
13843
  /**
13461
13844
  * Application ID for authentication and routing
13462
13845
  */
13463
13846
  "x-application-key": string;
13464
13847
  };
13465
- path?: never;
13466
- query?: never;
13467
- url: "/documents/import";
13468
- };
13469
- type PostDocumentsImportErrors = {
13470
- /**
13471
- * Bad Request - Invalid input data or malformed request
13472
- */
13473
- 400: ErrorResponse;
13848
+ path: {
13849
+ id: string;
13850
+ };
13851
+ query?: {
13852
+ /**
13853
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13854
+ */
13855
+ include?: string;
13856
+ /**
13857
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
13858
+ */
13859
+ fields?: {
13860
+ /**
13861
+ * Comma separated field names for api_key
13862
+ */
13863
+ api_key?: string;
13864
+ [key: string]: unknown | string | undefined;
13865
+ };
13866
+ };
13867
+ url: "/api_keys/{id}";
13868
+ };
13869
+ type GetApiKeysByIdErrors = {
13870
+ /**
13871
+ * Bad Request - Invalid input data or malformed request
13872
+ */
13873
+ 400: ErrorResponse;
13474
13874
  /**
13475
13875
  * Unauthorized - Missing or invalid authentication token
13476
13876
  */
@@ -13496,18 +13896,36 @@ type PostDocumentsImportErrors = {
13496
13896
  */
13497
13897
  default: Errors;
13498
13898
  };
13499
- type PostDocumentsImportError = PostDocumentsImportErrors[keyof PostDocumentsImportErrors];
13500
- type PostDocumentsImportResponses = {
13899
+ type GetApiKeysByIdError = GetApiKeysByIdErrors[keyof GetApiKeysByIdErrors];
13900
+ type GetApiKeysByIdResponses = {
13501
13901
  /**
13502
13902
  * Success
13503
13903
  */
13504
- 201: {
13505
- [key: string]: unknown;
13904
+ 200: {
13905
+ data?: ApiKey;
13906
+ included?: Array<unknown>;
13907
+ meta?: {
13908
+ [key: string]: unknown;
13909
+ };
13506
13910
  };
13507
13911
  };
13508
- type PostDocumentsImportResponse = PostDocumentsImportResponses[keyof PostDocumentsImportResponses];
13509
- type DeleteApiKeysByIdData = {
13510
- body?: never;
13912
+ type GetApiKeysByIdResponse = GetApiKeysByIdResponses[keyof GetApiKeysByIdResponses];
13913
+ type PatchApiKeysByIdData = {
13914
+ /**
13915
+ * Request body for the /api_keys/:id operation on api_key resource
13916
+ */
13917
+ body?: {
13918
+ data: {
13919
+ attributes?: {
13920
+ name?: string | unknown;
13921
+ };
13922
+ id: string;
13923
+ relationships?: {
13924
+ [key: string]: never;
13925
+ };
13926
+ type?: "api_key";
13927
+ };
13928
+ };
13511
13929
  headers: {
13512
13930
  /**
13513
13931
  * Application ID for authentication and routing
@@ -13535,7 +13953,7 @@ type DeleteApiKeysByIdData = {
13535
13953
  };
13536
13954
  url: "/api_keys/{id}";
13537
13955
  };
13538
- type DeleteApiKeysByIdErrors = {
13956
+ type PatchApiKeysByIdErrors = {
13539
13957
  /**
13540
13958
  * Bad Request - Invalid input data or malformed request
13541
13959
  */
@@ -13565,14 +13983,21 @@ type DeleteApiKeysByIdErrors = {
13565
13983
  */
13566
13984
  default: Errors;
13567
13985
  };
13568
- type DeleteApiKeysByIdError = DeleteApiKeysByIdErrors[keyof DeleteApiKeysByIdErrors];
13569
- type DeleteApiKeysByIdResponses = {
13986
+ type PatchApiKeysByIdError = PatchApiKeysByIdErrors[keyof PatchApiKeysByIdErrors];
13987
+ type PatchApiKeysByIdResponses = {
13570
13988
  /**
13571
- * Deleted successfully
13989
+ * Success
13572
13990
  */
13573
- 200: unknown;
13991
+ 200: {
13992
+ data?: ApiKey;
13993
+ included?: Array<unknown>;
13994
+ meta?: {
13995
+ [key: string]: unknown;
13996
+ };
13997
+ };
13574
13998
  };
13575
- type GetApiKeysByIdData = {
13999
+ type PatchApiKeysByIdResponse = PatchApiKeysByIdResponses[keyof PatchApiKeysByIdResponses];
14000
+ type GetAiConversationsData = {
13576
14001
  body?: never;
13577
14002
  headers: {
13578
14003
  /**
@@ -13580,10 +14005,26 @@ type GetApiKeysByIdData = {
13580
14005
  */
13581
14006
  "x-application-key": string;
13582
14007
  };
13583
- path: {
13584
- id: string;
13585
- };
14008
+ path?: never;
13586
14009
  query?: {
14010
+ /**
14011
+ * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
14012
+ */
14013
+ filter?: ConversationFilter;
14014
+ /**
14015
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
14016
+ */
14017
+ sort?: string;
14018
+ /**
14019
+ * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
14020
+ */
14021
+ page?: {
14022
+ after?: string;
14023
+ before?: string;
14024
+ count?: boolean;
14025
+ limit?: number;
14026
+ offset?: number;
14027
+ };
13587
14028
  /**
13588
14029
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13589
14030
  */
@@ -13593,15 +14034,15 @@ type GetApiKeysByIdData = {
13593
14034
  */
13594
14035
  fields?: {
13595
14036
  /**
13596
- * Comma separated field names for api_key
14037
+ * Comma separated field names for conversation
13597
14038
  */
13598
- api_key?: string;
14039
+ conversation?: string;
13599
14040
  [key: string]: unknown | string | undefined;
13600
14041
  };
13601
14042
  };
13602
- url: "/api_keys/{id}";
14043
+ url: "/ai/conversations";
13603
14044
  };
13604
- type GetApiKeysByIdErrors = {
14045
+ type GetAiConversationsErrors = {
13605
14046
  /**
13606
14047
  * Bad Request - Invalid input data or malformed request
13607
14048
  */
@@ -13631,34 +14072,44 @@ type GetApiKeysByIdErrors = {
13631
14072
  */
13632
14073
  default: Errors;
13633
14074
  };
13634
- type GetApiKeysByIdError = GetApiKeysByIdErrors[keyof GetApiKeysByIdErrors];
13635
- type GetApiKeysByIdResponses = {
14075
+ type GetAiConversationsError = GetAiConversationsErrors[keyof GetAiConversationsErrors];
14076
+ type GetAiConversationsResponses = {
13636
14077
  /**
13637
14078
  * Success
13638
14079
  */
13639
14080
  200: {
13640
- data?: ApiKey;
14081
+ /**
14082
+ * An array of resource objects representing a conversation
14083
+ */
14084
+ data?: Array<Conversation>;
13641
14085
  included?: Array<unknown>;
13642
14086
  meta?: {
13643
14087
  [key: string]: unknown;
13644
14088
  };
13645
14089
  };
13646
14090
  };
13647
- type GetApiKeysByIdResponse = GetApiKeysByIdResponses[keyof GetApiKeysByIdResponses];
13648
- type PatchApiKeysByIdData = {
14091
+ type GetAiConversationsResponse = GetAiConversationsResponses[keyof GetAiConversationsResponses];
14092
+ type PostAiConversationsData = {
13649
14093
  /**
13650
- * Request body for the /api_keys/:id operation on api_key resource
14094
+ * Request body for the /ai/conversations operation on conversation resource
13651
14095
  */
13652
- body?: {
14096
+ body: {
13653
14097
  data: {
13654
14098
  attributes?: {
13655
- name?: string | unknown;
14099
+ /**
14100
+ * Structured data providing context for this conversation (e.g., failed prediction results)
14101
+ */
14102
+ context_data?: {
14103
+ [key: string]: unknown;
14104
+ } | unknown;
14105
+ tenant_id: string;
14106
+ title?: string | unknown;
14107
+ user_id: string;
13656
14108
  };
13657
- id: string;
13658
14109
  relationships?: {
13659
14110
  [key: string]: never;
13660
14111
  };
13661
- type?: "api_key";
14112
+ type?: "conversation";
13662
14113
  };
13663
14114
  };
13664
14115
  headers: {
@@ -13667,9 +14118,7 @@ type PatchApiKeysByIdData = {
13667
14118
  */
13668
14119
  "x-application-key": string;
13669
14120
  };
13670
- path: {
13671
- id: string;
13672
- };
14121
+ path?: never;
13673
14122
  query?: {
13674
14123
  /**
13675
14124
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -13680,15 +14129,15 @@ type PatchApiKeysByIdData = {
13680
14129
  */
13681
14130
  fields?: {
13682
14131
  /**
13683
- * Comma separated field names for api_key
14132
+ * Comma separated field names for conversation
13684
14133
  */
13685
- api_key?: string;
14134
+ conversation?: string;
13686
14135
  [key: string]: unknown | string | undefined;
13687
14136
  };
13688
14137
  };
13689
- url: "/api_keys/{id}";
14138
+ url: "/ai/conversations";
13690
14139
  };
13691
- type PatchApiKeysByIdErrors = {
14140
+ type PostAiConversationsErrors = {
13692
14141
  /**
13693
14142
  * Bad Request - Invalid input data or malformed request
13694
14143
  */
@@ -13718,20 +14167,20 @@ type PatchApiKeysByIdErrors = {
13718
14167
  */
13719
14168
  default: Errors;
13720
14169
  };
13721
- type PatchApiKeysByIdError = PatchApiKeysByIdErrors[keyof PatchApiKeysByIdErrors];
13722
- type PatchApiKeysByIdResponses = {
14170
+ type PostAiConversationsError = PostAiConversationsErrors[keyof PostAiConversationsErrors];
14171
+ type PostAiConversationsResponses = {
13723
14172
  /**
13724
14173
  * Success
13725
14174
  */
13726
- 200: {
13727
- data?: ApiKey;
14175
+ 201: {
14176
+ data?: Conversation;
13728
14177
  included?: Array<unknown>;
13729
14178
  meta?: {
13730
14179
  [key: string]: unknown;
13731
14180
  };
13732
14181
  };
13733
14182
  };
13734
- type PatchApiKeysByIdResponse = PatchApiKeysByIdResponses[keyof PatchApiKeysByIdResponses];
14183
+ type PostAiConversationsResponse = PostAiConversationsResponses[keyof PostAiConversationsResponses];
13735
14184
  type PostAiSearchData = {
13736
14185
  /**
13737
14186
  * Request body for the /ai/search operation on search resource
@@ -17131,6 +17580,184 @@ type PatchTenantMembershipsByTenantIdByUserIdResponses = {
17131
17580
  };
17132
17581
  };
17133
17582
  type PatchTenantMembershipsByTenantIdByUserIdResponse = PatchTenantMembershipsByTenantIdByUserIdResponses[keyof PatchTenantMembershipsByTenantIdByUserIdResponses];
17583
+ type GetAiMessagesData = {
17584
+ body?: never;
17585
+ headers: {
17586
+ /**
17587
+ * Application ID for authentication and routing
17588
+ */
17589
+ "x-application-key": string;
17590
+ };
17591
+ path?: never;
17592
+ query?: {
17593
+ /**
17594
+ * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
17595
+ */
17596
+ filter?: MessageFilter;
17597
+ /**
17598
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
17599
+ */
17600
+ sort?: string;
17601
+ /**
17602
+ * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
17603
+ */
17604
+ page?: {
17605
+ after?: string;
17606
+ before?: string;
17607
+ count?: boolean;
17608
+ limit?: number;
17609
+ offset?: number;
17610
+ };
17611
+ /**
17612
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17613
+ */
17614
+ include?: string;
17615
+ /**
17616
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
17617
+ */
17618
+ fields?: {
17619
+ /**
17620
+ * Comma separated field names for message
17621
+ */
17622
+ message?: string;
17623
+ [key: string]: unknown | string | undefined;
17624
+ };
17625
+ };
17626
+ url: "/ai/messages";
17627
+ };
17628
+ type GetAiMessagesErrors = {
17629
+ /**
17630
+ * Bad Request - Invalid input data or malformed request
17631
+ */
17632
+ 400: ErrorResponse;
17633
+ /**
17634
+ * Unauthorized - Missing or invalid authentication token
17635
+ */
17636
+ 401: ErrorResponse;
17637
+ /**
17638
+ * Forbidden - Authenticated but not authorized for this resource
17639
+ */
17640
+ 403: ErrorResponse;
17641
+ /**
17642
+ * Not Found - Resource does not exist
17643
+ */
17644
+ 404: ErrorResponse;
17645
+ /**
17646
+ * Too Many Requests - Rate limit exceeded
17647
+ */
17648
+ 429: ErrorResponse;
17649
+ /**
17650
+ * Internal Server Error - Unexpected server error
17651
+ */
17652
+ 500: ErrorResponse;
17653
+ /**
17654
+ * General Error
17655
+ */
17656
+ default: Errors;
17657
+ };
17658
+ type GetAiMessagesError = GetAiMessagesErrors[keyof GetAiMessagesErrors];
17659
+ type GetAiMessagesResponses = {
17660
+ /**
17661
+ * Success
17662
+ */
17663
+ 200: {
17664
+ /**
17665
+ * An array of resource objects representing a message
17666
+ */
17667
+ data?: Array<Message>;
17668
+ included?: Array<unknown>;
17669
+ meta?: {
17670
+ [key: string]: unknown;
17671
+ };
17672
+ };
17673
+ };
17674
+ type GetAiMessagesResponse = GetAiMessagesResponses[keyof GetAiMessagesResponses];
17675
+ type PostAiMessagesData = {
17676
+ /**
17677
+ * Request body for the /ai/messages operation on message resource
17678
+ */
17679
+ body: {
17680
+ data: {
17681
+ attributes?: {
17682
+ content: string;
17683
+ conversation_id: string;
17684
+ role: "system" | "user" | "assistant";
17685
+ };
17686
+ relationships?: {
17687
+ [key: string]: never;
17688
+ };
17689
+ type?: "message";
17690
+ };
17691
+ };
17692
+ headers: {
17693
+ /**
17694
+ * Application ID for authentication and routing
17695
+ */
17696
+ "x-application-key": string;
17697
+ };
17698
+ path?: never;
17699
+ query?: {
17700
+ /**
17701
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17702
+ */
17703
+ include?: string;
17704
+ /**
17705
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
17706
+ */
17707
+ fields?: {
17708
+ /**
17709
+ * Comma separated field names for message
17710
+ */
17711
+ message?: string;
17712
+ [key: string]: unknown | string | undefined;
17713
+ };
17714
+ };
17715
+ url: "/ai/messages";
17716
+ };
17717
+ type PostAiMessagesErrors = {
17718
+ /**
17719
+ * Bad Request - Invalid input data or malformed request
17720
+ */
17721
+ 400: ErrorResponse;
17722
+ /**
17723
+ * Unauthorized - Missing or invalid authentication token
17724
+ */
17725
+ 401: ErrorResponse;
17726
+ /**
17727
+ * Forbidden - Authenticated but not authorized for this resource
17728
+ */
17729
+ 403: ErrorResponse;
17730
+ /**
17731
+ * Not Found - Resource does not exist
17732
+ */
17733
+ 404: ErrorResponse;
17734
+ /**
17735
+ * Too Many Requests - Rate limit exceeded
17736
+ */
17737
+ 429: ErrorResponse;
17738
+ /**
17739
+ * Internal Server Error - Unexpected server error
17740
+ */
17741
+ 500: ErrorResponse;
17742
+ /**
17743
+ * General Error
17744
+ */
17745
+ default: Errors;
17746
+ };
17747
+ type PostAiMessagesError = PostAiMessagesErrors[keyof PostAiMessagesErrors];
17748
+ type PostAiMessagesResponses = {
17749
+ /**
17750
+ * Success
17751
+ */
17752
+ 201: {
17753
+ data?: Message;
17754
+ included?: Array<unknown>;
17755
+ meta?: {
17756
+ [key: string]: unknown;
17757
+ };
17758
+ };
17759
+ };
17760
+ type PostAiMessagesResponse = PostAiMessagesResponses[keyof PostAiMessagesResponses];
17134
17761
  type PostStorageSignUploadData = {
17135
17762
  /**
17136
17763
  * Request body for the /storage/sign_upload operation on presigned_url resource
@@ -17397,15 +18024,188 @@ type PatchConfigsByKeyData = {
17397
18024
  body?: {
17398
18025
  data: {
17399
18026
  attributes?: {
17400
- description?: string | unknown;
17401
- id?: string | unknown;
17402
- value?: string | unknown;
18027
+ description?: string | unknown;
18028
+ id?: string | unknown;
18029
+ value?: string | unknown;
18030
+ };
18031
+ id: string;
18032
+ relationships?: {
18033
+ [key: string]: never;
18034
+ };
18035
+ type?: "config";
18036
+ };
18037
+ };
18038
+ headers: {
18039
+ /**
18040
+ * Application ID for authentication and routing
18041
+ */
18042
+ "x-application-key": string;
18043
+ };
18044
+ path: {
18045
+ key: string;
18046
+ };
18047
+ query?: {
18048
+ /**
18049
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
18050
+ */
18051
+ include?: string;
18052
+ /**
18053
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
18054
+ */
18055
+ fields?: {
18056
+ /**
18057
+ * Comma separated field names for config
18058
+ */
18059
+ config?: string;
18060
+ [key: string]: unknown | string | undefined;
18061
+ };
18062
+ };
18063
+ url: "/configs/{key}";
18064
+ };
18065
+ type PatchConfigsByKeyErrors = {
18066
+ /**
18067
+ * Bad Request - Invalid input data or malformed request
18068
+ */
18069
+ 400: ErrorResponse;
18070
+ /**
18071
+ * Unauthorized - Missing or invalid authentication token
18072
+ */
18073
+ 401: ErrorResponse;
18074
+ /**
18075
+ * Forbidden - Authenticated but not authorized for this resource
18076
+ */
18077
+ 403: ErrorResponse;
18078
+ /**
18079
+ * Not Found - Resource does not exist
18080
+ */
18081
+ 404: ErrorResponse;
18082
+ /**
18083
+ * Too Many Requests - Rate limit exceeded
18084
+ */
18085
+ 429: ErrorResponse;
18086
+ /**
18087
+ * Internal Server Error - Unexpected server error
18088
+ */
18089
+ 500: ErrorResponse;
18090
+ /**
18091
+ * General Error
18092
+ */
18093
+ default: Errors;
18094
+ };
18095
+ type PatchConfigsByKeyError = PatchConfigsByKeyErrors[keyof PatchConfigsByKeyErrors];
18096
+ type PatchConfigsByKeyResponses = {
18097
+ /**
18098
+ * Success
18099
+ */
18100
+ 200: {
18101
+ data?: Config$2;
18102
+ included?: Array<unknown>;
18103
+ meta?: {
18104
+ [key: string]: unknown;
18105
+ };
18106
+ };
18107
+ };
18108
+ type PatchConfigsByKeyResponse = PatchConfigsByKeyResponses[keyof PatchConfigsByKeyResponses];
18109
+ type PatchApiKeysByIdRotateData = {
18110
+ /**
18111
+ * Request body for the /api_keys/:id/rotate operation on api_key resource
18112
+ */
18113
+ body?: {
18114
+ data: {
18115
+ attributes?: {
18116
+ [key: string]: never;
18117
+ };
18118
+ id: string;
18119
+ relationships?: {
18120
+ [key: string]: never;
18121
+ };
18122
+ type?: "api_key";
18123
+ };
18124
+ };
18125
+ headers: {
18126
+ /**
18127
+ * Application ID for authentication and routing
18128
+ */
18129
+ "x-application-key": string;
18130
+ };
18131
+ path: {
18132
+ id: string;
18133
+ };
18134
+ query?: {
18135
+ /**
18136
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
18137
+ */
18138
+ include?: string;
18139
+ /**
18140
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
18141
+ */
18142
+ fields?: {
18143
+ /**
18144
+ * Comma separated field names for api_key
18145
+ */
18146
+ api_key?: string;
18147
+ [key: string]: unknown | string | undefined;
18148
+ };
18149
+ };
18150
+ url: "/api_keys/{id}/rotate";
18151
+ };
18152
+ type PatchApiKeysByIdRotateErrors = {
18153
+ /**
18154
+ * Bad Request - Invalid input data or malformed request
18155
+ */
18156
+ 400: ErrorResponse;
18157
+ /**
18158
+ * Unauthorized - Missing or invalid authentication token
18159
+ */
18160
+ 401: ErrorResponse;
18161
+ /**
18162
+ * Forbidden - Authenticated but not authorized for this resource
18163
+ */
18164
+ 403: ErrorResponse;
18165
+ /**
18166
+ * Not Found - Resource does not exist
18167
+ */
18168
+ 404: ErrorResponse;
18169
+ /**
18170
+ * Too Many Requests - Rate limit exceeded
18171
+ */
18172
+ 429: ErrorResponse;
18173
+ /**
18174
+ * Internal Server Error - Unexpected server error
18175
+ */
18176
+ 500: ErrorResponse;
18177
+ /**
18178
+ * General Error
18179
+ */
18180
+ default: Errors;
18181
+ };
18182
+ type PatchApiKeysByIdRotateError = PatchApiKeysByIdRotateErrors[keyof PatchApiKeysByIdRotateErrors];
18183
+ type PatchApiKeysByIdRotateResponses = {
18184
+ /**
18185
+ * Success
18186
+ */
18187
+ 200: {
18188
+ data?: ApiKey;
18189
+ included?: Array<unknown>;
18190
+ meta?: {
18191
+ [key: string]: unknown;
18192
+ };
18193
+ };
18194
+ };
18195
+ type PatchApiKeysByIdRotateResponse = PatchApiKeysByIdRotateResponses[keyof PatchApiKeysByIdRotateResponses];
18196
+ type PostAgentsByIdCloneData = {
18197
+ /**
18198
+ * Request body for the /agents/:id/clone operation on agent resource
18199
+ */
18200
+ body: {
18201
+ data: {
18202
+ attributes?: {
18203
+ new_name: string;
17403
18204
  };
17404
- id: string;
17405
18205
  relationships?: {
17406
18206
  [key: string]: never;
17407
18207
  };
17408
- type?: "config";
18208
+ type?: "agent";
17409
18209
  };
17410
18210
  };
17411
18211
  headers: {
@@ -17415,7 +18215,7 @@ type PatchConfigsByKeyData = {
17415
18215
  "x-application-key": string;
17416
18216
  };
17417
18217
  path: {
17418
- key: string;
18218
+ id: string;
17419
18219
  };
17420
18220
  query?: {
17421
18221
  /**
@@ -17427,15 +18227,15 @@ type PatchConfigsByKeyData = {
17427
18227
  */
17428
18228
  fields?: {
17429
18229
  /**
17430
- * Comma separated field names for config
18230
+ * Comma separated field names for agent
17431
18231
  */
17432
- config?: string;
18232
+ agent?: string;
17433
18233
  [key: string]: unknown | string | undefined;
17434
18234
  };
17435
18235
  };
17436
- url: "/configs/{key}";
18236
+ url: "/agents/{id}/clone";
17437
18237
  };
17438
- type PatchConfigsByKeyErrors = {
18238
+ type PostAgentsByIdCloneErrors = {
17439
18239
  /**
17440
18240
  * Bad Request - Invalid input data or malformed request
17441
18241
  */
@@ -17465,36 +18265,22 @@ type PatchConfigsByKeyErrors = {
17465
18265
  */
17466
18266
  default: Errors;
17467
18267
  };
17468
- type PatchConfigsByKeyError = PatchConfigsByKeyErrors[keyof PatchConfigsByKeyErrors];
17469
- type PatchConfigsByKeyResponses = {
18268
+ type PostAgentsByIdCloneError = PostAgentsByIdCloneErrors[keyof PostAgentsByIdCloneErrors];
18269
+ type PostAgentsByIdCloneResponses = {
17470
18270
  /**
17471
18271
  * Success
17472
18272
  */
17473
- 200: {
17474
- data?: Config$2;
18273
+ 201: {
18274
+ data?: Agent;
17475
18275
  included?: Array<unknown>;
17476
18276
  meta?: {
17477
18277
  [key: string]: unknown;
17478
18278
  };
17479
18279
  };
17480
18280
  };
17481
- type PatchConfigsByKeyResponse = PatchConfigsByKeyResponses[keyof PatchConfigsByKeyResponses];
17482
- type PatchApiKeysByIdRotateData = {
17483
- /**
17484
- * Request body for the /api_keys/:id/rotate operation on api_key resource
17485
- */
17486
- body?: {
17487
- data: {
17488
- attributes?: {
17489
- [key: string]: never;
17490
- };
17491
- id: string;
17492
- relationships?: {
17493
- [key: string]: never;
17494
- };
17495
- type?: "api_key";
17496
- };
17497
- };
18281
+ type PostAgentsByIdCloneResponse = PostAgentsByIdCloneResponses[keyof PostAgentsByIdCloneResponses];
18282
+ type DeleteAiConversationsByIdData = {
18283
+ body?: never;
17498
18284
  headers: {
17499
18285
  /**
17500
18286
  * Application ID for authentication and routing
@@ -17514,15 +18300,15 @@ type PatchApiKeysByIdRotateData = {
17514
18300
  */
17515
18301
  fields?: {
17516
18302
  /**
17517
- * Comma separated field names for api_key
18303
+ * Comma separated field names for conversation
17518
18304
  */
17519
- api_key?: string;
18305
+ conversation?: string;
17520
18306
  [key: string]: unknown | string | undefined;
17521
18307
  };
17522
18308
  };
17523
- url: "/api_keys/{id}/rotate";
18309
+ url: "/ai/conversations/{id}";
17524
18310
  };
17525
- type PatchApiKeysByIdRotateErrors = {
18311
+ type DeleteAiConversationsByIdErrors = {
17526
18312
  /**
17527
18313
  * Bad Request - Invalid input data or malformed request
17528
18314
  */
@@ -17552,35 +18338,15 @@ type PatchApiKeysByIdRotateErrors = {
17552
18338
  */
17553
18339
  default: Errors;
17554
18340
  };
17555
- type PatchApiKeysByIdRotateError = PatchApiKeysByIdRotateErrors[keyof PatchApiKeysByIdRotateErrors];
17556
- type PatchApiKeysByIdRotateResponses = {
18341
+ type DeleteAiConversationsByIdError = DeleteAiConversationsByIdErrors[keyof DeleteAiConversationsByIdErrors];
18342
+ type DeleteAiConversationsByIdResponses = {
17557
18343
  /**
17558
- * Success
18344
+ * Deleted successfully
17559
18345
  */
17560
- 200: {
17561
- data?: ApiKey;
17562
- included?: Array<unknown>;
17563
- meta?: {
17564
- [key: string]: unknown;
17565
- };
17566
- };
18346
+ 200: unknown;
17567
18347
  };
17568
- type PatchApiKeysByIdRotateResponse = PatchApiKeysByIdRotateResponses[keyof PatchApiKeysByIdRotateResponses];
17569
- type PostAgentsByIdCloneData = {
17570
- /**
17571
- * Request body for the /agents/:id/clone operation on agent resource
17572
- */
17573
- body: {
17574
- data: {
17575
- attributes?: {
17576
- new_name: string;
17577
- };
17578
- relationships?: {
17579
- [key: string]: never;
17580
- };
17581
- type?: "agent";
17582
- };
17583
- };
18348
+ type GetAiConversationsByIdData = {
18349
+ body?: never;
17584
18350
  headers: {
17585
18351
  /**
17586
18352
  * Application ID for authentication and routing
@@ -17600,15 +18366,15 @@ type PostAgentsByIdCloneData = {
17600
18366
  */
17601
18367
  fields?: {
17602
18368
  /**
17603
- * Comma separated field names for agent
18369
+ * Comma separated field names for conversation
17604
18370
  */
17605
- agent?: string;
18371
+ conversation?: string;
17606
18372
  [key: string]: unknown | string | undefined;
17607
18373
  };
17608
18374
  };
17609
- url: "/agents/{id}/clone";
18375
+ url: "/ai/conversations/{id}";
17610
18376
  };
17611
- type PostAgentsByIdCloneErrors = {
18377
+ type GetAiConversationsByIdErrors = {
17612
18378
  /**
17613
18379
  * Bad Request - Invalid input data or malformed request
17614
18380
  */
@@ -17638,20 +18404,20 @@ type PostAgentsByIdCloneErrors = {
17638
18404
  */
17639
18405
  default: Errors;
17640
18406
  };
17641
- type PostAgentsByIdCloneError = PostAgentsByIdCloneErrors[keyof PostAgentsByIdCloneErrors];
17642
- type PostAgentsByIdCloneResponses = {
18407
+ type GetAiConversationsByIdError = GetAiConversationsByIdErrors[keyof GetAiConversationsByIdErrors];
18408
+ type GetAiConversationsByIdResponses = {
17643
18409
  /**
17644
18410
  * Success
17645
18411
  */
17646
- 201: {
17647
- data?: Agent;
18412
+ 200: {
18413
+ data?: Conversation;
17648
18414
  included?: Array<unknown>;
17649
18415
  meta?: {
17650
18416
  [key: string]: unknown;
17651
18417
  };
17652
18418
  };
17653
18419
  };
17654
- type PostAgentsByIdCloneResponse = PostAgentsByIdCloneResponses[keyof PostAgentsByIdCloneResponses];
18420
+ type GetAiConversationsByIdResponse = GetAiConversationsByIdResponses[keyof GetAiConversationsByIdResponses];
17655
18421
  type DeleteUserProfilesByIdData = {
17656
18422
  body?: never;
17657
18423
  headers: {
@@ -19324,16 +20090,6 @@ type GetAgentsData = {
19324
20090
  * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
19325
20091
  */
19326
20092
  sort?: string;
19327
- /**
19328
- * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
19329
- */
19330
- page?: {
19331
- after?: string;
19332
- before?: string;
19333
- count?: boolean;
19334
- limit?: number;
19335
- offset?: number;
19336
- };
19337
20093
  /**
19338
20094
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19339
20095
  */
@@ -19398,97 +20154,6 @@ type GetAgentsResponses = {
19398
20154
  };
19399
20155
  };
19400
20156
  type GetAgentsResponse = GetAgentsResponses[keyof GetAgentsResponses];
19401
- type PostAgentsData = {
19402
- /**
19403
- * Request body for the /agents operation on agent resource
19404
- */
19405
- body: {
19406
- data: {
19407
- attributes?: {
19408
- description?: string | unknown;
19409
- domain?: "legal" | "medical" | "financial" | "compliance" | "support" | "recruitment" | "general" | unknown;
19410
- name: string;
19411
- prompt_template: string;
19412
- schema_definition?: {
19413
- [key: string]: unknown;
19414
- } | unknown;
19415
- workspace_id: string;
19416
- };
19417
- relationships?: {
19418
- [key: string]: never;
19419
- };
19420
- type?: "agent";
19421
- };
19422
- };
19423
- headers: {
19424
- /**
19425
- * Application ID for authentication and routing
19426
- */
19427
- "x-application-key": string;
19428
- };
19429
- path?: never;
19430
- query?: {
19431
- /**
19432
- * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19433
- */
19434
- include?: string;
19435
- /**
19436
- * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
19437
- */
19438
- fields?: {
19439
- /**
19440
- * Comma separated field names for agent
19441
- */
19442
- agent?: string;
19443
- [key: string]: unknown | string | undefined;
19444
- };
19445
- };
19446
- url: "/agents";
19447
- };
19448
- type PostAgentsErrors = {
19449
- /**
19450
- * Bad Request - Invalid input data or malformed request
19451
- */
19452
- 400: ErrorResponse;
19453
- /**
19454
- * Unauthorized - Missing or invalid authentication token
19455
- */
19456
- 401: ErrorResponse;
19457
- /**
19458
- * Forbidden - Authenticated but not authorized for this resource
19459
- */
19460
- 403: ErrorResponse;
19461
- /**
19462
- * Not Found - Resource does not exist
19463
- */
19464
- 404: ErrorResponse;
19465
- /**
19466
- * Too Many Requests - Rate limit exceeded
19467
- */
19468
- 429: ErrorResponse;
19469
- /**
19470
- * Internal Server Error - Unexpected server error
19471
- */
19472
- 500: ErrorResponse;
19473
- /**
19474
- * General Error
19475
- */
19476
- default: Errors;
19477
- };
19478
- type PostAgentsError = PostAgentsErrors[keyof PostAgentsErrors];
19479
- type PostAgentsResponses = {
19480
- /**
19481
- * Success
19482
- */
19483
- 201: {
19484
- data?: Agent;
19485
- included?: Array<unknown>;
19486
- meta?: {
19487
- [key: string]: unknown;
19488
- };
19489
- };
19490
- };
19491
- type PostAgentsResponse = PostAgentsResponses[keyof PostAgentsResponses];
19492
20157
  type GetDocumentsByIdExtractionResultsData = {
19493
20158
  body?: never;
19494
20159
  headers: {
@@ -21114,6 +21779,12 @@ declare const getApplications: <ThrowOnError extends boolean = false>(options: O
21114
21779
  *
21115
21780
  */
21116
21781
  declare const postApplications: <ThrowOnError extends boolean = false>(options: Options<PostApplicationsData, ThrowOnError>) => RequestResult<PostApplicationsResponses, PostApplicationsErrors, ThrowOnError, "fields">;
21782
+ /**
21783
+ * Create predict
21784
+ *
21785
+ * Predicts the best agents for a given input
21786
+ */
21787
+ declare const postAgentsPredict: <ThrowOnError extends boolean = false>(options: Options<PostAgentsPredictData, ThrowOnError>) => RequestResult<PostAgentsPredictResponses, PostAgentsPredictErrors, ThrowOnError, "fields">;
21117
21788
  /**
21118
21789
  * Delete threads
21119
21790
  *
@@ -21422,16 +22093,6 @@ declare const postApiKeys: <ThrowOnError extends boolean = false>(options: Optio
21422
22093
  *
21423
22094
  */
21424
22095
  declare const getExtractionResults: <ThrowOnError extends boolean = false>(options: Options<GetExtractionResultsData, ThrowOnError>) => RequestResult<GetExtractionResultsResponses, GetExtractionResultsErrors, ThrowOnError, "fields">;
21425
- /**
21426
- * Delete agents
21427
- *
21428
- * Deletes a resource permanently. This action cannot be undone.
21429
- *
21430
- * **Authentication:** Required - Bearer token or API key
21431
- * **Rate Limit:** 100 requests per minute
21432
- *
21433
- */
21434
- declare const deleteAgentsById: <ThrowOnError extends boolean = false>(options: Options<DeleteAgentsByIdData, ThrowOnError>) => RequestResult<DeleteAgentsByIdResponses, DeleteAgentsByIdErrors, ThrowOnError, "fields">;
21435
22096
  /**
21436
22097
  * Get agents
21437
22098
  *
@@ -21442,16 +22103,6 @@ declare const deleteAgentsById: <ThrowOnError extends boolean = false>(options:
21442
22103
  *
21443
22104
  */
21444
22105
  declare const getAgentsById: <ThrowOnError extends boolean = false>(options: Options<GetAgentsByIdData, ThrowOnError>) => RequestResult<GetAgentsByIdResponses, GetAgentsByIdErrors, ThrowOnError, "fields">;
21445
- /**
21446
- * Update agents
21447
- *
21448
- * Updates specific fields of an existing resource.
21449
- *
21450
- * **Authentication:** Required - Bearer token or API key
21451
- * **Rate Limit:** 100 requests per minute
21452
- *
21453
- */
21454
- declare const patchAgentsById: <ThrowOnError extends boolean = false>(options: Options<PatchAgentsByIdData, ThrowOnError>) => RequestResult<PatchAgentsByIdResponses, PatchAgentsByIdErrors, ThrowOnError, "fields">;
21455
22106
  /**
21456
22107
  * Create import
21457
22108
  *
@@ -21488,6 +22139,26 @@ declare const getApiKeysById: <ThrowOnError extends boolean = false>(options: Op
21488
22139
  *
21489
22140
  */
21490
22141
  declare const patchApiKeysById: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdData, ThrowOnError>) => RequestResult<PatchApiKeysByIdResponses, PatchApiKeysByIdErrors, ThrowOnError, "fields">;
22142
+ /**
22143
+ * List conversations
22144
+ *
22145
+ * Lists resources with optional filtering, sorting, and pagination.
22146
+ *
22147
+ * **Authentication:** Required - Bearer token or API key
22148
+ * **Rate Limit:** 100 requests per minute
22149
+ *
22150
+ */
22151
+ declare const getAiConversations: <ThrowOnError extends boolean = false>(options: Options<GetAiConversationsData, ThrowOnError>) => RequestResult<GetAiConversationsResponses, GetAiConversationsErrors, ThrowOnError, "fields">;
22152
+ /**
22153
+ * Create conversations
22154
+ *
22155
+ * Creates a new resource. Returns the created resource with generated ID.
22156
+ *
22157
+ * **Authentication:** Required - Bearer token or API key
22158
+ * **Rate Limit:** 100 requests per minute
22159
+ *
22160
+ */
22161
+ declare const postAiConversations: <ThrowOnError extends boolean = false>(options: Options<PostAiConversationsData, ThrowOnError>) => RequestResult<PostAiConversationsResponses, PostAiConversationsErrors, ThrowOnError, "fields">;
21491
22162
  /**
21492
22163
  * Create search
21493
22164
  *
@@ -21872,6 +22543,26 @@ declare const deleteTenantMembershipsByTenantIdByUserId: <ThrowOnError extends b
21872
22543
  *
21873
22544
  */
21874
22545
  declare const patchTenantMembershipsByTenantIdByUserId: <ThrowOnError extends boolean = false>(options: Options<PatchTenantMembershipsByTenantIdByUserIdData, ThrowOnError>) => RequestResult<PatchTenantMembershipsByTenantIdByUserIdResponses, PatchTenantMembershipsByTenantIdByUserIdErrors, ThrowOnError, "fields">;
22546
+ /**
22547
+ * List messages
22548
+ *
22549
+ * Lists resources with optional filtering, sorting, and pagination.
22550
+ *
22551
+ * **Authentication:** Required - Bearer token or API key
22552
+ * **Rate Limit:** 100 requests per minute
22553
+ *
22554
+ */
22555
+ declare const getAiMessages: <ThrowOnError extends boolean = false>(options: Options<GetAiMessagesData, ThrowOnError>) => RequestResult<GetAiMessagesResponses, GetAiMessagesErrors, ThrowOnError, "fields">;
22556
+ /**
22557
+ * Create messages
22558
+ *
22559
+ * Creates a new resource. Returns the created resource with generated ID.
22560
+ *
22561
+ * **Authentication:** Required - Bearer token or API key
22562
+ * **Rate Limit:** 100 requests per minute
22563
+ *
22564
+ */
22565
+ declare const postAiMessages: <ThrowOnError extends boolean = false>(options: Options<PostAiMessagesData, ThrowOnError>) => RequestResult<PostAiMessagesResponses, PostAiMessagesErrors, ThrowOnError, "fields">;
21875
22566
  /**
21876
22567
  * Create sign upload
21877
22568
  *
@@ -21928,6 +22619,26 @@ declare const patchApiKeysByIdRotate: <ThrowOnError extends boolean = false>(opt
21928
22619
  * Clone the agent to a new one with a new name
21929
22620
  */
21930
22621
  declare const postAgentsByIdClone: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdCloneData, ThrowOnError>) => RequestResult<PostAgentsByIdCloneResponses, PostAgentsByIdCloneErrors, ThrowOnError, "fields">;
22622
+ /**
22623
+ * Delete conversations
22624
+ *
22625
+ * Deletes a resource permanently. This action cannot be undone.
22626
+ *
22627
+ * **Authentication:** Required - Bearer token or API key
22628
+ * **Rate Limit:** 100 requests per minute
22629
+ *
22630
+ */
22631
+ declare const deleteAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<DeleteAiConversationsByIdData, ThrowOnError>) => RequestResult<DeleteAiConversationsByIdResponses, DeleteAiConversationsByIdErrors, ThrowOnError, "fields">;
22632
+ /**
22633
+ * Get conversations
22634
+ *
22635
+ * Retrieves a single resource by ID.
22636
+ *
22637
+ * **Authentication:** Required - Bearer token or API key
22638
+ * **Rate Limit:** 100 requests per minute
22639
+ *
22640
+ */
22641
+ declare const getAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<GetAiConversationsByIdData, ThrowOnError>) => RequestResult<GetAiConversationsByIdResponses, GetAiConversationsByIdErrors, ThrowOnError, "fields">;
21931
22642
  /**
21932
22643
  * Delete user profiles
21933
22644
  *
@@ -22144,16 +22855,6 @@ declare const postAiGraphNodes: <ThrowOnError extends boolean = false>(options:
22144
22855
  *
22145
22856
  */
22146
22857
  declare const getAgents: <ThrowOnError extends boolean = false>(options: Options<GetAgentsData, ThrowOnError>) => RequestResult<GetAgentsResponses, GetAgentsErrors, ThrowOnError, "fields">;
22147
- /**
22148
- * Create agents
22149
- *
22150
- * Creates a new resource. Returns the created resource with generated ID.
22151
- *
22152
- * **Authentication:** Required - Bearer token or API key
22153
- * **Rate Limit:** 100 requests per minute
22154
- *
22155
- */
22156
- declare const postAgents: <ThrowOnError extends boolean = false>(options: Options<PostAgentsData, ThrowOnError>) => RequestResult<PostAgentsResponses, PostAgentsErrors, ThrowOnError, "fields">;
22157
22858
  /**
22158
22859
  * Get extraction results
22159
22860
  *
@@ -22601,4 +23302,4 @@ declare function streamMessage(response: Response, options?: StreamOptions): Asy
22601
23302
  */
22602
23303
  declare function collectStreamedMessage(stream: AsyncIterableIterator<StreamMessageChunk>): Promise<string>;
22603
23304
 
22604
- export { type Account, type AccountFilter, type AccountFilterId, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentFilter, type AgentFilterId, type AiConfig, type AiConfigFilter, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type ApiKeyFilter, type ApiKeyFilterId, type ApiKeyFilterStatus, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type ApplicationFilter, type ApplicationFilterDefaultFreeCredits, type ApplicationFilterDescription, type ApplicationFilterId, type ApplicationFilterName, type ApplicationFilterSlug, type AuditLog, type AuditLogFilter, type AuditLogFilterAction, type AuditLogFilterActorId, type AuditLogFilterChanges, type AuditLogFilterId, type AuditLogFilterResourceId, type AuditLogFilterResourceType, type AuditLogFilterTenantId, type AuditLogFilterWorkspaceId, AuthenticationError, AuthorizationError, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BucketFilter, type BucketFilterId, type BucketFilterName, type BucketFilterRegion, type BucketFilterStorageUsed, type BucketFilterType, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type ConfigFilter, type ConfigFilterDescription, type ConfigFilterKey, type ConfigFilterValue, type CreditPackage, type CreditPackageFilter, type CreditPackageFilterCreatedAt, type CreditPackageFilterCredits, type CreditPackageFilterId, type CreditPackageFilterName, type CreditPackageFilterPrice, type CreditPackageFilterSlug, type CreditPackageFilterUpdatedAt, type Customer, type CustomerFilter, type CustomerFilterId, DEFAULT_RETRY_CONFIG, type DeleteAgentsByIdData, type DeleteAgentsByIdError, type DeleteAgentsByIdErrors, type DeleteAgentsByIdResponses, type DeleteAiGraphEdgesByIdData, type DeleteAiGraphEdgesByIdError, type DeleteAiGraphEdgesByIdErrors, type DeleteAiGraphEdgesByIdResponses, type DeleteAiGraphNodesByIdData, type DeleteAiGraphNodesByIdError, type DeleteAiGraphNodesByIdErrors, type DeleteAiGraphNodesByIdResponses, type DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteDocumentsByIdData, type DeleteDocumentsByIdError, type DeleteDocumentsByIdErrors, type DeleteDocumentsByIdResponses, type DeleteExtractionResultsByIdData, type DeleteExtractionResultsByIdError, type DeleteExtractionResultsByIdErrors, type DeleteExtractionResultsByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, type DeleteNotificationPreferencesByIdData, type DeleteNotificationPreferencesByIdError, type DeleteNotificationPreferencesByIdErrors, type DeleteNotificationPreferencesByIdResponses, type DeleteObjectsByIdData, type DeleteObjectsByIdError, type DeleteObjectsByIdErrors, type DeleteObjectsByIdResponses, type DeleteSearchSavedByIdData, type DeleteSearchSavedByIdError, type DeleteSearchSavedByIdErrors, type DeleteSearchSavedByIdResponses, type DeleteTenantMembershipsByTenantIdByUserIdData, type DeleteTenantMembershipsByTenantIdByUserIdError, type DeleteTenantMembershipsByTenantIdByUserIdErrors, type DeleteTenantMembershipsByTenantIdByUserIdResponses, type DeleteTenantsByIdData, type DeleteTenantsByIdError, type DeleteTenantsByIdErrors, type DeleteTenantsByIdResponses, type DeleteThreadsByIdData, type DeleteThreadsByIdError, type DeleteThreadsByIdErrors, type DeleteThreadsByIdResponses, type DeleteTrainingExamplesByIdData, type DeleteTrainingExamplesByIdError, type DeleteTrainingExamplesByIdErrors, type DeleteTrainingExamplesByIdResponses, type DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, type DeleteWebhookConfigsByIdData, type DeleteWebhookConfigsByIdError, type DeleteWebhookConfigsByIdErrors, type DeleteWebhookConfigsByIdResponses, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteWorkspacesByIdData, type DeleteWorkspacesByIdError, type DeleteWorkspacesByIdErrors, type DeleteWorkspacesByIdResponses, type Document, type DocumentChunk, type DocumentChunkFilter, type DocumentChunkFilterChunkIndex, type DocumentChunkFilterContent, type DocumentChunkFilterDocumentId, type DocumentChunkFilterEmbedding, type DocumentChunkFilterId, type DocumentFilter, type DocumentFilterApplicationId, type DocumentFilterContent, type DocumentFilterFilename, type DocumentFilterId, type DocumentFilterMetadata, type DocumentFilterMimeType, type DocumentFilterOriginalFilename, type DocumentFilterSizeBytes, type DocumentFilterStatus, type DocumentFilterStorageOptions, type DocumentFilterStoragePath, type DocumentFilterSummary, type DocumentFilterSummaryEmbedding, type DocumentFilterTenantId, type DocumentFilterUploaderId, type DocumentFilterWorkspaceId, type DocumentStats, type DocumentStatsFilter, type DocumentStatsFilterCompleted, type DocumentStatsFilterFailed, type DocumentStatsFilterId, type DocumentStatsFilterPending, type DocumentStatsFilterProcessing, type DocumentStatsFilterTotal, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmbedRequest, EmbedRequestSchema, type Embedding, type EmbeddingFilter, type EmbeddingFilterEmbedding, type EmbeddingFilterId, type EmbeddingFilterModel, type EmbeddingFilterText, type EmbeddingFilterUsage, type ErrorResponse, type Errors, type ExtractionResult, type ExtractionResultDataInputUpdateType, type ExtractionResultFilter, type ExtractionResultFilterConfidenceScore, type ExtractionResultFilterDocumentId, type ExtractionResultFilterId, type ExtractionResultFilterModelUsed, type ExtractionResultFilterProcessingTimeMs, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsByIdData, type GetDocumentsByIdError, type GetDocumentsByIdErrors, type GetDocumentsByIdExtractionResultsData, type GetDocumentsByIdExtractionResultsError, type GetDocumentsByIdExtractionResultsErrors, type GetDocumentsByIdExtractionResultsResponse, type GetDocumentsByIdExtractionResultsResponses, type GetDocumentsByIdRelationshipsChunksData, type GetDocumentsByIdRelationshipsChunksError, type GetDocumentsByIdRelationshipsChunksErrors, type GetDocumentsByIdRelationshipsChunksResponse, type GetDocumentsByIdRelationshipsChunksResponses, type GetDocumentsByIdResponse, type GetDocumentsByIdResponses, type GetDocumentsData, type GetDocumentsError, type GetDocumentsErrors, type GetDocumentsProcessingQueueData, type GetDocumentsProcessingQueueError, type GetDocumentsProcessingQueueErrors, type GetDocumentsProcessingQueueResponse, type GetDocumentsProcessingQueueResponses, type GetDocumentsResponse, type GetDocumentsResponses, type GetDocumentsSearchData, type GetDocumentsSearchError, type GetDocumentsSearchErrors, type GetDocumentsSearchResponse, type GetDocumentsSearchResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsData, type GetExtractionResultsError, type GetExtractionResultsErrors, type GetExtractionResultsResponse, type GetExtractionResultsResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, GptCoreError, type GraphEdge, type GraphEdgeFilter, type GraphEdgeFilterId, type GraphEdgeFilterProperties, type GraphEdgeFilterRelationship, type GraphEdgeFilterSourceId, type GraphEdgeFilterTargetId, type GraphNode, type GraphNodeFilter, type GraphNodeFilterId, type GraphNodeFilterLabel, type GraphNodeFilterProperties, type GraphNodeFilterTenantId, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type InvitationFilter, type InvitationFilterId, type Ledger, type LedgerFilter, type LedgerFilterId, type Link, type Links, type LlmAnalytics, type LlmAnalyticsFilter, type LlmAnalyticsFilterId, type LoginRequest, LoginRequestSchema, type Message, type MessageFilter, type MessageFilterId, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationLogFilter, type NotificationLogFilterId, type NotificationPreference, type NotificationPreferenceFilter, type NotificationPreferenceFilterId, type ObjectFilter, type ObjectFilterContentType, type ObjectFilterId, type ObjectFilterKey, type ObjectFilterSizeBytes, type OperationSuccess, type OperationSuccessFilter, type OperationSuccessFilterId, type OperationSuccessFilterMessage, type OperationSuccessFilterSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchAgentsByIdData, type PatchAgentsByIdError, type PatchAgentsByIdErrors, type PatchAgentsByIdResponse, type PatchAgentsByIdResponses, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type PatchApplicationsByIdResponse, type PatchApplicationsByIdResponses, type PatchBucketsByIdData, type PatchBucketsByIdError, type PatchBucketsByIdErrors, type PatchBucketsByIdResponse, type PatchBucketsByIdResponses, type PatchConfigsByKeyData, type PatchConfigsByKeyError, type PatchConfigsByKeyErrors, type PatchConfigsByKeyResponse, type PatchConfigsByKeyResponses, type PatchDocumentsByIdData, type PatchDocumentsByIdError, type PatchDocumentsByIdErrors, type PatchDocumentsByIdResponse, type PatchDocumentsByIdResponses, type PatchExtractionResultsByIdData, type PatchExtractionResultsByIdError, type PatchExtractionResultsByIdErrors, type PatchExtractionResultsByIdResponse, type PatchExtractionResultsByIdResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdData, type PatchUsersByIdError, type PatchUsersByIdErrors, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchUsersByIdResponse, type PatchUsersByIdResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type Payment, type PaymentFilter, type PaymentFilterAmount, type PaymentFilterCreatedAt, type PaymentFilterCurrency, type PaymentFilterErrorMessage, type PaymentFilterId, type PaymentFilterProviderReference, type PaymentFilterStatus, type PaymentMethod, type PaymentMethodFilter, type PaymentMethodFilterId, type Plan, type PlanFilter, type PlanFilterCreatedAt, type PlanFilterId, type PlanFilterMonthlyCredits, type PlanFilterMonthlyPrice, type PlanFilterName, type PlanFilterSlug, type PlanFilterStorageDays, type PlanFilterType, type PlanFilterUpdatedAt, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsData, type PostAgentsError, type PostAgentsErrors, type PostAgentsResponse, type PostAgentsResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsBulkReprocessData, type PostDocumentsBulkReprocessError, type PostDocumentsBulkReprocessErrors, type PostDocumentsBulkReprocessResponse, type PostDocumentsBulkReprocessResponses, type PostDocumentsByIdAnalyzeData, type PostDocumentsByIdAnalyzeError, type PostDocumentsByIdAnalyzeErrors, type PostDocumentsByIdAnalyzeResponse, type PostDocumentsByIdAnalyzeResponses, type PostDocumentsByIdReprocessData, type PostDocumentsByIdReprocessError, type PostDocumentsByIdReprocessErrors, type PostDocumentsByIdReprocessResponse, type PostDocumentsByIdReprocessResponses, type PostDocumentsData, type PostDocumentsError, type PostDocumentsErrors, type PostDocumentsExportData, type PostDocumentsExportError, type PostDocumentsExportErrors, type PostDocumentsExportResponse, type PostDocumentsExportResponses, type PostDocumentsImportData, type PostDocumentsImportError, type PostDocumentsImportErrors, type PostDocumentsImportResponse, type PostDocumentsImportResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostDocumentsResponse, type PostDocumentsResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsInviteData, type PostInvitationsInviteError, type PostInvitationsInviteErrors, type PostInvitationsInviteResponse, type PostInvitationsInviteResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PresignedUrlFilter, type PresignedUrlFilterExpiresIn, type PresignedUrlFilterHeaders, type PresignedUrlFilterId, type PresignedUrlFilterMethod, type PresignedUrlFilterStoragePath, type PresignedUrlFilterUploadUrl, type PresignedUrlFilterUrl, type PricingRule, type PricingRuleFilter, type PricingRuleFilterId, type PricingStrategy, type PricingStrategyFilter, type PricingStrategyFilterId, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SavedSearchFilter, type SavedSearchFilterFilters, type SavedSearchFilterId, type SavedSearchFilterIsShared, type SavedSearchFilterName, type SavedSearchFilterQuery, type SavedSearchFilterSearchType, type Search, type SearchFilter, type SearchFilterId, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, type SemanticCacheEntryFilter, type SemanticCacheEntryFilterId, ServerError, type StorageStats, type StorageStatsFilter, type StorageStatsFilterId, type StorageStatsFilterTotalBuckets, type StorageStatsFilterTotalObjects, type StorageStatsFilterTotalStorageBytes, type StreamMessageChunk, type StreamOptions, type Subscription, type SubscriptionFilter, type SubscriptionFilterId, type Tenant, type TenantFilter, type TenantFilterBadgeUrl, type TenantFilterId, type TenantFilterKind, type TenantFilterLogoUrl, type TenantFilterName, type TenantFilterSlug, type TenantMembership, type TenantMembershipFilter, type TenantMembershipFilterRole, type TenantMembershipFilterTenantId, type TenantMembershipFilterUserId, type Thread, type ThreadCreateRequest, ThreadCreateSchema, type ThreadFilter, type ThreadFilterContextSummary, type ThreadFilterId, type ThreadFilterTitle, TimeoutError, type Token, type TokenFilter, type TokenFilterBrand, type TokenFilterExpMonth, type TokenFilterExpYear, type TokenFilterId, type TokenFilterLast4, type TokenFilterToken, type TrainingExample, type TrainingExampleFilter, type TrainingExampleFilterEmbedding, type TrainingExampleFilterId, type TrainingExampleFilterInputText, type TrainingExampleFilterOutputJson, type Transaction, type TransactionFilter, type TransactionFilterAmount, type TransactionFilterCreatedAt, type TransactionFilterCurrency, type TransactionFilterDescription, type TransactionFilterErrorMessage, type TransactionFilterId, type TransactionFilterProviderReference, type TransactionFilterServiceId, type TransactionFilterStatus, type TransactionFilterType, type TransactionFilterUpdatedAt, type User, type UserFilter, type UserFilterCurrentWorkspaceId, type UserFilterEmail, type UserFilterId, type UserFilterIsAppAdmin, type UserFilterIsPlatformAdmin, type UserProfile, type UserProfileFilter, type UserProfileFilterAvatarUrl, type UserProfileFilterBio, type UserProfileFilterFirstName, type UserProfileFilterId, type UserProfileFilterLastName, type UserProfileFilterPreferences, type UserProfileFilterSocialLinks, type UserProfileFilterUserId, ValidationError, type Wallet, type WalletFilter, type WalletFilterApplicationId, type WalletFilterCredits, type WalletFilterCreditsFree, type WalletFilterCreditsPaid, type WalletFilterCreditsSubscription, type WalletFilterId, type WalletFilterPlan, type WalletFilterStorageBlocksPurchased, type WalletFilterStorageQuotaBytes, type WalletFilterStorageUsedBytes, type WebhookConfig, type WebhookConfigFilter, type WebhookConfigFilterId, type WebhookDelivery, type WebhookDeliveryFilter, type WebhookDeliveryFilterId, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceFilter, type WorkspaceFilterApplicationId, type WorkspaceFilterArchivedAt, type WorkspaceFilterCreatedAt, type WorkspaceFilterDescription, type WorkspaceFilterExpiresAt, type WorkspaceFilterId, type WorkspaceFilterIsDefault, type WorkspaceFilterLowBalanceThreshold, type WorkspaceFilterName, type WorkspaceFilterRenewalParams, type WorkspaceFilterSlug, type WorkspaceFilterUpdatedAt, type WorkspaceMembership, type WorkspaceMembershipFilter, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, deleteAgentsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteApiKeysById, deleteApplicationsById, deleteBucketsById, deleteDocumentsById, deleteExtractionResultsById, deleteMessagesById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteUserProfilesById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgents, getAgentsById, getAiChunksDocumentByDocumentId, getAiGraphEdges, getAiGraphNodes, getApiKeys, getApiKeysById, getApplications, getApplicationsById, getApplicationsBySlugBySlug, getAuditLogs, getBuckets, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocuments, getDocumentsById, getDocumentsByIdExtractionResults, getDocumentsByIdRelationshipsChunks, getDocumentsProcessingQueue, getDocumentsSearch, getDocumentsStats, getExtractionResults, getExtractionResultsById, getInvitations, getInvitationsConsumeByToken, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getNotificationLogs, getNotificationLogsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getStorageStats, getTenantMemberships, getTenants, getTenantsById, getThreads, getThreadsById, getThreadsSearch, getTrainingExamples, getTrainingExamplesById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersById, getUsersMe, getWallet, getWebhookConfigs, getWebhookConfigsById, getWebhookDeliveries, getWebhookDeliveriesById, getWorkspaceMemberships, getWorkspaces, getWorkspacesById, getWorkspacesMine, handleApiError, isRetryableError, paginateAll, paginateToArray, patchAgentsById, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApplicationsById, patchBucketsById, patchConfigsByKey, patchDocumentsById, patchExtractionResultsById, patchInvitationsByIdAccept, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationPreferencesById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchTrainingExamplesById, patchUserProfilesById, patchUsersAuthResetPassword, patchUsersById, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletPlan, patchWebhookConfigsById, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, postAgents, postAgentsByIdClone, postAgentsByIdTest, postAgentsByIdValidate, postAiChunksSearch, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postBuckets, postConfigs, postDocuments, postDocumentsBulkDelete, postDocumentsBulkReprocess, postDocumentsByIdAnalyze, postDocumentsByIdReprocess, postDocumentsExport, postDocumentsImport, postDocumentsPresignedUpload, postInvitationsAcceptByToken, postInvitationsInvite, postLlmAnalytics, postMessages, postNotificationPreferences, postObjectsBulkDestroy, postObjectsRegister, postPayments, postSearchReindex, postSearchSaved, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdRemoveStorage, postThreads, postThreadsActive, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersRegisterIsv, postWebhookConfigs, postWebhookConfigsByIdTest, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, retryWithBackoff, sleep, streamMessage, streamSSE, withRetry };
23305
+ export { type Account, type AccountFilter, type AccountFilterId, type Agent, type AgentCreateRequest, AgentCreateSchema, type AgentFilter, type AgentFilterCapabilities, type AgentFilterDescription, type AgentFilterId, type AgentFilterName, type AgentFilterSlug, type AiConfig, type AiConfigFilter, type ApiKey, type ApiKeyAllocateRequest, ApiKeyAllocateSchema, type ApiKeyCreateRequest, ApiKeyCreateSchema, type ApiKeyFilter, type ApiKeyFilterApplicationId, type ApiKeyFilterExpiresAt, type ApiKeyFilterId, type ApiKeyFilterStatus, type ApiKeyFilterTenantId, type ApiKeyFilterUserId, type ApiKeyFilterWorkspaceId, type Application, type ApplicationCreateRequest, ApplicationCreateSchema, type ApplicationFilter, type ApplicationFilterDefaultFreeCredits, type ApplicationFilterDescription, type ApplicationFilterId, type ApplicationFilterName, type ApplicationFilterSlug, type AuditLog, type AuditLogFilter, type AuditLogFilterAction, type AuditLogFilterActorId, type AuditLogFilterChanges, type AuditLogFilterId, type AuditLogFilterResourceId, type AuditLogFilterResourceType, type AuditLogFilterTenantId, type AuditLogFilterWorkspaceId, AuthenticationError, AuthorizationError, type Bucket, type BucketCreateRequest, BucketCreateSchema, type BucketFilter, type BucketFilterId, type BucketFilterName, type BucketFilterRegion, type BucketFilterStorageUsed, type BucketFilterType, type ClientOptions$1 as ClientOptions, type Config$2 as Config, type ConfigFilter, type ConfigFilterDescription, type ConfigFilterKey, type ConfigFilterValue, type Conversation, type ConversationFilter, type ConversationFilterContextData, type ConversationFilterId, type ConversationFilterTenantId, type ConversationFilterTitle, type CreditPackage, type CreditPackageFilter, type CreditPackageFilterCreatedAt, type CreditPackageFilterCredits, type CreditPackageFilterId, type CreditPackageFilterName, type CreditPackageFilterPrice, type CreditPackageFilterSlug, type CreditPackageFilterUpdatedAt, type Customer, type CustomerFilter, type CustomerFilterId, DEFAULT_RETRY_CONFIG, type DeleteAiConversationsByIdData, type DeleteAiConversationsByIdError, type DeleteAiConversationsByIdErrors, type DeleteAiConversationsByIdResponses, type DeleteAiGraphEdgesByIdData, type DeleteAiGraphEdgesByIdError, type DeleteAiGraphEdgesByIdErrors, type DeleteAiGraphEdgesByIdResponses, type DeleteAiGraphNodesByIdData, type DeleteAiGraphNodesByIdError, type DeleteAiGraphNodesByIdErrors, type DeleteAiGraphNodesByIdResponses, type DeleteApiKeysByIdData, type DeleteApiKeysByIdError, type DeleteApiKeysByIdErrors, type DeleteApiKeysByIdResponses, type DeleteApplicationsByIdData, type DeleteApplicationsByIdError, type DeleteApplicationsByIdErrors, type DeleteApplicationsByIdResponses, type DeleteBucketsByIdData, type DeleteBucketsByIdError, type DeleteBucketsByIdErrors, type DeleteBucketsByIdResponses, type DeleteDocumentsByIdData, type DeleteDocumentsByIdError, type DeleteDocumentsByIdErrors, type DeleteDocumentsByIdResponses, type DeleteExtractionResultsByIdData, type DeleteExtractionResultsByIdError, type DeleteExtractionResultsByIdErrors, type DeleteExtractionResultsByIdResponses, type DeleteMessagesByIdData, type DeleteMessagesByIdError, type DeleteMessagesByIdErrors, type DeleteMessagesByIdResponses, type DeleteNotificationPreferencesByIdData, type DeleteNotificationPreferencesByIdError, type DeleteNotificationPreferencesByIdErrors, type DeleteNotificationPreferencesByIdResponses, type DeleteObjectsByIdData, type DeleteObjectsByIdError, type DeleteObjectsByIdErrors, type DeleteObjectsByIdResponses, type DeleteSearchSavedByIdData, type DeleteSearchSavedByIdError, type DeleteSearchSavedByIdErrors, type DeleteSearchSavedByIdResponses, type DeleteTenantMembershipsByTenantIdByUserIdData, type DeleteTenantMembershipsByTenantIdByUserIdError, type DeleteTenantMembershipsByTenantIdByUserIdErrors, type DeleteTenantMembershipsByTenantIdByUserIdResponses, type DeleteTenantsByIdData, type DeleteTenantsByIdError, type DeleteTenantsByIdErrors, type DeleteTenantsByIdResponses, type DeleteThreadsByIdData, type DeleteThreadsByIdError, type DeleteThreadsByIdErrors, type DeleteThreadsByIdResponses, type DeleteTrainingExamplesByIdData, type DeleteTrainingExamplesByIdError, type DeleteTrainingExamplesByIdErrors, type DeleteTrainingExamplesByIdResponses, type DeleteUserProfilesByIdData, type DeleteUserProfilesByIdError, type DeleteUserProfilesByIdErrors, type DeleteUserProfilesByIdResponses, type DeleteWebhookConfigsByIdData, type DeleteWebhookConfigsByIdError, type DeleteWebhookConfigsByIdErrors, type DeleteWebhookConfigsByIdResponses, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdData, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdError, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type DeleteWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type DeleteWorkspacesByIdData, type DeleteWorkspacesByIdError, type DeleteWorkspacesByIdErrors, type DeleteWorkspacesByIdResponses, type Document, type DocumentChunk, type DocumentChunkFilter, type DocumentChunkFilterChunkIndex, type DocumentChunkFilterContent, type DocumentChunkFilterDocumentId, type DocumentChunkFilterEmbedding, type DocumentChunkFilterId, type DocumentFilter, type DocumentFilterApplicationId, type DocumentFilterBilledCredits, type DocumentFilterContent, type DocumentFilterFilename, type DocumentFilterId, type DocumentFilterMetadata, type DocumentFilterMimeType, type DocumentFilterOriginalFilename, type DocumentFilterSizeBytes, type DocumentFilterStatus, type DocumentFilterStorageOptions, type DocumentFilterStoragePath, type DocumentFilterSummary, type DocumentFilterSummaryEmbedding, type DocumentFilterTenantId, type DocumentFilterUploaderId, type DocumentFilterWorkspaceId, type DocumentStats, type DocumentStatsFilter, type DocumentStatsFilterCompleted, type DocumentStatsFilterFailed, type DocumentStatsFilterId, type DocumentStatsFilterPending, type DocumentStatsFilterProcessing, type DocumentStatsFilterTotal, type DocumentUploadBase64Request, DocumentUploadBase64Schema, type EmbedRequest, EmbedRequestSchema, type Embedding, type EmbeddingFilter, type EmbeddingFilterBilledCredits, type EmbeddingFilterEmbedding, type EmbeddingFilterId, type EmbeddingFilterModel, type EmbeddingFilterText, type EmbeddingFilterUsage, type ErrorResponse, type Errors, type ExtractionResult, type ExtractionResultDataInputUpdateType, type ExtractionResultFilter, type ExtractionResultFilterConfidenceScore, type ExtractionResultFilterDocumentId, type ExtractionResultFilterId, type ExtractionResultFilterModelUsed, type ExtractionResultFilterProcessingTimeMs, type GetAgentsByIdData, type GetAgentsByIdError, type GetAgentsByIdErrors, type GetAgentsByIdResponse, type GetAgentsByIdResponses, type GetAgentsData, type GetAgentsError, type GetAgentsErrors, type GetAgentsResponse, type GetAgentsResponses, type GetAiChunksDocumentByDocumentIdData, type GetAiChunksDocumentByDocumentIdError, type GetAiChunksDocumentByDocumentIdErrors, type GetAiChunksDocumentByDocumentIdResponse, type GetAiChunksDocumentByDocumentIdResponses, type GetAiConversationsByIdData, type GetAiConversationsByIdError, type GetAiConversationsByIdErrors, type GetAiConversationsByIdResponse, type GetAiConversationsByIdResponses, type GetAiConversationsData, type GetAiConversationsError, type GetAiConversationsErrors, type GetAiConversationsResponse, type GetAiConversationsResponses, type GetAiGraphEdgesData, type GetAiGraphEdgesError, type GetAiGraphEdgesErrors, type GetAiGraphEdgesResponse, type GetAiGraphEdgesResponses, type GetAiGraphNodesData, type GetAiGraphNodesError, type GetAiGraphNodesErrors, type GetAiGraphNodesResponse, type GetAiGraphNodesResponses, type GetAiMessagesData, type GetAiMessagesError, type GetAiMessagesErrors, type GetAiMessagesResponse, type GetAiMessagesResponses, type GetApiKeysByIdData, type GetApiKeysByIdError, type GetApiKeysByIdErrors, type GetApiKeysByIdResponse, type GetApiKeysByIdResponses, type GetApiKeysData, type GetApiKeysError, type GetApiKeysErrors, type GetApiKeysResponse, type GetApiKeysResponses, type GetApplicationsByIdData, type GetApplicationsByIdError, type GetApplicationsByIdErrors, type GetApplicationsByIdResponse, type GetApplicationsByIdResponses, type GetApplicationsBySlugBySlugData, type GetApplicationsBySlugBySlugError, type GetApplicationsBySlugBySlugErrors, type GetApplicationsBySlugBySlugResponse, type GetApplicationsBySlugBySlugResponses, type GetApplicationsData, type GetApplicationsError, type GetApplicationsErrors, type GetApplicationsResponse, type GetApplicationsResponses, type GetAuditLogsData, type GetAuditLogsError, type GetAuditLogsErrors, type GetAuditLogsResponse, type GetAuditLogsResponses, type GetBucketsByIdData, type GetBucketsByIdError, type GetBucketsByIdErrors, type GetBucketsByIdObjectsData, type GetBucketsByIdObjectsError, type GetBucketsByIdObjectsErrors, type GetBucketsByIdObjectsResponse, type GetBucketsByIdObjectsResponses, type GetBucketsByIdResponse, type GetBucketsByIdResponses, type GetBucketsByIdStatsData, type GetBucketsByIdStatsError, type GetBucketsByIdStatsErrors, type GetBucketsByIdStatsResponse, type GetBucketsByIdStatsResponses, type GetBucketsData, type GetBucketsError, type GetBucketsErrors, type GetBucketsResponse, type GetBucketsResponses, type GetConfigsData, type GetConfigsError, type GetConfigsErrors, type GetConfigsResponse, type GetConfigsResponses, type GetCreditPackagesByIdData, type GetCreditPackagesByIdError, type GetCreditPackagesByIdErrors, type GetCreditPackagesByIdResponse, type GetCreditPackagesByIdResponses, type GetCreditPackagesData, type GetCreditPackagesError, type GetCreditPackagesErrors, type GetCreditPackagesResponse, type GetCreditPackagesResponses, type GetCreditPackagesSlugBySlugData, type GetCreditPackagesSlugBySlugError, type GetCreditPackagesSlugBySlugErrors, type GetCreditPackagesSlugBySlugResponse, type GetCreditPackagesSlugBySlugResponses, type GetDocumentsByIdData, type GetDocumentsByIdError, type GetDocumentsByIdErrors, type GetDocumentsByIdExtractionResultsData, type GetDocumentsByIdExtractionResultsError, type GetDocumentsByIdExtractionResultsErrors, type GetDocumentsByIdExtractionResultsResponse, type GetDocumentsByIdExtractionResultsResponses, type GetDocumentsByIdRelationshipsChunksData, type GetDocumentsByIdRelationshipsChunksError, type GetDocumentsByIdRelationshipsChunksErrors, type GetDocumentsByIdRelationshipsChunksResponse, type GetDocumentsByIdRelationshipsChunksResponses, type GetDocumentsByIdResponse, type GetDocumentsByIdResponses, type GetDocumentsData, type GetDocumentsError, type GetDocumentsErrors, type GetDocumentsProcessingQueueData, type GetDocumentsProcessingQueueError, type GetDocumentsProcessingQueueErrors, type GetDocumentsProcessingQueueResponse, type GetDocumentsProcessingQueueResponses, type GetDocumentsResponse, type GetDocumentsResponses, type GetDocumentsSearchData, type GetDocumentsSearchError, type GetDocumentsSearchErrors, type GetDocumentsSearchResponse, type GetDocumentsSearchResponses, type GetDocumentsStatsData, type GetDocumentsStatsError, type GetDocumentsStatsErrors, type GetDocumentsStatsResponse, type GetDocumentsStatsResponses, type GetExtractionResultsByIdData, type GetExtractionResultsByIdError, type GetExtractionResultsByIdErrors, type GetExtractionResultsByIdResponse, type GetExtractionResultsByIdResponses, type GetExtractionResultsData, type GetExtractionResultsError, type GetExtractionResultsErrors, type GetExtractionResultsResponse, type GetExtractionResultsResponses, type GetInvitationsConsumeByTokenData, type GetInvitationsConsumeByTokenError, type GetInvitationsConsumeByTokenErrors, type GetInvitationsConsumeByTokenResponse, type GetInvitationsConsumeByTokenResponses, type GetInvitationsData, type GetInvitationsError, type GetInvitationsErrors, type GetInvitationsResponse, type GetInvitationsResponses, type GetLlmAnalyticsByIdData, type GetLlmAnalyticsByIdError, type GetLlmAnalyticsByIdErrors, type GetLlmAnalyticsByIdResponse, type GetLlmAnalyticsByIdResponses, type GetLlmAnalyticsCostsData, type GetLlmAnalyticsCostsError, type GetLlmAnalyticsCostsErrors, type GetLlmAnalyticsCostsResponse, type GetLlmAnalyticsCostsResponses, type GetLlmAnalyticsData, type GetLlmAnalyticsError, type GetLlmAnalyticsErrors, type GetLlmAnalyticsPlatformData, type GetLlmAnalyticsPlatformError, type GetLlmAnalyticsPlatformErrors, type GetLlmAnalyticsPlatformResponse, type GetLlmAnalyticsPlatformResponses, type GetLlmAnalyticsResponse, type GetLlmAnalyticsResponses, type GetLlmAnalyticsSummaryData, type GetLlmAnalyticsSummaryError, type GetLlmAnalyticsSummaryErrors, type GetLlmAnalyticsSummaryResponse, type GetLlmAnalyticsSummaryResponses, type GetLlmAnalyticsUsageData, type GetLlmAnalyticsUsageError, type GetLlmAnalyticsUsageErrors, type GetLlmAnalyticsUsageResponse, type GetLlmAnalyticsUsageResponses, type GetLlmAnalyticsWorkspaceData, type GetLlmAnalyticsWorkspaceError, type GetLlmAnalyticsWorkspaceErrors, type GetLlmAnalyticsWorkspaceResponse, type GetLlmAnalyticsWorkspaceResponses, type GetMessagesByIdData, type GetMessagesByIdError, type GetMessagesByIdErrors, type GetMessagesByIdResponse, type GetMessagesByIdResponses, type GetMessagesData, type GetMessagesError, type GetMessagesErrors, type GetMessagesResponse, type GetMessagesResponses, type GetMessagesSearchData, type GetMessagesSearchError, type GetMessagesSearchErrors, type GetMessagesSearchResponse, type GetMessagesSearchResponses, type GetNotificationLogsByIdData, type GetNotificationLogsByIdError, type GetNotificationLogsByIdErrors, type GetNotificationLogsByIdResponse, type GetNotificationLogsByIdResponses, type GetNotificationLogsData, type GetNotificationLogsError, type GetNotificationLogsErrors, type GetNotificationLogsResponse, type GetNotificationLogsResponses, type GetNotificationPreferencesByIdData, type GetNotificationPreferencesByIdError, type GetNotificationPreferencesByIdErrors, type GetNotificationPreferencesByIdResponse, type GetNotificationPreferencesByIdResponses, type GetNotificationPreferencesData, type GetNotificationPreferencesError, type GetNotificationPreferencesErrors, type GetNotificationPreferencesResponse, type GetNotificationPreferencesResponses, type GetObjectsByIdData, type GetObjectsByIdError, type GetObjectsByIdErrors, type GetObjectsByIdResponse, type GetObjectsByIdResponses, type GetObjectsData, type GetObjectsError, type GetObjectsErrors, type GetObjectsResponse, type GetObjectsResponses, type GetPlansByIdData, type GetPlansByIdError, type GetPlansByIdErrors, type GetPlansByIdResponse, type GetPlansByIdResponses, type GetPlansData, type GetPlansError, type GetPlansErrors, type GetPlansResponse, type GetPlansResponses, type GetPlansSlugBySlugData, type GetPlansSlugBySlugError, type GetPlansSlugBySlugErrors, type GetPlansSlugBySlugResponse, type GetPlansSlugBySlugResponses, type GetSearchData, type GetSearchError, type GetSearchErrors, type GetSearchHealthData, type GetSearchHealthError, type GetSearchHealthErrors, type GetSearchHealthResponse, type GetSearchHealthResponses, type GetSearchIndexesData, type GetSearchIndexesError, type GetSearchIndexesErrors, type GetSearchIndexesResponse, type GetSearchIndexesResponses, type GetSearchResponse, type GetSearchResponses, type GetSearchSavedData, type GetSearchSavedError, type GetSearchSavedErrors, type GetSearchSavedResponse, type GetSearchSavedResponses, type GetSearchSemanticData, type GetSearchSemanticError, type GetSearchSemanticErrors, type GetSearchSemanticResponse, type GetSearchSemanticResponses, type GetSearchStatsData, type GetSearchStatsError, type GetSearchStatsErrors, type GetSearchStatsResponse, type GetSearchStatsResponses, type GetSearchStatusData, type GetSearchStatusError, type GetSearchStatusErrors, type GetSearchStatusResponse, type GetSearchStatusResponses, type GetStorageStatsData, type GetStorageStatsError, type GetStorageStatsErrors, type GetStorageStatsResponse, type GetStorageStatsResponses, type GetTenantMembershipsData, type GetTenantMembershipsError, type GetTenantMembershipsErrors, type GetTenantMembershipsResponse, type GetTenantMembershipsResponses, type GetTenantsByIdData, type GetTenantsByIdError, type GetTenantsByIdErrors, type GetTenantsByIdResponse, type GetTenantsByIdResponses, type GetTenantsData, type GetTenantsError, type GetTenantsErrors, type GetTenantsResponse, type GetTenantsResponses, type GetThreadsByIdData, type GetThreadsByIdError, type GetThreadsByIdErrors, type GetThreadsByIdResponse, type GetThreadsByIdResponses, type GetThreadsData, type GetThreadsError, type GetThreadsErrors, type GetThreadsResponse, type GetThreadsResponses, type GetThreadsSearchData, type GetThreadsSearchError, type GetThreadsSearchErrors, type GetThreadsSearchResponse, type GetThreadsSearchResponses, type GetTrainingExamplesByIdData, type GetTrainingExamplesByIdError, type GetTrainingExamplesByIdErrors, type GetTrainingExamplesByIdResponse, type GetTrainingExamplesByIdResponses, type GetTrainingExamplesData, type GetTrainingExamplesError, type GetTrainingExamplesErrors, type GetTrainingExamplesResponse, type GetTrainingExamplesResponses, type GetTransactionsByIdData, type GetTransactionsByIdError, type GetTransactionsByIdErrors, type GetTransactionsByIdResponse, type GetTransactionsByIdResponses, type GetTransactionsData, type GetTransactionsError, type GetTransactionsErrors, type GetTransactionsResponse, type GetTransactionsResponses, type GetUserProfilesByIdData, type GetUserProfilesByIdError, type GetUserProfilesByIdErrors, type GetUserProfilesByIdResponse, type GetUserProfilesByIdResponses, type GetUserProfilesData, type GetUserProfilesError, type GetUserProfilesErrors, type GetUserProfilesMeData, type GetUserProfilesMeError, type GetUserProfilesMeErrors, type GetUserProfilesMeResponse, type GetUserProfilesMeResponses, type GetUserProfilesResponse, type GetUserProfilesResponses, type GetUsersByIdData, type GetUsersByIdError, type GetUsersByIdErrors, type GetUsersByIdResponse, type GetUsersByIdResponses, type GetUsersData, type GetUsersError, type GetUsersErrors, type GetUsersMeData, type GetUsersMeError, type GetUsersMeErrors, type GetUsersMeResponse, type GetUsersMeResponses, type GetUsersResponse, type GetUsersResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type GetWebhookConfigsByIdData, type GetWebhookConfigsByIdError, type GetWebhookConfigsByIdErrors, type GetWebhookConfigsByIdResponse, type GetWebhookConfigsByIdResponses, type GetWebhookConfigsData, type GetWebhookConfigsError, type GetWebhookConfigsErrors, type GetWebhookConfigsResponse, type GetWebhookConfigsResponses, type GetWebhookDeliveriesByIdData, type GetWebhookDeliveriesByIdError, type GetWebhookDeliveriesByIdErrors, type GetWebhookDeliveriesByIdResponse, type GetWebhookDeliveriesByIdResponses, type GetWebhookDeliveriesData, type GetWebhookDeliveriesError, type GetWebhookDeliveriesErrors, type GetWebhookDeliveriesResponse, type GetWebhookDeliveriesResponses, type GetWorkspaceMembershipsData, type GetWorkspaceMembershipsError, type GetWorkspaceMembershipsErrors, type GetWorkspaceMembershipsResponse, type GetWorkspaceMembershipsResponses, type GetWorkspacesByIdData, type GetWorkspacesByIdError, type GetWorkspacesByIdErrors, type GetWorkspacesByIdResponse, type GetWorkspacesByIdResponses, type GetWorkspacesData, type GetWorkspacesError, type GetWorkspacesErrors, type GetWorkspacesMineData, type GetWorkspacesMineError, type GetWorkspacesMineErrors, type GetWorkspacesMineResponse, type GetWorkspacesMineResponses, type GetWorkspacesResponse, type GetWorkspacesResponses, GptCoreError, type GraphEdge, type GraphEdgeFilter, type GraphEdgeFilterId, type GraphEdgeFilterProperties, type GraphEdgeFilterRelationship, type GraphEdgeFilterSourceId, type GraphEdgeFilterTargetId, type GraphNode, type GraphNodeFilter, type GraphNodeFilterId, type GraphNodeFilterLabel, type GraphNodeFilterProperties, type GraphNodeFilterTenantId, type Invitation, type InvitationCreateRequest, InvitationCreateSchema, type InvitationFilter, type InvitationFilterId, type Ledger, type LedgerFilter, type LedgerFilterId, type Link, type Links, type LlmAnalytics, type LlmAnalyticsFilter, type LlmAnalyticsFilterId, type LoginRequest, LoginRequestSchema, type Message, type MessageFilter, type MessageFilterContent, type MessageFilterId, type MessageFilterRole, type MessageSendRequest, MessageSendSchema, NetworkError, NotFoundError, type NotificationLog, type NotificationLogFilter, type NotificationLogFilterId, type NotificationPreference, type NotificationPreferenceFilter, type NotificationPreferenceFilterId, type ObjectFilter, type ObjectFilterContentType, type ObjectFilterId, type ObjectFilterKey, type ObjectFilterSizeBytes, type OperationSuccess, type OperationSuccessFilter, type OperationSuccessFilterId, type OperationSuccessFilterMessage, type OperationSuccessFilterSuccess, type Options, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PatchApiKeysByIdAllocateData, type PatchApiKeysByIdAllocateError, type PatchApiKeysByIdAllocateErrors, type PatchApiKeysByIdAllocateResponse, type PatchApiKeysByIdAllocateResponses, type PatchApiKeysByIdData, type PatchApiKeysByIdError, type PatchApiKeysByIdErrors, type PatchApiKeysByIdResponse, type PatchApiKeysByIdResponses, type PatchApiKeysByIdRevokeData, type PatchApiKeysByIdRevokeError, type PatchApiKeysByIdRevokeErrors, type PatchApiKeysByIdRevokeResponse, type PatchApiKeysByIdRevokeResponses, type PatchApiKeysByIdRotateData, type PatchApiKeysByIdRotateError, type PatchApiKeysByIdRotateErrors, type PatchApiKeysByIdRotateResponse, type PatchApiKeysByIdRotateResponses, type PatchApplicationsByIdData, type PatchApplicationsByIdError, type PatchApplicationsByIdErrors, type PatchApplicationsByIdResponse, type PatchApplicationsByIdResponses, type PatchBucketsByIdData, type PatchBucketsByIdError, type PatchBucketsByIdErrors, type PatchBucketsByIdResponse, type PatchBucketsByIdResponses, type PatchConfigsByKeyData, type PatchConfigsByKeyError, type PatchConfigsByKeyErrors, type PatchConfigsByKeyResponse, type PatchConfigsByKeyResponses, type PatchDocumentsByIdData, type PatchDocumentsByIdError, type PatchDocumentsByIdErrors, type PatchDocumentsByIdResponse, type PatchDocumentsByIdResponses, type PatchExtractionResultsByIdData, type PatchExtractionResultsByIdError, type PatchExtractionResultsByIdErrors, type PatchExtractionResultsByIdResponse, type PatchExtractionResultsByIdResponses, type PatchInvitationsByIdAcceptData, type PatchInvitationsByIdAcceptError, type PatchInvitationsByIdAcceptErrors, type PatchInvitationsByIdAcceptResponse, type PatchInvitationsByIdAcceptResponses, type PatchInvitationsByIdResendData, type PatchInvitationsByIdResendError, type PatchInvitationsByIdResendErrors, type PatchInvitationsByIdResendResponse, type PatchInvitationsByIdResendResponses, type PatchInvitationsByIdRevokeData, type PatchInvitationsByIdRevokeError, type PatchInvitationsByIdRevokeErrors, type PatchInvitationsByIdRevokeResponse, type PatchInvitationsByIdRevokeResponses, type PatchMessagesByIdData, type PatchMessagesByIdError, type PatchMessagesByIdErrors, type PatchMessagesByIdResponse, type PatchMessagesByIdResponses, type PatchNotificationPreferencesByIdData, type PatchNotificationPreferencesByIdError, type PatchNotificationPreferencesByIdErrors, type PatchNotificationPreferencesByIdResponse, type PatchNotificationPreferencesByIdResponses, type PatchTenantMembershipsByTenantIdByUserIdData, type PatchTenantMembershipsByTenantIdByUserIdError, type PatchTenantMembershipsByTenantIdByUserIdErrors, type PatchTenantMembershipsByTenantIdByUserIdResponse, type PatchTenantMembershipsByTenantIdByUserIdResponses, type PatchTenantsByIdData, type PatchTenantsByIdError, type PatchTenantsByIdErrors, type PatchTenantsByIdResponse, type PatchTenantsByIdResponses, type PatchThreadsByIdData, type PatchThreadsByIdError, type PatchThreadsByIdErrors, type PatchThreadsByIdResponse, type PatchThreadsByIdResponses, type PatchTrainingExamplesByIdData, type PatchTrainingExamplesByIdError, type PatchTrainingExamplesByIdErrors, type PatchTrainingExamplesByIdResponse, type PatchTrainingExamplesByIdResponses, type PatchUserProfilesByIdData, type PatchUserProfilesByIdError, type PatchUserProfilesByIdErrors, type PatchUserProfilesByIdResponse, type PatchUserProfilesByIdResponses, type PatchUsersAuthResetPasswordData, type PatchUsersAuthResetPasswordError, type PatchUsersAuthResetPasswordErrors, type PatchUsersAuthResetPasswordResponse, type PatchUsersAuthResetPasswordResponses, type PatchUsersByIdConfirmEmailData, type PatchUsersByIdConfirmEmailError, type PatchUsersByIdConfirmEmailErrors, type PatchUsersByIdConfirmEmailResponse, type PatchUsersByIdConfirmEmailResponses, type PatchUsersByIdData, type PatchUsersByIdError, type PatchUsersByIdErrors, type PatchUsersByIdResetPasswordData, type PatchUsersByIdResetPasswordError, type PatchUsersByIdResetPasswordErrors, type PatchUsersByIdResetPasswordResponse, type PatchUsersByIdResetPasswordResponses, type PatchUsersByIdResponse, type PatchUsersByIdResponses, type PatchWalletAddonsByAddonSlugCancelData, type PatchWalletAddonsByAddonSlugCancelError, type PatchWalletAddonsByAddonSlugCancelErrors, type PatchWalletAddonsByAddonSlugCancelResponse, type PatchWalletAddonsByAddonSlugCancelResponses, type PatchWalletAddonsData, type PatchWalletAddonsError, type PatchWalletAddonsErrors, type PatchWalletAddonsResponse, type PatchWalletAddonsResponses, type PatchWalletPlanData, type PatchWalletPlanError, type PatchWalletPlanErrors, type PatchWalletPlanResponse, type PatchWalletPlanResponses, type PatchWebhookConfigsByIdData, type PatchWebhookConfigsByIdError, type PatchWebhookConfigsByIdErrors, type PatchWebhookConfigsByIdResponse, type PatchWebhookConfigsByIdResponses, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdError, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdErrors, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponse, type PatchWorkspaceMembershipsByWorkspaceIdByUserIdResponses, type PatchWorkspacesByIdAllocateData, type PatchWorkspacesByIdAllocateError, type PatchWorkspacesByIdAllocateErrors, type PatchWorkspacesByIdAllocateResponse, type PatchWorkspacesByIdAllocateResponses, type PatchWorkspacesByIdData, type PatchWorkspacesByIdError, type PatchWorkspacesByIdErrors, type PatchWorkspacesByIdResponse, type PatchWorkspacesByIdResponses, type Payment, type PaymentFilter, type PaymentFilterAmount, type PaymentFilterCreatedAt, type PaymentFilterCurrency, type PaymentFilterErrorMessage, type PaymentFilterId, type PaymentFilterProviderReference, type PaymentFilterStatus, type PaymentMethod, type PaymentMethodFilter, type PaymentMethodFilterId, type Plan, type PlanFilter, type PlanFilterCreatedAt, type PlanFilterId, type PlanFilterMonthlyCredits, type PlanFilterMonthlyPrice, type PlanFilterName, type PlanFilterSlug, type PlanFilterStorageDays, type PlanFilterType, type PlanFilterUpdatedAt, type PostAgentsByIdCloneData, type PostAgentsByIdCloneError, type PostAgentsByIdCloneErrors, type PostAgentsByIdCloneResponse, type PostAgentsByIdCloneResponses, type PostAgentsByIdTestData, type PostAgentsByIdTestError, type PostAgentsByIdTestErrors, type PostAgentsByIdTestResponse, type PostAgentsByIdTestResponses, type PostAgentsByIdValidateData, type PostAgentsByIdValidateError, type PostAgentsByIdValidateErrors, type PostAgentsByIdValidateResponse, type PostAgentsByIdValidateResponses, type PostAgentsPredictData, type PostAgentsPredictError, type PostAgentsPredictErrors, type PostAgentsPredictResponse, type PostAgentsPredictResponses, type PostAiChunksSearchData, type PostAiChunksSearchError, type PostAiChunksSearchErrors, type PostAiChunksSearchResponse, type PostAiChunksSearchResponses, type PostAiConversationsData, type PostAiConversationsError, type PostAiConversationsErrors, type PostAiConversationsResponse, type PostAiConversationsResponses, type PostAiEmbedData, type PostAiEmbedError, type PostAiEmbedErrors, type PostAiEmbedResponse, type PostAiEmbedResponses, type PostAiGraphEdgesData, type PostAiGraphEdgesError, type PostAiGraphEdgesErrors, type PostAiGraphEdgesResponse, type PostAiGraphEdgesResponses, type PostAiGraphNodesData, type PostAiGraphNodesError, type PostAiGraphNodesErrors, type PostAiGraphNodesResponse, type PostAiGraphNodesResponses, type PostAiMessagesData, type PostAiMessagesError, type PostAiMessagesErrors, type PostAiMessagesResponse, type PostAiMessagesResponses, type PostAiSearchAdvancedData, type PostAiSearchAdvancedError, type PostAiSearchAdvancedErrors, type PostAiSearchAdvancedResponse, type PostAiSearchAdvancedResponses, type PostAiSearchData, type PostAiSearchError, type PostAiSearchErrors, type PostAiSearchResponse, type PostAiSearchResponses, type PostApiKeysData, type PostApiKeysError, type PostApiKeysErrors, type PostApiKeysResponse, type PostApiKeysResponses, type PostApplicationsData, type PostApplicationsError, type PostApplicationsErrors, type PostApplicationsResponse, type PostApplicationsResponses, type PostBucketsData, type PostBucketsError, type PostBucketsErrors, type PostBucketsResponse, type PostBucketsResponses, type PostConfigsData, type PostConfigsError, type PostConfigsErrors, type PostConfigsResponse, type PostConfigsResponses, type PostDocumentsBulkDeleteData, type PostDocumentsBulkDeleteError, type PostDocumentsBulkDeleteErrors, type PostDocumentsBulkDeleteResponse, type PostDocumentsBulkDeleteResponses, type PostDocumentsBulkReprocessData, type PostDocumentsBulkReprocessError, type PostDocumentsBulkReprocessErrors, type PostDocumentsBulkReprocessResponse, type PostDocumentsBulkReprocessResponses, type PostDocumentsByIdAnalyzeData, type PostDocumentsByIdAnalyzeError, type PostDocumentsByIdAnalyzeErrors, type PostDocumentsByIdAnalyzeResponse, type PostDocumentsByIdAnalyzeResponses, type PostDocumentsByIdReprocessData, type PostDocumentsByIdReprocessError, type PostDocumentsByIdReprocessErrors, type PostDocumentsByIdReprocessResponse, type PostDocumentsByIdReprocessResponses, type PostDocumentsData, type PostDocumentsError, type PostDocumentsErrors, type PostDocumentsExportData, type PostDocumentsExportError, type PostDocumentsExportErrors, type PostDocumentsExportResponse, type PostDocumentsExportResponses, type PostDocumentsImportData, type PostDocumentsImportError, type PostDocumentsImportErrors, type PostDocumentsImportResponse, type PostDocumentsImportResponses, type PostDocumentsPresignedUploadData, type PostDocumentsPresignedUploadError, type PostDocumentsPresignedUploadErrors, type PostDocumentsPresignedUploadResponse, type PostDocumentsPresignedUploadResponses, type PostDocumentsResponse, type PostDocumentsResponses, type PostInvitationsAcceptByTokenData, type PostInvitationsAcceptByTokenError, type PostInvitationsAcceptByTokenErrors, type PostInvitationsAcceptByTokenResponse, type PostInvitationsAcceptByTokenResponses, type PostInvitationsInviteData, type PostInvitationsInviteError, type PostInvitationsInviteErrors, type PostInvitationsInviteResponse, type PostInvitationsInviteResponses, type PostLlmAnalyticsData, type PostLlmAnalyticsError, type PostLlmAnalyticsErrors, type PostLlmAnalyticsResponse, type PostLlmAnalyticsResponses, type PostMessagesData, type PostMessagesError, type PostMessagesErrors, type PostMessagesResponse, type PostMessagesResponses, type PostNotificationPreferencesData, type PostNotificationPreferencesError, type PostNotificationPreferencesErrors, type PostNotificationPreferencesResponse, type PostNotificationPreferencesResponses, type PostObjectsBulkDestroyData, type PostObjectsBulkDestroyError, type PostObjectsBulkDestroyErrors, type PostObjectsBulkDestroyResponse, type PostObjectsBulkDestroyResponses, type PostObjectsRegisterData, type PostObjectsRegisterError, type PostObjectsRegisterErrors, type PostObjectsRegisterResponse, type PostObjectsRegisterResponses, type PostPaymentsData, type PostPaymentsError, type PostPaymentsErrors, type PostPaymentsResponse, type PostPaymentsResponses, type PostSearchReindexData, type PostSearchReindexError, type PostSearchReindexErrors, type PostSearchReindexResponse, type PostSearchReindexResponses, type PostSearchSavedData, type PostSearchSavedError, type PostSearchSavedErrors, type PostSearchSavedResponse, type PostSearchSavedResponses, type PostStorageSignDownloadData, type PostStorageSignDownloadError, type PostStorageSignDownloadErrors, type PostStorageSignDownloadResponse, type PostStorageSignDownloadResponses, type PostStorageSignUploadData, type PostStorageSignUploadError, type PostStorageSignUploadErrors, type PostStorageSignUploadResponse, type PostStorageSignUploadResponses, type PostTenantMembershipsData, type PostTenantMembershipsError, type PostTenantMembershipsErrors, type PostTenantMembershipsResponse, type PostTenantMembershipsResponses, type PostTenantsByIdBuyStorageData, type PostTenantsByIdBuyStorageError, type PostTenantsByIdBuyStorageErrors, type PostTenantsByIdBuyStorageResponse, type PostTenantsByIdBuyStorageResponses, type PostTenantsByIdRemoveStorageData, type PostTenantsByIdRemoveStorageError, type PostTenantsByIdRemoveStorageErrors, type PostTenantsByIdRemoveStorageResponse, type PostTenantsByIdRemoveStorageResponses, type PostTenantsData, type PostTenantsError, type PostTenantsErrors, type PostTenantsResponse, type PostTenantsResponses, type PostThreadsActiveData, type PostThreadsActiveError, type PostThreadsActiveErrors, type PostThreadsActiveResponse, type PostThreadsActiveResponses, type PostThreadsByIdMessagesData, type PostThreadsByIdMessagesError, type PostThreadsByIdMessagesErrors, type PostThreadsByIdMessagesResponse, type PostThreadsByIdMessagesResponses, type PostThreadsByIdSummarizeData, type PostThreadsByIdSummarizeError, type PostThreadsByIdSummarizeErrors, type PostThreadsByIdSummarizeResponse, type PostThreadsByIdSummarizeResponses, type PostThreadsData, type PostThreadsError, type PostThreadsErrors, type PostThreadsResponse, type PostThreadsResponses, type PostTokensData, type PostTokensError, type PostTokensErrors, type PostTokensResponse, type PostTokensResponses, type PostTrainingExamplesBulkData, type PostTrainingExamplesBulkDeleteData, type PostTrainingExamplesBulkDeleteError, type PostTrainingExamplesBulkDeleteErrors, type PostTrainingExamplesBulkDeleteResponse, type PostTrainingExamplesBulkDeleteResponses, type PostTrainingExamplesBulkError, type PostTrainingExamplesBulkErrors, type PostTrainingExamplesBulkResponse, type PostTrainingExamplesBulkResponses, type PostTrainingExamplesData, type PostTrainingExamplesError, type PostTrainingExamplesErrors, type PostTrainingExamplesResponse, type PostTrainingExamplesResponses, type PostUserProfilesData, type PostUserProfilesError, type PostUserProfilesErrors, type PostUserProfilesResponse, type PostUserProfilesResponses, type PostUsersAuthConfirmData, type PostUsersAuthConfirmError, type PostUsersAuthConfirmErrors, type PostUsersAuthConfirmResponse, type PostUsersAuthConfirmResponses, type PostUsersAuthLoginData, type PostUsersAuthLoginError, type PostUsersAuthLoginErrors, type PostUsersAuthLoginResponse, type PostUsersAuthLoginResponses, type PostUsersAuthMagicLinkLoginData, type PostUsersAuthMagicLinkLoginError, type PostUsersAuthMagicLinkLoginErrors, type PostUsersAuthMagicLinkLoginResponse, type PostUsersAuthMagicLinkLoginResponses, type PostUsersAuthMagicLinkRequestData, type PostUsersAuthMagicLinkRequestError, type PostUsersAuthMagicLinkRequestErrors, type PostUsersAuthMagicLinkRequestResponse, type PostUsersAuthMagicLinkRequestResponses, type PostUsersAuthRegisterData, type PostUsersAuthRegisterError, type PostUsersAuthRegisterErrors, type PostUsersAuthRegisterResponse, type PostUsersAuthRegisterResponses, type PostUsersAuthRegisterWithOidcData, type PostUsersAuthRegisterWithOidcError, type PostUsersAuthRegisterWithOidcErrors, type PostUsersAuthRegisterWithOidcResponse, type PostUsersAuthRegisterWithOidcResponses, type PostUsersRegisterIsvData, type PostUsersRegisterIsvError, type PostUsersRegisterIsvErrors, type PostUsersRegisterIsvResponse, type PostUsersRegisterIsvResponses, type PostWebhookConfigsByIdTestData, type PostWebhookConfigsByIdTestError, type PostWebhookConfigsByIdTestErrors, type PostWebhookConfigsByIdTestResponse, type PostWebhookConfigsByIdTestResponses, type PostWebhookConfigsData, type PostWebhookConfigsError, type PostWebhookConfigsErrors, type PostWebhookConfigsResponse, type PostWebhookConfigsResponses, type PostWebhookDeliveriesByIdRetryData, type PostWebhookDeliveriesByIdRetryError, type PostWebhookDeliveriesByIdRetryErrors, type PostWebhookDeliveriesByIdRetryResponse, type PostWebhookDeliveriesByIdRetryResponses, type PostWorkspaceMembershipsData, type PostWorkspaceMembershipsError, type PostWorkspaceMembershipsErrors, type PostWorkspaceMembershipsResponse, type PostWorkspaceMembershipsResponses, type PostWorkspacesData, type PostWorkspacesError, type PostWorkspacesErrors, type PostWorkspacesResponse, type PostWorkspacesResponses, type PresignedDownloadRequest, PresignedDownloadSchema, type PresignedUploadRequest, PresignedUploadSchema, type PresignedUrl, type PresignedUrlFilter, type PresignedUrlFilterExpiresIn, type PresignedUrlFilterHeaders, type PresignedUrlFilterId, type PresignedUrlFilterMethod, type PresignedUrlFilterStoragePath, type PresignedUrlFilterUploadUrl, type PresignedUrlFilterUrl, type PricingRule, type PricingRuleFilter, type PricingRuleFilterId, type PricingStrategy, type PricingStrategyFilter, type PricingStrategyFilterId, RateLimitError, type RegisterRequest, RegisterRequestSchema, type RetryConfig, type SavedSearch, type SavedSearchFilter, type SavedSearchFilterFilters, type SavedSearchFilterId, type SavedSearchFilterIsShared, type SavedSearchFilterName, type SavedSearchFilterQuery, type SavedSearchFilterSearchType, type Search, type SearchFilter, type SearchFilterId, type SearchRequest, SearchRequestSchema, type SemanticCacheEntry, type SemanticCacheEntryFilter, type SemanticCacheEntryFilterId, ServerError, type StorageStats, type StorageStatsFilter, type StorageStatsFilterId, type StorageStatsFilterTotalBuckets, type StorageStatsFilterTotalObjects, type StorageStatsFilterTotalStorageBytes, type StreamMessageChunk, type StreamOptions, type Subscription, type SubscriptionFilter, type SubscriptionFilterId, type Tenant, type TenantFilter, type TenantFilterBadgeUrl, type TenantFilterId, type TenantFilterKind, type TenantFilterLogoUrl, type TenantFilterName, type TenantFilterSlug, type TenantMembership, type TenantMembershipFilter, type TenantMembershipFilterRole, type TenantMembershipFilterTenantId, type TenantMembershipFilterUserId, type Thread, type ThreadCreateRequest, ThreadCreateSchema, type ThreadFilter, type ThreadFilterContextSummary, type ThreadFilterId, type ThreadFilterTitle, TimeoutError, type Token, type TokenFilter, type TokenFilterBrand, type TokenFilterExpMonth, type TokenFilterExpYear, type TokenFilterId, type TokenFilterLast4, type TokenFilterToken, type TrainingExample, type TrainingExampleFilter, type TrainingExampleFilterEmbedding, type TrainingExampleFilterId, type TrainingExampleFilterInputText, type TrainingExampleFilterOutputJson, type Transaction, type TransactionFilter, type TransactionFilterAmount, type TransactionFilterCreatedAt, type TransactionFilterCurrency, type TransactionFilterDescription, type TransactionFilterErrorMessage, type TransactionFilterId, type TransactionFilterProviderReference, type TransactionFilterServiceId, type TransactionFilterStatus, type TransactionFilterType, type TransactionFilterUpdatedAt, type User, type UserFilter, type UserFilterCurrentWorkspaceId, type UserFilterEmail, type UserFilterId, type UserFilterIsAppAdmin, type UserFilterIsPlatformAdmin, type UserProfile, type UserProfileFilter, type UserProfileFilterAvatarUrl, type UserProfileFilterBio, type UserProfileFilterFirstName, type UserProfileFilterId, type UserProfileFilterLastName, type UserProfileFilterPreferences, type UserProfileFilterSocialLinks, type UserProfileFilterUserId, ValidationError, type Wallet, type WalletFilter, type WalletFilterApplicationId, type WalletFilterCredits, type WalletFilterCreditsFree, type WalletFilterCreditsPaid, type WalletFilterCreditsSubscription, type WalletFilterId, type WalletFilterPlan, type WalletFilterStorageBlocksPurchased, type WalletFilterStorageQuotaBytes, type WalletFilterStorageUsedBytes, type WebhookConfig, type WebhookConfigFilter, type WebhookConfigFilterId, type WebhookDelivery, type WebhookDeliveryFilter, type WebhookDeliveryFilterId, type Workspace, type WorkspaceCreateRequest, WorkspaceCreateSchema, type WorkspaceFilter, type WorkspaceFilterApplicationId, type WorkspaceFilterArchivedAt, type WorkspaceFilterCreatedAt, type WorkspaceFilterDescription, type WorkspaceFilterExpiresAt, type WorkspaceFilterId, type WorkspaceFilterIsDefault, type WorkspaceFilterLowBalanceThreshold, type WorkspaceFilterName, type WorkspaceFilterRenewalParams, type WorkspaceFilterSlug, type WorkspaceFilterSpecialtyAgentId, type WorkspaceFilterUpdatedAt, type WorkspaceMembership, type WorkspaceMembershipFilter, type XApplicationKey, type _Error, type _Object, calculateBackoff, client, collectStreamedMessage, deleteAiConversationsById, deleteAiGraphEdgesById, deleteAiGraphNodesById, deleteApiKeysById, deleteApplicationsById, deleteBucketsById, deleteDocumentsById, deleteExtractionResultsById, deleteMessagesById, deleteNotificationPreferencesById, deleteObjectsById, deleteSearchSavedById, deleteTenantMembershipsByTenantIdByUserId, deleteTenantsById, deleteThreadsById, deleteTrainingExamplesById, deleteUserProfilesById, deleteWebhookConfigsById, deleteWorkspaceMembershipsByWorkspaceIdByUserId, deleteWorkspacesById, getAgents, getAgentsById, getAiChunksDocumentByDocumentId, getAiConversations, getAiConversationsById, getAiGraphEdges, getAiGraphNodes, getAiMessages, getApiKeys, getApiKeysById, getApplications, getApplicationsById, getApplicationsBySlugBySlug, getAuditLogs, getBuckets, getBucketsById, getBucketsByIdObjects, getBucketsByIdStats, getConfigs, getCreditPackages, getCreditPackagesById, getCreditPackagesSlugBySlug, getDocuments, getDocumentsById, getDocumentsByIdExtractionResults, getDocumentsByIdRelationshipsChunks, getDocumentsProcessingQueue, getDocumentsSearch, getDocumentsStats, getExtractionResults, getExtractionResultsById, getInvitations, getInvitationsConsumeByToken, getLlmAnalytics, getLlmAnalyticsById, getLlmAnalyticsCosts, getLlmAnalyticsPlatform, getLlmAnalyticsSummary, getLlmAnalyticsUsage, getLlmAnalyticsWorkspace, getMessages, getMessagesById, getMessagesSearch, getNotificationLogs, getNotificationLogsById, getNotificationPreferences, getNotificationPreferencesById, getObjects, getObjectsById, getPlans, getPlansById, getPlansSlugBySlug, getSearch, getSearchHealth, getSearchIndexes, getSearchSaved, getSearchSemantic, getSearchStats, getSearchStatus, getStorageStats, getTenantMemberships, getTenants, getTenantsById, getThreads, getThreadsById, getThreadsSearch, getTrainingExamples, getTrainingExamplesById, getTransactions, getTransactionsById, getUserProfiles, getUserProfilesById, getUserProfilesMe, getUsers, getUsersById, getUsersMe, getWallet, getWebhookConfigs, getWebhookConfigsById, getWebhookDeliveries, getWebhookDeliveriesById, getWorkspaceMemberships, getWorkspaces, getWorkspacesById, getWorkspacesMine, handleApiError, isRetryableError, paginateAll, paginateToArray, patchApiKeysById, patchApiKeysByIdAllocate, patchApiKeysByIdRevoke, patchApiKeysByIdRotate, patchApplicationsById, patchBucketsById, patchConfigsByKey, patchDocumentsById, patchExtractionResultsById, patchInvitationsByIdAccept, patchInvitationsByIdResend, patchInvitationsByIdRevoke, patchMessagesById, patchNotificationPreferencesById, patchTenantMembershipsByTenantIdByUserId, patchTenantsById, patchThreadsById, patchTrainingExamplesById, patchUserProfilesById, patchUsersAuthResetPassword, patchUsersById, patchUsersByIdConfirmEmail, patchUsersByIdResetPassword, patchWalletAddons, patchWalletAddonsByAddonSlugCancel, patchWalletPlan, patchWebhookConfigsById, patchWorkspaceMembershipsByWorkspaceIdByUserId, patchWorkspacesById, patchWorkspacesByIdAllocate, postAgentsByIdClone, postAgentsByIdTest, postAgentsByIdValidate, postAgentsPredict, postAiChunksSearch, postAiConversations, postAiEmbed, postAiGraphEdges, postAiGraphNodes, postAiMessages, postAiSearch, postAiSearchAdvanced, postApiKeys, postApplications, postBuckets, postConfigs, postDocuments, postDocumentsBulkDelete, postDocumentsBulkReprocess, postDocumentsByIdAnalyze, postDocumentsByIdReprocess, postDocumentsExport, postDocumentsImport, postDocumentsPresignedUpload, postInvitationsAcceptByToken, postInvitationsInvite, postLlmAnalytics, postMessages, postNotificationPreferences, postObjectsBulkDestroy, postObjectsRegister, postPayments, postSearchReindex, postSearchSaved, postStorageSignDownload, postStorageSignUpload, postTenantMemberships, postTenants, postTenantsByIdBuyStorage, postTenantsByIdRemoveStorage, postThreads, postThreadsActive, postThreadsByIdMessages, postThreadsByIdSummarize, postTokens, postTrainingExamples, postTrainingExamplesBulk, postTrainingExamplesBulkDelete, postUserProfiles, postUsersAuthConfirm, postUsersAuthLogin, postUsersAuthMagicLinkLogin, postUsersAuthMagicLinkRequest, postUsersAuthRegister, postUsersAuthRegisterWithOidc, postUsersRegisterIsv, postWebhookConfigs, postWebhookConfigsByIdTest, postWebhookDeliveriesByIdRetry, postWorkspaceMemberships, postWorkspaces, retryWithBackoff, sleep, streamMessage, streamSSE, withRetry };