@soat/sdk 0.4.18 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +119 -49
- package/dist/index.d.cts +612 -211
- package/dist/index.d.ts +612 -211
- package/dist/index.js +124 -50
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -537,6 +537,17 @@ 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
|
+
} | null;
|
|
540
551
|
created_at?: Date;
|
|
541
552
|
updated_at?: Date;
|
|
542
553
|
};
|
|
@@ -568,6 +579,14 @@ type CreateAgentRequest = {
|
|
|
568
579
|
[key: string]: unknown;
|
|
569
580
|
};
|
|
570
581
|
temperature?: number;
|
|
582
|
+
knowledge_config?: {
|
|
583
|
+
memory_ids?: Array<string>;
|
|
584
|
+
memory_tags?: Array<string>;
|
|
585
|
+
document_ids?: Array<string>;
|
|
586
|
+
document_paths?: Array<string>;
|
|
587
|
+
min_score?: number;
|
|
588
|
+
limit?: number;
|
|
589
|
+
};
|
|
571
590
|
};
|
|
572
591
|
type UpdateAgentRequest = {
|
|
573
592
|
ai_provider_id?: string;
|
|
@@ -590,6 +609,14 @@ type UpdateAgentRequest = {
|
|
|
590
609
|
[key: string]: unknown;
|
|
591
610
|
} | null;
|
|
592
611
|
temperature?: number | null;
|
|
612
|
+
knowledge_config?: {
|
|
613
|
+
memory_ids?: Array<string>;
|
|
614
|
+
memory_tags?: Array<string>;
|
|
615
|
+
document_ids?: Array<string>;
|
|
616
|
+
document_paths?: Array<string>;
|
|
617
|
+
min_score?: number;
|
|
618
|
+
limit?: number;
|
|
619
|
+
} | null;
|
|
593
620
|
};
|
|
594
621
|
type CreateAgentGenerationRequest = {
|
|
595
622
|
messages: Array<{
|
|
@@ -604,6 +631,14 @@ type CreateAgentGenerationRequest = {
|
|
|
604
631
|
* Optional trace ID to group generations
|
|
605
632
|
*/
|
|
606
633
|
trace_id?: string;
|
|
634
|
+
/**
|
|
635
|
+
* The trace ID of the parent agent generation that triggered this one (for agent-to-agent calls)
|
|
636
|
+
*/
|
|
637
|
+
parent_trace_id?: string | null;
|
|
638
|
+
/**
|
|
639
|
+
* The trace ID of the root generation in the call chain; if omitted, this generation is the root
|
|
640
|
+
*/
|
|
641
|
+
root_trace_id?: string | null;
|
|
607
642
|
/**
|
|
608
643
|
* Maximum nested agent-call depth; 0 short-circuits with a depth-guard response
|
|
609
644
|
*/
|
|
@@ -651,18 +686,6 @@ type AgentGenerationResponse = {
|
|
|
651
686
|
};
|
|
652
687
|
}> | null;
|
|
653
688
|
};
|
|
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
689
|
type ApiKeyRecord = {
|
|
667
690
|
/**
|
|
668
691
|
* Public API key ID (key_ prefix)
|
|
@@ -1057,40 +1080,129 @@ type FileRecord = {
|
|
|
1057
1080
|
*/
|
|
1058
1081
|
updated_at?: Date;
|
|
1059
1082
|
};
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1083
|
+
type KnowledgeResult = ({
|
|
1084
|
+
source_type: 'document';
|
|
1085
|
+
} & DocumentKnowledgeResult) | ({
|
|
1086
|
+
source_type: 'memory';
|
|
1087
|
+
} & MemoryKnowledgeResult);
|
|
1088
|
+
type DocumentKnowledgeResult = {
|
|
1064
1089
|
/**
|
|
1065
|
-
*
|
|
1090
|
+
* The type of knowledge source this result comes from
|
|
1066
1091
|
*/
|
|
1067
|
-
|
|
1092
|
+
source_type: 'document';
|
|
1068
1093
|
/**
|
|
1069
|
-
*
|
|
1094
|
+
* Public ID of the document
|
|
1070
1095
|
*/
|
|
1071
|
-
|
|
1096
|
+
document_id: string;
|
|
1072
1097
|
/**
|
|
1073
|
-
*
|
|
1098
|
+
* Public ID of the underlying file
|
|
1074
1099
|
*/
|
|
1075
|
-
|
|
1100
|
+
file_id?: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* Public ID of the project the document belongs to
|
|
1103
|
+
*/
|
|
1104
|
+
project_id?: string;
|
|
1105
|
+
/**
|
|
1106
|
+
* Logical path of the file within the project
|
|
1107
|
+
*/
|
|
1108
|
+
path?: string;
|
|
1109
|
+
/**
|
|
1110
|
+
* Filename of the underlying file
|
|
1111
|
+
*/
|
|
1112
|
+
filename?: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* File size in bytes
|
|
1115
|
+
*/
|
|
1116
|
+
size?: number;
|
|
1117
|
+
/**
|
|
1118
|
+
* Document title
|
|
1119
|
+
*/
|
|
1120
|
+
title?: string;
|
|
1121
|
+
/**
|
|
1122
|
+
* Arbitrary metadata attached to the document
|
|
1123
|
+
*/
|
|
1124
|
+
metadata?: {
|
|
1125
|
+
[key: string]: unknown;
|
|
1126
|
+
};
|
|
1127
|
+
/**
|
|
1128
|
+
* Key-value tags
|
|
1129
|
+
*/
|
|
1130
|
+
tags?: {
|
|
1131
|
+
[key: string]: string;
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* Full text content of the document
|
|
1135
|
+
*/
|
|
1136
|
+
content: string | null;
|
|
1137
|
+
/**
|
|
1138
|
+
* Semantic similarity score (0–1). Only present when `query` was provided.
|
|
1139
|
+
*/
|
|
1140
|
+
score?: number;
|
|
1141
|
+
/**
|
|
1142
|
+
* Creation timestamp
|
|
1143
|
+
*/
|
|
1144
|
+
created_at: Date;
|
|
1076
1145
|
/**
|
|
1077
|
-
*
|
|
1146
|
+
* Last updated timestamp
|
|
1078
1147
|
*/
|
|
1079
|
-
|
|
1148
|
+
updated_at: Date;
|
|
1149
|
+
};
|
|
1150
|
+
type MemoryKnowledgeResult = {
|
|
1151
|
+
/**
|
|
1152
|
+
* The type of knowledge source this result comes from
|
|
1153
|
+
*/
|
|
1154
|
+
source_type: 'memory';
|
|
1155
|
+
/**
|
|
1156
|
+
* Public ID of the memory entry
|
|
1157
|
+
*/
|
|
1158
|
+
entry_id: string;
|
|
1159
|
+
/**
|
|
1160
|
+
* Public ID of the parent memory
|
|
1161
|
+
*/
|
|
1162
|
+
memory_id: string;
|
|
1163
|
+
/**
|
|
1164
|
+
* Text content of the memory entry
|
|
1165
|
+
*/
|
|
1166
|
+
content: string;
|
|
1167
|
+
/**
|
|
1168
|
+
* Semantic similarity score (0–1). Only present when `query` was provided.
|
|
1169
|
+
*/
|
|
1170
|
+
score?: number;
|
|
1080
1171
|
/**
|
|
1081
|
-
*
|
|
1172
|
+
* Creation timestamp
|
|
1173
|
+
*/
|
|
1174
|
+
created_at: Date;
|
|
1175
|
+
/**
|
|
1176
|
+
* Last updated timestamp
|
|
1082
1177
|
*/
|
|
1083
|
-
|
|
1178
|
+
updated_at: Date;
|
|
1084
1179
|
};
|
|
1085
1180
|
type Memory = {
|
|
1086
1181
|
id?: string;
|
|
1087
1182
|
project_id?: string;
|
|
1088
1183
|
name?: string;
|
|
1089
1184
|
description?: string | null;
|
|
1090
|
-
|
|
1185
|
+
/**
|
|
1186
|
+
* List of tags for filtering in knowledge search
|
|
1187
|
+
*/
|
|
1188
|
+
tags?: Array<string> | null;
|
|
1189
|
+
created_at?: Date;
|
|
1190
|
+
updated_at?: Date;
|
|
1191
|
+
};
|
|
1192
|
+
type MemoryEntry = {
|
|
1193
|
+
id?: string;
|
|
1194
|
+
memory_id?: string;
|
|
1195
|
+
content?: string;
|
|
1196
|
+
source?: 'manual' | 'agent' | 'extraction';
|
|
1091
1197
|
created_at?: Date;
|
|
1092
1198
|
updated_at?: Date;
|
|
1093
1199
|
};
|
|
1200
|
+
type MemoryEntryWriteResult = MemoryEntry & {
|
|
1201
|
+
/**
|
|
1202
|
+
* The outcome of the write operation
|
|
1203
|
+
*/
|
|
1204
|
+
action?: 'created' | 'updated' | 'skipped';
|
|
1205
|
+
};
|
|
1094
1206
|
type PolicyStatement = {
|
|
1095
1207
|
effect: 'Allow' | 'Deny';
|
|
1096
1208
|
action: Array<string>;
|
|
@@ -1296,6 +1408,60 @@ type SubmitSessionToolOutputsRequest = {
|
|
|
1296
1408
|
output: unknown;
|
|
1297
1409
|
}>;
|
|
1298
1410
|
};
|
|
1411
|
+
type Trace = {
|
|
1412
|
+
/**
|
|
1413
|
+
* Public ID of the trace
|
|
1414
|
+
*/
|
|
1415
|
+
id?: string;
|
|
1416
|
+
/**
|
|
1417
|
+
* Public ID of the project
|
|
1418
|
+
*/
|
|
1419
|
+
project_id?: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* Public ID of the agent that produced this trace
|
|
1422
|
+
*/
|
|
1423
|
+
agent_id?: string;
|
|
1424
|
+
/**
|
|
1425
|
+
* 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).
|
|
1426
|
+
*
|
|
1427
|
+
*/
|
|
1428
|
+
file_id?: string | null;
|
|
1429
|
+
/**
|
|
1430
|
+
* Number of steps recorded in this trace
|
|
1431
|
+
*/
|
|
1432
|
+
step_count?: number;
|
|
1433
|
+
/**
|
|
1434
|
+
* 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).
|
|
1435
|
+
*
|
|
1436
|
+
*/
|
|
1437
|
+
parent_trace_id?: string | null;
|
|
1438
|
+
/**
|
|
1439
|
+
* Public ID of the root trace for the entire execution tree. Null if this trace is itself the root.
|
|
1440
|
+
*
|
|
1441
|
+
*/
|
|
1442
|
+
root_trace_id?: string | null;
|
|
1443
|
+
created_at?: Date;
|
|
1444
|
+
};
|
|
1445
|
+
/**
|
|
1446
|
+
* A trace node in the execution tree, with nested children.
|
|
1447
|
+
*/
|
|
1448
|
+
type TraceTreeNode = {
|
|
1449
|
+
/**
|
|
1450
|
+
* Public ID of the trace
|
|
1451
|
+
*/
|
|
1452
|
+
id?: string;
|
|
1453
|
+
project_id?: string;
|
|
1454
|
+
agent_id?: string;
|
|
1455
|
+
file_id?: string | null;
|
|
1456
|
+
step_count?: number;
|
|
1457
|
+
parent_trace_id?: string | null;
|
|
1458
|
+
root_trace_id?: string | null;
|
|
1459
|
+
created_at?: Date;
|
|
1460
|
+
/**
|
|
1461
|
+
* Child traces triggered by sub-agent calls from this trace
|
|
1462
|
+
*/
|
|
1463
|
+
children?: Array<TraceTreeNode>;
|
|
1464
|
+
};
|
|
1299
1465
|
type UserRecord = {
|
|
1300
1466
|
/**
|
|
1301
1467
|
* Public user ID (usr_ prefix)
|
|
@@ -1828,78 +1994,6 @@ type UpdateAgentToolResponses = {
|
|
|
1828
1994
|
200: AgentTool;
|
|
1829
1995
|
};
|
|
1830
1996
|
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
1997
|
type ListAgentsData = {
|
|
1904
1998
|
body?: never;
|
|
1905
1999
|
path?: never;
|
|
@@ -3641,61 +3735,6 @@ type ReplaceDocumentTagsResponses = {
|
|
|
3641
3735
|
};
|
|
3642
3736
|
};
|
|
3643
3737
|
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
3738
|
type ListFilesData = {
|
|
3700
3739
|
body?: never;
|
|
3701
3740
|
path?: never;
|
|
@@ -4148,22 +4187,85 @@ type ReplaceFileTagsResponses = {
|
|
|
4148
4187
|
};
|
|
4149
4188
|
};
|
|
4150
4189
|
type ReplaceFileTagsResponse = ReplaceFileTagsResponses[keyof ReplaceFileTagsResponses];
|
|
4151
|
-
type
|
|
4152
|
-
body
|
|
4153
|
-
path?: never;
|
|
4154
|
-
query?: {
|
|
4190
|
+
type SearchKnowledgeData = {
|
|
4191
|
+
body: {
|
|
4155
4192
|
/**
|
|
4156
|
-
*
|
|
4193
|
+
* Limit search to a specific project
|
|
4157
4194
|
*/
|
|
4158
4195
|
project_id?: string;
|
|
4196
|
+
/**
|
|
4197
|
+
* Semantic search query text
|
|
4198
|
+
*/
|
|
4199
|
+
query?: string;
|
|
4200
|
+
/**
|
|
4201
|
+
* Minimum similarity score (0–1). Results with lower scores are excluded. Only applies when `query` is provided.
|
|
4202
|
+
*/
|
|
4203
|
+
min_score?: number;
|
|
4204
|
+
/**
|
|
4205
|
+
* Maximum number of results to return (default 10)
|
|
4206
|
+
*/
|
|
4207
|
+
limit?: number;
|
|
4208
|
+
/**
|
|
4209
|
+
* Search entries within these specific memories
|
|
4210
|
+
*/
|
|
4211
|
+
memory_ids?: Array<string>;
|
|
4212
|
+
/**
|
|
4213
|
+
* Search entries in memories whose tags match any of these patterns (glob supported)
|
|
4214
|
+
*/
|
|
4215
|
+
memory_tags?: Array<string>;
|
|
4216
|
+
/**
|
|
4217
|
+
* Filter results to documents whose file path starts with one of these prefixes
|
|
4218
|
+
*/
|
|
4219
|
+
document_paths?: Array<string>;
|
|
4220
|
+
/**
|
|
4221
|
+
* Filter results to specific document IDs
|
|
4222
|
+
*/
|
|
4223
|
+
document_ids?: Array<string>;
|
|
4159
4224
|
};
|
|
4160
|
-
|
|
4225
|
+
path?: never;
|
|
4226
|
+
query?: never;
|
|
4227
|
+
url: '/api/v1/knowledge/search';
|
|
4161
4228
|
};
|
|
4162
|
-
type
|
|
4229
|
+
type SearchKnowledgeErrors = {
|
|
4230
|
+
/**
|
|
4231
|
+
* Bad request — at least one search parameter is required
|
|
4232
|
+
*/
|
|
4233
|
+
400: ErrorResponse;
|
|
4163
4234
|
/**
|
|
4164
4235
|
* Unauthorized
|
|
4165
4236
|
*/
|
|
4166
|
-
401:
|
|
4237
|
+
401: ErrorResponse;
|
|
4238
|
+
/**
|
|
4239
|
+
* Forbidden
|
|
4240
|
+
*/
|
|
4241
|
+
403: ErrorResponse;
|
|
4242
|
+
};
|
|
4243
|
+
type SearchKnowledgeError = SearchKnowledgeErrors[keyof SearchKnowledgeErrors];
|
|
4244
|
+
type SearchKnowledgeResponses = {
|
|
4245
|
+
/**
|
|
4246
|
+
* Search results
|
|
4247
|
+
*/
|
|
4248
|
+
200: {
|
|
4249
|
+
results: Array<KnowledgeResult>;
|
|
4250
|
+
};
|
|
4251
|
+
};
|
|
4252
|
+
type SearchKnowledgeResponse = SearchKnowledgeResponses[keyof SearchKnowledgeResponses];
|
|
4253
|
+
type ListMemoriesData = {
|
|
4254
|
+
body?: never;
|
|
4255
|
+
path?: never;
|
|
4256
|
+
query?: {
|
|
4257
|
+
/**
|
|
4258
|
+
* Project ID (required if not using project key auth)
|
|
4259
|
+
*/
|
|
4260
|
+
project_id?: string;
|
|
4261
|
+
};
|
|
4262
|
+
url: '/api/v1/memories';
|
|
4263
|
+
};
|
|
4264
|
+
type ListMemoriesErrors = {
|
|
4265
|
+
/**
|
|
4266
|
+
* Unauthorized
|
|
4267
|
+
*/
|
|
4268
|
+
401: unknown;
|
|
4167
4269
|
/**
|
|
4168
4270
|
* Forbidden
|
|
4169
4271
|
*/
|
|
@@ -4194,7 +4296,10 @@ type CreateMemoryData = {
|
|
|
4194
4296
|
* Optional description
|
|
4195
4297
|
*/
|
|
4196
4298
|
description?: string;
|
|
4197
|
-
|
|
4299
|
+
/**
|
|
4300
|
+
* Optional list of tags for filtering in knowledge search
|
|
4301
|
+
*/
|
|
4302
|
+
tags?: Array<string>;
|
|
4198
4303
|
};
|
|
4199
4304
|
path?: never;
|
|
4200
4305
|
query?: never;
|
|
@@ -4301,7 +4406,10 @@ type UpdateMemoryData = {
|
|
|
4301
4406
|
* Optional description
|
|
4302
4407
|
*/
|
|
4303
4408
|
description?: string | null;
|
|
4304
|
-
|
|
4409
|
+
/**
|
|
4410
|
+
* Optional list of tags for filtering in knowledge search
|
|
4411
|
+
*/
|
|
4412
|
+
tags?: Array<string> | null;
|
|
4305
4413
|
};
|
|
4306
4414
|
path: {
|
|
4307
4415
|
memory_id: string;
|
|
@@ -4334,15 +4442,15 @@ type UpdateMemoryResponses = {
|
|
|
4334
4442
|
200: Memory;
|
|
4335
4443
|
};
|
|
4336
4444
|
type UpdateMemoryResponse = UpdateMemoryResponses[keyof UpdateMemoryResponses];
|
|
4337
|
-
type
|
|
4338
|
-
body?:
|
|
4445
|
+
type ListMemoryEntriesData = {
|
|
4446
|
+
body?: never;
|
|
4339
4447
|
path: {
|
|
4340
4448
|
memory_id: string;
|
|
4341
4449
|
};
|
|
4342
4450
|
query?: never;
|
|
4343
|
-
url: '/api/v1/memories/{memory_id}/
|
|
4451
|
+
url: '/api/v1/memories/{memory_id}/entries';
|
|
4344
4452
|
};
|
|
4345
|
-
type
|
|
4453
|
+
type ListMemoryEntriesErrors = {
|
|
4346
4454
|
/**
|
|
4347
4455
|
* Unauthorized
|
|
4348
4456
|
*/
|
|
@@ -4360,28 +4468,178 @@ type SearchMemoryErrors = {
|
|
|
4360
4468
|
*/
|
|
4361
4469
|
500: unknown;
|
|
4362
4470
|
};
|
|
4363
|
-
type
|
|
4471
|
+
type ListMemoryEntriesResponses = {
|
|
4364
4472
|
/**
|
|
4365
|
-
*
|
|
4473
|
+
* List of memory entries
|
|
4366
4474
|
*/
|
|
4367
|
-
200:
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4475
|
+
200: Array<MemoryEntry>;
|
|
4476
|
+
};
|
|
4477
|
+
type ListMemoryEntriesResponse = ListMemoryEntriesResponses[keyof ListMemoryEntriesResponses];
|
|
4478
|
+
type CreateMemoryEntryData = {
|
|
4479
|
+
body: {
|
|
4480
|
+
/**
|
|
4481
|
+
* The text content of the memory entry
|
|
4482
|
+
*/
|
|
4483
|
+
content: string;
|
|
4484
|
+
/**
|
|
4485
|
+
* How this entry was created
|
|
4486
|
+
*/
|
|
4487
|
+
source?: 'manual' | 'agent' | 'extraction';
|
|
4488
|
+
/**
|
|
4489
|
+
* Cosine similarity score at or above which the incoming content is considered a duplicate and skipped (default 0.95)
|
|
4490
|
+
*/
|
|
4491
|
+
duplicate_threshold?: number;
|
|
4492
|
+
/**
|
|
4493
|
+
* Cosine similarity score at or above which the incoming content is appended to the existing entry (default 0.75)
|
|
4494
|
+
*/
|
|
4495
|
+
update_threshold?: number;
|
|
4496
|
+
};
|
|
4497
|
+
path: {
|
|
4498
|
+
memory_id: string;
|
|
4382
4499
|
};
|
|
4500
|
+
query?: never;
|
|
4501
|
+
url: '/api/v1/memories/{memory_id}/entries';
|
|
4383
4502
|
};
|
|
4384
|
-
type
|
|
4503
|
+
type CreateMemoryEntryErrors = {
|
|
4504
|
+
/**
|
|
4505
|
+
* Bad request (missing required fields)
|
|
4506
|
+
*/
|
|
4507
|
+
400: unknown;
|
|
4508
|
+
/**
|
|
4509
|
+
* Unauthorized
|
|
4510
|
+
*/
|
|
4511
|
+
401: unknown;
|
|
4512
|
+
/**
|
|
4513
|
+
* Forbidden
|
|
4514
|
+
*/
|
|
4515
|
+
403: unknown;
|
|
4516
|
+
/**
|
|
4517
|
+
* Memory not found
|
|
4518
|
+
*/
|
|
4519
|
+
404: unknown;
|
|
4520
|
+
/**
|
|
4521
|
+
* Internal server error
|
|
4522
|
+
*/
|
|
4523
|
+
500: unknown;
|
|
4524
|
+
};
|
|
4525
|
+
type CreateMemoryEntryResponses = {
|
|
4526
|
+
/**
|
|
4527
|
+
* Memory entry deduplicated (action is "skipped" or "updated")
|
|
4528
|
+
*/
|
|
4529
|
+
200: MemoryEntryWriteResult;
|
|
4530
|
+
/**
|
|
4531
|
+
* Memory entry created
|
|
4532
|
+
*/
|
|
4533
|
+
201: MemoryEntryWriteResult;
|
|
4534
|
+
};
|
|
4535
|
+
type CreateMemoryEntryResponse = CreateMemoryEntryResponses[keyof CreateMemoryEntryResponses];
|
|
4536
|
+
type DeleteMemoryEntryData = {
|
|
4537
|
+
body?: never;
|
|
4538
|
+
path: {
|
|
4539
|
+
memory_id: string;
|
|
4540
|
+
entry_id: string;
|
|
4541
|
+
};
|
|
4542
|
+
query?: never;
|
|
4543
|
+
url: '/api/v1/memories/{memory_id}/entries/{entry_id}';
|
|
4544
|
+
};
|
|
4545
|
+
type DeleteMemoryEntryErrors = {
|
|
4546
|
+
/**
|
|
4547
|
+
* Unauthorized
|
|
4548
|
+
*/
|
|
4549
|
+
401: unknown;
|
|
4550
|
+
/**
|
|
4551
|
+
* Forbidden
|
|
4552
|
+
*/
|
|
4553
|
+
403: unknown;
|
|
4554
|
+
/**
|
|
4555
|
+
* Memory or entry not found
|
|
4556
|
+
*/
|
|
4557
|
+
404: unknown;
|
|
4558
|
+
/**
|
|
4559
|
+
* Internal server error
|
|
4560
|
+
*/
|
|
4561
|
+
500: unknown;
|
|
4562
|
+
};
|
|
4563
|
+
type DeleteMemoryEntryResponses = {
|
|
4564
|
+
/**
|
|
4565
|
+
* Memory entry deleted
|
|
4566
|
+
*/
|
|
4567
|
+
204: void;
|
|
4568
|
+
};
|
|
4569
|
+
type DeleteMemoryEntryResponse = DeleteMemoryEntryResponses[keyof DeleteMemoryEntryResponses];
|
|
4570
|
+
type GetMemoryEntryData = {
|
|
4571
|
+
body?: never;
|
|
4572
|
+
path: {
|
|
4573
|
+
memory_id: string;
|
|
4574
|
+
entry_id: string;
|
|
4575
|
+
};
|
|
4576
|
+
query?: never;
|
|
4577
|
+
url: '/api/v1/memories/{memory_id}/entries/{entry_id}';
|
|
4578
|
+
};
|
|
4579
|
+
type GetMemoryEntryErrors = {
|
|
4580
|
+
/**
|
|
4581
|
+
* Unauthorized
|
|
4582
|
+
*/
|
|
4583
|
+
401: unknown;
|
|
4584
|
+
/**
|
|
4585
|
+
* Forbidden
|
|
4586
|
+
*/
|
|
4587
|
+
403: unknown;
|
|
4588
|
+
/**
|
|
4589
|
+
* Memory or entry not found
|
|
4590
|
+
*/
|
|
4591
|
+
404: unknown;
|
|
4592
|
+
/**
|
|
4593
|
+
* Internal server error
|
|
4594
|
+
*/
|
|
4595
|
+
500: unknown;
|
|
4596
|
+
};
|
|
4597
|
+
type GetMemoryEntryResponses = {
|
|
4598
|
+
/**
|
|
4599
|
+
* Memory entry found
|
|
4600
|
+
*/
|
|
4601
|
+
200: MemoryEntry;
|
|
4602
|
+
};
|
|
4603
|
+
type GetMemoryEntryResponse = GetMemoryEntryResponses[keyof GetMemoryEntryResponses];
|
|
4604
|
+
type UpdateMemoryEntryData = {
|
|
4605
|
+
body: {
|
|
4606
|
+
/**
|
|
4607
|
+
* Updated text content
|
|
4608
|
+
*/
|
|
4609
|
+
content?: string;
|
|
4610
|
+
};
|
|
4611
|
+
path: {
|
|
4612
|
+
memory_id: string;
|
|
4613
|
+
entry_id: string;
|
|
4614
|
+
};
|
|
4615
|
+
query?: never;
|
|
4616
|
+
url: '/api/v1/memories/{memory_id}/entries/{entry_id}';
|
|
4617
|
+
};
|
|
4618
|
+
type UpdateMemoryEntryErrors = {
|
|
4619
|
+
/**
|
|
4620
|
+
* Unauthorized
|
|
4621
|
+
*/
|
|
4622
|
+
401: unknown;
|
|
4623
|
+
/**
|
|
4624
|
+
* Forbidden
|
|
4625
|
+
*/
|
|
4626
|
+
403: unknown;
|
|
4627
|
+
/**
|
|
4628
|
+
* Memory or entry not found
|
|
4629
|
+
*/
|
|
4630
|
+
404: unknown;
|
|
4631
|
+
/**
|
|
4632
|
+
* Internal server error
|
|
4633
|
+
*/
|
|
4634
|
+
500: unknown;
|
|
4635
|
+
};
|
|
4636
|
+
type UpdateMemoryEntryResponses = {
|
|
4637
|
+
/**
|
|
4638
|
+
* Memory entry updated
|
|
4639
|
+
*/
|
|
4640
|
+
200: MemoryEntry;
|
|
4641
|
+
};
|
|
4642
|
+
type UpdateMemoryEntryResponse = UpdateMemoryEntryResponses[keyof UpdateMemoryEntryResponses];
|
|
4385
4643
|
type ListPoliciesData = {
|
|
4386
4644
|
body?: never;
|
|
4387
4645
|
path?: never;
|
|
@@ -5335,6 +5593,114 @@ type ReplaceSessionTagsResponses = {
|
|
|
5335
5593
|
};
|
|
5336
5594
|
};
|
|
5337
5595
|
type ReplaceSessionTagsResponse = ReplaceSessionTagsResponses[keyof ReplaceSessionTagsResponses];
|
|
5596
|
+
type ListTracesData = {
|
|
5597
|
+
body?: never;
|
|
5598
|
+
path?: never;
|
|
5599
|
+
query?: {
|
|
5600
|
+
/**
|
|
5601
|
+
* Project public ID to filter by
|
|
5602
|
+
*/
|
|
5603
|
+
project_id?: string;
|
|
5604
|
+
/**
|
|
5605
|
+
* Maximum number of results to return
|
|
5606
|
+
*/
|
|
5607
|
+
limit?: number;
|
|
5608
|
+
/**
|
|
5609
|
+
* Number of results to skip
|
|
5610
|
+
*/
|
|
5611
|
+
offset?: number;
|
|
5612
|
+
};
|
|
5613
|
+
url: '/api/v1/traces';
|
|
5614
|
+
};
|
|
5615
|
+
type ListTracesErrors = {
|
|
5616
|
+
/**
|
|
5617
|
+
* Unauthorized
|
|
5618
|
+
*/
|
|
5619
|
+
401: ErrorResponse;
|
|
5620
|
+
/**
|
|
5621
|
+
* Forbidden
|
|
5622
|
+
*/
|
|
5623
|
+
403: ErrorResponse;
|
|
5624
|
+
};
|
|
5625
|
+
type ListTracesError = ListTracesErrors[keyof ListTracesErrors];
|
|
5626
|
+
type ListTracesResponses = {
|
|
5627
|
+
/**
|
|
5628
|
+
* List of traces
|
|
5629
|
+
*/
|
|
5630
|
+
200: {
|
|
5631
|
+
data?: Array<Trace>;
|
|
5632
|
+
total?: number;
|
|
5633
|
+
limit?: number;
|
|
5634
|
+
offset?: number;
|
|
5635
|
+
};
|
|
5636
|
+
};
|
|
5637
|
+
type ListTracesResponse = ListTracesResponses[keyof ListTracesResponses];
|
|
5638
|
+
type GetTraceData = {
|
|
5639
|
+
body?: never;
|
|
5640
|
+
path: {
|
|
5641
|
+
/**
|
|
5642
|
+
* Public ID of the trace
|
|
5643
|
+
*/
|
|
5644
|
+
trace_id: string;
|
|
5645
|
+
};
|
|
5646
|
+
query?: never;
|
|
5647
|
+
url: '/api/v1/traces/{trace_id}';
|
|
5648
|
+
};
|
|
5649
|
+
type GetTraceErrors = {
|
|
5650
|
+
/**
|
|
5651
|
+
* Unauthorized
|
|
5652
|
+
*/
|
|
5653
|
+
401: ErrorResponse;
|
|
5654
|
+
/**
|
|
5655
|
+
* Forbidden
|
|
5656
|
+
*/
|
|
5657
|
+
403: ErrorResponse;
|
|
5658
|
+
/**
|
|
5659
|
+
* Trace not found
|
|
5660
|
+
*/
|
|
5661
|
+
404: ErrorResponse;
|
|
5662
|
+
};
|
|
5663
|
+
type GetTraceError = GetTraceErrors[keyof GetTraceErrors];
|
|
5664
|
+
type GetTraceResponses = {
|
|
5665
|
+
/**
|
|
5666
|
+
* Trace details
|
|
5667
|
+
*/
|
|
5668
|
+
200: Trace;
|
|
5669
|
+
};
|
|
5670
|
+
type GetTraceResponse = GetTraceResponses[keyof GetTraceResponses];
|
|
5671
|
+
type GetTraceTreeData = {
|
|
5672
|
+
body?: never;
|
|
5673
|
+
path: {
|
|
5674
|
+
/**
|
|
5675
|
+
* Public ID of any trace in the tree (root or child)
|
|
5676
|
+
*/
|
|
5677
|
+
trace_id: string;
|
|
5678
|
+
};
|
|
5679
|
+
query?: never;
|
|
5680
|
+
url: '/api/v1/traces/{trace_id}/tree';
|
|
5681
|
+
};
|
|
5682
|
+
type GetTraceTreeErrors = {
|
|
5683
|
+
/**
|
|
5684
|
+
* Unauthorized
|
|
5685
|
+
*/
|
|
5686
|
+
401: ErrorResponse;
|
|
5687
|
+
/**
|
|
5688
|
+
* Forbidden
|
|
5689
|
+
*/
|
|
5690
|
+
403: ErrorResponse;
|
|
5691
|
+
/**
|
|
5692
|
+
* Trace not found
|
|
5693
|
+
*/
|
|
5694
|
+
404: ErrorResponse;
|
|
5695
|
+
};
|
|
5696
|
+
type GetTraceTreeError = GetTraceTreeErrors[keyof GetTraceTreeErrors];
|
|
5697
|
+
type GetTraceTreeResponses = {
|
|
5698
|
+
/**
|
|
5699
|
+
* Trace tree rooted at the resolved root trace
|
|
5700
|
+
*/
|
|
5701
|
+
200: TraceTreeNode;
|
|
5702
|
+
};
|
|
5703
|
+
type GetTraceTreeResponse = GetTraceTreeResponses[keyof GetTraceTreeResponses];
|
|
5338
5704
|
type ListUsersData = {
|
|
5339
5705
|
body?: never;
|
|
5340
5706
|
path?: never;
|
|
@@ -5907,20 +6273,6 @@ declare class AgentTools {
|
|
|
5907
6273
|
*/
|
|
5908
6274
|
static updateAgentTool<ThrowOnError extends boolean = false>(options: Options<UpdateAgentToolData, ThrowOnError>): RequestResult<UpdateAgentToolResponses, UpdateAgentToolErrors, ThrowOnError, "fields">;
|
|
5909
6275
|
}
|
|
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
6276
|
declare class Agents {
|
|
5925
6277
|
/**
|
|
5926
6278
|
* List agents
|
|
@@ -6218,12 +6570,6 @@ declare class Documents {
|
|
|
6218
6570
|
* Replaces all tags on the document with the provided tags (not merged)
|
|
6219
6571
|
*/
|
|
6220
6572
|
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
6573
|
}
|
|
6228
6574
|
declare class Files {
|
|
6229
6575
|
/**
|
|
@@ -6299,6 +6645,14 @@ declare class Files {
|
|
|
6299
6645
|
*/
|
|
6300
6646
|
static replaceFileTags<ThrowOnError extends boolean = false>(options: Options<ReplaceFileTagsData, ThrowOnError>): RequestResult<ReplaceFileTagsResponses, ReplaceFileTagsErrors, ThrowOnError, "fields">;
|
|
6301
6647
|
}
|
|
6648
|
+
declare class Knowledge {
|
|
6649
|
+
/**
|
|
6650
|
+
* Search knowledge
|
|
6651
|
+
*
|
|
6652
|
+
* 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.
|
|
6653
|
+
*/
|
|
6654
|
+
static searchKnowledge<ThrowOnError extends boolean = false>(options: Options<SearchKnowledgeData, ThrowOnError>): RequestResult<SearchKnowledgeResponses, SearchKnowledgeErrors, ThrowOnError, "fields">;
|
|
6655
|
+
}
|
|
6302
6656
|
declare class Memories {
|
|
6303
6657
|
/**
|
|
6304
6658
|
* List memories
|
|
@@ -6330,12 +6684,38 @@ declare class Memories {
|
|
|
6330
6684
|
* Updates an existing memory configuration
|
|
6331
6685
|
*/
|
|
6332
6686
|
static updateMemory<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryData, ThrowOnError>): RequestResult<UpdateMemoryResponses, UpdateMemoryErrors, ThrowOnError, "fields">;
|
|
6687
|
+
}
|
|
6688
|
+
declare class MemoryEntries {
|
|
6333
6689
|
/**
|
|
6334
|
-
*
|
|
6690
|
+
* List memory entries
|
|
6335
6691
|
*
|
|
6336
|
-
*
|
|
6692
|
+
* Returns all entries in a memory container
|
|
6337
6693
|
*/
|
|
6338
|
-
static
|
|
6694
|
+
static listMemoryEntries<ThrowOnError extends boolean = false>(options: Options<ListMemoryEntriesData, ThrowOnError>): RequestResult<ListMemoryEntriesResponses, ListMemoryEntriesErrors, ThrowOnError, "fields">;
|
|
6695
|
+
/**
|
|
6696
|
+
* Create a memory entry
|
|
6697
|
+
*
|
|
6698
|
+
* Creates a new entry in the specified memory container. Automatically generates an embedding for semantic search.
|
|
6699
|
+
*/
|
|
6700
|
+
static createMemoryEntry<ThrowOnError extends boolean = false>(options: Options<CreateMemoryEntryData, ThrowOnError>): RequestResult<CreateMemoryEntryResponses, CreateMemoryEntryErrors, ThrowOnError, "fields">;
|
|
6701
|
+
/**
|
|
6702
|
+
* Delete a memory entry
|
|
6703
|
+
*
|
|
6704
|
+
* Deletes a memory entry
|
|
6705
|
+
*/
|
|
6706
|
+
static deleteMemoryEntry<ThrowOnError extends boolean = false>(options: Options<DeleteMemoryEntryData, ThrowOnError>): RequestResult<DeleteMemoryEntryResponses, DeleteMemoryEntryErrors, ThrowOnError, "fields">;
|
|
6707
|
+
/**
|
|
6708
|
+
* Get a memory entry
|
|
6709
|
+
*
|
|
6710
|
+
* Returns a single memory entry by ID
|
|
6711
|
+
*/
|
|
6712
|
+
static getMemoryEntry<ThrowOnError extends boolean = false>(options: Options<GetMemoryEntryData, ThrowOnError>): RequestResult<GetMemoryEntryResponses, GetMemoryEntryErrors, ThrowOnError, "fields">;
|
|
6713
|
+
/**
|
|
6714
|
+
* Update a memory entry
|
|
6715
|
+
*
|
|
6716
|
+
* Updates an existing memory entry. Regenerates the embedding if content changes.
|
|
6717
|
+
*/
|
|
6718
|
+
static updateMemoryEntry<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryEntryData, ThrowOnError>): RequestResult<UpdateMemoryEntryResponses, UpdateMemoryEntryErrors, ThrowOnError, "fields">;
|
|
6339
6719
|
}
|
|
6340
6720
|
declare class Policies {
|
|
6341
6721
|
/**
|
|
@@ -6500,6 +6880,27 @@ declare class Sessions {
|
|
|
6500
6880
|
*/
|
|
6501
6881
|
static replaceSessionTags<ThrowOnError extends boolean = false>(options: Options<ReplaceSessionTagsData, ThrowOnError>): RequestResult<ReplaceSessionTagsResponses, ReplaceSessionTagsErrors, ThrowOnError, "fields">;
|
|
6502
6882
|
}
|
|
6883
|
+
declare class Traces {
|
|
6884
|
+
/**
|
|
6885
|
+
* List traces
|
|
6886
|
+
*
|
|
6887
|
+
* Returns a paginated list of execution traces for the project.
|
|
6888
|
+
*/
|
|
6889
|
+
static listTraces<ThrowOnError extends boolean = false>(options?: Options<ListTracesData, ThrowOnError>): RequestResult<ListTracesResponses, ListTracesErrors, ThrowOnError, "fields">;
|
|
6890
|
+
/**
|
|
6891
|
+
* Get a trace
|
|
6892
|
+
*
|
|
6893
|
+
* Returns a single trace by ID.
|
|
6894
|
+
*/
|
|
6895
|
+
static getTrace<ThrowOnError extends boolean = false>(options: Options<GetTraceData, ThrowOnError>): RequestResult<GetTraceResponses, GetTraceErrors, ThrowOnError, "fields">;
|
|
6896
|
+
/**
|
|
6897
|
+
* Get trace tree
|
|
6898
|
+
*
|
|
6899
|
+
* 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.
|
|
6900
|
+
*
|
|
6901
|
+
*/
|
|
6902
|
+
static getTraceTree<ThrowOnError extends boolean = false>(options: Options<GetTraceTreeData, ThrowOnError>): RequestResult<GetTraceTreeResponses, GetTraceTreeErrors, ThrowOnError, "fields">;
|
|
6903
|
+
}
|
|
6503
6904
|
declare class Users {
|
|
6504
6905
|
/**
|
|
6505
6906
|
* List all users
|
|
@@ -6644,7 +7045,6 @@ interface SoatClientOptions {
|
|
|
6644
7045
|
declare class SoatClient {
|
|
6645
7046
|
readonly actors: typeof Actors;
|
|
6646
7047
|
readonly agentTools: typeof AgentTools;
|
|
6647
|
-
readonly agentTraces: typeof AgentTraces;
|
|
6648
7048
|
readonly agents: typeof Agents;
|
|
6649
7049
|
readonly aiProviders: typeof AiProviders;
|
|
6650
7050
|
readonly apiKeys: typeof ApiKeys;
|
|
@@ -6656,9 +7056,10 @@ declare class SoatClient {
|
|
|
6656
7056
|
readonly projects: typeof Projects;
|
|
6657
7057
|
readonly secrets: typeof Secrets;
|
|
6658
7058
|
readonly sessions: typeof Sessions;
|
|
7059
|
+
readonly traces: typeof Traces;
|
|
6659
7060
|
readonly users: typeof Users;
|
|
6660
7061
|
readonly webhooks: typeof Webhooks;
|
|
6661
7062
|
constructor({ baseUrl, token, headers }?: SoatClientOptions);
|
|
6662
7063
|
}
|
|
6663
7064
|
|
|
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 };
|
|
7065
|
+
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 };
|