@gpt-core/client 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -3,6 +3,28 @@ import { z } from 'zod';
3
3
  type ClientOptions$1 = {
4
4
  baseUrl: "http://localhost:22222" | "https://api.yourdomain.com" | (string & {});
5
5
  };
6
+ type WorkspaceSettingsInputCreateType = {
7
+ errors?: {
8
+ bucket_id?: string | unknown;
9
+ destination?: "local" | "storage" | unknown;
10
+ local_path?: string | unknown;
11
+ } | unknown;
12
+ input?: {
13
+ bucket_id?: string | unknown;
14
+ local_path?: string | unknown;
15
+ source?: "local" | "storage" | unknown;
16
+ } | unknown;
17
+ output?: {
18
+ bucket_id?: string | unknown;
19
+ destination?: "local" | "storage" | unknown;
20
+ local_path?: string | unknown;
21
+ retention_minutes?: number | unknown;
22
+ } | unknown;
23
+ scheduling?: {
24
+ enabled?: boolean | unknown;
25
+ interval_minutes?: number | unknown;
26
+ } | unknown;
27
+ };
6
28
  /**
7
29
  * Filters the query to results matching the given filter object
8
30
  */
@@ -116,6 +138,19 @@ type WorkspaceFilterExpiresAt = {
116
138
  * Filters the query to results matching the given filter object
117
139
  */
118
140
  type SearchFilter = unknown;
141
+ type ConversationFilterTitle = {
142
+ contains?: string;
143
+ eq?: string;
144
+ greater_than?: string;
145
+ greater_than_or_equal?: string;
146
+ ilike?: string;
147
+ in?: Array<string>;
148
+ is_nil?: boolean;
149
+ less_than?: string;
150
+ less_than_or_equal?: string;
151
+ like?: string;
152
+ not_eq?: string;
153
+ };
119
154
  type UserProfileFilterUserId = {
120
155
  eq?: string;
121
156
  greater_than?: string;
@@ -225,6 +260,16 @@ type Wallet = {
225
260
  };
226
261
  type: string;
227
262
  };
263
+ type MessageFilterRole = {
264
+ eq?: "system" | "user" | "assistant";
265
+ greater_than?: "system" | "user" | "assistant";
266
+ greater_than_or_equal?: "system" | "user" | "assistant";
267
+ in?: Array<string>;
268
+ is_nil?: boolean;
269
+ less_than?: "system" | "user" | "assistant";
270
+ less_than_or_equal?: "system" | "user" | "assistant";
271
+ not_eq?: "system" | "user" | "assistant";
272
+ };
228
273
  /**
229
274
  * A "Resource object" representing a message
230
275
  */
@@ -298,6 +343,16 @@ type UserFilterId = {
298
343
  less_than_or_equal?: string;
299
344
  not_eq?: string;
300
345
  };
346
+ type ConversationFilterTenantId = {
347
+ eq?: string;
348
+ greater_than?: string;
349
+ greater_than_or_equal?: string;
350
+ in?: Array<string>;
351
+ is_nil?: boolean;
352
+ less_than?: string;
353
+ less_than_or_equal?: string;
354
+ not_eq?: string;
355
+ };
301
356
  type WalletFilterCredits = {
302
357
  eq?: number;
303
358
  greater_than?: number;
@@ -371,6 +426,16 @@ type WalletFilterCreditsFree = {
371
426
  less_than_or_equal?: number;
372
427
  not_eq?: number;
373
428
  };
429
+ type ApiKeyFilterExpiresAt = {
430
+ eq?: unknown;
431
+ greater_than?: unknown;
432
+ greater_than_or_equal?: unknown;
433
+ in?: Array<unknown>;
434
+ is_nil?: boolean;
435
+ less_than?: unknown;
436
+ less_than_or_equal?: unknown;
437
+ not_eq?: unknown;
438
+ };
374
439
  type DocumentFilterTenantId = {
375
440
  eq?: string;
376
441
  greater_than?: string;
@@ -585,6 +650,22 @@ type PlanFilterStorageDays = {
585
650
  less_than_or_equal?: number;
586
651
  not_eq?: number;
587
652
  };
653
+ /**
654
+ * ID of the Specialty Agent assigned to this workspace
655
+ */
656
+ type WorkspaceFilterSpecialtyAgentId = {
657
+ contains?: string;
658
+ eq?: string;
659
+ greater_than?: string;
660
+ greater_than_or_equal?: string;
661
+ ilike?: string;
662
+ in?: Array<string>;
663
+ is_nil?: boolean;
664
+ less_than?: string;
665
+ less_than_or_equal?: string;
666
+ like?: string;
667
+ not_eq?: string;
668
+ };
588
669
  type StorageStatsFilterTotalObjects = {
589
670
  eq?: number;
590
671
  greater_than?: number;
@@ -800,6 +881,16 @@ type UserFilterIsAppAdmin = {
800
881
  less_than_or_equal?: boolean;
801
882
  not_eq?: boolean;
802
883
  };
884
+ type ApiKeyFilterWorkspaceId = {
885
+ eq?: string;
886
+ greater_than?: string;
887
+ greater_than_or_equal?: string;
888
+ in?: Array<string>;
889
+ is_nil?: boolean;
890
+ less_than?: string;
891
+ less_than_or_equal?: string;
892
+ not_eq?: string;
893
+ };
803
894
  type TrainingExampleFilterEmbedding = {
804
895
  eq?: unknown;
805
896
  greater_than?: unknown;
@@ -835,6 +926,10 @@ type Document = {
835
926
  * Field included by default.
836
927
  */
837
928
  application_id?: string | null | unknown;
929
+ /**
930
+ * Field included by default.
931
+ */
932
+ billed_credits?: number | null | unknown;
838
933
  /**
839
934
  * Field included by default.
840
935
  */
@@ -1212,6 +1307,16 @@ type DocumentFilterUploaderId = {
1212
1307
  less_than_or_equal?: string;
1213
1308
  not_eq?: string;
1214
1309
  };
1310
+ type ApiKeyFilterApplicationId = {
1311
+ eq?: string;
1312
+ greater_than?: string;
1313
+ greater_than_or_equal?: string;
1314
+ in?: Array<string>;
1315
+ is_nil?: boolean;
1316
+ less_than?: string;
1317
+ less_than_or_equal?: string;
1318
+ not_eq?: string;
1319
+ };
1215
1320
  /**
1216
1321
  * Filters the query to results matching the given filter object
1217
1322
  */
@@ -1348,6 +1453,16 @@ type CreditPackageFilterCreatedAt = {
1348
1453
  less_than_or_equal?: unknown;
1349
1454
  not_eq?: unknown;
1350
1455
  };
1456
+ type EmbeddingFilterBilledCredits = {
1457
+ eq?: number;
1458
+ greater_than?: number;
1459
+ greater_than_or_equal?: number;
1460
+ in?: Array<number>;
1461
+ is_nil?: boolean;
1462
+ less_than?: number;
1463
+ less_than_or_equal?: number;
1464
+ not_eq?: number;
1465
+ };
1351
1466
  type WalletFilterPlan = {
1352
1467
  eq?: {
1353
1468
  [key: string]: unknown;
@@ -1459,6 +1574,16 @@ type Plan = {
1459
1574
  * Filters the query to results matching the given filter object
1460
1575
  */
1461
1576
  type SemanticCacheEntryFilter = unknown;
1577
+ type DocumentFilterBilledCredits = {
1578
+ eq?: number;
1579
+ greater_than?: number;
1580
+ greater_than_or_equal?: number;
1581
+ in?: Array<number>;
1582
+ is_nil?: boolean;
1583
+ less_than?: number;
1584
+ less_than_or_equal?: number;
1585
+ not_eq?: number;
1586
+ };
1462
1587
  type UserProfileFilterPreferences = {
1463
1588
  eq?: {
1464
1589
  [key: string]: unknown;
@@ -1483,6 +1608,33 @@ type UserProfileFilterPreferences = {
1483
1608
  [key: string]: unknown;
1484
1609
  };
1485
1610
  };
1611
+ /**
1612
+ * Structured data providing context for this conversation (e.g., failed prediction results)
1613
+ */
1614
+ type ConversationFilterContextData = {
1615
+ eq?: {
1616
+ [key: string]: unknown;
1617
+ };
1618
+ greater_than?: {
1619
+ [key: string]: unknown;
1620
+ };
1621
+ greater_than_or_equal?: {
1622
+ [key: string]: unknown;
1623
+ };
1624
+ in?: Array<{
1625
+ [key: string]: unknown;
1626
+ }>;
1627
+ is_nil?: boolean;
1628
+ less_than?: {
1629
+ [key: string]: unknown;
1630
+ };
1631
+ less_than_or_equal?: {
1632
+ [key: string]: unknown;
1633
+ };
1634
+ not_eq?: {
1635
+ [key: string]: unknown;
1636
+ };
1637
+ };
1486
1638
  /**
1487
1639
  * A "Resource object" representing a application
1488
1640
  */
@@ -1565,7 +1717,15 @@ type ApiKey = {
1565
1717
  * An attributes object for a api_key
1566
1718
  */
1567
1719
  attributes?: {
1720
+ /**
1721
+ * Field included by default.
1722
+ */
1723
+ application_id: string;
1568
1724
  current_scopes?: Array<string> | null | unknown;
1725
+ /**
1726
+ * Field included by default.
1727
+ */
1728
+ expires_at?: unknown;
1569
1729
  /**
1570
1730
  * Field included by default.
1571
1731
  */
@@ -1574,13 +1734,84 @@ type ApiKey = {
1574
1734
  * Field included by default.
1575
1735
  */
1576
1736
  status: "active" | "revoked" | "expired";
1737
+ /**
1738
+ * Field included by default.
1739
+ */
1740
+ tenant_id?: string | null | unknown;
1741
+ /**
1742
+ * Field included by default.
1743
+ */
1744
+ user_id?: string | null | unknown;
1745
+ /**
1746
+ * Field included by default.
1747
+ */
1748
+ workspace_id?: string | null | unknown;
1577
1749
  };
1578
1750
  id: string;
1579
1751
  /**
1580
1752
  * A relationships object for a api_key
1581
1753
  */
1582
1754
  relationships?: {
1583
- [key: string]: never;
1755
+ account?: {
1756
+ /**
1757
+ * An identifier for account
1758
+ */
1759
+ data?: {
1760
+ id: string;
1761
+ meta?: {
1762
+ [key: string]: unknown;
1763
+ };
1764
+ type: string;
1765
+ } | null;
1766
+ };
1767
+ application?: {
1768
+ /**
1769
+ * An identifier for application
1770
+ */
1771
+ data?: {
1772
+ id: string;
1773
+ meta?: {
1774
+ [key: string]: unknown;
1775
+ };
1776
+ type: string;
1777
+ } | null;
1778
+ };
1779
+ tenant?: {
1780
+ /**
1781
+ * An identifier for tenant
1782
+ */
1783
+ data?: {
1784
+ id: string;
1785
+ meta?: {
1786
+ [key: string]: unknown;
1787
+ };
1788
+ type: string;
1789
+ } | null;
1790
+ };
1791
+ user?: {
1792
+ /**
1793
+ * An identifier for user
1794
+ */
1795
+ data?: {
1796
+ id: string;
1797
+ meta?: {
1798
+ [key: string]: unknown;
1799
+ };
1800
+ type: string;
1801
+ } | null;
1802
+ };
1803
+ workspace?: {
1804
+ /**
1805
+ * An identifier for workspace
1806
+ */
1807
+ data?: {
1808
+ id: string;
1809
+ meta?: {
1810
+ [key: string]: unknown;
1811
+ };
1812
+ type: string;
1813
+ } | null;
1814
+ };
1584
1815
  };
1585
1816
  type: string;
1586
1817
  };
@@ -1762,6 +1993,28 @@ type PaymentFilterAmount = {
1762
1993
  less_than_or_equal?: number;
1763
1994
  not_eq?: number;
1764
1995
  };
1996
+ type WorkspaceSettingsInputUpdateType = {
1997
+ errors?: {
1998
+ bucket_id?: string | unknown;
1999
+ destination?: "local" | "storage" | unknown;
2000
+ local_path?: string | unknown;
2001
+ } | unknown;
2002
+ input?: {
2003
+ bucket_id?: string | unknown;
2004
+ local_path?: string | unknown;
2005
+ source?: "local" | "storage" | unknown;
2006
+ } | unknown;
2007
+ output?: {
2008
+ bucket_id?: string | unknown;
2009
+ destination?: "local" | "storage" | unknown;
2010
+ local_path?: string | unknown;
2011
+ retention_minutes?: number | unknown;
2012
+ } | unknown;
2013
+ scheduling?: {
2014
+ enabled?: boolean | unknown;
2015
+ interval_minutes?: number | unknown;
2016
+ } | unknown;
2017
+ };
1765
2018
  type TransactionFilterErrorMessage = {
1766
2019
  contains?: string;
1767
2020
  eq?: string;
@@ -1938,6 +2191,16 @@ type ExtractionResult = {
1938
2191
  };
1939
2192
  type: string;
1940
2193
  };
2194
+ type ConversationFilterId = {
2195
+ eq?: string;
2196
+ greater_than?: string;
2197
+ greater_than_or_equal?: string;
2198
+ in?: Array<string>;
2199
+ is_nil?: boolean;
2200
+ less_than?: string;
2201
+ less_than_or_equal?: string;
2202
+ not_eq?: string;
2203
+ };
1941
2204
  type WalletFilterCreditsSubscription = {
1942
2205
  eq?: number;
1943
2206
  greater_than?: number;
@@ -2037,6 +2300,16 @@ type GraphEdgeFilterTargetId = {
2037
2300
  less_than_or_equal?: string;
2038
2301
  not_eq?: string;
2039
2302
  };
2303
+ type ApiKeyFilterUserId = {
2304
+ eq?: string;
2305
+ greater_than?: string;
2306
+ greater_than_or_equal?: string;
2307
+ in?: Array<string>;
2308
+ is_nil?: boolean;
2309
+ less_than?: string;
2310
+ less_than_or_equal?: string;
2311
+ not_eq?: string;
2312
+ };
2040
2313
  /**
2041
2314
  * Filters the query to results matching the given filter object
2042
2315
  */
@@ -2210,6 +2483,20 @@ type TrainingExampleFilterInputText = {
2210
2483
  like?: string;
2211
2484
  not_eq?: string;
2212
2485
  };
2486
+ /**
2487
+ * Description of what this agent is good at, used for AI matching
2488
+ */
2489
+ type AgentFilterCapabilities = {
2490
+ contains?: string;
2491
+ eq?: string;
2492
+ greater_than?: string;
2493
+ greater_than_or_equal?: string;
2494
+ in?: Array<string>;
2495
+ is_nil?: boolean;
2496
+ less_than?: string;
2497
+ less_than_or_equal?: string;
2498
+ not_eq?: string;
2499
+ };
2213
2500
  type PlanFilterId = {
2214
2501
  eq?: string;
2215
2502
  greater_than?: string;
@@ -2224,6 +2511,19 @@ type PlanFilterId = {
2224
2511
  * Filters the query to results matching the given filter object
2225
2512
  */
2226
2513
  type ObjectFilter = unknown;
2514
+ type MessageFilterContent = {
2515
+ contains?: string;
2516
+ eq?: string;
2517
+ greater_than?: string;
2518
+ greater_than_or_equal?: string;
2519
+ ilike?: string;
2520
+ in?: Array<string>;
2521
+ is_nil?: boolean;
2522
+ less_than?: string;
2523
+ less_than_or_equal?: string;
2524
+ like?: string;
2525
+ not_eq?: string;
2526
+ };
2227
2527
  /**
2228
2528
  * Filters the query to results matching the given filter object
2229
2529
  */
@@ -2306,6 +2606,16 @@ type DocumentFilterId = {
2306
2606
  less_than_or_equal?: string;
2307
2607
  not_eq?: string;
2308
2608
  };
2609
+ type ApiKeyFilterTenantId = {
2610
+ eq?: string;
2611
+ greater_than?: string;
2612
+ greater_than_or_equal?: string;
2613
+ in?: Array<string>;
2614
+ is_nil?: boolean;
2615
+ less_than?: string;
2616
+ less_than_or_equal?: string;
2617
+ not_eq?: string;
2618
+ };
2309
2619
  type PaymentFilterCurrency = {
2310
2620
  contains?: string;
2311
2621
  eq?: string;
@@ -2317,13 +2627,23 @@ type PaymentFilterCurrency = {
2317
2627
  less_than_or_equal?: string;
2318
2628
  not_eq?: string;
2319
2629
  };
2320
- /**
2321
- * A "Resource object" representing a user
2322
- */
2323
- type User = {
2324
- /**
2325
- * An attributes object for a user
2326
- */
2630
+ type AgentFilterSlug = {
2631
+ eq?: string;
2632
+ greater_than?: string;
2633
+ greater_than_or_equal?: string;
2634
+ in?: Array<string>;
2635
+ is_nil?: boolean;
2636
+ less_than?: string;
2637
+ less_than_or_equal?: string;
2638
+ not_eq?: string;
2639
+ };
2640
+ /**
2641
+ * A "Resource object" representing a user
2642
+ */
2643
+ type User = {
2644
+ /**
2645
+ * An attributes object for a user
2646
+ */
2327
2647
  attributes?: {
2328
2648
  current_scopes?: Array<string> | null | unknown;
2329
2649
  current_workspace_id?: string | null | unknown;
@@ -2372,6 +2692,38 @@ type DocumentStatsFilterProcessing = {
2372
2692
  less_than_or_equal?: number;
2373
2693
  not_eq?: number;
2374
2694
  };
2695
+ /**
2696
+ * A "Resource object" representing a conversation
2697
+ */
2698
+ type Conversation = {
2699
+ /**
2700
+ * An attributes object for a conversation
2701
+ */
2702
+ attributes?: {
2703
+ /**
2704
+ * Structured data providing context for this conversation (e.g., failed prediction results). Field included by default.
2705
+ */
2706
+ context_data?: {
2707
+ [key: string]: unknown;
2708
+ } | null | unknown;
2709
+ /**
2710
+ * Field included by default.
2711
+ */
2712
+ tenant_id: string;
2713
+ /**
2714
+ * Field included by default.
2715
+ */
2716
+ title?: string | null | unknown;
2717
+ };
2718
+ id: string;
2719
+ /**
2720
+ * A relationships object for a conversation
2721
+ */
2722
+ relationships?: {
2723
+ [key: string]: never;
2724
+ };
2725
+ type: string;
2726
+ };
2375
2727
  type TokenFilterLast4 = {
2376
2728
  contains?: string;
2377
2729
  eq?: string;
@@ -2502,6 +2854,10 @@ type Embedding = {
2502
2854
  * An attributes object for a embedding
2503
2855
  */
2504
2856
  attributes?: {
2857
+ /**
2858
+ * Field included by default.
2859
+ */
2860
+ billed_credits?: number | null | unknown;
2505
2861
  /**
2506
2862
  * Field included by default.
2507
2863
  */
@@ -3625,6 +3981,17 @@ type PlanFilterName = {
3625
3981
  like?: string;
3626
3982
  not_eq?: string;
3627
3983
  };
3984
+ type AgentFilterDescription = {
3985
+ contains?: string;
3986
+ eq?: string;
3987
+ greater_than?: string;
3988
+ greater_than_or_equal?: string;
3989
+ in?: Array<string>;
3990
+ is_nil?: boolean;
3991
+ less_than?: string;
3992
+ less_than_or_equal?: string;
3993
+ not_eq?: string;
3994
+ };
3628
3995
  type AuditLogFilterActorId = {
3629
3996
  eq?: string;
3630
3997
  greater_than?: string;
@@ -3955,6 +4322,17 @@ type PaymentFilterCreatedAt = {
3955
4322
  * Filters the query to results matching the given filter object
3956
4323
  */
3957
4324
  type PlanFilter = unknown;
4325
+ type AgentFilterName = {
4326
+ contains?: string;
4327
+ eq?: string;
4328
+ greater_than?: string;
4329
+ greater_than_or_equal?: string;
4330
+ in?: Array<string>;
4331
+ is_nil?: boolean;
4332
+ less_than?: string;
4333
+ less_than_or_equal?: string;
4334
+ not_eq?: string;
4335
+ };
3958
4336
  /**
3959
4337
  * Filters the query to results matching the given filter object
3960
4338
  */
@@ -4059,12 +4437,22 @@ type Agent = {
4059
4437
  * An attributes object for a agent
4060
4438
  */
4061
4439
  attributes?: {
4062
- test_result?: {
4063
- [key: string]: unknown;
4064
- } | null | unknown;
4065
- validation_result?: {
4066
- [key: string]: unknown;
4067
- } | null | unknown;
4440
+ /**
4441
+ * Description of what this agent is good at, used for AI matching. Field included by default.
4442
+ */
4443
+ capabilities: string;
4444
+ /**
4445
+ * Field included by default.
4446
+ */
4447
+ description: string;
4448
+ /**
4449
+ * Field included by default.
4450
+ */
4451
+ name: string;
4452
+ /**
4453
+ * Field included by default.
4454
+ */
4455
+ slug: string;
4068
4456
  };
4069
4457
  id: string;
4070
4458
  /**
@@ -4263,10 +4651,87 @@ type Workspace = {
4263
4651
  renewal_params?: {
4264
4652
  [key: string]: unknown;
4265
4653
  } | null | unknown;
4654
+ /**
4655
+ * Field included by default.
4656
+ */
4657
+ settings: {
4658
+ /**
4659
+ * Field included by default.
4660
+ */
4661
+ errors: {
4662
+ /**
4663
+ * Field included by default.
4664
+ */
4665
+ bucket_id?: string | null | unknown;
4666
+ /**
4667
+ * Field included by default.
4668
+ */
4669
+ destination: "local" | "storage";
4670
+ /**
4671
+ * Field included by default.
4672
+ */
4673
+ local_path?: string | null | unknown;
4674
+ };
4675
+ /**
4676
+ * Field included by default.
4677
+ */
4678
+ input: {
4679
+ /**
4680
+ * Field included by default.
4681
+ */
4682
+ bucket_id?: string | null | unknown;
4683
+ /**
4684
+ * Field included by default.
4685
+ */
4686
+ local_path?: string | null | unknown;
4687
+ /**
4688
+ * Field included by default.
4689
+ */
4690
+ source: "local" | "storage";
4691
+ };
4692
+ /**
4693
+ * Field included by default.
4694
+ */
4695
+ output: {
4696
+ /**
4697
+ * Field included by default.
4698
+ */
4699
+ bucket_id?: string | null | unknown;
4700
+ /**
4701
+ * Field included by default.
4702
+ */
4703
+ destination: "local" | "storage";
4704
+ /**
4705
+ * Field included by default.
4706
+ */
4707
+ local_path?: string | null | unknown;
4708
+ /**
4709
+ * Field included by default.
4710
+ */
4711
+ retention_minutes?: number | null | unknown;
4712
+ };
4713
+ /**
4714
+ * Field included by default.
4715
+ */
4716
+ scheduling: {
4717
+ /**
4718
+ * Field included by default.
4719
+ */
4720
+ enabled: boolean;
4721
+ /**
4722
+ * Field included by default.
4723
+ */
4724
+ interval_minutes: number;
4725
+ };
4726
+ };
4266
4727
  /**
4267
4728
  * Field included by default.
4268
4729
  */
4269
4730
  slug: string;
4731
+ /**
4732
+ * ID of the Specialty Agent assigned to this workspace. Field included by default.
4733
+ */
4734
+ specialty_agent_id?: string | null | unknown;
4270
4735
  /**
4271
4736
  * Field included by default.
4272
4737
  */
@@ -4317,6 +4782,10 @@ type BucketFilterName = {
4317
4782
  like?: string;
4318
4783
  not_eq?: string;
4319
4784
  };
4785
+ /**
4786
+ * Filters the query to results matching the given filter object
4787
+ */
4788
+ type ConversationFilter = unknown;
4320
4789
  type AuditLogFilterResourceType = {
4321
4790
  contains?: string;
4322
4791
  eq?: string;
@@ -5140,7 +5609,12 @@ type PostWorkspacesData = {
5140
5609
  renewal_params?: {
5141
5610
  [key: string]: unknown;
5142
5611
  } | unknown;
5612
+ settings?: WorkspaceSettingsInputCreateType | unknown;
5143
5613
  slug: string;
5614
+ /**
5615
+ * ID of the Specialty Agent assigned to this workspace
5616
+ */
5617
+ specialty_agent_id?: string | unknown;
5144
5618
  tenant_id: string;
5145
5619
  };
5146
5620
  relationships?: {
@@ -9597,6 +10071,7 @@ type PatchDocumentsByIdData = {
9597
10071
  body?: {
9598
10072
  data: {
9599
10073
  attributes?: {
10074
+ billed_credits?: number | unknown;
9600
10075
  content?: string | unknown;
9601
10076
  metadata?: {
9602
10077
  [key: string]: unknown;
@@ -10562,6 +11037,68 @@ type PostApplicationsResponses = {
10562
11037
  };
10563
11038
  };
10564
11039
  type PostApplicationsResponse = PostApplicationsResponses[keyof PostApplicationsResponses];
11040
+ type PostAgentsPredictData = {
11041
+ /**
11042
+ * Request body for the /agents/predict operation on agent resource
11043
+ */
11044
+ body?: {
11045
+ data: {
11046
+ description?: string | unknown;
11047
+ document_id?: string | unknown;
11048
+ file_content?: string | unknown;
11049
+ name?: string | unknown;
11050
+ };
11051
+ };
11052
+ headers: {
11053
+ /**
11054
+ * Application ID for authentication and routing
11055
+ */
11056
+ "x-application-key": string;
11057
+ };
11058
+ path?: never;
11059
+ query?: never;
11060
+ url: "/agents/predict";
11061
+ };
11062
+ type PostAgentsPredictErrors = {
11063
+ /**
11064
+ * Bad Request - Invalid input data or malformed request
11065
+ */
11066
+ 400: ErrorResponse;
11067
+ /**
11068
+ * Unauthorized - Missing or invalid authentication token
11069
+ */
11070
+ 401: ErrorResponse;
11071
+ /**
11072
+ * Forbidden - Authenticated but not authorized for this resource
11073
+ */
11074
+ 403: ErrorResponse;
11075
+ /**
11076
+ * Not Found - Resource does not exist
11077
+ */
11078
+ 404: ErrorResponse;
11079
+ /**
11080
+ * Too Many Requests - Rate limit exceeded
11081
+ */
11082
+ 429: ErrorResponse;
11083
+ /**
11084
+ * Internal Server Error - Unexpected server error
11085
+ */
11086
+ 500: ErrorResponse;
11087
+ /**
11088
+ * General Error
11089
+ */
11090
+ default: Errors;
11091
+ };
11092
+ type PostAgentsPredictError = PostAgentsPredictErrors[keyof PostAgentsPredictErrors];
11093
+ type PostAgentsPredictResponses = {
11094
+ /**
11095
+ * Success
11096
+ */
11097
+ 201: {
11098
+ [key: string]: unknown;
11099
+ };
11100
+ };
11101
+ type PostAgentsPredictResponse = PostAgentsPredictResponses[keyof PostAgentsPredictResponses];
10565
11102
  type DeleteThreadsByIdData = {
10566
11103
  body?: never;
10567
11104
  headers: {
@@ -11460,7 +11997,12 @@ type PatchWorkspacesByIdData = {
11460
11997
  is_default?: boolean | unknown;
11461
11998
  low_balance_threshold?: number | unknown;
11462
11999
  name?: string | unknown;
12000
+ settings?: WorkspaceSettingsInputUpdateType | unknown;
11463
12001
  slug?: string | unknown;
12002
+ /**
12003
+ * ID of the Specialty Agent assigned to this workspace
12004
+ */
12005
+ specialty_agent_id?: string | unknown;
11464
12006
  };
11465
12007
  id: string;
11466
12008
  relationships?: {
@@ -13216,7 +13758,7 @@ type GetExtractionResultsResponses = {
13216
13758
  };
13217
13759
  };
13218
13760
  type GetExtractionResultsResponse = GetExtractionResultsResponses[keyof GetExtractionResultsResponses];
13219
- type DeleteAgentsByIdData = {
13761
+ type GetAgentsByIdData = {
13220
13762
  body?: never;
13221
13763
  headers: {
13222
13764
  /**
@@ -13245,7 +13787,7 @@ type DeleteAgentsByIdData = {
13245
13787
  };
13246
13788
  url: "/agents/{id}";
13247
13789
  };
13248
- type DeleteAgentsByIdErrors = {
13790
+ type GetAgentsByIdErrors = {
13249
13791
  /**
13250
13792
  * Bad Request - Invalid input data or malformed request
13251
13793
  */
@@ -13275,43 +13817,40 @@ type DeleteAgentsByIdErrors = {
13275
13817
  */
13276
13818
  default: Errors;
13277
13819
  };
13278
- type DeleteAgentsByIdError = DeleteAgentsByIdErrors[keyof DeleteAgentsByIdErrors];
13279
- type DeleteAgentsByIdResponses = {
13820
+ type GetAgentsByIdError = GetAgentsByIdErrors[keyof GetAgentsByIdErrors];
13821
+ type GetAgentsByIdResponses = {
13280
13822
  /**
13281
- * Deleted successfully
13823
+ * Success
13282
13824
  */
13283
- 200: unknown;
13825
+ 200: {
13826
+ data?: Agent;
13827
+ included?: Array<unknown>;
13828
+ meta?: {
13829
+ [key: string]: unknown;
13830
+ };
13831
+ };
13284
13832
  };
13285
- type GetAgentsByIdData = {
13286
- body?: never;
13833
+ type GetAgentsByIdResponse = GetAgentsByIdResponses[keyof GetAgentsByIdResponses];
13834
+ type PostDocumentsImportData = {
13835
+ /**
13836
+ * Request body for the /documents/import operation on document resource
13837
+ */
13838
+ body: {
13839
+ data: {
13840
+ file_url: string;
13841
+ };
13842
+ };
13287
13843
  headers: {
13288
13844
  /**
13289
13845
  * Application ID for authentication and routing
13290
13846
  */
13291
13847
  "x-application-key": string;
13292
13848
  };
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}";
13849
+ path?: never;
13850
+ query?: never;
13851
+ url: "/documents/import";
13313
13852
  };
13314
- type GetAgentsByIdErrors = {
13853
+ type PostDocumentsImportErrors = {
13315
13854
  /**
13316
13855
  * Bad Request - Invalid input data or malformed request
13317
13856
  */
@@ -13341,41 +13880,18 @@ type GetAgentsByIdErrors = {
13341
13880
  */
13342
13881
  default: Errors;
13343
13882
  };
13344
- type GetAgentsByIdError = GetAgentsByIdErrors[keyof GetAgentsByIdErrors];
13345
- type GetAgentsByIdResponses = {
13883
+ type PostDocumentsImportError = PostDocumentsImportErrors[keyof PostDocumentsImportErrors];
13884
+ type PostDocumentsImportResponses = {
13346
13885
  /**
13347
13886
  * Success
13348
13887
  */
13349
- 200: {
13350
- data?: Agent;
13351
- included?: Array<unknown>;
13352
- meta?: {
13353
- [key: string]: unknown;
13354
- };
13888
+ 201: {
13889
+ [key: string]: unknown;
13355
13890
  };
13356
13891
  };
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
- };
13892
+ type PostDocumentsImportResponse = PostDocumentsImportResponses[keyof PostDocumentsImportResponses];
13893
+ type DeleteApiKeysByIdData = {
13894
+ body?: never;
13379
13895
  headers: {
13380
13896
  /**
13381
13897
  * Application ID for authentication and routing
@@ -13395,15 +13911,15 @@ type PatchAgentsByIdData = {
13395
13911
  */
13396
13912
  fields?: {
13397
13913
  /**
13398
- * Comma separated field names for agent
13914
+ * Comma separated field names for api_key
13399
13915
  */
13400
- agent?: string;
13916
+ api_key?: string;
13401
13917
  [key: string]: unknown | string | undefined;
13402
13918
  };
13403
13919
  };
13404
- url: "/agents/{id}";
13920
+ url: "/api_keys/{id}";
13405
13921
  };
13406
- type PatchAgentsByIdErrors = {
13922
+ type DeleteApiKeysByIdErrors = {
13407
13923
  /**
13408
13924
  * Bad Request - Invalid input data or malformed request
13409
13925
  */
@@ -13433,40 +13949,43 @@ type PatchAgentsByIdErrors = {
13433
13949
  */
13434
13950
  default: Errors;
13435
13951
  };
13436
- type PatchAgentsByIdError = PatchAgentsByIdErrors[keyof PatchAgentsByIdErrors];
13437
- type PatchAgentsByIdResponses = {
13952
+ type DeleteApiKeysByIdError = DeleteApiKeysByIdErrors[keyof DeleteApiKeysByIdErrors];
13953
+ type DeleteApiKeysByIdResponses = {
13438
13954
  /**
13439
- * Success
13955
+ * Deleted successfully
13440
13956
  */
13441
- 200: {
13442
- data?: Agent;
13443
- included?: Array<unknown>;
13444
- meta?: {
13445
- [key: string]: unknown;
13446
- };
13447
- };
13957
+ 200: unknown;
13448
13958
  };
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
- };
13959
+ type GetApiKeysByIdData = {
13960
+ body?: never;
13459
13961
  headers: {
13460
13962
  /**
13461
13963
  * Application ID for authentication and routing
13462
13964
  */
13463
13965
  "x-application-key": string;
13464
13966
  };
13465
- path?: never;
13466
- query?: never;
13467
- url: "/documents/import";
13967
+ path: {
13968
+ id: string;
13969
+ };
13970
+ query?: {
13971
+ /**
13972
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13973
+ */
13974
+ include?: string;
13975
+ /**
13976
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
13977
+ */
13978
+ fields?: {
13979
+ /**
13980
+ * Comma separated field names for api_key
13981
+ */
13982
+ api_key?: string;
13983
+ [key: string]: unknown | string | undefined;
13984
+ };
13985
+ };
13986
+ url: "/api_keys/{id}";
13468
13987
  };
13469
- type PostDocumentsImportErrors = {
13988
+ type GetApiKeysByIdErrors = {
13470
13989
  /**
13471
13990
  * Bad Request - Invalid input data or malformed request
13472
13991
  */
@@ -13496,18 +14015,36 @@ type PostDocumentsImportErrors = {
13496
14015
  */
13497
14016
  default: Errors;
13498
14017
  };
13499
- type PostDocumentsImportError = PostDocumentsImportErrors[keyof PostDocumentsImportErrors];
13500
- type PostDocumentsImportResponses = {
14018
+ type GetApiKeysByIdError = GetApiKeysByIdErrors[keyof GetApiKeysByIdErrors];
14019
+ type GetApiKeysByIdResponses = {
13501
14020
  /**
13502
14021
  * Success
13503
14022
  */
13504
- 201: {
13505
- [key: string]: unknown;
14023
+ 200: {
14024
+ data?: ApiKey;
14025
+ included?: Array<unknown>;
14026
+ meta?: {
14027
+ [key: string]: unknown;
14028
+ };
13506
14029
  };
13507
14030
  };
13508
- type PostDocumentsImportResponse = PostDocumentsImportResponses[keyof PostDocumentsImportResponses];
13509
- type DeleteApiKeysByIdData = {
13510
- body?: never;
14031
+ type GetApiKeysByIdResponse = GetApiKeysByIdResponses[keyof GetApiKeysByIdResponses];
14032
+ type PatchApiKeysByIdData = {
14033
+ /**
14034
+ * Request body for the /api_keys/:id operation on api_key resource
14035
+ */
14036
+ body?: {
14037
+ data: {
14038
+ attributes?: {
14039
+ name?: string | unknown;
14040
+ };
14041
+ id: string;
14042
+ relationships?: {
14043
+ [key: string]: never;
14044
+ };
14045
+ type?: "api_key";
14046
+ };
14047
+ };
13511
14048
  headers: {
13512
14049
  /**
13513
14050
  * Application ID for authentication and routing
@@ -13535,7 +14072,7 @@ type DeleteApiKeysByIdData = {
13535
14072
  };
13536
14073
  url: "/api_keys/{id}";
13537
14074
  };
13538
- type DeleteApiKeysByIdErrors = {
14075
+ type PatchApiKeysByIdErrors = {
13539
14076
  /**
13540
14077
  * Bad Request - Invalid input data or malformed request
13541
14078
  */
@@ -13565,14 +14102,21 @@ type DeleteApiKeysByIdErrors = {
13565
14102
  */
13566
14103
  default: Errors;
13567
14104
  };
13568
- type DeleteApiKeysByIdError = DeleteApiKeysByIdErrors[keyof DeleteApiKeysByIdErrors];
13569
- type DeleteApiKeysByIdResponses = {
14105
+ type PatchApiKeysByIdError = PatchApiKeysByIdErrors[keyof PatchApiKeysByIdErrors];
14106
+ type PatchApiKeysByIdResponses = {
13570
14107
  /**
13571
- * Deleted successfully
14108
+ * Success
13572
14109
  */
13573
- 200: unknown;
14110
+ 200: {
14111
+ data?: ApiKey;
14112
+ included?: Array<unknown>;
14113
+ meta?: {
14114
+ [key: string]: unknown;
14115
+ };
14116
+ };
13574
14117
  };
13575
- type GetApiKeysByIdData = {
14118
+ type PatchApiKeysByIdResponse = PatchApiKeysByIdResponses[keyof PatchApiKeysByIdResponses];
14119
+ type GetAiConversationsData = {
13576
14120
  body?: never;
13577
14121
  headers: {
13578
14122
  /**
@@ -13580,10 +14124,26 @@ type GetApiKeysByIdData = {
13580
14124
  */
13581
14125
  "x-application-key": string;
13582
14126
  };
13583
- path: {
13584
- id: string;
13585
- };
14127
+ path?: never;
13586
14128
  query?: {
14129
+ /**
14130
+ * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
14131
+ */
14132
+ filter?: ConversationFilter;
14133
+ /**
14134
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
14135
+ */
14136
+ sort?: string;
14137
+ /**
14138
+ * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
14139
+ */
14140
+ page?: {
14141
+ after?: string;
14142
+ before?: string;
14143
+ count?: boolean;
14144
+ limit?: number;
14145
+ offset?: number;
14146
+ };
13587
14147
  /**
13588
14148
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
13589
14149
  */
@@ -13593,15 +14153,15 @@ type GetApiKeysByIdData = {
13593
14153
  */
13594
14154
  fields?: {
13595
14155
  /**
13596
- * Comma separated field names for api_key
14156
+ * Comma separated field names for conversation
13597
14157
  */
13598
- api_key?: string;
14158
+ conversation?: string;
13599
14159
  [key: string]: unknown | string | undefined;
13600
14160
  };
13601
14161
  };
13602
- url: "/api_keys/{id}";
14162
+ url: "/ai/conversations";
13603
14163
  };
13604
- type GetApiKeysByIdErrors = {
14164
+ type GetAiConversationsErrors = {
13605
14165
  /**
13606
14166
  * Bad Request - Invalid input data or malformed request
13607
14167
  */
@@ -13631,34 +14191,44 @@ type GetApiKeysByIdErrors = {
13631
14191
  */
13632
14192
  default: Errors;
13633
14193
  };
13634
- type GetApiKeysByIdError = GetApiKeysByIdErrors[keyof GetApiKeysByIdErrors];
13635
- type GetApiKeysByIdResponses = {
14194
+ type GetAiConversationsError = GetAiConversationsErrors[keyof GetAiConversationsErrors];
14195
+ type GetAiConversationsResponses = {
13636
14196
  /**
13637
14197
  * Success
13638
14198
  */
13639
14199
  200: {
13640
- data?: ApiKey;
14200
+ /**
14201
+ * An array of resource objects representing a conversation
14202
+ */
14203
+ data?: Array<Conversation>;
13641
14204
  included?: Array<unknown>;
13642
14205
  meta?: {
13643
14206
  [key: string]: unknown;
13644
14207
  };
13645
14208
  };
13646
14209
  };
13647
- type GetApiKeysByIdResponse = GetApiKeysByIdResponses[keyof GetApiKeysByIdResponses];
13648
- type PatchApiKeysByIdData = {
14210
+ type GetAiConversationsResponse = GetAiConversationsResponses[keyof GetAiConversationsResponses];
14211
+ type PostAiConversationsData = {
13649
14212
  /**
13650
- * Request body for the /api_keys/:id operation on api_key resource
14213
+ * Request body for the /ai/conversations operation on conversation resource
13651
14214
  */
13652
- body?: {
14215
+ body: {
13653
14216
  data: {
13654
14217
  attributes?: {
13655
- name?: string | unknown;
14218
+ /**
14219
+ * Structured data providing context for this conversation (e.g., failed prediction results)
14220
+ */
14221
+ context_data?: {
14222
+ [key: string]: unknown;
14223
+ } | unknown;
14224
+ tenant_id: string;
14225
+ title?: string | unknown;
14226
+ user_id: string;
13656
14227
  };
13657
- id: string;
13658
14228
  relationships?: {
13659
14229
  [key: string]: never;
13660
14230
  };
13661
- type?: "api_key";
14231
+ type?: "conversation";
13662
14232
  };
13663
14233
  };
13664
14234
  headers: {
@@ -13667,9 +14237,7 @@ type PatchApiKeysByIdData = {
13667
14237
  */
13668
14238
  "x-application-key": string;
13669
14239
  };
13670
- path: {
13671
- id: string;
13672
- };
14240
+ path?: never;
13673
14241
  query?: {
13674
14242
  /**
13675
14243
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -13680,15 +14248,15 @@ type PatchApiKeysByIdData = {
13680
14248
  */
13681
14249
  fields?: {
13682
14250
  /**
13683
- * Comma separated field names for api_key
14251
+ * Comma separated field names for conversation
13684
14252
  */
13685
- api_key?: string;
14253
+ conversation?: string;
13686
14254
  [key: string]: unknown | string | undefined;
13687
14255
  };
13688
14256
  };
13689
- url: "/api_keys/{id}";
14257
+ url: "/ai/conversations";
13690
14258
  };
13691
- type PatchApiKeysByIdErrors = {
14259
+ type PostAiConversationsErrors = {
13692
14260
  /**
13693
14261
  * Bad Request - Invalid input data or malformed request
13694
14262
  */
@@ -13718,20 +14286,20 @@ type PatchApiKeysByIdErrors = {
13718
14286
  */
13719
14287
  default: Errors;
13720
14288
  };
13721
- type PatchApiKeysByIdError = PatchApiKeysByIdErrors[keyof PatchApiKeysByIdErrors];
13722
- type PatchApiKeysByIdResponses = {
14289
+ type PostAiConversationsError = PostAiConversationsErrors[keyof PostAiConversationsErrors];
14290
+ type PostAiConversationsResponses = {
13723
14291
  /**
13724
14292
  * Success
13725
14293
  */
13726
- 200: {
13727
- data?: ApiKey;
14294
+ 201: {
14295
+ data?: Conversation;
13728
14296
  included?: Array<unknown>;
13729
14297
  meta?: {
13730
14298
  [key: string]: unknown;
13731
14299
  };
13732
14300
  };
13733
14301
  };
13734
- type PatchApiKeysByIdResponse = PatchApiKeysByIdResponses[keyof PatchApiKeysByIdResponses];
14302
+ type PostAiConversationsResponse = PostAiConversationsResponses[keyof PostAiConversationsResponses];
13735
14303
  type PostAiSearchData = {
13736
14304
  /**
13737
14305
  * Request body for the /ai/search operation on search resource
@@ -17131,24 +17699,8 @@ type PatchTenantMembershipsByTenantIdByUserIdResponses = {
17131
17699
  };
17132
17700
  };
17133
17701
  type PatchTenantMembershipsByTenantIdByUserIdResponse = PatchTenantMembershipsByTenantIdByUserIdResponses[keyof PatchTenantMembershipsByTenantIdByUserIdResponses];
17134
- type PostStorageSignUploadData = {
17135
- /**
17136
- * Request body for the /storage/sign_upload operation on presigned_url resource
17137
- */
17138
- body: {
17139
- data: {
17140
- attributes?: {
17141
- bucket_id: string;
17142
- content_type?: string | unknown;
17143
- filename: string;
17144
- size_bytes: number;
17145
- };
17146
- relationships?: {
17147
- [key: string]: never;
17148
- };
17149
- type?: "presigned_url";
17150
- };
17151
- };
17702
+ type GetAiMessagesData = {
17703
+ body?: never;
17152
17704
  headers: {
17153
17705
  /**
17154
17706
  * Application ID for authentication and routing
@@ -17157,6 +17709,24 @@ type PostStorageSignUploadData = {
17157
17709
  };
17158
17710
  path?: never;
17159
17711
  query?: {
17712
+ /**
17713
+ * Filter results using JSON:API filter syntax. Use field comparisons like `field[eq]=value`, `field[in][]=val1&field[in][]=val2`, etc.
17714
+ */
17715
+ filter?: MessageFilter;
17716
+ /**
17717
+ * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
17718
+ */
17719
+ sort?: string;
17720
+ /**
17721
+ * Pagination parameters using JSON:API page-based strategy. Use `page[limit]` and `page[offset]` for pagination.
17722
+ */
17723
+ page?: {
17724
+ after?: string;
17725
+ before?: string;
17726
+ count?: boolean;
17727
+ limit?: number;
17728
+ offset?: number;
17729
+ };
17160
17730
  /**
17161
17731
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17162
17732
  */
@@ -17166,15 +17736,15 @@ type PostStorageSignUploadData = {
17166
17736
  */
17167
17737
  fields?: {
17168
17738
  /**
17169
- * Comma separated field names for presigned_url
17739
+ * Comma separated field names for message
17170
17740
  */
17171
- presigned_url?: string;
17741
+ message?: string;
17172
17742
  [key: string]: unknown | string | undefined;
17173
17743
  };
17174
17744
  };
17175
- url: "/storage/sign_upload";
17745
+ url: "/ai/messages";
17176
17746
  };
17177
- type PostStorageSignUploadErrors = {
17747
+ type GetAiMessagesErrors = {
17178
17748
  /**
17179
17749
  * Bad Request - Invalid input data or malformed request
17180
17750
  */
@@ -17204,33 +17774,38 @@ type PostStorageSignUploadErrors = {
17204
17774
  */
17205
17775
  default: Errors;
17206
17776
  };
17207
- type PostStorageSignUploadError = PostStorageSignUploadErrors[keyof PostStorageSignUploadErrors];
17208
- type PostStorageSignUploadResponses = {
17777
+ type GetAiMessagesError = GetAiMessagesErrors[keyof GetAiMessagesErrors];
17778
+ type GetAiMessagesResponses = {
17209
17779
  /**
17210
17780
  * Success
17211
17781
  */
17212
- 201: {
17213
- data?: PresignedUrl;
17782
+ 200: {
17783
+ /**
17784
+ * An array of resource objects representing a message
17785
+ */
17786
+ data?: Array<Message>;
17214
17787
  included?: Array<unknown>;
17215
17788
  meta?: {
17216
17789
  [key: string]: unknown;
17217
17790
  };
17218
17791
  };
17219
17792
  };
17220
- type PostStorageSignUploadResponse = PostStorageSignUploadResponses[keyof PostStorageSignUploadResponses];
17221
- type PostWebhookDeliveriesByIdRetryData = {
17793
+ type GetAiMessagesResponse = GetAiMessagesResponses[keyof GetAiMessagesResponses];
17794
+ type PostAiMessagesData = {
17222
17795
  /**
17223
- * Request body for the /webhook_deliveries/:id/retry operation on webhook_delivery resource
17796
+ * Request body for the /ai/messages operation on message resource
17224
17797
  */
17225
- body?: {
17798
+ body: {
17226
17799
  data: {
17227
17800
  attributes?: {
17228
- [key: string]: never;
17801
+ content: string;
17802
+ conversation_id: string;
17803
+ role: "system" | "user" | "assistant";
17229
17804
  };
17230
17805
  relationships?: {
17231
17806
  [key: string]: never;
17232
17807
  };
17233
- type?: "webhook_delivery";
17808
+ type?: "message";
17234
17809
  };
17235
17810
  };
17236
17811
  headers: {
@@ -17239,9 +17814,7 @@ type PostWebhookDeliveriesByIdRetryData = {
17239
17814
  */
17240
17815
  "x-application-key": string;
17241
17816
  };
17242
- path: {
17243
- id: string;
17244
- };
17817
+ path?: never;
17245
17818
  query?: {
17246
17819
  /**
17247
17820
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
@@ -17252,15 +17825,15 @@ type PostWebhookDeliveriesByIdRetryData = {
17252
17825
  */
17253
17826
  fields?: {
17254
17827
  /**
17255
- * Comma separated field names for webhook_delivery
17828
+ * Comma separated field names for message
17256
17829
  */
17257
- webhook_delivery?: string;
17830
+ message?: string;
17258
17831
  [key: string]: unknown | string | undefined;
17259
17832
  };
17260
17833
  };
17261
- url: "/webhook_deliveries/{id}/retry";
17834
+ url: "/ai/messages";
17262
17835
  };
17263
- type PostWebhookDeliveriesByIdRetryErrors = {
17836
+ type PostAiMessagesErrors = {
17264
17837
  /**
17265
17838
  * Bad Request - Invalid input data or malformed request
17266
17839
  */
@@ -17290,23 +17863,196 @@ type PostWebhookDeliveriesByIdRetryErrors = {
17290
17863
  */
17291
17864
  default: Errors;
17292
17865
  };
17293
- type PostWebhookDeliveriesByIdRetryError = PostWebhookDeliveriesByIdRetryErrors[keyof PostWebhookDeliveriesByIdRetryErrors];
17294
- type PostWebhookDeliveriesByIdRetryResponses = {
17866
+ type PostAiMessagesError = PostAiMessagesErrors[keyof PostAiMessagesErrors];
17867
+ type PostAiMessagesResponses = {
17295
17868
  /**
17296
17869
  * Success
17297
17870
  */
17298
17871
  201: {
17299
- data?: WebhookDelivery;
17872
+ data?: Message;
17300
17873
  included?: Array<unknown>;
17301
17874
  meta?: {
17302
17875
  [key: string]: unknown;
17303
17876
  };
17304
17877
  };
17305
17878
  };
17306
- type PostWebhookDeliveriesByIdRetryResponse = PostWebhookDeliveriesByIdRetryResponses[keyof PostWebhookDeliveriesByIdRetryResponses];
17307
- type PostThreadsByIdSummarizeData = {
17879
+ type PostAiMessagesResponse = PostAiMessagesResponses[keyof PostAiMessagesResponses];
17880
+ type PostStorageSignUploadData = {
17308
17881
  /**
17309
- * Request body for the /threads/:id/summarize operation on thread resource
17882
+ * Request body for the /storage/sign_upload operation on presigned_url resource
17883
+ */
17884
+ body: {
17885
+ data: {
17886
+ attributes?: {
17887
+ bucket_id: string;
17888
+ content_type?: string | unknown;
17889
+ filename: string;
17890
+ size_bytes: number;
17891
+ };
17892
+ relationships?: {
17893
+ [key: string]: never;
17894
+ };
17895
+ type?: "presigned_url";
17896
+ };
17897
+ };
17898
+ headers: {
17899
+ /**
17900
+ * Application ID for authentication and routing
17901
+ */
17902
+ "x-application-key": string;
17903
+ };
17904
+ path?: never;
17905
+ query?: {
17906
+ /**
17907
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17908
+ */
17909
+ include?: string;
17910
+ /**
17911
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
17912
+ */
17913
+ fields?: {
17914
+ /**
17915
+ * Comma separated field names for presigned_url
17916
+ */
17917
+ presigned_url?: string;
17918
+ [key: string]: unknown | string | undefined;
17919
+ };
17920
+ };
17921
+ url: "/storage/sign_upload";
17922
+ };
17923
+ type PostStorageSignUploadErrors = {
17924
+ /**
17925
+ * Bad Request - Invalid input data or malformed request
17926
+ */
17927
+ 400: ErrorResponse;
17928
+ /**
17929
+ * Unauthorized - Missing or invalid authentication token
17930
+ */
17931
+ 401: ErrorResponse;
17932
+ /**
17933
+ * Forbidden - Authenticated but not authorized for this resource
17934
+ */
17935
+ 403: ErrorResponse;
17936
+ /**
17937
+ * Not Found - Resource does not exist
17938
+ */
17939
+ 404: ErrorResponse;
17940
+ /**
17941
+ * Too Many Requests - Rate limit exceeded
17942
+ */
17943
+ 429: ErrorResponse;
17944
+ /**
17945
+ * Internal Server Error - Unexpected server error
17946
+ */
17947
+ 500: ErrorResponse;
17948
+ /**
17949
+ * General Error
17950
+ */
17951
+ default: Errors;
17952
+ };
17953
+ type PostStorageSignUploadError = PostStorageSignUploadErrors[keyof PostStorageSignUploadErrors];
17954
+ type PostStorageSignUploadResponses = {
17955
+ /**
17956
+ * Success
17957
+ */
17958
+ 201: {
17959
+ data?: PresignedUrl;
17960
+ included?: Array<unknown>;
17961
+ meta?: {
17962
+ [key: string]: unknown;
17963
+ };
17964
+ };
17965
+ };
17966
+ type PostStorageSignUploadResponse = PostStorageSignUploadResponses[keyof PostStorageSignUploadResponses];
17967
+ type PostWebhookDeliveriesByIdRetryData = {
17968
+ /**
17969
+ * Request body for the /webhook_deliveries/:id/retry operation on webhook_delivery resource
17970
+ */
17971
+ body?: {
17972
+ data: {
17973
+ attributes?: {
17974
+ [key: string]: never;
17975
+ };
17976
+ relationships?: {
17977
+ [key: string]: never;
17978
+ };
17979
+ type?: "webhook_delivery";
17980
+ };
17981
+ };
17982
+ headers: {
17983
+ /**
17984
+ * Application ID for authentication and routing
17985
+ */
17986
+ "x-application-key": string;
17987
+ };
17988
+ path: {
17989
+ id: string;
17990
+ };
17991
+ query?: {
17992
+ /**
17993
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
17994
+ */
17995
+ include?: string;
17996
+ /**
17997
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
17998
+ */
17999
+ fields?: {
18000
+ /**
18001
+ * Comma separated field names for webhook_delivery
18002
+ */
18003
+ webhook_delivery?: string;
18004
+ [key: string]: unknown | string | undefined;
18005
+ };
18006
+ };
18007
+ url: "/webhook_deliveries/{id}/retry";
18008
+ };
18009
+ type PostWebhookDeliveriesByIdRetryErrors = {
18010
+ /**
18011
+ * Bad Request - Invalid input data or malformed request
18012
+ */
18013
+ 400: ErrorResponse;
18014
+ /**
18015
+ * Unauthorized - Missing or invalid authentication token
18016
+ */
18017
+ 401: ErrorResponse;
18018
+ /**
18019
+ * Forbidden - Authenticated but not authorized for this resource
18020
+ */
18021
+ 403: ErrorResponse;
18022
+ /**
18023
+ * Not Found - Resource does not exist
18024
+ */
18025
+ 404: ErrorResponse;
18026
+ /**
18027
+ * Too Many Requests - Rate limit exceeded
18028
+ */
18029
+ 429: ErrorResponse;
18030
+ /**
18031
+ * Internal Server Error - Unexpected server error
18032
+ */
18033
+ 500: ErrorResponse;
18034
+ /**
18035
+ * General Error
18036
+ */
18037
+ default: Errors;
18038
+ };
18039
+ type PostWebhookDeliveriesByIdRetryError = PostWebhookDeliveriesByIdRetryErrors[keyof PostWebhookDeliveriesByIdRetryErrors];
18040
+ type PostWebhookDeliveriesByIdRetryResponses = {
18041
+ /**
18042
+ * Success
18043
+ */
18044
+ 201: {
18045
+ data?: WebhookDelivery;
18046
+ included?: Array<unknown>;
18047
+ meta?: {
18048
+ [key: string]: unknown;
18049
+ };
18050
+ };
18051
+ };
18052
+ type PostWebhookDeliveriesByIdRetryResponse = PostWebhookDeliveriesByIdRetryResponses[keyof PostWebhookDeliveriesByIdRetryResponses];
18053
+ type PostThreadsByIdSummarizeData = {
18054
+ /**
18055
+ * Request body for the /threads/:id/summarize operation on thread resource
17310
18056
  */
17311
18057
  body?: {
17312
18058
  data: {
@@ -17397,15 +18143,188 @@ type PatchConfigsByKeyData = {
17397
18143
  body?: {
17398
18144
  data: {
17399
18145
  attributes?: {
17400
- description?: string | unknown;
17401
- id?: string | unknown;
17402
- value?: string | unknown;
18146
+ description?: string | unknown;
18147
+ id?: string | unknown;
18148
+ value?: string | unknown;
18149
+ };
18150
+ id: string;
18151
+ relationships?: {
18152
+ [key: string]: never;
18153
+ };
18154
+ type?: "config";
18155
+ };
18156
+ };
18157
+ headers: {
18158
+ /**
18159
+ * Application ID for authentication and routing
18160
+ */
18161
+ "x-application-key": string;
18162
+ };
18163
+ path: {
18164
+ key: string;
18165
+ };
18166
+ query?: {
18167
+ /**
18168
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
18169
+ */
18170
+ include?: string;
18171
+ /**
18172
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
18173
+ */
18174
+ fields?: {
18175
+ /**
18176
+ * Comma separated field names for config
18177
+ */
18178
+ config?: string;
18179
+ [key: string]: unknown | string | undefined;
18180
+ };
18181
+ };
18182
+ url: "/configs/{key}";
18183
+ };
18184
+ type PatchConfigsByKeyErrors = {
18185
+ /**
18186
+ * Bad Request - Invalid input data or malformed request
18187
+ */
18188
+ 400: ErrorResponse;
18189
+ /**
18190
+ * Unauthorized - Missing or invalid authentication token
18191
+ */
18192
+ 401: ErrorResponse;
18193
+ /**
18194
+ * Forbidden - Authenticated but not authorized for this resource
18195
+ */
18196
+ 403: ErrorResponse;
18197
+ /**
18198
+ * Not Found - Resource does not exist
18199
+ */
18200
+ 404: ErrorResponse;
18201
+ /**
18202
+ * Too Many Requests - Rate limit exceeded
18203
+ */
18204
+ 429: ErrorResponse;
18205
+ /**
18206
+ * Internal Server Error - Unexpected server error
18207
+ */
18208
+ 500: ErrorResponse;
18209
+ /**
18210
+ * General Error
18211
+ */
18212
+ default: Errors;
18213
+ };
18214
+ type PatchConfigsByKeyError = PatchConfigsByKeyErrors[keyof PatchConfigsByKeyErrors];
18215
+ type PatchConfigsByKeyResponses = {
18216
+ /**
18217
+ * Success
18218
+ */
18219
+ 200: {
18220
+ data?: Config$2;
18221
+ included?: Array<unknown>;
18222
+ meta?: {
18223
+ [key: string]: unknown;
18224
+ };
18225
+ };
18226
+ };
18227
+ type PatchConfigsByKeyResponse = PatchConfigsByKeyResponses[keyof PatchConfigsByKeyResponses];
18228
+ type PatchApiKeysByIdRotateData = {
18229
+ /**
18230
+ * Request body for the /api_keys/:id/rotate operation on api_key resource
18231
+ */
18232
+ body?: {
18233
+ data: {
18234
+ attributes?: {
18235
+ [key: string]: never;
18236
+ };
18237
+ id: string;
18238
+ relationships?: {
18239
+ [key: string]: never;
18240
+ };
18241
+ type?: "api_key";
18242
+ };
18243
+ };
18244
+ headers: {
18245
+ /**
18246
+ * Application ID for authentication and routing
18247
+ */
18248
+ "x-application-key": string;
18249
+ };
18250
+ path: {
18251
+ id: string;
18252
+ };
18253
+ query?: {
18254
+ /**
18255
+ * Include related resources in the response. Comma-separated list of relationship names to eager-load.
18256
+ */
18257
+ include?: string;
18258
+ /**
18259
+ * Sparse fieldsets - return only specified fields for each resource type. Use `fields[type]=field1,field2` format.
18260
+ */
18261
+ fields?: {
18262
+ /**
18263
+ * Comma separated field names for api_key
18264
+ */
18265
+ api_key?: string;
18266
+ [key: string]: unknown | string | undefined;
18267
+ };
18268
+ };
18269
+ url: "/api_keys/{id}/rotate";
18270
+ };
18271
+ type PatchApiKeysByIdRotateErrors = {
18272
+ /**
18273
+ * Bad Request - Invalid input data or malformed request
18274
+ */
18275
+ 400: ErrorResponse;
18276
+ /**
18277
+ * Unauthorized - Missing or invalid authentication token
18278
+ */
18279
+ 401: ErrorResponse;
18280
+ /**
18281
+ * Forbidden - Authenticated but not authorized for this resource
18282
+ */
18283
+ 403: ErrorResponse;
18284
+ /**
18285
+ * Not Found - Resource does not exist
18286
+ */
18287
+ 404: ErrorResponse;
18288
+ /**
18289
+ * Too Many Requests - Rate limit exceeded
18290
+ */
18291
+ 429: ErrorResponse;
18292
+ /**
18293
+ * Internal Server Error - Unexpected server error
18294
+ */
18295
+ 500: ErrorResponse;
18296
+ /**
18297
+ * General Error
18298
+ */
18299
+ default: Errors;
18300
+ };
18301
+ type PatchApiKeysByIdRotateError = PatchApiKeysByIdRotateErrors[keyof PatchApiKeysByIdRotateErrors];
18302
+ type PatchApiKeysByIdRotateResponses = {
18303
+ /**
18304
+ * Success
18305
+ */
18306
+ 200: {
18307
+ data?: ApiKey;
18308
+ included?: Array<unknown>;
18309
+ meta?: {
18310
+ [key: string]: unknown;
18311
+ };
18312
+ };
18313
+ };
18314
+ type PatchApiKeysByIdRotateResponse = PatchApiKeysByIdRotateResponses[keyof PatchApiKeysByIdRotateResponses];
18315
+ type PostAgentsByIdCloneData = {
18316
+ /**
18317
+ * Request body for the /agents/:id/clone operation on agent resource
18318
+ */
18319
+ body: {
18320
+ data: {
18321
+ attributes?: {
18322
+ new_name: string;
17403
18323
  };
17404
- id: string;
17405
18324
  relationships?: {
17406
18325
  [key: string]: never;
17407
18326
  };
17408
- type?: "config";
18327
+ type?: "agent";
17409
18328
  };
17410
18329
  };
17411
18330
  headers: {
@@ -17415,7 +18334,7 @@ type PatchConfigsByKeyData = {
17415
18334
  "x-application-key": string;
17416
18335
  };
17417
18336
  path: {
17418
- key: string;
18337
+ id: string;
17419
18338
  };
17420
18339
  query?: {
17421
18340
  /**
@@ -17427,15 +18346,15 @@ type PatchConfigsByKeyData = {
17427
18346
  */
17428
18347
  fields?: {
17429
18348
  /**
17430
- * Comma separated field names for config
18349
+ * Comma separated field names for agent
17431
18350
  */
17432
- config?: string;
18351
+ agent?: string;
17433
18352
  [key: string]: unknown | string | undefined;
17434
18353
  };
17435
18354
  };
17436
- url: "/configs/{key}";
18355
+ url: "/agents/{id}/clone";
17437
18356
  };
17438
- type PatchConfigsByKeyErrors = {
18357
+ type PostAgentsByIdCloneErrors = {
17439
18358
  /**
17440
18359
  * Bad Request - Invalid input data or malformed request
17441
18360
  */
@@ -17465,36 +18384,22 @@ type PatchConfigsByKeyErrors = {
17465
18384
  */
17466
18385
  default: Errors;
17467
18386
  };
17468
- type PatchConfigsByKeyError = PatchConfigsByKeyErrors[keyof PatchConfigsByKeyErrors];
17469
- type PatchConfigsByKeyResponses = {
18387
+ type PostAgentsByIdCloneError = PostAgentsByIdCloneErrors[keyof PostAgentsByIdCloneErrors];
18388
+ type PostAgentsByIdCloneResponses = {
17470
18389
  /**
17471
18390
  * Success
17472
18391
  */
17473
- 200: {
17474
- data?: Config$2;
18392
+ 201: {
18393
+ data?: Agent;
17475
18394
  included?: Array<unknown>;
17476
18395
  meta?: {
17477
18396
  [key: string]: unknown;
17478
18397
  };
17479
18398
  };
17480
18399
  };
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
- };
18400
+ type PostAgentsByIdCloneResponse = PostAgentsByIdCloneResponses[keyof PostAgentsByIdCloneResponses];
18401
+ type DeleteAiConversationsByIdData = {
18402
+ body?: never;
17498
18403
  headers: {
17499
18404
  /**
17500
18405
  * Application ID for authentication and routing
@@ -17514,15 +18419,15 @@ type PatchApiKeysByIdRotateData = {
17514
18419
  */
17515
18420
  fields?: {
17516
18421
  /**
17517
- * Comma separated field names for api_key
18422
+ * Comma separated field names for conversation
17518
18423
  */
17519
- api_key?: string;
18424
+ conversation?: string;
17520
18425
  [key: string]: unknown | string | undefined;
17521
18426
  };
17522
18427
  };
17523
- url: "/api_keys/{id}/rotate";
18428
+ url: "/ai/conversations/{id}";
17524
18429
  };
17525
- type PatchApiKeysByIdRotateErrors = {
18430
+ type DeleteAiConversationsByIdErrors = {
17526
18431
  /**
17527
18432
  * Bad Request - Invalid input data or malformed request
17528
18433
  */
@@ -17552,35 +18457,15 @@ type PatchApiKeysByIdRotateErrors = {
17552
18457
  */
17553
18458
  default: Errors;
17554
18459
  };
17555
- type PatchApiKeysByIdRotateError = PatchApiKeysByIdRotateErrors[keyof PatchApiKeysByIdRotateErrors];
17556
- type PatchApiKeysByIdRotateResponses = {
18460
+ type DeleteAiConversationsByIdError = DeleteAiConversationsByIdErrors[keyof DeleteAiConversationsByIdErrors];
18461
+ type DeleteAiConversationsByIdResponses = {
17557
18462
  /**
17558
- * Success
18463
+ * Deleted successfully
17559
18464
  */
17560
- 200: {
17561
- data?: ApiKey;
17562
- included?: Array<unknown>;
17563
- meta?: {
17564
- [key: string]: unknown;
17565
- };
17566
- };
18465
+ 200: unknown;
17567
18466
  };
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
- };
18467
+ type GetAiConversationsByIdData = {
18468
+ body?: never;
17584
18469
  headers: {
17585
18470
  /**
17586
18471
  * Application ID for authentication and routing
@@ -17600,15 +18485,15 @@ type PostAgentsByIdCloneData = {
17600
18485
  */
17601
18486
  fields?: {
17602
18487
  /**
17603
- * Comma separated field names for agent
18488
+ * Comma separated field names for conversation
17604
18489
  */
17605
- agent?: string;
18490
+ conversation?: string;
17606
18491
  [key: string]: unknown | string | undefined;
17607
18492
  };
17608
18493
  };
17609
- url: "/agents/{id}/clone";
18494
+ url: "/ai/conversations/{id}";
17610
18495
  };
17611
- type PostAgentsByIdCloneErrors = {
18496
+ type GetAiConversationsByIdErrors = {
17612
18497
  /**
17613
18498
  * Bad Request - Invalid input data or malformed request
17614
18499
  */
@@ -17638,20 +18523,20 @@ type PostAgentsByIdCloneErrors = {
17638
18523
  */
17639
18524
  default: Errors;
17640
18525
  };
17641
- type PostAgentsByIdCloneError = PostAgentsByIdCloneErrors[keyof PostAgentsByIdCloneErrors];
17642
- type PostAgentsByIdCloneResponses = {
18526
+ type GetAiConversationsByIdError = GetAiConversationsByIdErrors[keyof GetAiConversationsByIdErrors];
18527
+ type GetAiConversationsByIdResponses = {
17643
18528
  /**
17644
18529
  * Success
17645
18530
  */
17646
- 201: {
17647
- data?: Agent;
18531
+ 200: {
18532
+ data?: Conversation;
17648
18533
  included?: Array<unknown>;
17649
18534
  meta?: {
17650
18535
  [key: string]: unknown;
17651
18536
  };
17652
18537
  };
17653
18538
  };
17654
- type PostAgentsByIdCloneResponse = PostAgentsByIdCloneResponses[keyof PostAgentsByIdCloneResponses];
18539
+ type GetAiConversationsByIdResponse = GetAiConversationsByIdResponses[keyof GetAiConversationsByIdResponses];
17655
18540
  type DeleteUserProfilesByIdData = {
17656
18541
  body?: never;
17657
18542
  headers: {
@@ -19324,16 +20209,6 @@ type GetAgentsData = {
19324
20209
  * Sort results by one or more fields. Prefix with '-' for descending order. Separate multiple fields with commas.
19325
20210
  */
19326
20211
  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
20212
  /**
19338
20213
  * Include related resources in the response. Comma-separated list of relationship names to eager-load.
19339
20214
  */
@@ -19398,97 +20273,6 @@ type GetAgentsResponses = {
19398
20273
  };
19399
20274
  };
19400
20275
  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
20276
  type GetDocumentsByIdExtractionResultsData = {
19493
20277
  body?: never;
19494
20278
  headers: {
@@ -21114,6 +21898,12 @@ declare const getApplications: <ThrowOnError extends boolean = false>(options: O
21114
21898
  *
21115
21899
  */
21116
21900
  declare const postApplications: <ThrowOnError extends boolean = false>(options: Options<PostApplicationsData, ThrowOnError>) => RequestResult<PostApplicationsResponses, PostApplicationsErrors, ThrowOnError, "fields">;
21901
+ /**
21902
+ * Create predict
21903
+ *
21904
+ * Predicts the best agents for a given input
21905
+ */
21906
+ declare const postAgentsPredict: <ThrowOnError extends boolean = false>(options: Options<PostAgentsPredictData, ThrowOnError>) => RequestResult<PostAgentsPredictResponses, PostAgentsPredictErrors, ThrowOnError, "fields">;
21117
21907
  /**
21118
21908
  * Delete threads
21119
21909
  *
@@ -21422,16 +22212,6 @@ declare const postApiKeys: <ThrowOnError extends boolean = false>(options: Optio
21422
22212
  *
21423
22213
  */
21424
22214
  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
22215
  /**
21436
22216
  * Get agents
21437
22217
  *
@@ -21442,16 +22222,6 @@ declare const deleteAgentsById: <ThrowOnError extends boolean = false>(options:
21442
22222
  *
21443
22223
  */
21444
22224
  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
22225
  /**
21456
22226
  * Create import
21457
22227
  *
@@ -21488,6 +22258,26 @@ declare const getApiKeysById: <ThrowOnError extends boolean = false>(options: Op
21488
22258
  *
21489
22259
  */
21490
22260
  declare const patchApiKeysById: <ThrowOnError extends boolean = false>(options: Options<PatchApiKeysByIdData, ThrowOnError>) => RequestResult<PatchApiKeysByIdResponses, PatchApiKeysByIdErrors, ThrowOnError, "fields">;
22261
+ /**
22262
+ * List conversations
22263
+ *
22264
+ * Lists resources with optional filtering, sorting, and pagination.
22265
+ *
22266
+ * **Authentication:** Required - Bearer token or API key
22267
+ * **Rate Limit:** 100 requests per minute
22268
+ *
22269
+ */
22270
+ declare const getAiConversations: <ThrowOnError extends boolean = false>(options: Options<GetAiConversationsData, ThrowOnError>) => RequestResult<GetAiConversationsResponses, GetAiConversationsErrors, ThrowOnError, "fields">;
22271
+ /**
22272
+ * Create conversations
22273
+ *
22274
+ * Creates a new resource. Returns the created resource with generated ID.
22275
+ *
22276
+ * **Authentication:** Required - Bearer token or API key
22277
+ * **Rate Limit:** 100 requests per minute
22278
+ *
22279
+ */
22280
+ declare const postAiConversations: <ThrowOnError extends boolean = false>(options: Options<PostAiConversationsData, ThrowOnError>) => RequestResult<PostAiConversationsResponses, PostAiConversationsErrors, ThrowOnError, "fields">;
21491
22281
  /**
21492
22282
  * Create search
21493
22283
  *
@@ -21872,6 +22662,26 @@ declare const deleteTenantMembershipsByTenantIdByUserId: <ThrowOnError extends b
21872
22662
  *
21873
22663
  */
21874
22664
  declare const patchTenantMembershipsByTenantIdByUserId: <ThrowOnError extends boolean = false>(options: Options<PatchTenantMembershipsByTenantIdByUserIdData, ThrowOnError>) => RequestResult<PatchTenantMembershipsByTenantIdByUserIdResponses, PatchTenantMembershipsByTenantIdByUserIdErrors, ThrowOnError, "fields">;
22665
+ /**
22666
+ * List messages
22667
+ *
22668
+ * Lists resources with optional filtering, sorting, and pagination.
22669
+ *
22670
+ * **Authentication:** Required - Bearer token or API key
22671
+ * **Rate Limit:** 100 requests per minute
22672
+ *
22673
+ */
22674
+ declare const getAiMessages: <ThrowOnError extends boolean = false>(options: Options<GetAiMessagesData, ThrowOnError>) => RequestResult<GetAiMessagesResponses, GetAiMessagesErrors, ThrowOnError, "fields">;
22675
+ /**
22676
+ * Create messages
22677
+ *
22678
+ * Creates a new resource. Returns the created resource with generated ID.
22679
+ *
22680
+ * **Authentication:** Required - Bearer token or API key
22681
+ * **Rate Limit:** 100 requests per minute
22682
+ *
22683
+ */
22684
+ declare const postAiMessages: <ThrowOnError extends boolean = false>(options: Options<PostAiMessagesData, ThrowOnError>) => RequestResult<PostAiMessagesResponses, PostAiMessagesErrors, ThrowOnError, "fields">;
21875
22685
  /**
21876
22686
  * Create sign upload
21877
22687
  *
@@ -21928,6 +22738,26 @@ declare const patchApiKeysByIdRotate: <ThrowOnError extends boolean = false>(opt
21928
22738
  * Clone the agent to a new one with a new name
21929
22739
  */
21930
22740
  declare const postAgentsByIdClone: <ThrowOnError extends boolean = false>(options: Options<PostAgentsByIdCloneData, ThrowOnError>) => RequestResult<PostAgentsByIdCloneResponses, PostAgentsByIdCloneErrors, ThrowOnError, "fields">;
22741
+ /**
22742
+ * Delete conversations
22743
+ *
22744
+ * Deletes a resource permanently. This action cannot be undone.
22745
+ *
22746
+ * **Authentication:** Required - Bearer token or API key
22747
+ * **Rate Limit:** 100 requests per minute
22748
+ *
22749
+ */
22750
+ declare const deleteAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<DeleteAiConversationsByIdData, ThrowOnError>) => RequestResult<DeleteAiConversationsByIdResponses, DeleteAiConversationsByIdErrors, ThrowOnError, "fields">;
22751
+ /**
22752
+ * Get conversations
22753
+ *
22754
+ * Retrieves a single resource by ID.
22755
+ *
22756
+ * **Authentication:** Required - Bearer token or API key
22757
+ * **Rate Limit:** 100 requests per minute
22758
+ *
22759
+ */
22760
+ declare const getAiConversationsById: <ThrowOnError extends boolean = false>(options: Options<GetAiConversationsByIdData, ThrowOnError>) => RequestResult<GetAiConversationsByIdResponses, GetAiConversationsByIdErrors, ThrowOnError, "fields">;
21931
22761
  /**
21932
22762
  * Delete user profiles
21933
22763
  *
@@ -22144,16 +22974,6 @@ declare const postAiGraphNodes: <ThrowOnError extends boolean = false>(options:
22144
22974
  *
22145
22975
  */
22146
22976
  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
22977
  /**
22158
22978
  * Get extraction results
22159
22979
  *
@@ -22601,4 +23421,4 @@ declare function streamMessage(response: Response, options?: StreamOptions): Asy
22601
23421
  */
22602
23422
  declare function collectStreamedMessage(stream: AsyncIterableIterator<StreamMessageChunk>): Promise<string>;
22603
23423
 
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 };
23424
+ 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 WorkspaceSettingsInputCreateType, type WorkspaceSettingsInputUpdateType, 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 };