@soat/sdk 0.4.18 → 0.5.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.ts CHANGED
@@ -537,6 +537,21 @@ type Agent = {
537
537
  * Sampling temperature
538
538
  */
539
539
  temperature?: number | null;
540
+ /**
541
+ * Knowledge retrieval config injected before every generation
542
+ */
543
+ knowledge_config?: {
544
+ memory_ids?: Array<string>;
545
+ memory_tags?: Array<string>;
546
+ document_ids?: Array<string>;
547
+ document_paths?: Array<string>;
548
+ min_score?: number;
549
+ limit?: number;
550
+ /**
551
+ * Public ID of the memory the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
552
+ */
553
+ write_memory_id?: string | null;
554
+ } | null;
540
555
  created_at?: Date;
541
556
  updated_at?: Date;
542
557
  };
@@ -568,6 +583,18 @@ type CreateAgentRequest = {
568
583
  [key: string]: unknown;
569
584
  };
570
585
  temperature?: number;
586
+ knowledge_config?: {
587
+ memory_ids?: Array<string>;
588
+ memory_tags?: Array<string>;
589
+ document_ids?: Array<string>;
590
+ document_paths?: Array<string>;
591
+ min_score?: number;
592
+ limit?: number;
593
+ /**
594
+ * Public ID of the memory the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
595
+ */
596
+ write_memory_id?: string | null;
597
+ };
571
598
  };
572
599
  type UpdateAgentRequest = {
573
600
  ai_provider_id?: string;
@@ -590,6 +617,18 @@ type UpdateAgentRequest = {
590
617
  [key: string]: unknown;
591
618
  } | null;
592
619
  temperature?: number | null;
620
+ knowledge_config?: {
621
+ memory_ids?: Array<string>;
622
+ memory_tags?: Array<string>;
623
+ document_ids?: Array<string>;
624
+ document_paths?: Array<string>;
625
+ min_score?: number;
626
+ limit?: number;
627
+ /**
628
+ * Public ID of the memory the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
629
+ */
630
+ write_memory_id?: string | null;
631
+ } | null;
593
632
  };
594
633
  type CreateAgentGenerationRequest = {
595
634
  messages: Array<{
@@ -604,6 +643,14 @@ type CreateAgentGenerationRequest = {
604
643
  * Optional trace ID to group generations
605
644
  */
606
645
  trace_id?: string;
646
+ /**
647
+ * The trace ID of the parent agent generation that triggered this one (for agent-to-agent calls)
648
+ */
649
+ parent_trace_id?: string | null;
650
+ /**
651
+ * The trace ID of the root generation in the call chain; if omitted, this generation is the root
652
+ */
653
+ root_trace_id?: string | null;
607
654
  /**
608
655
  * Maximum nested agent-call depth; 0 short-circuits with a depth-guard response
609
656
  */
@@ -651,18 +698,6 @@ type AgentGenerationResponse = {
651
698
  };
652
699
  }> | null;
653
700
  };
654
- type AgentTrace = {
655
- /**
656
- * Public ID of the trace
657
- */
658
- id?: string;
659
- project_id?: string;
660
- agent_id?: string;
661
- generations?: Array<{
662
- [key: string]: unknown;
663
- }>;
664
- created_at?: Date;
665
- };
666
701
  type ApiKeyRecord = {
667
702
  /**
668
703
  * Public API key ID (key_ prefix)
@@ -1057,40 +1092,129 @@ type FileRecord = {
1057
1092
  */
1058
1093
  updated_at?: Date;
1059
1094
  };
1060
- /**
1061
- * Configuration for document retrieval. At least one of search, paths, or document_ids must be provided when creating a memory.
1062
- */
1063
- type MemoryConfig = {
1095
+ type KnowledgeResult = ({
1096
+ source_type: 'document';
1097
+ } & DocumentKnowledgeResult) | ({
1098
+ source_type: 'memory';
1099
+ } & MemoryKnowledgeResult);
1100
+ type DocumentKnowledgeResult = {
1064
1101
  /**
1065
- * Semantic search query string
1102
+ * The type of knowledge source this result comes from
1066
1103
  */
1067
- search?: string;
1104
+ source_type: 'document';
1068
1105
  /**
1069
- * Minimum relevance score threshold (only used when search is set)
1106
+ * Public ID of the document
1070
1107
  */
1071
- min_score?: number;
1108
+ document_id: string;
1072
1109
  /**
1073
- * Maximum number of documents to return
1110
+ * Public ID of the underlying file
1074
1111
  */
1075
- limit?: number;
1112
+ file_id?: string;
1113
+ /**
1114
+ * Public ID of the project the document belongs to
1115
+ */
1116
+ project_id?: string;
1117
+ /**
1118
+ * Logical path of the file within the project
1119
+ */
1120
+ path?: string;
1121
+ /**
1122
+ * Filename of the underlying file
1123
+ */
1124
+ filename?: string;
1125
+ /**
1126
+ * File size in bytes
1127
+ */
1128
+ size?: number;
1129
+ /**
1130
+ * Document title
1131
+ */
1132
+ title?: string;
1133
+ /**
1134
+ * Arbitrary metadata attached to the document
1135
+ */
1136
+ metadata?: {
1137
+ [key: string]: unknown;
1138
+ };
1139
+ /**
1140
+ * Key-value tags
1141
+ */
1142
+ tags?: {
1143
+ [key: string]: string;
1144
+ };
1145
+ /**
1146
+ * Full text content of the document
1147
+ */
1148
+ content: string | null;
1149
+ /**
1150
+ * Semantic similarity score (0–1). Only present when `query` was provided.
1151
+ */
1152
+ score?: number;
1153
+ /**
1154
+ * Creation timestamp
1155
+ */
1156
+ created_at: Date;
1157
+ /**
1158
+ * Last updated timestamp
1159
+ */
1160
+ updated_at: Date;
1161
+ };
1162
+ type MemoryKnowledgeResult = {
1163
+ /**
1164
+ * The type of knowledge source this result comes from
1165
+ */
1166
+ source_type: 'memory';
1167
+ /**
1168
+ * Public ID of the memory entry
1169
+ */
1170
+ entry_id: string;
1171
+ /**
1172
+ * Public ID of the parent memory
1173
+ */
1174
+ memory_id: string;
1175
+ /**
1176
+ * Text content of the memory entry
1177
+ */
1178
+ content: string;
1179
+ /**
1180
+ * Semantic similarity score (0–1). Only present when `query` was provided.
1181
+ */
1182
+ score?: number;
1076
1183
  /**
1077
- * Filter documents to files whose path starts with one of these prefixes
1184
+ * Creation timestamp
1078
1185
  */
1079
- paths?: Array<string>;
1186
+ created_at: Date;
1080
1187
  /**
1081
- * Filter to specific document IDs
1188
+ * Last updated timestamp
1082
1189
  */
1083
- document_ids?: Array<string>;
1190
+ updated_at: Date;
1084
1191
  };
1085
1192
  type Memory = {
1086
1193
  id?: string;
1087
1194
  project_id?: string;
1088
1195
  name?: string;
1089
1196
  description?: string | null;
1090
- config?: MemoryConfig;
1197
+ /**
1198
+ * List of tags for filtering in knowledge search
1199
+ */
1200
+ tags?: Array<string> | null;
1201
+ created_at?: Date;
1202
+ updated_at?: Date;
1203
+ };
1204
+ type MemoryEntry = {
1205
+ id?: string;
1206
+ memory_id?: string;
1207
+ content?: string;
1208
+ source?: 'manual' | 'agent' | 'extraction';
1091
1209
  created_at?: Date;
1092
1210
  updated_at?: Date;
1093
1211
  };
1212
+ type MemoryEntryWriteResult = MemoryEntry & {
1213
+ /**
1214
+ * The outcome of the write operation
1215
+ */
1216
+ action?: 'created' | 'updated' | 'skipped';
1217
+ };
1094
1218
  type PolicyStatement = {
1095
1219
  effect: 'Allow' | 'Deny';
1096
1220
  action: Array<string>;
@@ -1296,6 +1420,60 @@ type SubmitSessionToolOutputsRequest = {
1296
1420
  output: unknown;
1297
1421
  }>;
1298
1422
  };
1423
+ type Trace = {
1424
+ /**
1425
+ * Public ID of the trace
1426
+ */
1427
+ id?: string;
1428
+ /**
1429
+ * Public ID of the project
1430
+ */
1431
+ project_id?: string;
1432
+ /**
1433
+ * Public ID of the agent that produced this trace
1434
+ */
1435
+ agent_id?: string;
1436
+ /**
1437
+ * Public ID of the File containing the full serialized steps JSON. Null if the trace has not been saved yet (save is fire-and-forget).
1438
+ *
1439
+ */
1440
+ file_id?: string | null;
1441
+ /**
1442
+ * Number of steps recorded in this trace
1443
+ */
1444
+ step_count?: number;
1445
+ /**
1446
+ * Public ID of the parent trace. Null if this trace is the root (i.e., it was not triggered by a sub-agent call from another trace).
1447
+ *
1448
+ */
1449
+ parent_trace_id?: string | null;
1450
+ /**
1451
+ * Public ID of the root trace for the entire execution tree. Null if this trace is itself the root.
1452
+ *
1453
+ */
1454
+ root_trace_id?: string | null;
1455
+ created_at?: Date;
1456
+ };
1457
+ /**
1458
+ * A trace node in the execution tree, with nested children.
1459
+ */
1460
+ type TraceTreeNode = {
1461
+ /**
1462
+ * Public ID of the trace
1463
+ */
1464
+ id?: string;
1465
+ project_id?: string;
1466
+ agent_id?: string;
1467
+ file_id?: string | null;
1468
+ step_count?: number;
1469
+ parent_trace_id?: string | null;
1470
+ root_trace_id?: string | null;
1471
+ created_at?: Date;
1472
+ /**
1473
+ * Child traces triggered by sub-agent calls from this trace
1474
+ */
1475
+ children?: Array<TraceTreeNode>;
1476
+ };
1299
1477
  type UserRecord = {
1300
1478
  /**
1301
1479
  * Public user ID (usr_ prefix)
@@ -1828,78 +2006,6 @@ type UpdateAgentToolResponses = {
1828
2006
  200: AgentTool;
1829
2007
  };
1830
2008
  type UpdateAgentToolResponse = UpdateAgentToolResponses[keyof UpdateAgentToolResponses];
1831
- type ListAgentTracesData = {
1832
- body?: never;
1833
- path?: never;
1834
- query?: {
1835
- /**
1836
- * Project public ID to filter by
1837
- */
1838
- project_id?: string;
1839
- /**
1840
- * Maximum number of results to return
1841
- */
1842
- limit?: number;
1843
- /**
1844
- * Number of results to skip
1845
- */
1846
- offset?: number;
1847
- };
1848
- url: '/api/v1/agents/traces';
1849
- };
1850
- type ListAgentTracesErrors = {
1851
- /**
1852
- * Unauthorized
1853
- */
1854
- 401: ErrorResponse;
1855
- /**
1856
- * Forbidden
1857
- */
1858
- 403: ErrorResponse;
1859
- };
1860
- type ListAgentTracesError = ListAgentTracesErrors[keyof ListAgentTracesErrors];
1861
- type ListAgentTracesResponses = {
1862
- /**
1863
- * List of traces
1864
- */
1865
- 200: {
1866
- data?: Array<AgentTrace>;
1867
- total?: number;
1868
- limit?: number;
1869
- offset?: number;
1870
- };
1871
- };
1872
- type ListAgentTracesResponse = ListAgentTracesResponses[keyof ListAgentTracesResponses];
1873
- type GetAgentTraceData = {
1874
- body?: never;
1875
- path: {
1876
- trace_id: string;
1877
- };
1878
- query?: never;
1879
- url: '/api/v1/agents/traces/{trace_id}';
1880
- };
1881
- type GetAgentTraceErrors = {
1882
- /**
1883
- * Unauthorized
1884
- */
1885
- 401: ErrorResponse;
1886
- /**
1887
- * Forbidden
1888
- */
1889
- 403: ErrorResponse;
1890
- /**
1891
- * Not found
1892
- */
1893
- 404: ErrorResponse;
1894
- };
1895
- type GetAgentTraceError = GetAgentTraceErrors[keyof GetAgentTraceErrors];
1896
- type GetAgentTraceResponses = {
1897
- /**
1898
- * Trace details
1899
- */
1900
- 200: AgentTrace;
1901
- };
1902
- type GetAgentTraceResponse = GetAgentTraceResponses[keyof GetAgentTraceResponses];
1903
2009
  type ListAgentsData = {
1904
2010
  body?: never;
1905
2011
  path?: never;
@@ -3641,61 +3747,6 @@ type ReplaceDocumentTagsResponses = {
3641
3747
  };
3642
3748
  };
3643
3749
  type ReplaceDocumentTagsResponse = ReplaceDocumentTagsResponses[keyof ReplaceDocumentTagsResponses];
3644
- type SearchDocumentsData = {
3645
- body: {
3646
- /**
3647
- * Project ID (optional). Omit to search across all accessible projects.
3648
- */
3649
- project_id?: string;
3650
- /**
3651
- * Semantic search query text. Embeds the query and returns similar documents.
3652
- */
3653
- search?: string;
3654
- /**
3655
- * Minimum similarity score threshold (0-1). Results below this score are filtered out.
3656
- */
3657
- min_score?: number;
3658
- /**
3659
- * Maximum number of results to return
3660
- */
3661
- limit?: number;
3662
- /**
3663
- * Filter results to documents with these file paths
3664
- */
3665
- paths?: Array<string>;
3666
- /**
3667
- * Filter results to these specific document IDs
3668
- */
3669
- document_ids?: Array<string>;
3670
- };
3671
- path?: never;
3672
- query?: never;
3673
- url: '/api/v1/documents/search';
3674
- };
3675
- type SearchDocumentsErrors = {
3676
- /**
3677
- * Invalid request body
3678
- */
3679
- 400: ErrorResponse;
3680
- /**
3681
- * Unauthorized
3682
- */
3683
- 401: ErrorResponse;
3684
- /**
3685
- * Forbidden
3686
- */
3687
- 403: ErrorResponse;
3688
- };
3689
- type SearchDocumentsError = SearchDocumentsErrors[keyof SearchDocumentsErrors];
3690
- type SearchDocumentsResponses = {
3691
- /**
3692
- * Search results
3693
- */
3694
- 200: {
3695
- documents?: Array<DocumentRecord>;
3696
- };
3697
- };
3698
- type SearchDocumentsResponse = SearchDocumentsResponses[keyof SearchDocumentsResponses];
3699
3750
  type ListFilesData = {
3700
3751
  body?: never;
3701
3752
  path?: never;
@@ -4148,16 +4199,79 @@ type ReplaceFileTagsResponses = {
4148
4199
  };
4149
4200
  };
4150
4201
  type ReplaceFileTagsResponse = ReplaceFileTagsResponses[keyof ReplaceFileTagsResponses];
4151
- type ListMemoriesData = {
4152
- body?: never;
4153
- path?: never;
4154
- query?: {
4202
+ type SearchKnowledgeData = {
4203
+ body: {
4155
4204
  /**
4156
- * Project ID (required if not using project key auth)
4205
+ * Limit search to a specific project
4157
4206
  */
4158
4207
  project_id?: string;
4208
+ /**
4209
+ * Semantic search query text
4210
+ */
4211
+ query?: string;
4212
+ /**
4213
+ * Minimum similarity score (0–1). Results with lower scores are excluded. Only applies when `query` is provided.
4214
+ */
4215
+ min_score?: number;
4216
+ /**
4217
+ * Maximum number of results to return (default 10)
4218
+ */
4219
+ limit?: number;
4220
+ /**
4221
+ * Search entries within these specific memories
4222
+ */
4223
+ memory_ids?: Array<string>;
4224
+ /**
4225
+ * Search entries in memories whose tags match any of these patterns (glob supported)
4226
+ */
4227
+ memory_tags?: Array<string>;
4228
+ /**
4229
+ * Filter results to documents whose file path starts with one of these prefixes
4230
+ */
4231
+ document_paths?: Array<string>;
4232
+ /**
4233
+ * Filter results to specific document IDs
4234
+ */
4235
+ document_ids?: Array<string>;
4159
4236
  };
4160
- url: '/api/v1/memories';
4237
+ path?: never;
4238
+ query?: never;
4239
+ url: '/api/v1/knowledge/search';
4240
+ };
4241
+ type SearchKnowledgeErrors = {
4242
+ /**
4243
+ * Bad request — at least one search parameter is required
4244
+ */
4245
+ 400: ErrorResponse;
4246
+ /**
4247
+ * Unauthorized
4248
+ */
4249
+ 401: ErrorResponse;
4250
+ /**
4251
+ * Forbidden
4252
+ */
4253
+ 403: ErrorResponse;
4254
+ };
4255
+ type SearchKnowledgeError = SearchKnowledgeErrors[keyof SearchKnowledgeErrors];
4256
+ type SearchKnowledgeResponses = {
4257
+ /**
4258
+ * Search results
4259
+ */
4260
+ 200: {
4261
+ results: Array<KnowledgeResult>;
4262
+ };
4263
+ };
4264
+ type SearchKnowledgeResponse = SearchKnowledgeResponses[keyof SearchKnowledgeResponses];
4265
+ type ListMemoriesData = {
4266
+ body?: never;
4267
+ path?: never;
4268
+ query?: {
4269
+ /**
4270
+ * Project ID (required if not using project key auth)
4271
+ */
4272
+ project_id?: string;
4273
+ };
4274
+ url: '/api/v1/memories';
4161
4275
  };
4162
4276
  type ListMemoriesErrors = {
4163
4277
  /**
@@ -4194,7 +4308,10 @@ type CreateMemoryData = {
4194
4308
  * Optional description
4195
4309
  */
4196
4310
  description?: string;
4197
- config: MemoryConfig;
4311
+ /**
4312
+ * Optional list of tags for filtering in knowledge search
4313
+ */
4314
+ tags?: Array<string>;
4198
4315
  };
4199
4316
  path?: never;
4200
4317
  query?: never;
@@ -4301,7 +4418,10 @@ type UpdateMemoryData = {
4301
4418
  * Optional description
4302
4419
  */
4303
4420
  description?: string | null;
4304
- config?: MemoryConfig;
4421
+ /**
4422
+ * Optional list of tags for filtering in knowledge search
4423
+ */
4424
+ tags?: Array<string> | null;
4305
4425
  };
4306
4426
  path: {
4307
4427
  memory_id: string;
@@ -4334,15 +4454,15 @@ type UpdateMemoryResponses = {
4334
4454
  200: Memory;
4335
4455
  };
4336
4456
  type UpdateMemoryResponse = UpdateMemoryResponses[keyof UpdateMemoryResponses];
4337
- type SearchMemoryData = {
4338
- body?: MemoryConfig;
4457
+ type ListMemoryEntriesData = {
4458
+ body?: never;
4339
4459
  path: {
4340
4460
  memory_id: string;
4341
4461
  };
4342
4462
  query?: never;
4343
- url: '/api/v1/memories/{memory_id}/search';
4463
+ url: '/api/v1/memories/{memory_id}/entries';
4344
4464
  };
4345
- type SearchMemoryErrors = {
4465
+ type ListMemoryEntriesErrors = {
4346
4466
  /**
4347
4467
  * Unauthorized
4348
4468
  */
@@ -4360,28 +4480,178 @@ type SearchMemoryErrors = {
4360
4480
  */
4361
4481
  500: unknown;
4362
4482
  };
4363
- type SearchMemoryResponses = {
4483
+ type ListMemoryEntriesResponses = {
4364
4484
  /**
4365
- * Search results
4485
+ * List of memory entries
4366
4486
  */
4367
- 200: {
4368
- documents?: Array<{
4369
- id?: string;
4370
- file_id?: string;
4371
- project_id?: string;
4372
- filename?: string;
4373
- title?: string;
4374
- content?: string | null;
4375
- /**
4376
- * Relevance score (0-1); only present when search is used
4377
- */
4378
- score?: number;
4379
- created_at?: Date;
4380
- updated_at?: Date;
4381
- }>;
4487
+ 200: Array<MemoryEntry>;
4488
+ };
4489
+ type ListMemoryEntriesResponse = ListMemoryEntriesResponses[keyof ListMemoryEntriesResponses];
4490
+ type CreateMemoryEntryData = {
4491
+ body: {
4492
+ /**
4493
+ * The text content of the memory entry
4494
+ */
4495
+ content: string;
4496
+ /**
4497
+ * How this entry was created
4498
+ */
4499
+ source?: 'manual' | 'agent' | 'extraction';
4500
+ /**
4501
+ * Cosine similarity score at or above which the incoming content is considered a duplicate and skipped (default 0.95)
4502
+ */
4503
+ duplicate_threshold?: number;
4504
+ /**
4505
+ * Cosine similarity score at or above which the incoming content is appended to the existing entry (default 0.75)
4506
+ */
4507
+ update_threshold?: number;
4508
+ };
4509
+ path: {
4510
+ memory_id: string;
4511
+ };
4512
+ query?: never;
4513
+ url: '/api/v1/memories/{memory_id}/entries';
4514
+ };
4515
+ type CreateMemoryEntryErrors = {
4516
+ /**
4517
+ * Bad request (missing required fields)
4518
+ */
4519
+ 400: unknown;
4520
+ /**
4521
+ * Unauthorized
4522
+ */
4523
+ 401: unknown;
4524
+ /**
4525
+ * Forbidden
4526
+ */
4527
+ 403: unknown;
4528
+ /**
4529
+ * Memory not found
4530
+ */
4531
+ 404: unknown;
4532
+ /**
4533
+ * Internal server error
4534
+ */
4535
+ 500: unknown;
4536
+ };
4537
+ type CreateMemoryEntryResponses = {
4538
+ /**
4539
+ * Memory entry deduplicated (action is "skipped" or "updated")
4540
+ */
4541
+ 200: MemoryEntryWriteResult;
4542
+ /**
4543
+ * Memory entry created
4544
+ */
4545
+ 201: MemoryEntryWriteResult;
4546
+ };
4547
+ type CreateMemoryEntryResponse = CreateMemoryEntryResponses[keyof CreateMemoryEntryResponses];
4548
+ type DeleteMemoryEntryData = {
4549
+ body?: never;
4550
+ path: {
4551
+ memory_id: string;
4552
+ entry_id: string;
4382
4553
  };
4554
+ query?: never;
4555
+ url: '/api/v1/memories/{memory_id}/entries/{entry_id}';
4556
+ };
4557
+ type DeleteMemoryEntryErrors = {
4558
+ /**
4559
+ * Unauthorized
4560
+ */
4561
+ 401: unknown;
4562
+ /**
4563
+ * Forbidden
4564
+ */
4565
+ 403: unknown;
4566
+ /**
4567
+ * Memory or entry not found
4568
+ */
4569
+ 404: unknown;
4570
+ /**
4571
+ * Internal server error
4572
+ */
4573
+ 500: unknown;
4383
4574
  };
4384
- type SearchMemoryResponse = SearchMemoryResponses[keyof SearchMemoryResponses];
4575
+ type DeleteMemoryEntryResponses = {
4576
+ /**
4577
+ * Memory entry deleted
4578
+ */
4579
+ 204: void;
4580
+ };
4581
+ type DeleteMemoryEntryResponse = DeleteMemoryEntryResponses[keyof DeleteMemoryEntryResponses];
4582
+ type GetMemoryEntryData = {
4583
+ body?: never;
4584
+ path: {
4585
+ memory_id: string;
4586
+ entry_id: string;
4587
+ };
4588
+ query?: never;
4589
+ url: '/api/v1/memories/{memory_id}/entries/{entry_id}';
4590
+ };
4591
+ type GetMemoryEntryErrors = {
4592
+ /**
4593
+ * Unauthorized
4594
+ */
4595
+ 401: unknown;
4596
+ /**
4597
+ * Forbidden
4598
+ */
4599
+ 403: unknown;
4600
+ /**
4601
+ * Memory or entry not found
4602
+ */
4603
+ 404: unknown;
4604
+ /**
4605
+ * Internal server error
4606
+ */
4607
+ 500: unknown;
4608
+ };
4609
+ type GetMemoryEntryResponses = {
4610
+ /**
4611
+ * Memory entry found
4612
+ */
4613
+ 200: MemoryEntry;
4614
+ };
4615
+ type GetMemoryEntryResponse = GetMemoryEntryResponses[keyof GetMemoryEntryResponses];
4616
+ type UpdateMemoryEntryData = {
4617
+ body: {
4618
+ /**
4619
+ * Updated text content
4620
+ */
4621
+ content?: string;
4622
+ };
4623
+ path: {
4624
+ memory_id: string;
4625
+ entry_id: string;
4626
+ };
4627
+ query?: never;
4628
+ url: '/api/v1/memories/{memory_id}/entries/{entry_id}';
4629
+ };
4630
+ type UpdateMemoryEntryErrors = {
4631
+ /**
4632
+ * Unauthorized
4633
+ */
4634
+ 401: unknown;
4635
+ /**
4636
+ * Forbidden
4637
+ */
4638
+ 403: unknown;
4639
+ /**
4640
+ * Memory or entry not found
4641
+ */
4642
+ 404: unknown;
4643
+ /**
4644
+ * Internal server error
4645
+ */
4646
+ 500: unknown;
4647
+ };
4648
+ type UpdateMemoryEntryResponses = {
4649
+ /**
4650
+ * Memory entry updated
4651
+ */
4652
+ 200: MemoryEntry;
4653
+ };
4654
+ type UpdateMemoryEntryResponse = UpdateMemoryEntryResponses[keyof UpdateMemoryEntryResponses];
4385
4655
  type ListPoliciesData = {
4386
4656
  body?: never;
4387
4657
  path?: never;
@@ -5335,6 +5605,114 @@ type ReplaceSessionTagsResponses = {
5335
5605
  };
5336
5606
  };
5337
5607
  type ReplaceSessionTagsResponse = ReplaceSessionTagsResponses[keyof ReplaceSessionTagsResponses];
5608
+ type ListTracesData = {
5609
+ body?: never;
5610
+ path?: never;
5611
+ query?: {
5612
+ /**
5613
+ * Project public ID to filter by
5614
+ */
5615
+ project_id?: string;
5616
+ /**
5617
+ * Maximum number of results to return
5618
+ */
5619
+ limit?: number;
5620
+ /**
5621
+ * Number of results to skip
5622
+ */
5623
+ offset?: number;
5624
+ };
5625
+ url: '/api/v1/traces';
5626
+ };
5627
+ type ListTracesErrors = {
5628
+ /**
5629
+ * Unauthorized
5630
+ */
5631
+ 401: ErrorResponse;
5632
+ /**
5633
+ * Forbidden
5634
+ */
5635
+ 403: ErrorResponse;
5636
+ };
5637
+ type ListTracesError = ListTracesErrors[keyof ListTracesErrors];
5638
+ type ListTracesResponses = {
5639
+ /**
5640
+ * List of traces
5641
+ */
5642
+ 200: {
5643
+ data?: Array<Trace>;
5644
+ total?: number;
5645
+ limit?: number;
5646
+ offset?: number;
5647
+ };
5648
+ };
5649
+ type ListTracesResponse = ListTracesResponses[keyof ListTracesResponses];
5650
+ type GetTraceData = {
5651
+ body?: never;
5652
+ path: {
5653
+ /**
5654
+ * Public ID of the trace
5655
+ */
5656
+ trace_id: string;
5657
+ };
5658
+ query?: never;
5659
+ url: '/api/v1/traces/{trace_id}';
5660
+ };
5661
+ type GetTraceErrors = {
5662
+ /**
5663
+ * Unauthorized
5664
+ */
5665
+ 401: ErrorResponse;
5666
+ /**
5667
+ * Forbidden
5668
+ */
5669
+ 403: ErrorResponse;
5670
+ /**
5671
+ * Trace not found
5672
+ */
5673
+ 404: ErrorResponse;
5674
+ };
5675
+ type GetTraceError = GetTraceErrors[keyof GetTraceErrors];
5676
+ type GetTraceResponses = {
5677
+ /**
5678
+ * Trace details
5679
+ */
5680
+ 200: Trace;
5681
+ };
5682
+ type GetTraceResponse = GetTraceResponses[keyof GetTraceResponses];
5683
+ type GetTraceTreeData = {
5684
+ body?: never;
5685
+ path: {
5686
+ /**
5687
+ * Public ID of any trace in the tree (root or child)
5688
+ */
5689
+ trace_id: string;
5690
+ };
5691
+ query?: never;
5692
+ url: '/api/v1/traces/{trace_id}/tree';
5693
+ };
5694
+ type GetTraceTreeErrors = {
5695
+ /**
5696
+ * Unauthorized
5697
+ */
5698
+ 401: ErrorResponse;
5699
+ /**
5700
+ * Forbidden
5701
+ */
5702
+ 403: ErrorResponse;
5703
+ /**
5704
+ * Trace not found
5705
+ */
5706
+ 404: ErrorResponse;
5707
+ };
5708
+ type GetTraceTreeError = GetTraceTreeErrors[keyof GetTraceTreeErrors];
5709
+ type GetTraceTreeResponses = {
5710
+ /**
5711
+ * Trace tree rooted at the resolved root trace
5712
+ */
5713
+ 200: TraceTreeNode;
5714
+ };
5715
+ type GetTraceTreeResponse = GetTraceTreeResponses[keyof GetTraceTreeResponses];
5338
5716
  type ListUsersData = {
5339
5717
  body?: never;
5340
5718
  path?: never;
@@ -5907,20 +6285,6 @@ declare class AgentTools {
5907
6285
  */
5908
6286
  static updateAgentTool<ThrowOnError extends boolean = false>(options: Options<UpdateAgentToolData, ThrowOnError>): RequestResult<UpdateAgentToolResponses, UpdateAgentToolErrors, ThrowOnError, "fields">;
5909
6287
  }
5910
- declare class AgentTraces {
5911
- /**
5912
- * List agent traces
5913
- *
5914
- * Returns all traces for the project.
5915
- */
5916
- static listAgentTraces<ThrowOnError extends boolean = false>(options?: Options<ListAgentTracesData, ThrowOnError>): RequestResult<ListAgentTracesResponses, ListAgentTracesErrors, ThrowOnError, "fields">;
5917
- /**
5918
- * Get a trace
5919
- *
5920
- * Returns a single trace by ID.
5921
- */
5922
- static getAgentTrace<ThrowOnError extends boolean = false>(options: Options<GetAgentTraceData, ThrowOnError>): RequestResult<GetAgentTraceResponses, GetAgentTraceErrors, ThrowOnError, "fields">;
5923
- }
5924
6288
  declare class Agents {
5925
6289
  /**
5926
6290
  * List agents
@@ -6218,12 +6582,6 @@ declare class Documents {
6218
6582
  * Replaces all tags on the document with the provided tags (not merged)
6219
6583
  */
6220
6584
  static replaceDocumentTags<ThrowOnError extends boolean = false>(options: Options<ReplaceDocumentTagsData, ThrowOnError>): RequestResult<ReplaceDocumentTagsResponses, ReplaceDocumentTagsErrors, ThrowOnError, "fields">;
6221
- /**
6222
- * Semantic search over documents
6223
- *
6224
- * Searches documents using semantic search, file paths, or document IDs. At least one of search, paths, or document_ids must be provided. Returns results ordered by similarity score.
6225
- */
6226
- static searchDocuments<ThrowOnError extends boolean = false>(options: Options<SearchDocumentsData, ThrowOnError>): RequestResult<SearchDocumentsResponses, SearchDocumentsErrors, ThrowOnError, "fields">;
6227
6585
  }
6228
6586
  declare class Files {
6229
6587
  /**
@@ -6299,6 +6657,14 @@ declare class Files {
6299
6657
  */
6300
6658
  static replaceFileTags<ThrowOnError extends boolean = false>(options: Options<ReplaceFileTagsData, ThrowOnError>): RequestResult<ReplaceFileTagsResponses, ReplaceFileTagsErrors, ThrowOnError, "fields">;
6301
6659
  }
6660
+ declare class Knowledge {
6661
+ /**
6662
+ * Search knowledge
6663
+ *
6664
+ * Searches across documents and memory entries using semantic search, file paths, document IDs, or memory IDs/tags. At least one of `query`, `document_paths`, `document_ids`, `memory_ids`, or `memory_tags` must be provided.
6665
+ */
6666
+ static searchKnowledge<ThrowOnError extends boolean = false>(options: Options<SearchKnowledgeData, ThrowOnError>): RequestResult<SearchKnowledgeResponses, SearchKnowledgeErrors, ThrowOnError, "fields">;
6667
+ }
6302
6668
  declare class Memories {
6303
6669
  /**
6304
6670
  * List memories
@@ -6330,12 +6696,38 @@ declare class Memories {
6330
6696
  * Updates an existing memory configuration
6331
6697
  */
6332
6698
  static updateMemory<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryData, ThrowOnError>): RequestResult<UpdateMemoryResponses, UpdateMemoryErrors, ThrowOnError, "fields">;
6699
+ }
6700
+ declare class MemoryEntries {
6333
6701
  /**
6334
- * Search memory documents
6702
+ * List memory entries
6335
6703
  *
6336
- * Runs a document search using the memory's stored configuration, with optional field overrides in the request body
6704
+ * Returns all entries in a memory container
6337
6705
  */
6338
- static searchMemory<ThrowOnError extends boolean = false>(options: Options<SearchMemoryData, ThrowOnError>): RequestResult<SearchMemoryResponses, SearchMemoryErrors, ThrowOnError, "fields">;
6706
+ static listMemoryEntries<ThrowOnError extends boolean = false>(options: Options<ListMemoryEntriesData, ThrowOnError>): RequestResult<ListMemoryEntriesResponses, ListMemoryEntriesErrors, ThrowOnError, "fields">;
6707
+ /**
6708
+ * Create a memory entry
6709
+ *
6710
+ * Creates a new entry in the specified memory container. Automatically generates an embedding for semantic search.
6711
+ */
6712
+ static createMemoryEntry<ThrowOnError extends boolean = false>(options: Options<CreateMemoryEntryData, ThrowOnError>): RequestResult<CreateMemoryEntryResponses, CreateMemoryEntryErrors, ThrowOnError, "fields">;
6713
+ /**
6714
+ * Delete a memory entry
6715
+ *
6716
+ * Deletes a memory entry
6717
+ */
6718
+ static deleteMemoryEntry<ThrowOnError extends boolean = false>(options: Options<DeleteMemoryEntryData, ThrowOnError>): RequestResult<DeleteMemoryEntryResponses, DeleteMemoryEntryErrors, ThrowOnError, "fields">;
6719
+ /**
6720
+ * Get a memory entry
6721
+ *
6722
+ * Returns a single memory entry by ID
6723
+ */
6724
+ static getMemoryEntry<ThrowOnError extends boolean = false>(options: Options<GetMemoryEntryData, ThrowOnError>): RequestResult<GetMemoryEntryResponses, GetMemoryEntryErrors, ThrowOnError, "fields">;
6725
+ /**
6726
+ * Update a memory entry
6727
+ *
6728
+ * Updates an existing memory entry. Regenerates the embedding if content changes.
6729
+ */
6730
+ static updateMemoryEntry<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryEntryData, ThrowOnError>): RequestResult<UpdateMemoryEntryResponses, UpdateMemoryEntryErrors, ThrowOnError, "fields">;
6339
6731
  }
6340
6732
  declare class Policies {
6341
6733
  /**
@@ -6500,6 +6892,27 @@ declare class Sessions {
6500
6892
  */
6501
6893
  static replaceSessionTags<ThrowOnError extends boolean = false>(options: Options<ReplaceSessionTagsData, ThrowOnError>): RequestResult<ReplaceSessionTagsResponses, ReplaceSessionTagsErrors, ThrowOnError, "fields">;
6502
6894
  }
6895
+ declare class Traces {
6896
+ /**
6897
+ * List traces
6898
+ *
6899
+ * Returns a paginated list of execution traces for the project.
6900
+ */
6901
+ static listTraces<ThrowOnError extends boolean = false>(options?: Options<ListTracesData, ThrowOnError>): RequestResult<ListTracesResponses, ListTracesErrors, ThrowOnError, "fields">;
6902
+ /**
6903
+ * Get a trace
6904
+ *
6905
+ * Returns a single trace by ID.
6906
+ */
6907
+ static getTrace<ThrowOnError extends boolean = false>(options: Options<GetTraceData, ThrowOnError>): RequestResult<GetTraceResponses, GetTraceErrors, ThrowOnError, "fields">;
6908
+ /**
6909
+ * Get trace tree
6910
+ *
6911
+ * Returns the full execution tree rooted at the given trace (or its root if the given trace is a child). Each node represents one agent's execution session. The `children` array contains traces triggered by sub-agent tool calls from that trace.
6912
+ *
6913
+ */
6914
+ static getTraceTree<ThrowOnError extends boolean = false>(options: Options<GetTraceTreeData, ThrowOnError>): RequestResult<GetTraceTreeResponses, GetTraceTreeErrors, ThrowOnError, "fields">;
6915
+ }
6503
6916
  declare class Users {
6504
6917
  /**
6505
6918
  * List all users
@@ -6644,7 +7057,6 @@ interface SoatClientOptions {
6644
7057
  declare class SoatClient {
6645
7058
  readonly actors: typeof Actors;
6646
7059
  readonly agentTools: typeof AgentTools;
6647
- readonly agentTraces: typeof AgentTraces;
6648
7060
  readonly agents: typeof Agents;
6649
7061
  readonly aiProviders: typeof AiProviders;
6650
7062
  readonly apiKeys: typeof ApiKeys;
@@ -6656,9 +7068,10 @@ declare class SoatClient {
6656
7068
  readonly projects: typeof Projects;
6657
7069
  readonly secrets: typeof Secrets;
6658
7070
  readonly sessions: typeof Sessions;
7071
+ readonly traces: typeof Traces;
6659
7072
  readonly users: typeof Users;
6660
7073
  readonly webhooks: typeof Webhooks;
6661
7074
  constructor({ baseUrl, token, headers }?: SoatClientOptions);
6662
7075
  }
6663
7076
 
6664
- export { type ActorRecord, 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 AgentTool, AgentTools, type AgentTrace, AgentTraces, Agents, AiProviders, type ApiKeyCreated, type ApiKeyRecord, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentActorData, type CreateAgentActorError, type CreateAgentActorErrors, type CreateAgentActorResponse, type CreateAgentActorResponses, 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 CreateAgentSessionData, type CreateAgentSessionError, type CreateAgentSessionErrors, type CreateAgentSessionResponse, type CreateAgentSessionResponses, type CreateAgentToolData, type CreateAgentToolError, type CreateAgentToolErrors, type CreateAgentToolRequest, type CreateAgentToolResponse, type CreateAgentToolResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatActorData, type CreateChatActorError, type CreateChatActorErrors, type CreateChatActorResponse, type CreateChatActorResponses, 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 CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateMemoryData, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, 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 CreateSessionRequest, 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 DeleteAgentSessionData, type DeleteAgentSessionError, type DeleteAgentSessionErrors, type DeleteAgentSessionResponse, type DeleteAgentSessionResponses, type DeleteAgentToolData, type DeleteAgentToolError, type DeleteAgentToolErrors, type DeleteAgentToolResponse, type DeleteAgentToolResponses, 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 DeleteMemoryData, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DocumentRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type ErrorResponse, type FileRecord, Files, 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 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 GetAgentSessionData, type GetAgentSessionError, type GetAgentSessionErrors, type GetAgentSessionResponse, type GetAgentSessionResponses, type GetAgentToolData, type GetAgentToolError, type GetAgentToolErrors, type GetAgentToolResponse, type GetAgentToolResponses, type GetAgentTraceData, type GetAgentTraceError, type GetAgentTraceErrors, type GetAgentTraceResponse, type GetAgentTraceResponses, 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 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 GetMemoryData, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, 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 GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserPoliciesData, type GetUserPoliciesErrors, type GetUserPoliciesResponse, type GetUserPoliciesResponses, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentSessionMessagesData, type ListAgentSessionMessagesError, type ListAgentSessionMessagesErrors, type ListAgentSessionMessagesResponse, type ListAgentSessionMessagesResponses, type ListAgentSessionsData, type ListAgentSessionsError, type ListAgentSessionsErrors, type ListAgentSessionsResponse, type ListAgentSessionsResponses, type ListAgentToolsData, type ListAgentToolsError, type ListAgentToolsErrors, type ListAgentToolsResponse, type ListAgentToolsResponses, type ListAgentTracesData, type ListAgentTracesError, type ListAgentTracesErrors, type ListAgentTracesResponse, type ListAgentTracesResponses, 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 ListConversationActorsData, type ListConversationActorsError, type ListConversationActorsErrors, type ListConversationActorsResponse, type ListConversationActorsResponses, 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 ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, 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, type MemoryConfig, 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 Options, Policies, type PolicyDocument, type PolicyRecord, 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 RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type SearchDocumentsData, type SearchDocumentsError, type SearchDocumentsErrors, type SearchDocumentsResponse, type SearchDocumentsResponses, type SearchMemoryData, type SearchMemoryErrors, type SearchMemoryResponse, type SearchMemoryResponses, Secrets, type SendSessionMessageResponse, type SessionId, type SessionMessage, type SessionRecord, Sessions, SoatClient, type SoatClientOptions, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAgentToolData, type UpdateAgentToolError, type UpdateAgentToolErrors, type UpdateAgentToolRequest, type UpdateAgentToolResponse, type UpdateAgentToolResponses, 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 UpdateMemoryData, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, 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 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 UserRecord, Users, type Webhook, type WebhookWithSecret, Webhooks, createClient, createConfig };
7077
+ export { type ActorRecord, 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 AgentTool, AgentTools, Agents, AiProviders, type ApiKeyCreated, type ApiKeyRecord, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentActorData, type CreateAgentActorError, type CreateAgentActorErrors, type CreateAgentActorResponse, type CreateAgentActorResponses, 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 CreateAgentSessionData, type CreateAgentSessionError, type CreateAgentSessionErrors, type CreateAgentSessionResponse, type CreateAgentSessionResponses, type CreateAgentToolData, type CreateAgentToolError, type CreateAgentToolErrors, type CreateAgentToolRequest, type CreateAgentToolResponse, type CreateAgentToolResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatActorData, type CreateChatActorError, type CreateChatActorErrors, type CreateChatActorResponse, type CreateChatActorResponses, 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 CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, 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 CreateSessionRequest, 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 DeleteAgentSessionData, type DeleteAgentSessionError, type DeleteAgentSessionErrors, type DeleteAgentSessionResponse, type DeleteAgentSessionResponses, type DeleteAgentToolData, type DeleteAgentToolError, type DeleteAgentToolErrors, type DeleteAgentToolResponse, type DeleteAgentToolResponses, 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 DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, 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 DocumentRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type ErrorResponse, type FileRecord, Files, 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 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 GetAgentSessionData, type GetAgentSessionError, type GetAgentSessionErrors, type GetAgentSessionResponse, type GetAgentSessionResponses, type GetAgentToolData, type GetAgentToolError, type GetAgentToolErrors, type GetAgentToolResponse, type GetAgentToolResponses, 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 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 GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, 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 GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, 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 GetUserPoliciesData, type GetUserPoliciesErrors, type GetUserPoliciesResponse, type GetUserPoliciesResponses, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentSessionMessagesData, type ListAgentSessionMessagesError, type ListAgentSessionMessagesErrors, type ListAgentSessionMessagesResponse, type ListAgentSessionMessagesResponses, type ListAgentSessionsData, type ListAgentSessionsError, type ListAgentSessionsErrors, type ListAgentSessionsResponse, type ListAgentSessionsResponses, type ListAgentToolsData, type ListAgentToolsError, type ListAgentToolsErrors, type ListAgentToolsResponse, type ListAgentToolsResponses, 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 ListConversationActorsData, type ListConversationActorsError, type ListConversationActorsErrors, type ListConversationActorsResponse, type ListConversationActorsResponses, 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 ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, 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 MemoryEntryWriteResult, type MemoryKnowledgeResult, 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 Options, Policies, type PolicyDocument, type PolicyRecord, 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 RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, Secrets, type SendSessionMessageResponse, type SessionId, type SessionMessage, type SessionRecord, Sessions, SoatClient, type SoatClientOptions, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, 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 UpdateAgentToolData, type UpdateAgentToolError, type UpdateAgentToolErrors, type UpdateAgentToolRequest, type UpdateAgentToolResponse, type UpdateAgentToolResponses, 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 UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, 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 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 UserRecord, Users, type Webhook, type WebhookWithSecret, Webhooks, createClient, createConfig };