@soat/sdk 0.4.17 → 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 +198 -45
- package/dist/index.d.cts +891 -166
- package/dist/index.d.ts +891 -166
- package/dist/index.js +205 -46
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -391,6 +391,12 @@ type AgentTool = {
|
|
|
391
391
|
* SOAT platform actions to expose
|
|
392
392
|
*/
|
|
393
393
|
actions?: Array<string> | null;
|
|
394
|
+
/**
|
|
395
|
+
* Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
|
|
396
|
+
*/
|
|
397
|
+
preset_parameters?: {
|
|
398
|
+
[key: string]: unknown;
|
|
399
|
+
} | null;
|
|
394
400
|
created_at?: Date;
|
|
395
401
|
updated_at?: Date;
|
|
396
402
|
};
|
|
@@ -434,6 +440,12 @@ type CreateAgentToolRequest = {
|
|
|
434
440
|
* SOAT platform actions
|
|
435
441
|
*/
|
|
436
442
|
actions?: Array<string>;
|
|
443
|
+
/**
|
|
444
|
+
* Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
|
|
445
|
+
*/
|
|
446
|
+
preset_parameters?: {
|
|
447
|
+
[key: string]: unknown;
|
|
448
|
+
};
|
|
437
449
|
};
|
|
438
450
|
type UpdateAgentToolRequest = {
|
|
439
451
|
name?: string;
|
|
@@ -453,6 +465,12 @@ type UpdateAgentToolRequest = {
|
|
|
453
465
|
[key: string]: unknown;
|
|
454
466
|
} | null;
|
|
455
467
|
actions?: Array<string> | null;
|
|
468
|
+
/**
|
|
469
|
+
* Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
|
|
470
|
+
*/
|
|
471
|
+
preset_parameters?: {
|
|
472
|
+
[key: string]: unknown;
|
|
473
|
+
} | null;
|
|
456
474
|
};
|
|
457
475
|
type Agent = {
|
|
458
476
|
/**
|
|
@@ -519,6 +537,17 @@ type Agent = {
|
|
|
519
537
|
* Sampling temperature
|
|
520
538
|
*/
|
|
521
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;
|
|
522
551
|
created_at?: Date;
|
|
523
552
|
updated_at?: Date;
|
|
524
553
|
};
|
|
@@ -550,6 +579,14 @@ type CreateAgentRequest = {
|
|
|
550
579
|
[key: string]: unknown;
|
|
551
580
|
};
|
|
552
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
|
+
};
|
|
553
590
|
};
|
|
554
591
|
type UpdateAgentRequest = {
|
|
555
592
|
ai_provider_id?: string;
|
|
@@ -572,6 +609,14 @@ type UpdateAgentRequest = {
|
|
|
572
609
|
[key: string]: unknown;
|
|
573
610
|
} | null;
|
|
574
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;
|
|
575
620
|
};
|
|
576
621
|
type CreateAgentGenerationRequest = {
|
|
577
622
|
messages: Array<{
|
|
@@ -586,6 +631,14 @@ type CreateAgentGenerationRequest = {
|
|
|
586
631
|
* Optional trace ID to group generations
|
|
587
632
|
*/
|
|
588
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;
|
|
589
642
|
/**
|
|
590
643
|
* Maximum nested agent-call depth; 0 short-circuits with a depth-guard response
|
|
591
644
|
*/
|
|
@@ -633,18 +686,6 @@ type AgentGenerationResponse = {
|
|
|
633
686
|
};
|
|
634
687
|
}> | null;
|
|
635
688
|
};
|
|
636
|
-
type AgentTrace = {
|
|
637
|
-
/**
|
|
638
|
-
* Public ID of the trace
|
|
639
|
-
*/
|
|
640
|
-
id?: string;
|
|
641
|
-
project_id?: string;
|
|
642
|
-
agent_id?: string;
|
|
643
|
-
generations?: Array<{
|
|
644
|
-
[key: string]: unknown;
|
|
645
|
-
}>;
|
|
646
|
-
created_at?: Date;
|
|
647
|
-
};
|
|
648
689
|
type ApiKeyRecord = {
|
|
649
690
|
/**
|
|
650
691
|
* Public API key ID (key_ prefix)
|
|
@@ -1039,6 +1080,129 @@ type FileRecord = {
|
|
|
1039
1080
|
*/
|
|
1040
1081
|
updated_at?: Date;
|
|
1041
1082
|
};
|
|
1083
|
+
type KnowledgeResult = ({
|
|
1084
|
+
source_type: 'document';
|
|
1085
|
+
} & DocumentKnowledgeResult) | ({
|
|
1086
|
+
source_type: 'memory';
|
|
1087
|
+
} & MemoryKnowledgeResult);
|
|
1088
|
+
type DocumentKnowledgeResult = {
|
|
1089
|
+
/**
|
|
1090
|
+
* The type of knowledge source this result comes from
|
|
1091
|
+
*/
|
|
1092
|
+
source_type: 'document';
|
|
1093
|
+
/**
|
|
1094
|
+
* Public ID of the document
|
|
1095
|
+
*/
|
|
1096
|
+
document_id: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* Public ID of the underlying file
|
|
1099
|
+
*/
|
|
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;
|
|
1145
|
+
/**
|
|
1146
|
+
* Last updated timestamp
|
|
1147
|
+
*/
|
|
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;
|
|
1171
|
+
/**
|
|
1172
|
+
* Creation timestamp
|
|
1173
|
+
*/
|
|
1174
|
+
created_at: Date;
|
|
1175
|
+
/**
|
|
1176
|
+
* Last updated timestamp
|
|
1177
|
+
*/
|
|
1178
|
+
updated_at: Date;
|
|
1179
|
+
};
|
|
1180
|
+
type Memory = {
|
|
1181
|
+
id?: string;
|
|
1182
|
+
project_id?: string;
|
|
1183
|
+
name?: string;
|
|
1184
|
+
description?: string | null;
|
|
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';
|
|
1197
|
+
created_at?: Date;
|
|
1198
|
+
updated_at?: Date;
|
|
1199
|
+
};
|
|
1200
|
+
type MemoryEntryWriteResult = MemoryEntry & {
|
|
1201
|
+
/**
|
|
1202
|
+
* The outcome of the write operation
|
|
1203
|
+
*/
|
|
1204
|
+
action?: 'created' | 'updated' | 'skipped';
|
|
1205
|
+
};
|
|
1042
1206
|
type PolicyStatement = {
|
|
1043
1207
|
effect: 'Allow' | 'Deny';
|
|
1044
1208
|
action: Array<string>;
|
|
@@ -1244,6 +1408,60 @@ type SubmitSessionToolOutputsRequest = {
|
|
|
1244
1408
|
output: unknown;
|
|
1245
1409
|
}>;
|
|
1246
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
|
+
};
|
|
1247
1465
|
type UserRecord = {
|
|
1248
1466
|
/**
|
|
1249
1467
|
* Public user ID (usr_ prefix)
|
|
@@ -1776,78 +1994,6 @@ type UpdateAgentToolResponses = {
|
|
|
1776
1994
|
200: AgentTool;
|
|
1777
1995
|
};
|
|
1778
1996
|
type UpdateAgentToolResponse = UpdateAgentToolResponses[keyof UpdateAgentToolResponses];
|
|
1779
|
-
type ListAgentTracesData = {
|
|
1780
|
-
body?: never;
|
|
1781
|
-
path?: never;
|
|
1782
|
-
query?: {
|
|
1783
|
-
/**
|
|
1784
|
-
* Project public ID to filter by
|
|
1785
|
-
*/
|
|
1786
|
-
project_id?: string;
|
|
1787
|
-
/**
|
|
1788
|
-
* Maximum number of results to return
|
|
1789
|
-
*/
|
|
1790
|
-
limit?: number;
|
|
1791
|
-
/**
|
|
1792
|
-
* Number of results to skip
|
|
1793
|
-
*/
|
|
1794
|
-
offset?: number;
|
|
1795
|
-
};
|
|
1796
|
-
url: '/api/v1/agents/traces';
|
|
1797
|
-
};
|
|
1798
|
-
type ListAgentTracesErrors = {
|
|
1799
|
-
/**
|
|
1800
|
-
* Unauthorized
|
|
1801
|
-
*/
|
|
1802
|
-
401: ErrorResponse;
|
|
1803
|
-
/**
|
|
1804
|
-
* Forbidden
|
|
1805
|
-
*/
|
|
1806
|
-
403: ErrorResponse;
|
|
1807
|
-
};
|
|
1808
|
-
type ListAgentTracesError = ListAgentTracesErrors[keyof ListAgentTracesErrors];
|
|
1809
|
-
type ListAgentTracesResponses = {
|
|
1810
|
-
/**
|
|
1811
|
-
* List of traces
|
|
1812
|
-
*/
|
|
1813
|
-
200: {
|
|
1814
|
-
data?: Array<AgentTrace>;
|
|
1815
|
-
total?: number;
|
|
1816
|
-
limit?: number;
|
|
1817
|
-
offset?: number;
|
|
1818
|
-
};
|
|
1819
|
-
};
|
|
1820
|
-
type ListAgentTracesResponse = ListAgentTracesResponses[keyof ListAgentTracesResponses];
|
|
1821
|
-
type GetAgentTraceData = {
|
|
1822
|
-
body?: never;
|
|
1823
|
-
path: {
|
|
1824
|
-
trace_id: string;
|
|
1825
|
-
};
|
|
1826
|
-
query?: never;
|
|
1827
|
-
url: '/api/v1/agents/traces/{trace_id}';
|
|
1828
|
-
};
|
|
1829
|
-
type GetAgentTraceErrors = {
|
|
1830
|
-
/**
|
|
1831
|
-
* Unauthorized
|
|
1832
|
-
*/
|
|
1833
|
-
401: ErrorResponse;
|
|
1834
|
-
/**
|
|
1835
|
-
* Forbidden
|
|
1836
|
-
*/
|
|
1837
|
-
403: ErrorResponse;
|
|
1838
|
-
/**
|
|
1839
|
-
* Not found
|
|
1840
|
-
*/
|
|
1841
|
-
404: ErrorResponse;
|
|
1842
|
-
};
|
|
1843
|
-
type GetAgentTraceError = GetAgentTraceErrors[keyof GetAgentTraceErrors];
|
|
1844
|
-
type GetAgentTraceResponses = {
|
|
1845
|
-
/**
|
|
1846
|
-
* Trace details
|
|
1847
|
-
*/
|
|
1848
|
-
200: AgentTrace;
|
|
1849
|
-
};
|
|
1850
|
-
type GetAgentTraceResponse = GetAgentTraceResponses[keyof GetAgentTraceResponses];
|
|
1851
1997
|
type ListAgentsData = {
|
|
1852
1998
|
body?: never;
|
|
1853
1999
|
path?: never;
|
|
@@ -3589,61 +3735,6 @@ type ReplaceDocumentTagsResponses = {
|
|
|
3589
3735
|
};
|
|
3590
3736
|
};
|
|
3591
3737
|
type ReplaceDocumentTagsResponse = ReplaceDocumentTagsResponses[keyof ReplaceDocumentTagsResponses];
|
|
3592
|
-
type SearchDocumentsData = {
|
|
3593
|
-
body: {
|
|
3594
|
-
/**
|
|
3595
|
-
* Project ID (optional). Omit to search across all accessible projects.
|
|
3596
|
-
*/
|
|
3597
|
-
project_id?: string;
|
|
3598
|
-
/**
|
|
3599
|
-
* Semantic search query text. Embeds the query and returns similar documents.
|
|
3600
|
-
*/
|
|
3601
|
-
search?: string;
|
|
3602
|
-
/**
|
|
3603
|
-
* Minimum similarity score threshold (0-1). Results below this score are filtered out.
|
|
3604
|
-
*/
|
|
3605
|
-
min_score?: number;
|
|
3606
|
-
/**
|
|
3607
|
-
* Maximum number of results to return
|
|
3608
|
-
*/
|
|
3609
|
-
limit?: number;
|
|
3610
|
-
/**
|
|
3611
|
-
* Filter results to documents with these file paths
|
|
3612
|
-
*/
|
|
3613
|
-
paths?: Array<string>;
|
|
3614
|
-
/**
|
|
3615
|
-
* Filter results to these specific document IDs
|
|
3616
|
-
*/
|
|
3617
|
-
document_ids?: Array<string>;
|
|
3618
|
-
};
|
|
3619
|
-
path?: never;
|
|
3620
|
-
query?: never;
|
|
3621
|
-
url: '/api/v1/documents/search';
|
|
3622
|
-
};
|
|
3623
|
-
type SearchDocumentsErrors = {
|
|
3624
|
-
/**
|
|
3625
|
-
* Invalid request body
|
|
3626
|
-
*/
|
|
3627
|
-
400: ErrorResponse;
|
|
3628
|
-
/**
|
|
3629
|
-
* Unauthorized
|
|
3630
|
-
*/
|
|
3631
|
-
401: ErrorResponse;
|
|
3632
|
-
/**
|
|
3633
|
-
* Forbidden
|
|
3634
|
-
*/
|
|
3635
|
-
403: ErrorResponse;
|
|
3636
|
-
};
|
|
3637
|
-
type SearchDocumentsError = SearchDocumentsErrors[keyof SearchDocumentsErrors];
|
|
3638
|
-
type SearchDocumentsResponses = {
|
|
3639
|
-
/**
|
|
3640
|
-
* Search results
|
|
3641
|
-
*/
|
|
3642
|
-
200: {
|
|
3643
|
-
documents?: Array<DocumentRecord>;
|
|
3644
|
-
};
|
|
3645
|
-
};
|
|
3646
|
-
type SearchDocumentsResponse = SearchDocumentsResponses[keyof SearchDocumentsResponses];
|
|
3647
3738
|
type ListFilesData = {
|
|
3648
3739
|
body?: never;
|
|
3649
3740
|
path?: never;
|
|
@@ -4096,11 +4187,464 @@ type ReplaceFileTagsResponses = {
|
|
|
4096
4187
|
};
|
|
4097
4188
|
};
|
|
4098
4189
|
type ReplaceFileTagsResponse = ReplaceFileTagsResponses[keyof ReplaceFileTagsResponses];
|
|
4099
|
-
type
|
|
4100
|
-
body
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4190
|
+
type SearchKnowledgeData = {
|
|
4191
|
+
body: {
|
|
4192
|
+
/**
|
|
4193
|
+
* Limit search to a specific project
|
|
4194
|
+
*/
|
|
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>;
|
|
4224
|
+
};
|
|
4225
|
+
path?: never;
|
|
4226
|
+
query?: never;
|
|
4227
|
+
url: '/api/v1/knowledge/search';
|
|
4228
|
+
};
|
|
4229
|
+
type SearchKnowledgeErrors = {
|
|
4230
|
+
/**
|
|
4231
|
+
* Bad request — at least one search parameter is required
|
|
4232
|
+
*/
|
|
4233
|
+
400: ErrorResponse;
|
|
4234
|
+
/**
|
|
4235
|
+
* Unauthorized
|
|
4236
|
+
*/
|
|
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;
|
|
4269
|
+
/**
|
|
4270
|
+
* Forbidden
|
|
4271
|
+
*/
|
|
4272
|
+
403: unknown;
|
|
4273
|
+
/**
|
|
4274
|
+
* Internal server error
|
|
4275
|
+
*/
|
|
4276
|
+
500: unknown;
|
|
4277
|
+
};
|
|
4278
|
+
type ListMemoriesResponses = {
|
|
4279
|
+
/**
|
|
4280
|
+
* List of memories
|
|
4281
|
+
*/
|
|
4282
|
+
200: Array<Memory>;
|
|
4283
|
+
};
|
|
4284
|
+
type ListMemoriesResponse = ListMemoriesResponses[keyof ListMemoriesResponses];
|
|
4285
|
+
type CreateMemoryData = {
|
|
4286
|
+
body: {
|
|
4287
|
+
/**
|
|
4288
|
+
* Project ID (required if not using project key auth)
|
|
4289
|
+
*/
|
|
4290
|
+
project_id?: string;
|
|
4291
|
+
/**
|
|
4292
|
+
* Memory name
|
|
4293
|
+
*/
|
|
4294
|
+
name: string;
|
|
4295
|
+
/**
|
|
4296
|
+
* Optional description
|
|
4297
|
+
*/
|
|
4298
|
+
description?: string;
|
|
4299
|
+
/**
|
|
4300
|
+
* Optional list of tags for filtering in knowledge search
|
|
4301
|
+
*/
|
|
4302
|
+
tags?: Array<string>;
|
|
4303
|
+
};
|
|
4304
|
+
path?: never;
|
|
4305
|
+
query?: never;
|
|
4306
|
+
url: '/api/v1/memories';
|
|
4307
|
+
};
|
|
4308
|
+
type CreateMemoryErrors = {
|
|
4309
|
+
/**
|
|
4310
|
+
* Bad request (missing required fields or invalid config)
|
|
4311
|
+
*/
|
|
4312
|
+
400: unknown;
|
|
4313
|
+
/**
|
|
4314
|
+
* Unauthorized
|
|
4315
|
+
*/
|
|
4316
|
+
401: unknown;
|
|
4317
|
+
/**
|
|
4318
|
+
* Forbidden
|
|
4319
|
+
*/
|
|
4320
|
+
403: unknown;
|
|
4321
|
+
/**
|
|
4322
|
+
* Internal server error
|
|
4323
|
+
*/
|
|
4324
|
+
500: unknown;
|
|
4325
|
+
};
|
|
4326
|
+
type CreateMemoryResponses = {
|
|
4327
|
+
/**
|
|
4328
|
+
* Memory created
|
|
4329
|
+
*/
|
|
4330
|
+
201: Memory;
|
|
4331
|
+
};
|
|
4332
|
+
type CreateMemoryResponse = CreateMemoryResponses[keyof CreateMemoryResponses];
|
|
4333
|
+
type DeleteMemoryData = {
|
|
4334
|
+
body?: never;
|
|
4335
|
+
path: {
|
|
4336
|
+
memory_id: string;
|
|
4337
|
+
};
|
|
4338
|
+
query?: never;
|
|
4339
|
+
url: '/api/v1/memories/{memory_id}';
|
|
4340
|
+
};
|
|
4341
|
+
type DeleteMemoryErrors = {
|
|
4342
|
+
/**
|
|
4343
|
+
* Unauthorized
|
|
4344
|
+
*/
|
|
4345
|
+
401: unknown;
|
|
4346
|
+
/**
|
|
4347
|
+
* Forbidden
|
|
4348
|
+
*/
|
|
4349
|
+
403: unknown;
|
|
4350
|
+
/**
|
|
4351
|
+
* Memory not found
|
|
4352
|
+
*/
|
|
4353
|
+
404: unknown;
|
|
4354
|
+
/**
|
|
4355
|
+
* Internal server error
|
|
4356
|
+
*/
|
|
4357
|
+
500: unknown;
|
|
4358
|
+
};
|
|
4359
|
+
type DeleteMemoryResponses = {
|
|
4360
|
+
/**
|
|
4361
|
+
* Memory deleted
|
|
4362
|
+
*/
|
|
4363
|
+
204: void;
|
|
4364
|
+
};
|
|
4365
|
+
type DeleteMemoryResponse = DeleteMemoryResponses[keyof DeleteMemoryResponses];
|
|
4366
|
+
type GetMemoryData = {
|
|
4367
|
+
body?: never;
|
|
4368
|
+
path: {
|
|
4369
|
+
memory_id: string;
|
|
4370
|
+
};
|
|
4371
|
+
query?: never;
|
|
4372
|
+
url: '/api/v1/memories/{memory_id}';
|
|
4373
|
+
};
|
|
4374
|
+
type GetMemoryErrors = {
|
|
4375
|
+
/**
|
|
4376
|
+
* Unauthorized
|
|
4377
|
+
*/
|
|
4378
|
+
401: unknown;
|
|
4379
|
+
/**
|
|
4380
|
+
* Forbidden
|
|
4381
|
+
*/
|
|
4382
|
+
403: unknown;
|
|
4383
|
+
/**
|
|
4384
|
+
* Memory not found
|
|
4385
|
+
*/
|
|
4386
|
+
404: unknown;
|
|
4387
|
+
/**
|
|
4388
|
+
* Internal server error
|
|
4389
|
+
*/
|
|
4390
|
+
500: unknown;
|
|
4391
|
+
};
|
|
4392
|
+
type GetMemoryResponses = {
|
|
4393
|
+
/**
|
|
4394
|
+
* Memory found
|
|
4395
|
+
*/
|
|
4396
|
+
200: Memory;
|
|
4397
|
+
};
|
|
4398
|
+
type GetMemoryResponse = GetMemoryResponses[keyof GetMemoryResponses];
|
|
4399
|
+
type UpdateMemoryData = {
|
|
4400
|
+
body: {
|
|
4401
|
+
/**
|
|
4402
|
+
* Memory name
|
|
4403
|
+
*/
|
|
4404
|
+
name?: string;
|
|
4405
|
+
/**
|
|
4406
|
+
* Optional description
|
|
4407
|
+
*/
|
|
4408
|
+
description?: string | null;
|
|
4409
|
+
/**
|
|
4410
|
+
* Optional list of tags for filtering in knowledge search
|
|
4411
|
+
*/
|
|
4412
|
+
tags?: Array<string> | null;
|
|
4413
|
+
};
|
|
4414
|
+
path: {
|
|
4415
|
+
memory_id: string;
|
|
4416
|
+
};
|
|
4417
|
+
query?: never;
|
|
4418
|
+
url: '/api/v1/memories/{memory_id}';
|
|
4419
|
+
};
|
|
4420
|
+
type UpdateMemoryErrors = {
|
|
4421
|
+
/**
|
|
4422
|
+
* Unauthorized
|
|
4423
|
+
*/
|
|
4424
|
+
401: unknown;
|
|
4425
|
+
/**
|
|
4426
|
+
* Forbidden
|
|
4427
|
+
*/
|
|
4428
|
+
403: unknown;
|
|
4429
|
+
/**
|
|
4430
|
+
* Memory not found
|
|
4431
|
+
*/
|
|
4432
|
+
404: unknown;
|
|
4433
|
+
/**
|
|
4434
|
+
* Internal server error
|
|
4435
|
+
*/
|
|
4436
|
+
500: unknown;
|
|
4437
|
+
};
|
|
4438
|
+
type UpdateMemoryResponses = {
|
|
4439
|
+
/**
|
|
4440
|
+
* Memory updated
|
|
4441
|
+
*/
|
|
4442
|
+
200: Memory;
|
|
4443
|
+
};
|
|
4444
|
+
type UpdateMemoryResponse = UpdateMemoryResponses[keyof UpdateMemoryResponses];
|
|
4445
|
+
type ListMemoryEntriesData = {
|
|
4446
|
+
body?: never;
|
|
4447
|
+
path: {
|
|
4448
|
+
memory_id: string;
|
|
4449
|
+
};
|
|
4450
|
+
query?: never;
|
|
4451
|
+
url: '/api/v1/memories/{memory_id}/entries';
|
|
4452
|
+
};
|
|
4453
|
+
type ListMemoryEntriesErrors = {
|
|
4454
|
+
/**
|
|
4455
|
+
* Unauthorized
|
|
4456
|
+
*/
|
|
4457
|
+
401: unknown;
|
|
4458
|
+
/**
|
|
4459
|
+
* Forbidden
|
|
4460
|
+
*/
|
|
4461
|
+
403: unknown;
|
|
4462
|
+
/**
|
|
4463
|
+
* Memory not found
|
|
4464
|
+
*/
|
|
4465
|
+
404: unknown;
|
|
4466
|
+
/**
|
|
4467
|
+
* Internal server error
|
|
4468
|
+
*/
|
|
4469
|
+
500: unknown;
|
|
4470
|
+
};
|
|
4471
|
+
type ListMemoryEntriesResponses = {
|
|
4472
|
+
/**
|
|
4473
|
+
* List of memory entries
|
|
4474
|
+
*/
|
|
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;
|
|
4499
|
+
};
|
|
4500
|
+
query?: never;
|
|
4501
|
+
url: '/api/v1/memories/{memory_id}/entries';
|
|
4502
|
+
};
|
|
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];
|
|
4643
|
+
type ListPoliciesData = {
|
|
4644
|
+
body?: never;
|
|
4645
|
+
path?: never;
|
|
4646
|
+
query?: never;
|
|
4647
|
+
url: '/api/v1/policies';
|
|
4104
4648
|
};
|
|
4105
4649
|
type ListPoliciesErrors = {
|
|
4106
4650
|
/**
|
|
@@ -5049,6 +5593,114 @@ type ReplaceSessionTagsResponses = {
|
|
|
5049
5593
|
};
|
|
5050
5594
|
};
|
|
5051
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];
|
|
5052
5704
|
type ListUsersData = {
|
|
5053
5705
|
body?: never;
|
|
5054
5706
|
path?: never;
|
|
@@ -5621,20 +6273,6 @@ declare class AgentTools {
|
|
|
5621
6273
|
*/
|
|
5622
6274
|
static updateAgentTool<ThrowOnError extends boolean = false>(options: Options<UpdateAgentToolData, ThrowOnError>): RequestResult<UpdateAgentToolResponses, UpdateAgentToolErrors, ThrowOnError, "fields">;
|
|
5623
6275
|
}
|
|
5624
|
-
declare class AgentTraces {
|
|
5625
|
-
/**
|
|
5626
|
-
* List agent traces
|
|
5627
|
-
*
|
|
5628
|
-
* Returns all traces for the project.
|
|
5629
|
-
*/
|
|
5630
|
-
static listAgentTraces<ThrowOnError extends boolean = false>(options?: Options<ListAgentTracesData, ThrowOnError>): RequestResult<ListAgentTracesResponses, ListAgentTracesErrors, ThrowOnError, "fields">;
|
|
5631
|
-
/**
|
|
5632
|
-
* Get a trace
|
|
5633
|
-
*
|
|
5634
|
-
* Returns a single trace by ID.
|
|
5635
|
-
*/
|
|
5636
|
-
static getAgentTrace<ThrowOnError extends boolean = false>(options: Options<GetAgentTraceData, ThrowOnError>): RequestResult<GetAgentTraceResponses, GetAgentTraceErrors, ThrowOnError, "fields">;
|
|
5637
|
-
}
|
|
5638
6276
|
declare class Agents {
|
|
5639
6277
|
/**
|
|
5640
6278
|
* List agents
|
|
@@ -5932,12 +6570,6 @@ declare class Documents {
|
|
|
5932
6570
|
* Replaces all tags on the document with the provided tags (not merged)
|
|
5933
6571
|
*/
|
|
5934
6572
|
static replaceDocumentTags<ThrowOnError extends boolean = false>(options: Options<ReplaceDocumentTagsData, ThrowOnError>): RequestResult<ReplaceDocumentTagsResponses, ReplaceDocumentTagsErrors, ThrowOnError, "fields">;
|
|
5935
|
-
/**
|
|
5936
|
-
* Semantic search over documents
|
|
5937
|
-
*
|
|
5938
|
-
* 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.
|
|
5939
|
-
*/
|
|
5940
|
-
static searchDocuments<ThrowOnError extends boolean = false>(options: Options<SearchDocumentsData, ThrowOnError>): RequestResult<SearchDocumentsResponses, SearchDocumentsErrors, ThrowOnError, "fields">;
|
|
5941
6573
|
}
|
|
5942
6574
|
declare class Files {
|
|
5943
6575
|
/**
|
|
@@ -6013,6 +6645,78 @@ declare class Files {
|
|
|
6013
6645
|
*/
|
|
6014
6646
|
static replaceFileTags<ThrowOnError extends boolean = false>(options: Options<ReplaceFileTagsData, ThrowOnError>): RequestResult<ReplaceFileTagsResponses, ReplaceFileTagsErrors, ThrowOnError, "fields">;
|
|
6015
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
|
+
}
|
|
6656
|
+
declare class Memories {
|
|
6657
|
+
/**
|
|
6658
|
+
* List memories
|
|
6659
|
+
*
|
|
6660
|
+
* Returns a list of memory configurations for a project
|
|
6661
|
+
*/
|
|
6662
|
+
static listMemories<ThrowOnError extends boolean = false>(options?: Options<ListMemoriesData, ThrowOnError>): RequestResult<ListMemoriesResponses, ListMemoriesErrors, ThrowOnError, "fields">;
|
|
6663
|
+
/**
|
|
6664
|
+
* Create a memory
|
|
6665
|
+
*
|
|
6666
|
+
* Creates a new memory configuration in a project
|
|
6667
|
+
*/
|
|
6668
|
+
static createMemory<ThrowOnError extends boolean = false>(options: Options<CreateMemoryData, ThrowOnError>): RequestResult<CreateMemoryResponses, CreateMemoryErrors, ThrowOnError, "fields">;
|
|
6669
|
+
/**
|
|
6670
|
+
* Delete a memory
|
|
6671
|
+
*
|
|
6672
|
+
* Deletes a memory configuration
|
|
6673
|
+
*/
|
|
6674
|
+
static deleteMemory<ThrowOnError extends boolean = false>(options: Options<DeleteMemoryData, ThrowOnError>): RequestResult<DeleteMemoryResponses, DeleteMemoryErrors, ThrowOnError, "fields">;
|
|
6675
|
+
/**
|
|
6676
|
+
* Get a memory
|
|
6677
|
+
*
|
|
6678
|
+
* Returns a single memory configuration by ID
|
|
6679
|
+
*/
|
|
6680
|
+
static getMemory<ThrowOnError extends boolean = false>(options: Options<GetMemoryData, ThrowOnError>): RequestResult<GetMemoryResponses, GetMemoryErrors, ThrowOnError, "fields">;
|
|
6681
|
+
/**
|
|
6682
|
+
* Update a memory
|
|
6683
|
+
*
|
|
6684
|
+
* Updates an existing memory configuration
|
|
6685
|
+
*/
|
|
6686
|
+
static updateMemory<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryData, ThrowOnError>): RequestResult<UpdateMemoryResponses, UpdateMemoryErrors, ThrowOnError, "fields">;
|
|
6687
|
+
}
|
|
6688
|
+
declare class MemoryEntries {
|
|
6689
|
+
/**
|
|
6690
|
+
* List memory entries
|
|
6691
|
+
*
|
|
6692
|
+
* Returns all entries in a memory container
|
|
6693
|
+
*/
|
|
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">;
|
|
6719
|
+
}
|
|
6016
6720
|
declare class Policies {
|
|
6017
6721
|
/**
|
|
6018
6722
|
* List all policies
|
|
@@ -6176,6 +6880,27 @@ declare class Sessions {
|
|
|
6176
6880
|
*/
|
|
6177
6881
|
static replaceSessionTags<ThrowOnError extends boolean = false>(options: Options<ReplaceSessionTagsData, ThrowOnError>): RequestResult<ReplaceSessionTagsResponses, ReplaceSessionTagsErrors, ThrowOnError, "fields">;
|
|
6178
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
|
+
}
|
|
6179
6904
|
declare class Users {
|
|
6180
6905
|
/**
|
|
6181
6906
|
* List all users
|
|
@@ -6320,7 +7045,6 @@ interface SoatClientOptions {
|
|
|
6320
7045
|
declare class SoatClient {
|
|
6321
7046
|
readonly actors: typeof Actors;
|
|
6322
7047
|
readonly agentTools: typeof AgentTools;
|
|
6323
|
-
readonly agentTraces: typeof AgentTraces;
|
|
6324
7048
|
readonly agents: typeof Agents;
|
|
6325
7049
|
readonly aiProviders: typeof AiProviders;
|
|
6326
7050
|
readonly apiKeys: typeof ApiKeys;
|
|
@@ -6332,9 +7056,10 @@ declare class SoatClient {
|
|
|
6332
7056
|
readonly projects: typeof Projects;
|
|
6333
7057
|
readonly secrets: typeof Secrets;
|
|
6334
7058
|
readonly sessions: typeof Sessions;
|
|
7059
|
+
readonly traces: typeof Traces;
|
|
6335
7060
|
readonly users: typeof Users;
|
|
6336
7061
|
readonly webhooks: typeof Webhooks;
|
|
6337
7062
|
constructor({ baseUrl, token, headers }?: SoatClientOptions);
|
|
6338
7063
|
}
|
|
6339
7064
|
|
|
6340
|
-
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 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 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 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 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, 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, 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 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 };
|