@soat/sdk 0.13.5 → 0.13.7

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
@@ -467,7 +467,7 @@ type Agent = {
467
467
  };
468
468
  } | null;
469
469
  /**
470
- * Deep-thinking configuration. `effort` forwards provider-native reasoning; `mode: reflect` critiques and revises; `mode: debate` runs multiple perspectives then synthesizes.
470
+ * Deep-thinking configuration. `effort` forwards provider-native reasoning; `mode: pipeline` runs an ordered list of reasoning steps after the base draft. reflect and debate are expressed as pipelines — see the Agents module docs.
471
471
  */
472
472
  reasoning?: {
473
473
  /**
@@ -475,56 +475,63 @@ type Agent = {
475
475
  */
476
476
  effort?: 'low' | 'medium' | 'high';
477
477
  /**
478
- * Orchestrated reasoning strategy. `reflect` drafts, critiques, and revises. `debate` runs multiple perspectives then synthesizes. Applies to non-streaming completed generations only.
478
+ * Orchestrated reasoning strategy. `pipeline` runs an ordered list of reasoning steps after the base draft. Applies to non-streaming completed generations only.
479
479
  */
480
- mode?: 'none' | 'reflect' | 'debate';
480
+ mode?: 'none' | 'pipeline';
481
481
  /**
482
- * Reflect only — overrides for the critique pass.
482
+ * Pipeline only — ordered reasoning steps run after the base draft. The output step (`output: true`, else the last) produces the final answer. Prompts support `{question}`, `{draft}`, and `{steps.<name>}`. reflect and debate are expressed as step configs — see the Agents module docs.
483
483
  */
484
- critique?: {
484
+ steps?: Array<{
485
485
  /**
486
- * AI provider override for the critique call. Must belong to the agent's project.
486
+ * Unique step name; referenced as `{steps.<name>}`.
487
487
  */
488
- ai_provider_id?: string;
488
+ name: string;
489
489
  /**
490
- * Model override for the critique call.
490
+ * `completion` (default) runs one call; `fanout` runs N perspectives over rounds.
491
491
  */
492
- model?: string;
492
+ kind?: 'completion' | 'fanout';
493
493
  /**
494
- * Replaces the default critique instructions.
494
+ * Prompt template supporting `{question}`, `{draft}`, and `{steps.<name>}`.
495
495
  */
496
- prompt?: string;
497
- };
498
- /**
499
- * Debate only — number of auto-generated perspectives (2–5) or an array of explicit perspective objects.
500
- */
501
- perspectives?: number | Array<{
502
- name?: string;
503
- prompt?: string;
504
- ai_provider_id?: string;
505
- model?: string;
506
- }>;
507
- /**
508
- * Debate only — rounds of perspective turns. Default 1, max 3.
509
- */
510
- max_rounds?: number;
511
- /**
512
- * Debate only — override triple for the synthesis pass.
513
- */
514
- synthesis?: {
496
+ prompt: string;
515
497
  /**
516
- * AI provider override for the synthesis call. Must belong to the agent's project.
498
+ * AI provider override for this step. Must belong to the agent's project.
517
499
  */
518
500
  ai_provider_id?: string;
519
501
  /**
520
- * Model override for the synthesis call.
502
+ * Model override for this step.
521
503
  */
522
504
  model?: string;
523
505
  /**
524
- * Replaces the default synthesis instructions.
506
+ * Sampling temperature for this step.
525
507
  */
526
- prompt?: string;
527
- };
508
+ temperature?: number;
509
+ /**
510
+ * Marks the step whose output is the final answer (else the last step).
511
+ */
512
+ output?: boolean;
513
+ /**
514
+ * If the step output equals this string, halt the pipeline and keep the draft.
515
+ */
516
+ halt_if_equals?: string;
517
+ /**
518
+ * Fanout only — number of auto-named perspectives (2–5).
519
+ */
520
+ count?: number;
521
+ /**
522
+ * Fanout only — rounds of perspective turns (default 1, max 3).
523
+ */
524
+ rounds?: number;
525
+ /**
526
+ * Fanout only — explicit perspective objects; overrides count.
527
+ */
528
+ perspectives?: Array<{
529
+ name?: string;
530
+ prompt?: string;
531
+ ai_provider_id?: string;
532
+ model?: string;
533
+ }>;
534
+ }>;
528
535
  } | null;
529
536
  /**
530
537
  * Maximum number of recent messages to include in the context window sent to the model. When null, all messages are included.
@@ -600,7 +607,7 @@ type CreateAgentRequest = {
600
607
  };
601
608
  };
602
609
  /**
603
- * Deep-thinking configuration. `effort` forwards provider-native reasoning; `mode: reflect` critiques and revises; `mode: debate` runs multiple perspectives then synthesizes.
610
+ * Deep-thinking configuration. `effort` forwards provider-native reasoning; `mode: pipeline` runs an ordered list of reasoning steps after the base draft. reflect and debate are expressed as pipelines — see the Agents module docs.
604
611
  */
605
612
  reasoning?: {
606
613
  /**
@@ -608,56 +615,63 @@ type CreateAgentRequest = {
608
615
  */
609
616
  effort?: 'low' | 'medium' | 'high';
610
617
  /**
611
- * Orchestrated reasoning strategy. `reflect` drafts, critiques, and revises. `debate` runs multiple perspectives then synthesizes.
618
+ * Orchestrated reasoning strategy. `pipeline` runs an ordered list of reasoning steps after the base draft.
612
619
  */
613
- mode?: 'none' | 'reflect' | 'debate';
620
+ mode?: 'none' | 'pipeline';
614
621
  /**
615
- * Reflect only — overrides for the critique pass.
622
+ * Pipeline only — ordered reasoning steps run after the base draft. The output step (`output: true`, else the last) produces the final answer. Prompts support `{question}`, `{draft}`, and `{steps.<name>}`. reflect and debate are expressed as step configs — see the Agents module docs.
616
623
  */
617
- critique?: {
624
+ steps?: Array<{
618
625
  /**
619
- * AI provider override for the critique call. Must belong to the agent's project.
626
+ * Unique step name; referenced as `{steps.<name>}`.
620
627
  */
621
- ai_provider_id?: string;
628
+ name: string;
622
629
  /**
623
- * Model override for the critique call.
630
+ * `completion` (default) runs one call; `fanout` runs N perspectives over rounds.
624
631
  */
625
- model?: string;
632
+ kind?: 'completion' | 'fanout';
626
633
  /**
627
- * Replaces the default critique instructions.
634
+ * Prompt template supporting `{question}`, `{draft}`, and `{steps.<name>}`.
628
635
  */
629
- prompt?: string;
630
- };
631
- /**
632
- * Debate only — number of auto-generated perspectives (2–5) or an array of explicit perspective objects.
633
- */
634
- perspectives?: number | Array<{
635
- name?: string;
636
- prompt?: string;
637
- ai_provider_id?: string;
638
- model?: string;
639
- }>;
640
- /**
641
- * Debate only — rounds of perspective turns. Default 1, max 3.
642
- */
643
- max_rounds?: number;
644
- /**
645
- * Debate only — override triple for the synthesis pass.
646
- */
647
- synthesis?: {
636
+ prompt: string;
648
637
  /**
649
- * AI provider override for the synthesis call. Must belong to the agent's project.
638
+ * AI provider override for this step. Must belong to the agent's project.
650
639
  */
651
640
  ai_provider_id?: string;
652
641
  /**
653
- * Model override for the synthesis call.
642
+ * Model override for this step.
654
643
  */
655
644
  model?: string;
656
645
  /**
657
- * Replaces the default synthesis instructions.
646
+ * Sampling temperature for this step.
658
647
  */
659
- prompt?: string;
660
- };
648
+ temperature?: number;
649
+ /**
650
+ * Marks the step whose output is the final answer (else the last step).
651
+ */
652
+ output?: boolean;
653
+ /**
654
+ * If the step output equals this string, halt the pipeline and keep the draft.
655
+ */
656
+ halt_if_equals?: string;
657
+ /**
658
+ * Fanout only — number of auto-named perspectives (2–5).
659
+ */
660
+ count?: number;
661
+ /**
662
+ * Fanout only — rounds of perspective turns (default 1, max 3).
663
+ */
664
+ rounds?: number;
665
+ /**
666
+ * Fanout only — explicit perspective objects; overrides count.
667
+ */
668
+ perspectives?: Array<{
669
+ name?: string;
670
+ prompt?: string;
671
+ ai_provider_id?: string;
672
+ model?: string;
673
+ }>;
674
+ }>;
661
675
  } | null;
662
676
  /**
663
677
  * Maximum number of recent messages included in the context window. Null means no limit.
@@ -724,7 +738,7 @@ type UpdateAgentRequest = {
724
738
  };
725
739
  } | null;
726
740
  /**
727
- * Deep-thinking configuration. `effort` forwards provider-native reasoning; `mode: reflect` critiques and revises; `mode: debate` runs multiple perspectives then synthesizes.
741
+ * Deep-thinking configuration. `effort` forwards provider-native reasoning; `mode: pipeline` runs an ordered list of reasoning steps after the base draft. reflect and debate are expressed as pipelines — see the Agents module docs.
728
742
  */
729
743
  reasoning?: {
730
744
  /**
@@ -732,56 +746,63 @@ type UpdateAgentRequest = {
732
746
  */
733
747
  effort?: 'low' | 'medium' | 'high';
734
748
  /**
735
- * Orchestrated reasoning strategy. `reflect` drafts, critiques, and revises. `debate` runs multiple perspectives then synthesizes.
749
+ * Orchestrated reasoning strategy. `pipeline` runs an ordered list of reasoning steps after the base draft.
736
750
  */
737
- mode?: 'none' | 'reflect' | 'debate';
751
+ mode?: 'none' | 'pipeline';
738
752
  /**
739
- * Reflect only — overrides for the critique pass.
753
+ * Pipeline only — ordered reasoning steps run after the base draft. The output step (`output: true`, else the last) produces the final answer. Prompts support `{question}`, `{draft}`, and `{steps.<name>}`. reflect and debate are expressed as step configs — see the Agents module docs.
740
754
  */
741
- critique?: {
755
+ steps?: Array<{
742
756
  /**
743
- * AI provider override for the critique call. Must belong to the agent's project.
757
+ * Unique step name; referenced as `{steps.<name>}`.
744
758
  */
745
- ai_provider_id?: string;
759
+ name: string;
746
760
  /**
747
- * Model override for the critique call.
761
+ * `completion` (default) runs one call; `fanout` runs N perspectives over rounds.
748
762
  */
749
- model?: string;
763
+ kind?: 'completion' | 'fanout';
750
764
  /**
751
- * Replaces the default critique instructions.
765
+ * Prompt template supporting `{question}`, `{draft}`, and `{steps.<name>}`.
752
766
  */
753
- prompt?: string;
754
- };
755
- /**
756
- * Debate only — number of auto-generated perspectives (2–5) or an array of explicit perspective objects.
757
- */
758
- perspectives?: number | Array<{
759
- name?: string;
760
- prompt?: string;
761
- ai_provider_id?: string;
762
- model?: string;
763
- }>;
764
- /**
765
- * Debate only — rounds of perspective turns. Default 1, max 3.
766
- */
767
- max_rounds?: number;
768
- /**
769
- * Debate only — override triple for the synthesis pass.
770
- */
771
- synthesis?: {
767
+ prompt: string;
772
768
  /**
773
- * AI provider override for the synthesis call. Must belong to the agent's project.
769
+ * AI provider override for this step. Must belong to the agent's project.
774
770
  */
775
771
  ai_provider_id?: string;
776
772
  /**
777
- * Model override for the synthesis call.
773
+ * Model override for this step.
778
774
  */
779
775
  model?: string;
780
776
  /**
781
- * Replaces the default synthesis instructions.
777
+ * Sampling temperature for this step.
782
778
  */
783
- prompt?: string;
784
- };
779
+ temperature?: number;
780
+ /**
781
+ * Marks the step whose output is the final answer (else the last step).
782
+ */
783
+ output?: boolean;
784
+ /**
785
+ * If the step output equals this string, halt the pipeline and keep the draft.
786
+ */
787
+ halt_if_equals?: string;
788
+ /**
789
+ * Fanout only — number of auto-named perspectives (2–5).
790
+ */
791
+ count?: number;
792
+ /**
793
+ * Fanout only — rounds of perspective turns (default 1, max 3).
794
+ */
795
+ rounds?: number;
796
+ /**
797
+ * Fanout only — explicit perspective objects; overrides count.
798
+ */
799
+ perspectives?: Array<{
800
+ name?: string;
801
+ prompt?: string;
802
+ ai_provider_id?: string;
803
+ model?: string;
804
+ }>;
805
+ }>;
785
806
  } | null;
786
807
  /**
787
808
  * Maximum number of recent messages included in the context window. Null means no limit.
@@ -834,54 +855,61 @@ type CreateAgentGenerationRequest = {
834
855
  /**
835
856
  * Orchestrated reasoning strategy for this generation.
836
857
  */
837
- mode?: 'none' | 'reflect' | 'debate';
858
+ mode?: 'none' | 'pipeline';
838
859
  /**
839
- * Reflect only — overrides for the critique pass.
860
+ * Pipeline only — ordered reasoning steps for this generation. The output step (`output: true`, else the last) produces the final answer. Prompts support `{question}`, `{draft}`, and `{steps.<name>}`.
840
861
  */
841
- critique?: {
862
+ steps?: Array<{
842
863
  /**
843
- * AI provider override for the critique call. Must belong to the agent's project.
864
+ * Unique step name; referenced as `{steps.<name>}`.
844
865
  */
845
- ai_provider_id?: string;
866
+ name: string;
846
867
  /**
847
- * Model override for the critique call.
868
+ * `completion` (default) runs one call; `fanout` runs N perspectives over rounds.
848
869
  */
849
- model?: string;
870
+ kind?: 'completion' | 'fanout';
850
871
  /**
851
- * Replaces the default critique instructions.
872
+ * Prompt template supporting `{question}`, `{draft}`, and `{steps.<name>}`.
852
873
  */
853
- prompt?: string;
854
- };
855
- /**
856
- * Debate only — number of auto-generated perspectives (2–5) or an array of explicit perspective objects.
857
- */
858
- perspectives?: number | Array<{
859
- name?: string;
860
- prompt?: string;
861
- ai_provider_id?: string;
862
- model?: string;
863
- }>;
864
- /**
865
- * Debate only — rounds of perspective turns. Default 1, max 3.
866
- */
867
- max_rounds?: number;
868
- /**
869
- * Debate only — override triple for the synthesis pass.
870
- */
871
- synthesis?: {
874
+ prompt: string;
872
875
  /**
873
- * AI provider override for the synthesis call. Must belong to the agent's project.
876
+ * AI provider override for this step. Must belong to the agent's project.
874
877
  */
875
878
  ai_provider_id?: string;
876
879
  /**
877
- * Model override for the synthesis call.
880
+ * Model override for this step.
878
881
  */
879
882
  model?: string;
880
883
  /**
881
- * Replaces the default synthesis instructions.
884
+ * Sampling temperature for this step.
882
885
  */
883
- prompt?: string;
884
- };
886
+ temperature?: number;
887
+ /**
888
+ * Marks the step whose output is the final answer (else the last step).
889
+ */
890
+ output?: boolean;
891
+ /**
892
+ * If the step output equals this string, halt the pipeline and keep the draft.
893
+ */
894
+ halt_if_equals?: string;
895
+ /**
896
+ * Fanout only — number of auto-named perspectives (2–5).
897
+ */
898
+ count?: number;
899
+ /**
900
+ * Fanout only — rounds of perspective turns (default 1, max 3).
901
+ */
902
+ rounds?: number;
903
+ /**
904
+ * Fanout only — explicit perspective objects; overrides count.
905
+ */
906
+ perspectives?: Array<{
907
+ name?: string;
908
+ prompt?: string;
909
+ ai_provider_id?: string;
910
+ model?: string;
911
+ }>;
912
+ }>;
885
913
  } | null;
886
914
  };
887
915
  type ToolOutputMessageContent = {
@@ -1281,6 +1309,36 @@ type IngestedDocumentRecord = DocumentRecord & {
1281
1309
  */
1282
1310
  chunk_count?: number;
1283
1311
  };
1312
+ type DocumentStatusRecord = {
1313
+ /**
1314
+ * Document ID
1315
+ */
1316
+ id?: string;
1317
+ /**
1318
+ * Ingestion lifecycle state.
1319
+ */
1320
+ status?: 'pending' | 'processing' | 'ready' | 'failed';
1321
+ /**
1322
+ * Number of chunks **currently indexed** for this document (a live count). Grows while `status=processing` and equals the final total once `ready`; `0` while `pending`.
1323
+ */
1324
+ chunk_count?: number;
1325
+ /**
1326
+ * Planned total number of chunks, known once chunking begins. `null` until then. Used as the denominator for `progress`.
1327
+ */
1328
+ total_chunks?: number | null;
1329
+ /**
1330
+ * Number of source pages extracted. Only known after extraction, so it is `null` until `status` is `ready` or `failed` (not the same as zero pages).
1331
+ */
1332
+ total_pages?: number | null;
1333
+ /**
1334
+ * Ingestion progress as a percentage (`chunk_count / total_chunks`). `0` while `pending`, climbs while `processing` (capped at 99), `100` when `ready`, and `null` when `failed` or not yet computable.
1335
+ */
1336
+ progress?: number | null;
1337
+ /**
1338
+ * Failure reason when `status` is `failed` (e.g. `FILE_PARSE_FAILED`, `INGESTION_TIMEOUT`).
1339
+ */
1340
+ error?: string | null;
1341
+ };
1284
1342
  /**
1285
1343
  * Response containing generated embeddings. Fields present depend on whether `input` or `inputs` was provided.
1286
1344
  */
@@ -1304,13 +1362,13 @@ type UploadFileBase64Request = {
1304
1362
  */
1305
1363
  content: string;
1306
1364
  /**
1307
- * Name of the file
1365
+ * Directory within the project (e.g. /documents). Optional; defaults to / (root).
1308
1366
  */
1309
- filename?: string;
1367
+ prefix?: string;
1310
1368
  /**
1311
- * Logical path within the project (e.g. /images/logo.png). Defaults to /filename if omitted.
1369
+ * Original / download name and the key's leaf segment.
1312
1370
  */
1313
- path?: string;
1371
+ filename?: string;
1314
1372
  /**
1315
1373
  * MIME type of the file
1316
1374
  */
@@ -1320,31 +1378,31 @@ type UploadFileBase64Request = {
1320
1378
  */
1321
1379
  metadata?: string;
1322
1380
  };
1323
- type UploadTokenRequest = {
1381
+ type PresignedUrlRequest = {
1324
1382
  /**
1325
1383
  * Public ID of the project
1326
1384
  */
1327
1385
  project_id: string;
1328
1386
  /**
1329
- * Name of the file to be uploaded
1387
+ * Directory within the project (e.g. /documents). Optional; defaults to / (root).
1388
+ */
1389
+ prefix?: string;
1390
+ /**
1391
+ * Original / download name and the key's leaf segment.
1330
1392
  */
1331
1393
  filename?: string;
1332
1394
  /**
1333
1395
  * MIME type of the file to be uploaded
1334
1396
  */
1335
1397
  content_type?: string;
1336
- /**
1337
- * Logical path within the project (e.g. /documents/report.pdf). Defaults to /filename if omitted.
1338
- */
1339
- path?: string;
1340
1398
  };
1341
- type UploadTokenResponse = {
1399
+ type PresignedUrlResponse = {
1342
1400
  /**
1343
1401
  * Single-use token value
1344
1402
  */
1345
1403
  upload_token?: string;
1346
1404
  /**
1347
- * Relative URL to POST the file content to
1405
+ * Fully-qualified URL to POST the file content to (absolute when SOAT_BASE_URL is configured, relative otherwise).
1348
1406
  */
1349
1407
  upload_url?: string;
1350
1408
  /**
@@ -1358,7 +1416,7 @@ type UploadFileWithTokenRequest = {
1358
1416
  */
1359
1417
  content: string;
1360
1418
  /**
1361
- * Name of the file (overrides the token's filename)
1419
+ * Original / download name (overrides the token's filename)
1362
1420
  */
1363
1421
  filename?: string;
1364
1422
  /**
@@ -1379,13 +1437,17 @@ type FileRecord = {
1379
1437
  */
1380
1438
  id?: string;
1381
1439
  /**
1382
- * Logical path of the file within the project (e.g. /images/logo.png)
1440
+ * Directory of the file (the `path` without its last segment). Read-only — set it via `prefix` on write.
1383
1441
  */
1384
- path?: string | null;
1442
+ readonly prefix?: string;
1385
1443
  /**
1386
- * Name of the file
1444
+ * Original / download name and the key's leaf segment.
1387
1445
  */
1388
1446
  filename?: string;
1447
+ /**
1448
+ * Full key of the file within the project — `prefix` + `/` + `filename` (e.g. /images/logo.png). Read-only; unique per project; the file's identity and policy-SRN target.
1449
+ */
1450
+ readonly path?: string | null;
1389
1451
  /**
1390
1452
  * MIME type of the file
1391
1453
  */
@@ -1394,14 +1456,6 @@ type FileRecord = {
1394
1456
  * File size in bytes
1395
1457
  */
1396
1458
  size?: number;
1397
- /**
1398
- * Storage backend type
1399
- */
1400
- storage_type?: 'local' | 's3' | 'gcs';
1401
- /**
1402
- * Path where the file is stored
1403
- */
1404
- storage_path?: string;
1405
1459
  /**
1406
1460
  * JSON string with additional metadata
1407
1461
  */
@@ -1621,7 +1675,7 @@ type AgentResourceProperties = {
1621
1675
  };
1622
1676
  } | null;
1623
1677
  /**
1624
- * Deep-thinking configuration. `effort` forwards provider-native reasoning; `mode: reflect` critiques and revises; `mode: debate` runs multiple perspectives then synthesizes.
1678
+ * Deep-thinking configuration. `effort` forwards provider-native reasoning; `mode: pipeline` runs an ordered list of reasoning steps after the base draft. reflect and debate are expressed as pipelines — see the Agents module docs.
1625
1679
  */
1626
1680
  reasoning?: {
1627
1681
  /**
@@ -1631,54 +1685,61 @@ type AgentResourceProperties = {
1631
1685
  /**
1632
1686
  * Orchestrated reasoning strategy.
1633
1687
  */
1634
- mode?: 'none' | 'reflect' | 'debate';
1688
+ mode?: 'none' | 'pipeline';
1635
1689
  /**
1636
- * Reflect only — overrides for the critique pass.
1690
+ * Pipeline only — ordered reasoning steps run after the base draft. The output step (`output: true`, else the last) produces the final answer.
1637
1691
  */
1638
- critique?: {
1692
+ steps?: Array<{
1639
1693
  /**
1640
- * AI provider override for the critique call. Must belong to the agent's project.
1694
+ * Unique step name; referenced as `{steps.<name>}`.
1641
1695
  */
1642
- ai_provider_id?: string;
1696
+ name: string;
1643
1697
  /**
1644
- * Model override for the critique call.
1698
+ * `completion` (default) runs one call; `fanout` runs N perspectives over rounds.
1645
1699
  */
1646
- model?: string;
1700
+ kind?: 'completion' | 'fanout';
1647
1701
  /**
1648
- * Replaces the default critique instructions.
1702
+ * Prompt template supporting `{question}`, `{draft}`, and `{steps.<name>}`.
1649
1703
  */
1650
- prompt?: string;
1651
- };
1652
- /**
1653
- * Debate only — number of auto-generated perspectives (2–5) or an array of explicit perspective objects.
1654
- */
1655
- perspectives?: number | Array<{
1656
- name?: string;
1657
- prompt?: string;
1658
- ai_provider_id?: string;
1659
- model?: string;
1660
- }>;
1661
- /**
1662
- * Debate only — rounds of perspective turns. Default 1, max 3.
1663
- */
1664
- max_rounds?: number;
1665
- /**
1666
- * Debate only — override triple for the synthesis pass.
1667
- */
1668
- synthesis?: {
1704
+ prompt: string;
1669
1705
  /**
1670
- * AI provider override for the synthesis call. Must belong to the agent's project.
1706
+ * AI provider override for this step. Must belong to the agent's project.
1671
1707
  */
1672
1708
  ai_provider_id?: string;
1673
1709
  /**
1674
- * Model override for the synthesis call.
1710
+ * Model override for this step.
1675
1711
  */
1676
1712
  model?: string;
1677
1713
  /**
1678
- * Replaces the default synthesis instructions.
1714
+ * Sampling temperature for this step.
1679
1715
  */
1680
- prompt?: string;
1681
- };
1716
+ temperature?: number;
1717
+ /**
1718
+ * Marks the step whose output is the final answer (else the last step).
1719
+ */
1720
+ output?: boolean;
1721
+ /**
1722
+ * If the step output equals this string, halt the pipeline and keep the draft.
1723
+ */
1724
+ halt_if_equals?: string;
1725
+ /**
1726
+ * Fanout only — number of auto-named perspectives (2–5).
1727
+ */
1728
+ count?: number;
1729
+ /**
1730
+ * Fanout only — rounds of perspective turns (default 1, max 3).
1731
+ */
1732
+ rounds?: number;
1733
+ /**
1734
+ * Fanout only — explicit perspective objects; overrides count.
1735
+ */
1736
+ perspectives?: Array<{
1737
+ name?: string;
1738
+ prompt?: string;
1739
+ ai_provider_id?: string;
1740
+ model?: string;
1741
+ }>;
1742
+ }>;
1682
1743
  } | null;
1683
1744
  };
1684
1745
  /**
@@ -1962,19 +2023,11 @@ type ConversationResourceProperties = {
1962
2023
  */
1963
2024
  type FileResourceProperties = {
1964
2025
  /**
1965
- * Storage backend type
1966
- */
1967
- storage_type: 'local' | 's3' | 'gcs';
1968
- /**
1969
- * Path where the file is stored in the storage backend
2026
+ * Directory within the project. Optional; defaults to / (root). Combined with filename to form the file's key (path).
1970
2027
  */
1971
- storage_path: string;
2028
+ prefix?: string | null;
1972
2029
  /**
1973
- * Logical path of the file within the project
1974
- */
1975
- path?: string | null;
1976
- /**
1977
- * Name of the file
2030
+ * Original / download name and the key's leaf segment.
1978
2031
  */
1979
2032
  filename?: string | null;
1980
2033
  /**
@@ -2197,7 +2250,7 @@ type Generation = {
2197
2250
  */
2198
2251
  trace_id?: string;
2199
2252
  /**
2200
- * Public ID of the generation that triggered this one. Set for debate perspective/synthesis child generations and sub-agent invocations alike. Null for top-level generations.
2253
+ * Public ID of the generation that triggered this one. Set for reasoning pipeline child generations and sub-agent invocations alike. Null for top-level generations.
2201
2254
  *
2202
2255
  */
2203
2256
  initiator_generation_id?: string | null;
@@ -3197,7 +3250,7 @@ type TraceTreeNode = {
3197
3250
  */
3198
3251
  children?: Array<TraceTreeNode>;
3199
3252
  /**
3200
- * Generations that belong to this trace node. Only present when `include=generations` is requested. Includes top-level generations and debate child generations (perspective turns and synthesis steps) linked via `initiator_generation_id`.
3253
+ * Generations that belong to this trace node. Only present when `include=generations` is requested. Includes top-level generations and reasoning pipeline child generations (steps and perspective turns) linked via `initiator_generation_id`.
3201
3254
  *
3202
3255
  */
3203
3256
  generations?: Array<Generation>;
@@ -3285,6 +3338,39 @@ type DeliveryListResponse = {
3285
3338
  limit?: number;
3286
3339
  offset?: number;
3287
3340
  };
3341
+ /**
3342
+ * Stored file metadata
3343
+ */
3344
+ type FileRecordWritable = {
3345
+ /**
3346
+ * Unique file identifier
3347
+ */
3348
+ id?: string;
3349
+ /**
3350
+ * Original / download name and the key's leaf segment.
3351
+ */
3352
+ filename?: string;
3353
+ /**
3354
+ * MIME type of the file
3355
+ */
3356
+ contentType?: string;
3357
+ /**
3358
+ * File size in bytes
3359
+ */
3360
+ size?: number;
3361
+ /**
3362
+ * JSON string with additional metadata
3363
+ */
3364
+ metadata?: string;
3365
+ /**
3366
+ * Creation timestamp
3367
+ */
3368
+ created_at?: Date;
3369
+ /**
3370
+ * Last update timestamp
3371
+ */
3372
+ updated_at?: Date;
3373
+ };
3288
3374
  /**
3289
3375
  * Public ID of the orchestration (orch_...)
3290
3376
  */
@@ -5080,6 +5166,10 @@ type IngestDocumentErrors = {
5080
5166
  * Forbidden
5081
5167
  */
5082
5168
  403: ErrorResponse;
5169
+ /**
5170
+ * The file is too large to ingest synchronously (`?async=false`). Retry in async mode and poll the document status.
5171
+ */
5172
+ 413: ErrorResponse;
5083
5173
  };
5084
5174
  type IngestDocumentError = IngestDocumentErrors[keyof IngestDocumentErrors];
5085
5175
  type IngestDocumentResponses = {
@@ -5217,6 +5307,98 @@ type UpdateDocumentResponses = {
5217
5307
  200: DocumentRecord;
5218
5308
  };
5219
5309
  type UpdateDocumentResponse = UpdateDocumentResponses[keyof UpdateDocumentResponses];
5310
+ type GetDocumentStatusData = {
5311
+ body?: never;
5312
+ path: {
5313
+ /**
5314
+ * Document ID
5315
+ */
5316
+ document_id: string;
5317
+ };
5318
+ query?: never;
5319
+ url: '/api/v1/documents/{document_id}/status';
5320
+ };
5321
+ type GetDocumentStatusErrors = {
5322
+ /**
5323
+ * Unauthorized
5324
+ */
5325
+ 401: ErrorResponse;
5326
+ /**
5327
+ * Forbidden
5328
+ */
5329
+ 403: ErrorResponse;
5330
+ /**
5331
+ * Document not found
5332
+ */
5333
+ 404: ErrorResponse;
5334
+ };
5335
+ type GetDocumentStatusError = GetDocumentStatusErrors[keyof GetDocumentStatusErrors];
5336
+ type GetDocumentStatusResponses = {
5337
+ /**
5338
+ * Document ingestion status
5339
+ */
5340
+ 200: DocumentStatusRecord;
5341
+ };
5342
+ type GetDocumentStatusResponse = GetDocumentStatusResponses[keyof GetDocumentStatusResponses];
5343
+ type ReingestDocumentData = {
5344
+ body?: {
5345
+ /**
5346
+ * How to split the source into chunks. Defaults to `page`.
5347
+ */
5348
+ chunk_strategy?: 'page' | 'whole' | 'size';
5349
+ /**
5350
+ * Window size in characters when `chunk_strategy=size`. Defaults to 1000.
5351
+ */
5352
+ chunk_size?: number;
5353
+ /**
5354
+ * Overlap in characters between consecutive windows when `chunk_strategy=size`. Defaults to 200.
5355
+ */
5356
+ chunk_overlap?: number;
5357
+ };
5358
+ path: {
5359
+ /**
5360
+ * Document ID
5361
+ */
5362
+ document_id: string;
5363
+ };
5364
+ query?: {
5365
+ /**
5366
+ * When omitted or `true` (default), processing runs in the background and `202 Accepted` is returned immediately with `status=pending`. Pass `false` to run synchronously and receive `201 Created` with `status=ready`.
5367
+ */
5368
+ async?: boolean;
5369
+ };
5370
+ url: '/api/v1/documents/{document_id}/ingest';
5371
+ };
5372
+ type ReingestDocumentErrors = {
5373
+ /**
5374
+ * Unauthorized
5375
+ */
5376
+ 401: ErrorResponse;
5377
+ /**
5378
+ * Forbidden
5379
+ */
5380
+ 403: ErrorResponse;
5381
+ /**
5382
+ * Document not found
5383
+ */
5384
+ 404: ErrorResponse;
5385
+ /**
5386
+ * The file is too large to re-ingest synchronously (`?async=false`). Retry in async mode.
5387
+ */
5388
+ 413: ErrorResponse;
5389
+ };
5390
+ type ReingestDocumentError = ReingestDocumentErrors[keyof ReingestDocumentErrors];
5391
+ type ReingestDocumentResponses = {
5392
+ /**
5393
+ * Re-ingestion completed synchronously (only when `?async=false`).
5394
+ */
5395
+ 201: IngestedDocumentRecord;
5396
+ /**
5397
+ * Re-ingestion accepted. The document was reset to `status=pending` and processing runs in the background. Poll `GET /api/v1/documents/{document_id}/status`.
5398
+ */
5399
+ 202: IngestedDocumentRecord;
5400
+ };
5401
+ type ReingestDocumentResponse = ReingestDocumentResponses[keyof ReingestDocumentResponses];
5220
5402
  type GetDocumentTagsData = {
5221
5403
  body?: never;
5222
5404
  path: {
@@ -5408,11 +5590,11 @@ type CreateFileData = {
5408
5590
  */
5409
5591
  project_id?: string;
5410
5592
  /**
5411
- * Logical path within the project (e.g. /images/logo.png). Defaults to /filename if omitted.
5593
+ * Directory within the project (e.g. /images). Optional; defaults to / (root). Combined with filename to form the file's key (path).
5412
5594
  */
5413
- path?: string;
5595
+ prefix?: string;
5414
5596
  /**
5415
- * Name of the file
5597
+ * Original / download name and the key's leaf segment (e.g. logo.png).
5416
5598
  */
5417
5599
  filename?: string;
5418
5600
  /**
@@ -5423,14 +5605,6 @@ type CreateFileData = {
5423
5605
  * File size in bytes
5424
5606
  */
5425
5607
  size?: number;
5426
- /**
5427
- * Storage backend type
5428
- */
5429
- storage_type: 'local' | 's3' | 'gcs';
5430
- /**
5431
- * Path where the file is stored
5432
- */
5433
- storage_path: string;
5434
5608
  /**
5435
5609
  * JSON string with additional metadata
5436
5610
  */
@@ -5464,6 +5638,14 @@ type UploadFileData = {
5464
5638
  * Project ID to associate the file with. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
5465
5639
  */
5466
5640
  project_id?: string;
5641
+ /**
5642
+ * Directory within the project (e.g. /images). Optional; defaults to / (root).
5643
+ */
5644
+ prefix?: string;
5645
+ /**
5646
+ * Original / download name. Optional; defaults to the uploaded file's name.
5647
+ */
5648
+ filename?: string;
5467
5649
  /**
5468
5650
  * Additional metadata as a JSON string
5469
5651
  */
@@ -5523,13 +5705,13 @@ type UploadFileBase64Responses = {
5523
5705
  201: FileRecord;
5524
5706
  };
5525
5707
  type UploadFileBase64Response = UploadFileBase64Responses[keyof UploadFileBase64Responses];
5526
- type CreateUploadTokenData = {
5527
- body: UploadTokenRequest;
5708
+ type CreatePresignedUrlData = {
5709
+ body: PresignedUrlRequest;
5528
5710
  path?: never;
5529
5711
  query?: never;
5530
- url: '/api/v1/files/upload-token';
5712
+ url: '/api/v1/files/presigned-url';
5531
5713
  };
5532
- type CreateUploadTokenErrors = {
5714
+ type CreatePresignedUrlErrors = {
5533
5715
  /**
5534
5716
  * Missing or invalid project
5535
5717
  */
@@ -5543,14 +5725,14 @@ type CreateUploadTokenErrors = {
5543
5725
  */
5544
5726
  403: ErrorResponse;
5545
5727
  };
5546
- type CreateUploadTokenError = CreateUploadTokenErrors[keyof CreateUploadTokenErrors];
5547
- type CreateUploadTokenResponses = {
5728
+ type CreatePresignedUrlError = CreatePresignedUrlErrors[keyof CreatePresignedUrlErrors];
5729
+ type CreatePresignedUrlResponses = {
5548
5730
  /**
5549
- * Upload token created successfully
5731
+ * Presigned URL created successfully
5550
5732
  */
5551
- 201: UploadTokenResponse;
5733
+ 201: PresignedUrlResponse;
5552
5734
  };
5553
- type CreateUploadTokenResponse = CreateUploadTokenResponses[keyof CreateUploadTokenResponses];
5735
+ type CreatePresignedUrlResponse = CreatePresignedUrlResponses[keyof CreatePresignedUrlResponses];
5554
5736
  type UploadFileWithTokenData = {
5555
5737
  body: UploadFileWithTokenRequest;
5556
5738
  path: {
@@ -5686,7 +5868,11 @@ type UpdateFileMetadataData = {
5686
5868
  */
5687
5869
  metadata?: string;
5688
5870
  /**
5689
- * New filename for the file
5871
+ * New directory — moves the file. The resulting path (prefix + filename) must be unique within the project.
5872
+ */
5873
+ prefix?: string;
5874
+ /**
5875
+ * New filename — renames the key's leaf and the download name.
5690
5876
  */
5691
5877
  filename?: string;
5692
5878
  };
@@ -5712,6 +5898,10 @@ type UpdateFileMetadataErrors = {
5712
5898
  * File not found
5713
5899
  */
5714
5900
  404: ErrorResponse;
5901
+ /**
5902
+ * A file already exists at the target path in this project
5903
+ */
5904
+ 409: ErrorResponse;
5715
5905
  };
5716
5906
  type UpdateFileMetadataError = UpdateFileMetadataErrors[keyof UpdateFileMetadataErrors];
5717
5907
  type UpdateFileMetadataResponses = {
@@ -6171,7 +6361,7 @@ type ListGenerationsData = {
6171
6361
  */
6172
6362
  trace_id?: string;
6173
6363
  /**
6174
- * Filter by the public ID of the parent generation. Returns all generations triggered by that generation — debate perspective turns, synthesis steps, and sub-agent invocations. Null-initiated (top-level) generations are not returned.
6364
+ * Filter by the public ID of the parent generation. Returns all generations triggered by that generation — reasoning pipeline steps and perspective turns, and sub-agent invocations. Null-initiated (top-level) generations are not returned.
6175
6365
  *
6176
6366
  */
6177
6367
  initiator_generation_id?: string;
@@ -8258,7 +8448,7 @@ type GetTraceTreeData = {
8258
8448
  };
8259
8449
  query?: {
8260
8450
  /**
8261
- * Comma-separated list of related resources to embed on each node. Supported value: `generations` — attaches all generations that belong to each trace node (including debate perspective/synthesis children linked via `initiator_generation_id`).
8451
+ * Comma-separated list of related resources to embed on each node. Supported value: `generations` — attaches all generations that belong to each trace node (including reasoning pipeline children linked via `initiator_generation_id`).
8262
8452
  *
8263
8453
  */
8264
8454
  include?: string;
@@ -9106,6 +9296,30 @@ declare class Documents {
9106
9296
  * Updates document content, title, path, metadata, or tags. Supplying `path` moves the document to a new logical path within the project.
9107
9297
  */
9108
9298
  static updateDocument<ThrowOnError extends boolean = false>(options: Options<UpdateDocumentData, ThrowOnError>): RequestResult<UpdateDocumentResponses, UpdateDocumentErrors, ThrowOnError>;
9299
+ /**
9300
+ * Get document ingestion status
9301
+ *
9302
+ * Returns a lightweight ingestion status payload for polling — `status`,
9303
+ * `chunk_count`, `total_pages`, and (when failed) `error`. Unlike
9304
+ * `GET /documents/{document_id}`, it never returns the assembled chunk
9305
+ * content, so it is cheap to poll on large documents. A document whose
9306
+ * ingestion has stalled (no progress past the configured timeout) is
9307
+ * transitioned to `failed` with `error=INGESTION_TIMEOUT` on read.
9308
+ *
9309
+ */
9310
+ static getDocumentStatus<ThrowOnError extends boolean = false>(options: Options<GetDocumentStatusData, ThrowOnError>): RequestResult<GetDocumentStatusResponses, GetDocumentStatusErrors, ThrowOnError>;
9311
+ /**
9312
+ * Re-ingest an existing document
9313
+ *
9314
+ * Re-runs ingestion for an existing document against its already-stored
9315
+ * source file. Existing chunks are discarded and the document is reset to
9316
+ * `status=pending` before re-processing. Use this to recover a document
9317
+ * stuck in `processing`/`failed` or to re-chunk with a different strategy
9318
+ * without re-uploading the file. Async by default (`202`); pass
9319
+ * `?async=false` to run synchronously (`201`).
9320
+ *
9321
+ */
9322
+ static reingestDocument<ThrowOnError extends boolean = false>(options: Options<ReingestDocumentData, ThrowOnError>): RequestResult<ReingestDocumentResponses, ReingestDocumentErrors, ThrowOnError>;
9109
9323
  /**
9110
9324
  * Get document tags
9111
9325
  *
@@ -9162,15 +9376,15 @@ declare class Files {
9162
9376
  */
9163
9377
  static uploadFileBase64<ThrowOnError extends boolean = false>(options: Options<UploadFileBase64Data, ThrowOnError>): RequestResult<UploadFileBase64Responses, UploadFileBase64Errors, ThrowOnError>;
9164
9378
  /**
9165
- * Request a file upload token
9379
+ * Create a presigned upload URL
9166
9380
  *
9167
- * Creates a short-lived, single-use upload token — the local-storage equivalent of an S3 presigned URL. The client then uploads the file content directly to the returned `upload_url` via `POST /api/v1/files/upload/{token}`, bypassing MCP payload size limits.
9381
+ * Creates a short-lived, single-use presigned upload URL — the local-storage equivalent of an S3 presigned URL. The client then uploads the file content directly to the returned `upload_url` via `POST /api/v1/files/upload/{token}`, bypassing MCP payload size limits. When the server is configured with `SOAT_BASE_URL`, `upload_url` is a fully-qualified absolute URL so MCP agents and other clients can POST to it without knowing the server base URL in advance.
9168
9382
  */
9169
- static createUploadToken<ThrowOnError extends boolean = false>(options: Options<CreateUploadTokenData, ThrowOnError>): RequestResult<CreateUploadTokenResponses, CreateUploadTokenErrors, ThrowOnError>;
9383
+ static createPresignedUrl<ThrowOnError extends boolean = false>(options: Options<CreatePresignedUrlData, ThrowOnError>): RequestResult<CreatePresignedUrlResponses, CreatePresignedUrlErrors, ThrowOnError>;
9170
9384
  /**
9171
9385
  * Upload a file using an upload token
9172
9386
  *
9173
- * Uploads file content authorized by a single-use token from `POST /api/v1/files/upload-token`. No bearer credential is required — the token is the credential. Accepts either multipart/form-data (field `file`) or JSON with a base64-encoded `content` field. Excluded from the MCP tool surface; clients call it directly over HTTP.
9387
+ * Uploads file content authorized by a single-use token from `POST /api/v1/files/presigned-url`. No bearer credential is required — the token is the credential. Accepts either multipart/form-data (field `file`) or JSON with a base64-encoded `content` field. Excluded from the MCP tool surface; clients call it directly over HTTP.
9174
9388
  */
9175
9389
  static uploadFileWithToken<ThrowOnError extends boolean = false>(options: Options<UploadFileWithTokenData, ThrowOnError>): RequestResult<UploadFileWithTokenResponses, UploadFileWithTokenErrors, ThrowOnError>;
9176
9390
  /**
@@ -9843,4 +10057,4 @@ declare class SoatClient {
9843
10057
  }?: SoatClientOptions);
9844
10058
  }
9845
10059
  //#endregion
9846
- export { type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentId, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateUploadTokenData, type CreateUploadTokenError, type CreateUploadTokenErrors, type CreateUploadTokenResponse, type CreateUploadTokenResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type FileRecord, type FileResourceProperties, Files, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetProjectData, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type ProjectRecord, Projects, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequiredAction, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type Tool, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UploadTokenRequest, type UploadTokenResponse, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };
10060
+ export { type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentId, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreatePresignedUrlData, type CreatePresignedUrlError, type CreatePresignedUrlErrors, type CreatePresignedUrlResponse, type CreatePresignedUrlResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, type DocumentStatusRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentStatusData, type GetDocumentStatusError, type GetDocumentStatusErrors, type GetDocumentStatusResponse, type GetDocumentStatusResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetProjectData, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type PresignedUrlRequest, type PresignedUrlResponse, type ProjectRecord, Projects, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequiredAction, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type Tool, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };