@soat/sdk 0.13.3 → 0.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +31 -1
- package/dist/index.d.cts +222 -36
- package/dist/index.d.mts +222 -36
- package/dist/index.mjs +31 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1410,6 +1410,36 @@ var Files = class {
|
|
|
1410
1410
|
});
|
|
1411
1411
|
}
|
|
1412
1412
|
/**
|
|
1413
|
+
* Request a file upload token
|
|
1414
|
+
*
|
|
1415
|
+
* Creates a short-lived, single-use upload token — the local-storage equivalent of an S3 presigned URL. The client then uploads the file content directly to the returned `upload_url` via `POST /api/v1/files/upload/{token}`, bypassing MCP payload size limits.
|
|
1416
|
+
*/
|
|
1417
|
+
static createUploadToken(options) {
|
|
1418
|
+
return (options.client ?? client).post({
|
|
1419
|
+
url: "/api/v1/files/upload-token",
|
|
1420
|
+
...options,
|
|
1421
|
+
headers: {
|
|
1422
|
+
"Content-Type": "application/json",
|
|
1423
|
+
...options.headers
|
|
1424
|
+
}
|
|
1425
|
+
});
|
|
1426
|
+
}
|
|
1427
|
+
/**
|
|
1428
|
+
* Upload a file using an upload token
|
|
1429
|
+
*
|
|
1430
|
+
* Uploads file content authorized by a single-use token from `POST /api/v1/files/upload-token`. No bearer credential is required — the token is the credential. Accepts either multipart/form-data (field `file`) or JSON with a base64-encoded `content` field. Excluded from the MCP tool surface; clients call it directly over HTTP.
|
|
1431
|
+
*/
|
|
1432
|
+
static uploadFileWithToken(options) {
|
|
1433
|
+
return (options.client ?? client).post({
|
|
1434
|
+
url: "/api/v1/files/upload/{token}",
|
|
1435
|
+
...options,
|
|
1436
|
+
headers: {
|
|
1437
|
+
"Content-Type": "application/json",
|
|
1438
|
+
...options.headers
|
|
1439
|
+
}
|
|
1440
|
+
});
|
|
1441
|
+
}
|
|
1442
|
+
/**
|
|
1413
1443
|
* Delete a file
|
|
1414
1444
|
*
|
|
1415
1445
|
* Removes a file from the system by ID
|
|
@@ -2358,7 +2388,7 @@ var Tools = class {
|
|
|
2358
2388
|
/**
|
|
2359
2389
|
* Call a tool
|
|
2360
2390
|
*
|
|
2361
|
-
* Directly invokes a tool and returns its output. Supported for `http`, `soat`, and `
|
|
2391
|
+
* Directly invokes a tool and returns its output. Supported for `http`, `soat`, `mcp`, and `pipeline` tools. `client` tools cannot be invoked server-side and will return 422. A `pipeline` tool runs its declared steps in order and returns the mapped `output` (or the last step's output); `action` is ignored and `input` is the pipeline input.
|
|
2362
2392
|
* For `soat` and `mcp` tools the `action` field is required and identifies which action (SOAT) or tool name (MCP) to invoke. For `http` tools `action` is ignored.
|
|
2363
2393
|
* `preset_parameters` stored on the tool are merged with the caller-supplied `input` before execution; preset keys take lower precedence.
|
|
2364
2394
|
*
|
package/dist/index.d.cts
CHANGED
|
@@ -1320,6 +1320,56 @@ type UploadFileBase64Request = {
|
|
|
1320
1320
|
*/
|
|
1321
1321
|
metadata?: string;
|
|
1322
1322
|
};
|
|
1323
|
+
type UploadTokenRequest = {
|
|
1324
|
+
/**
|
|
1325
|
+
* Public ID of the project
|
|
1326
|
+
*/
|
|
1327
|
+
project_id: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* Name of the file to be uploaded
|
|
1330
|
+
*/
|
|
1331
|
+
filename?: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* MIME type of the file to be uploaded
|
|
1334
|
+
*/
|
|
1335
|
+
content_type?: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* Logical path within the project (e.g. /documents/report.pdf). Defaults to /filename if omitted.
|
|
1338
|
+
*/
|
|
1339
|
+
path?: string;
|
|
1340
|
+
};
|
|
1341
|
+
type UploadTokenResponse = {
|
|
1342
|
+
/**
|
|
1343
|
+
* Single-use token value
|
|
1344
|
+
*/
|
|
1345
|
+
upload_token?: string;
|
|
1346
|
+
/**
|
|
1347
|
+
* Relative URL to POST the file content to
|
|
1348
|
+
*/
|
|
1349
|
+
upload_url?: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* Token expiration timestamp
|
|
1352
|
+
*/
|
|
1353
|
+
expires_at?: Date;
|
|
1354
|
+
};
|
|
1355
|
+
type UploadFileWithTokenRequest = {
|
|
1356
|
+
/**
|
|
1357
|
+
* Base64-encoded file content
|
|
1358
|
+
*/
|
|
1359
|
+
content: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* Name of the file (overrides the token's filename)
|
|
1362
|
+
*/
|
|
1363
|
+
filename?: string;
|
|
1364
|
+
/**
|
|
1365
|
+
* MIME type of the file (overrides the token's content type)
|
|
1366
|
+
*/
|
|
1367
|
+
content_type?: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* JSON string with additional metadata
|
|
1370
|
+
*/
|
|
1371
|
+
metadata?: string;
|
|
1372
|
+
};
|
|
1323
1373
|
/**
|
|
1324
1374
|
* Stored file metadata
|
|
1325
1375
|
*/
|
|
@@ -1696,7 +1746,7 @@ type AiProviderResourceProperties = {
|
|
|
1696
1746
|
} | null;
|
|
1697
1747
|
};
|
|
1698
1748
|
/**
|
|
1699
|
-
* Defines a tool (HTTP endpoint, MCP server,
|
|
1749
|
+
* Defines a tool (HTTP endpoint, MCP server, SOAT action, or pipeline) that agents can invoke during a generation.
|
|
1700
1750
|
*/
|
|
1701
1751
|
type ToolResourceProperties = {
|
|
1702
1752
|
/**
|
|
@@ -1704,7 +1754,7 @@ type ToolResourceProperties = {
|
|
|
1704
1754
|
*/
|
|
1705
1755
|
name: string;
|
|
1706
1756
|
/**
|
|
1707
|
-
* Tool type hint (e.g. http, mcp, soat)
|
|
1757
|
+
* Tool type hint (e.g. http, mcp, soat, pipeline)
|
|
1708
1758
|
*/
|
|
1709
1759
|
type?: string | null;
|
|
1710
1760
|
/**
|
|
@@ -1761,6 +1811,12 @@ type ToolResourceProperties = {
|
|
|
1761
1811
|
preset_parameters?: {
|
|
1762
1812
|
[key: string]: unknown;
|
|
1763
1813
|
} | null;
|
|
1814
|
+
/**
|
|
1815
|
+
* Pipeline definition for `pipeline` tools: an ordered `steps` array, each invoking another tool by `tool_id` (optional `action`) with an `input` built from earlier results via JSON Logic over `{ input, steps }`, plus an optional `output` mapping. Step `input` keys and `var` paths use camelCase (the runtime form). Free-form, user-defined.
|
|
1816
|
+
*/
|
|
1817
|
+
pipeline?: {
|
|
1818
|
+
[key: string]: unknown;
|
|
1819
|
+
} | null;
|
|
1764
1820
|
};
|
|
1765
1821
|
/**
|
|
1766
1822
|
* Stores a text document in a project, optionally indexing it for knowledge retrieval.
|
|
@@ -1825,9 +1881,9 @@ type MemoryEntryResourceProperties = {
|
|
|
1825
1881
|
*/
|
|
1826
1882
|
content: string;
|
|
1827
1883
|
/**
|
|
1828
|
-
*
|
|
1884
|
+
* How this entry was created (defaults to manual)
|
|
1829
1885
|
*/
|
|
1830
|
-
|
|
1886
|
+
source_type?: 'manual' | 'agent' | 'extraction';
|
|
1831
1887
|
};
|
|
1832
1888
|
/**
|
|
1833
1889
|
* Registers an HTTPS endpoint to receive SOAT platform event notifications.
|
|
@@ -2141,7 +2197,7 @@ type Generation = {
|
|
|
2141
2197
|
*/
|
|
2142
2198
|
trace_id?: string;
|
|
2143
2199
|
/**
|
|
2144
|
-
* Public ID of the generation that triggered this one
|
|
2200
|
+
* Public ID of the generation that triggered this one. Set for debate perspective/synthesis child generations and sub-agent invocations alike. Null for top-level generations.
|
|
2145
2201
|
*
|
|
2146
2202
|
*/
|
|
2147
2203
|
initiator_generation_id?: string | null;
|
|
@@ -2246,7 +2302,7 @@ type DocumentKnowledgeResult = {
|
|
|
2246
2302
|
/**
|
|
2247
2303
|
* Semantic similarity score (0–1). Only present when `query` was provided.
|
|
2248
2304
|
*/
|
|
2249
|
-
|
|
2305
|
+
similarity_score?: number;
|
|
2250
2306
|
/**
|
|
2251
2307
|
* Creation timestamp
|
|
2252
2308
|
*/
|
|
@@ -2280,7 +2336,7 @@ type MemoryKnowledgeResult = {
|
|
|
2280
2336
|
/**
|
|
2281
2337
|
* Semantic similarity score (0–1). Only present when `query` was provided.
|
|
2282
2338
|
*/
|
|
2283
|
-
|
|
2339
|
+
similarity_score?: number;
|
|
2284
2340
|
/**
|
|
2285
2341
|
* Creation timestamp
|
|
2286
2342
|
*/
|
|
@@ -2306,7 +2362,7 @@ type MemoryEntry = {
|
|
|
2306
2362
|
id?: string;
|
|
2307
2363
|
memory_id?: string;
|
|
2308
2364
|
content?: string;
|
|
2309
|
-
|
|
2365
|
+
source_type?: 'manual' | 'agent' | 'extraction';
|
|
2310
2366
|
created_at?: Date;
|
|
2311
2367
|
updated_at?: Date;
|
|
2312
2368
|
};
|
|
@@ -2327,17 +2383,17 @@ type OrchestrationNode = {
|
|
|
2327
2383
|
/**
|
|
2328
2384
|
* Node execution type.
|
|
2329
2385
|
*/
|
|
2330
|
-
type: 'agent' | 'tool' | 'transform' | 'knowledge' | 'memory_write' | 'condition' | 'human' | 'loop' | 'delay' | 'webhook' | 'sub_orchestration';
|
|
2386
|
+
type: 'agent' | 'tool' | 'transform' | 'knowledge' | 'memory_write' | 'condition' | 'human' | 'loop' | 'poll' | 'delay' | 'webhook' | 'sub_orchestration';
|
|
2331
2387
|
/**
|
|
2332
2388
|
* For agent nodes — public ID of the agent to invoke.
|
|
2333
2389
|
*/
|
|
2334
2390
|
agent_id?: string;
|
|
2335
2391
|
/**
|
|
2336
|
-
* For tool nodes — public ID of the tool to call.
|
|
2392
|
+
* For tool and poll nodes — public ID of the tool to call.
|
|
2337
2393
|
*/
|
|
2338
2394
|
tool_id?: string;
|
|
2339
2395
|
/**
|
|
2340
|
-
* For tool nodes — specific operation/action on MCP/SOAT tools.
|
|
2396
|
+
* For tool and poll nodes — specific operation/action on MCP/SOAT tools.
|
|
2341
2397
|
*/
|
|
2342
2398
|
operation_id?: string;
|
|
2343
2399
|
/**
|
|
@@ -2346,6 +2402,13 @@ type OrchestrationNode = {
|
|
|
2346
2402
|
expression?: {
|
|
2347
2403
|
[key: string]: unknown;
|
|
2348
2404
|
};
|
|
2405
|
+
/**
|
|
2406
|
+
* For poll nodes — JSON Logic stop condition, evaluated each attempt against the run state augmented with `response` (the latest tool result) and `attempt` (1-based count); a truthy result stops polling.
|
|
2407
|
+
*
|
|
2408
|
+
*/
|
|
2409
|
+
exit_condition?: {
|
|
2410
|
+
[key: string]: unknown;
|
|
2411
|
+
};
|
|
2349
2412
|
/**
|
|
2350
2413
|
* For human nodes — prompt shown to the human reviewer.
|
|
2351
2414
|
*/
|
|
@@ -2385,16 +2448,23 @@ type OrchestrationNode = {
|
|
|
2385
2448
|
* For loop nodes — variable name injected into state for each item.
|
|
2386
2449
|
*/
|
|
2387
2450
|
item_variable?: string;
|
|
2388
|
-
/**
|
|
2389
|
-
* For loop nodes — sub-graph definition to run per item.
|
|
2390
|
-
*/
|
|
2391
|
-
sub_graph?: string;
|
|
2392
2451
|
/**
|
|
2393
2452
|
* For loop nodes — number of items to process in parallel.
|
|
2394
2453
|
*/
|
|
2395
2454
|
parallelism?: number;
|
|
2396
2455
|
/**
|
|
2397
|
-
* For
|
|
2456
|
+
* For poll nodes — wait between attempts. Accepts a friendly suffix form (`5s`, `30s`, `5m`, `2h`, `500ms`) or ISO 8601 (e.g. PT5S).
|
|
2457
|
+
*
|
|
2458
|
+
*/
|
|
2459
|
+
interval?: string;
|
|
2460
|
+
/**
|
|
2461
|
+
* For poll nodes — when max_iterations is reached without the exit condition becoming true, fail the run (true) instead of completing with condition_met=false (default false).
|
|
2462
|
+
*
|
|
2463
|
+
*/
|
|
2464
|
+
fail_on_timeout?: boolean;
|
|
2465
|
+
/**
|
|
2466
|
+
* For delay nodes — how long to wait. Accepts a friendly suffix form (`5s`, `30s`, `5m`, `2h`, `500ms`) or ISO 8601 (e.g. PT5S).
|
|
2467
|
+
*
|
|
2398
2468
|
*/
|
|
2399
2469
|
duration?: string;
|
|
2400
2470
|
/**
|
|
@@ -2406,11 +2476,13 @@ type OrchestrationNode = {
|
|
|
2406
2476
|
*/
|
|
2407
2477
|
webhook_url?: string;
|
|
2408
2478
|
/**
|
|
2409
|
-
*
|
|
2479
|
+
* Public ID of the orchestration this node runs — the child orchestration for sub_orchestration nodes, and the orchestration run once per item for loop nodes.
|
|
2480
|
+
*
|
|
2410
2481
|
*/
|
|
2411
2482
|
orchestration_id?: string;
|
|
2412
2483
|
/**
|
|
2413
|
-
* Maximum iterations before the node is aborted.
|
|
2484
|
+
* Maximum iterations before the node is aborted. For poll nodes this is the maximum number of attempts (default 10, ceiling 1000).
|
|
2485
|
+
*
|
|
2414
2486
|
*/
|
|
2415
2487
|
max_iterations?: number;
|
|
2416
2488
|
};
|
|
@@ -2475,9 +2547,9 @@ type Orchestration = {
|
|
|
2475
2547
|
};
|
|
2476
2548
|
type CreateOrchestrationRequest = {
|
|
2477
2549
|
/**
|
|
2478
|
-
* Public ID of the project.
|
|
2550
|
+
* Public ID of the project. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
|
|
2479
2551
|
*/
|
|
2480
|
-
project_id
|
|
2552
|
+
project_id?: string;
|
|
2481
2553
|
/**
|
|
2482
2554
|
* Human-readable name.
|
|
2483
2555
|
*/
|
|
@@ -2913,7 +2985,7 @@ type Tool = {
|
|
|
2913
2985
|
/**
|
|
2914
2986
|
* Tool type
|
|
2915
2987
|
*/
|
|
2916
|
-
type?: 'http' | 'client' | 'mcp' | 'soat';
|
|
2988
|
+
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline';
|
|
2917
2989
|
/**
|
|
2918
2990
|
* What the tool does (sent to the model)
|
|
2919
2991
|
*/
|
|
@@ -2947,6 +3019,12 @@ type Tool = {
|
|
|
2947
3019
|
preset_parameters?: {
|
|
2948
3020
|
[key: string]: unknown;
|
|
2949
3021
|
} | null;
|
|
3022
|
+
/**
|
|
3023
|
+
* Pipeline definition for `pipeline` tools: an ordered `steps` array, each step invoking another tool by `tool_id` (optional `action`) and building its `input` from earlier results via JSON Logic evaluated over `{ input, steps }`. An optional `output` maps the final result.
|
|
3024
|
+
*/
|
|
3025
|
+
pipeline?: {
|
|
3026
|
+
[key: string]: unknown;
|
|
3027
|
+
} | null;
|
|
2950
3028
|
created_at?: Date;
|
|
2951
3029
|
updated_at?: Date;
|
|
2952
3030
|
};
|
|
@@ -2962,7 +3040,7 @@ type CreateToolRequest = {
|
|
|
2962
3040
|
/**
|
|
2963
3041
|
* Tool type (default http)
|
|
2964
3042
|
*/
|
|
2965
|
-
type?: 'http' | 'client' | 'mcp' | 'soat';
|
|
3043
|
+
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline';
|
|
2966
3044
|
/**
|
|
2967
3045
|
* What the tool does
|
|
2968
3046
|
*/
|
|
@@ -2996,10 +3074,16 @@ type CreateToolRequest = {
|
|
|
2996
3074
|
preset_parameters?: {
|
|
2997
3075
|
[key: string]: unknown;
|
|
2998
3076
|
};
|
|
3077
|
+
/**
|
|
3078
|
+
* Pipeline definition for `pipeline` tools. See the `pipeline` field on the Tool schema for the full structure.
|
|
3079
|
+
*/
|
|
3080
|
+
pipeline?: {
|
|
3081
|
+
[key: string]: unknown;
|
|
3082
|
+
};
|
|
2999
3083
|
};
|
|
3000
3084
|
type UpdateToolRequest = {
|
|
3001
3085
|
name?: string;
|
|
3002
|
-
type?: 'http' | 'client' | 'mcp' | 'soat';
|
|
3086
|
+
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline';
|
|
3003
3087
|
description?: string | null;
|
|
3004
3088
|
parameters?: {
|
|
3005
3089
|
[key: string]: unknown;
|
|
@@ -3021,6 +3105,12 @@ type UpdateToolRequest = {
|
|
|
3021
3105
|
preset_parameters?: {
|
|
3022
3106
|
[key: string]: unknown;
|
|
3023
3107
|
} | null;
|
|
3108
|
+
/**
|
|
3109
|
+
* Pipeline definition for `pipeline` tools. See the `pipeline` field on the Tool schema for the full structure.
|
|
3110
|
+
*/
|
|
3111
|
+
pipeline?: {
|
|
3112
|
+
[key: string]: unknown;
|
|
3113
|
+
} | null;
|
|
3024
3114
|
};
|
|
3025
3115
|
type CallToolRequest = {
|
|
3026
3116
|
/**
|
|
@@ -3106,6 +3196,11 @@ type TraceTreeNode = {
|
|
|
3106
3196
|
* Child traces triggered by sub-agent calls from this trace
|
|
3107
3197
|
*/
|
|
3108
3198
|
children?: Array<TraceTreeNode>;
|
|
3199
|
+
/**
|
|
3200
|
+
* Generations that belong to this trace node. Only present when `include=generations` is requested. Includes top-level generations and debate child generations (perspective turns and synthesis steps) linked via `initiator_generation_id`.
|
|
3201
|
+
*
|
|
3202
|
+
*/
|
|
3203
|
+
generations?: Array<Generation>;
|
|
3109
3204
|
};
|
|
3110
3205
|
type UserRecord = {
|
|
3111
3206
|
/**
|
|
@@ -3145,7 +3240,10 @@ type WebhookWithSecret = Webhook & {
|
|
|
3145
3240
|
secret?: string;
|
|
3146
3241
|
};
|
|
3147
3242
|
type CreateWebhookRequest = {
|
|
3148
|
-
|
|
3243
|
+
/**
|
|
3244
|
+
* Public ID of the project. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
|
|
3245
|
+
*/
|
|
3246
|
+
project_id?: string;
|
|
3149
3247
|
name: string;
|
|
3150
3248
|
description?: string;
|
|
3151
3249
|
url: string;
|
|
@@ -5306,9 +5404,9 @@ type ListFilesResponse = ListFilesResponses[keyof ListFilesResponses];
|
|
|
5306
5404
|
type CreateFileData = {
|
|
5307
5405
|
body: {
|
|
5308
5406
|
/**
|
|
5309
|
-
* Public ID of the project
|
|
5407
|
+
* Public ID of the project. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
|
|
5310
5408
|
*/
|
|
5311
|
-
project_id
|
|
5409
|
+
project_id?: string;
|
|
5312
5410
|
/**
|
|
5313
5411
|
* Logical path within the project (e.g. /images/logo.png). Defaults to /filename if omitted.
|
|
5314
5412
|
*/
|
|
@@ -5363,9 +5461,9 @@ type UploadFileData = {
|
|
|
5363
5461
|
*/
|
|
5364
5462
|
file: Blob | File;
|
|
5365
5463
|
/**
|
|
5366
|
-
* Project ID to associate the file with
|
|
5464
|
+
* Project ID to associate the file with. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
|
|
5367
5465
|
*/
|
|
5368
|
-
project_id
|
|
5466
|
+
project_id?: string;
|
|
5369
5467
|
/**
|
|
5370
5468
|
* Additional metadata as a JSON string
|
|
5371
5469
|
*/
|
|
@@ -5425,6 +5523,71 @@ type UploadFileBase64Responses = {
|
|
|
5425
5523
|
201: FileRecord;
|
|
5426
5524
|
};
|
|
5427
5525
|
type UploadFileBase64Response = UploadFileBase64Responses[keyof UploadFileBase64Responses];
|
|
5526
|
+
type CreateUploadTokenData = {
|
|
5527
|
+
body: UploadTokenRequest;
|
|
5528
|
+
path?: never;
|
|
5529
|
+
query?: never;
|
|
5530
|
+
url: '/api/v1/files/upload-token';
|
|
5531
|
+
};
|
|
5532
|
+
type CreateUploadTokenErrors = {
|
|
5533
|
+
/**
|
|
5534
|
+
* Missing or invalid project
|
|
5535
|
+
*/
|
|
5536
|
+
400: ErrorResponse;
|
|
5537
|
+
/**
|
|
5538
|
+
* Authentication required
|
|
5539
|
+
*/
|
|
5540
|
+
401: ErrorResponse;
|
|
5541
|
+
/**
|
|
5542
|
+
* Insufficient permissions
|
|
5543
|
+
*/
|
|
5544
|
+
403: ErrorResponse;
|
|
5545
|
+
};
|
|
5546
|
+
type CreateUploadTokenError = CreateUploadTokenErrors[keyof CreateUploadTokenErrors];
|
|
5547
|
+
type CreateUploadTokenResponses = {
|
|
5548
|
+
/**
|
|
5549
|
+
* Upload token created successfully
|
|
5550
|
+
*/
|
|
5551
|
+
201: UploadTokenResponse;
|
|
5552
|
+
};
|
|
5553
|
+
type CreateUploadTokenResponse = CreateUploadTokenResponses[keyof CreateUploadTokenResponses];
|
|
5554
|
+
type UploadFileWithTokenData = {
|
|
5555
|
+
body: UploadFileWithTokenRequest;
|
|
5556
|
+
path: {
|
|
5557
|
+
/**
|
|
5558
|
+
* The single-use upload token (e.g. upt_...)
|
|
5559
|
+
*/
|
|
5560
|
+
token: string;
|
|
5561
|
+
};
|
|
5562
|
+
query?: never;
|
|
5563
|
+
url: '/api/v1/files/upload/{token}';
|
|
5564
|
+
};
|
|
5565
|
+
type UploadFileWithTokenErrors = {
|
|
5566
|
+
/**
|
|
5567
|
+
* Missing content
|
|
5568
|
+
*/
|
|
5569
|
+
400: ErrorResponse;
|
|
5570
|
+
/**
|
|
5571
|
+
* Upload token not found
|
|
5572
|
+
*/
|
|
5573
|
+
404: ErrorResponse;
|
|
5574
|
+
/**
|
|
5575
|
+
* Upload token already used
|
|
5576
|
+
*/
|
|
5577
|
+
409: ErrorResponse;
|
|
5578
|
+
/**
|
|
5579
|
+
* Upload token expired
|
|
5580
|
+
*/
|
|
5581
|
+
410: ErrorResponse;
|
|
5582
|
+
};
|
|
5583
|
+
type UploadFileWithTokenError = UploadFileWithTokenErrors[keyof UploadFileWithTokenErrors];
|
|
5584
|
+
type UploadFileWithTokenResponses = {
|
|
5585
|
+
/**
|
|
5586
|
+
* File uploaded successfully
|
|
5587
|
+
*/
|
|
5588
|
+
201: FileRecord;
|
|
5589
|
+
};
|
|
5590
|
+
type UploadFileWithTokenResponse = UploadFileWithTokenResponses[keyof UploadFileWithTokenResponses];
|
|
5428
5591
|
type DeleteFileData = {
|
|
5429
5592
|
body?: never;
|
|
5430
5593
|
path: {
|
|
@@ -5741,9 +5904,9 @@ type ValidateFormationResponse = ValidateFormationResponses[keyof ValidateFormat
|
|
|
5741
5904
|
type PlanFormationData = {
|
|
5742
5905
|
body: {
|
|
5743
5906
|
/**
|
|
5744
|
-
* Project ID
|
|
5907
|
+
* Project ID. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
|
|
5745
5908
|
*/
|
|
5746
|
-
project_id
|
|
5909
|
+
project_id?: string;
|
|
5747
5910
|
/**
|
|
5748
5911
|
* Existing formation ID to compare against. Omit for new formation planning.
|
|
5749
5912
|
*/
|
|
@@ -5813,9 +5976,9 @@ type ListFormationsResponse = ListFormationsResponses[keyof ListFormationsRespon
|
|
|
5813
5976
|
type CreateFormationData = {
|
|
5814
5977
|
body: {
|
|
5815
5978
|
/**
|
|
5816
|
-
* Project ID
|
|
5979
|
+
* Project ID. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
|
|
5817
5980
|
*/
|
|
5818
|
-
project_id
|
|
5981
|
+
project_id?: string;
|
|
5819
5982
|
/**
|
|
5820
5983
|
* Human-readable name for the formation stack
|
|
5821
5984
|
*/
|
|
@@ -6007,6 +6170,11 @@ type ListGenerationsData = {
|
|
|
6007
6170
|
* Filter by trace public ID
|
|
6008
6171
|
*/
|
|
6009
6172
|
trace_id?: string;
|
|
6173
|
+
/**
|
|
6174
|
+
* Filter by the public ID of the parent generation. Returns all generations triggered by that generation — debate perspective turns, synthesis steps, and sub-agent invocations. Null-initiated (top-level) generations are not returned.
|
|
6175
|
+
*
|
|
6176
|
+
*/
|
|
6177
|
+
initiator_generation_id?: string;
|
|
6010
6178
|
/**
|
|
6011
6179
|
* Filter by lifecycle status
|
|
6012
6180
|
*/
|
|
@@ -6381,7 +6549,7 @@ type CreateMemoryEntryData = {
|
|
|
6381
6549
|
/**
|
|
6382
6550
|
* How this entry was created
|
|
6383
6551
|
*/
|
|
6384
|
-
|
|
6552
|
+
source_type?: 'manual' | 'agent' | 'extraction';
|
|
6385
6553
|
/**
|
|
6386
6554
|
* Cosine similarity score at or above which the incoming content is considered a duplicate and skipped (default 0.95)
|
|
6387
6555
|
*/
|
|
@@ -8088,7 +8256,13 @@ type GetTraceTreeData = {
|
|
|
8088
8256
|
*/
|
|
8089
8257
|
trace_id: string;
|
|
8090
8258
|
};
|
|
8091
|
-
query?:
|
|
8259
|
+
query?: {
|
|
8260
|
+
/**
|
|
8261
|
+
* Comma-separated list of related resources to embed on each node. Supported value: `generations` — attaches all generations that belong to each trace node (including debate perspective/synthesis children linked via `initiator_generation_id`).
|
|
8262
|
+
*
|
|
8263
|
+
*/
|
|
8264
|
+
include?: string;
|
|
8265
|
+
};
|
|
8092
8266
|
url: '/api/v1/traces/{trace_id}/tree';
|
|
8093
8267
|
};
|
|
8094
8268
|
type GetTraceTreeErrors = {
|
|
@@ -8987,6 +9161,18 @@ declare class Files {
|
|
|
8987
9161
|
* Uploads a file to the server using base64-encoded content
|
|
8988
9162
|
*/
|
|
8989
9163
|
static uploadFileBase64<ThrowOnError extends boolean = false>(options: Options<UploadFileBase64Data, ThrowOnError>): RequestResult<UploadFileBase64Responses, UploadFileBase64Errors, ThrowOnError>;
|
|
9164
|
+
/**
|
|
9165
|
+
* Request a file upload token
|
|
9166
|
+
*
|
|
9167
|
+
* Creates a short-lived, single-use upload token — the local-storage equivalent of an S3 presigned URL. The client then uploads the file content directly to the returned `upload_url` via `POST /api/v1/files/upload/{token}`, bypassing MCP payload size limits.
|
|
9168
|
+
*/
|
|
9169
|
+
static createUploadToken<ThrowOnError extends boolean = false>(options: Options<CreateUploadTokenData, ThrowOnError>): RequestResult<CreateUploadTokenResponses, CreateUploadTokenErrors, ThrowOnError>;
|
|
9170
|
+
/**
|
|
9171
|
+
* Upload a file using an upload token
|
|
9172
|
+
*
|
|
9173
|
+
* Uploads file content authorized by a single-use token from `POST /api/v1/files/upload-token`. No bearer credential is required — the token is the credential. Accepts either multipart/form-data (field `file`) or JSON with a base64-encoded `content` field. Excluded from the MCP tool surface; clients call it directly over HTTP.
|
|
9174
|
+
*/
|
|
9175
|
+
static uploadFileWithToken<ThrowOnError extends boolean = false>(options: Options<UploadFileWithTokenData, ThrowOnError>): RequestResult<UploadFileWithTokenResponses, UploadFileWithTokenErrors, ThrowOnError>;
|
|
8990
9176
|
/**
|
|
8991
9177
|
* Delete a file
|
|
8992
9178
|
*
|
|
@@ -9453,7 +9639,7 @@ declare class Tools {
|
|
|
9453
9639
|
/**
|
|
9454
9640
|
* Call a tool
|
|
9455
9641
|
*
|
|
9456
|
-
* Directly invokes a tool and returns its output. Supported for `http`, `soat`, and `
|
|
9642
|
+
* Directly invokes a tool and returns its output. Supported for `http`, `soat`, `mcp`, and `pipeline` tools. `client` tools cannot be invoked server-side and will return 422. A `pipeline` tool runs its declared steps in order and returns the mapped `output` (or the last step's output); `action` is ignored and `input` is the pipeline input.
|
|
9457
9643
|
* For `soat` and `mcp` tools the `action` field is required and identifies which action (SOAT) or tool name (MCP) to invoke. For `http` tools `action` is ignored.
|
|
9458
9644
|
* `preset_parameters` stored on the tool are merged with the caller-supplied `input` before execution; preset keys take lower precedence.
|
|
9459
9645
|
*
|
|
@@ -9657,4 +9843,4 @@ declare class SoatClient {
|
|
|
9657
9843
|
}?: SoatClientOptions);
|
|
9658
9844
|
}
|
|
9659
9845
|
//#endregion
|
|
9660
|
-
export { type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentId, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type FileRecord, type FileResourceProperties, Files, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetProjectData, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type ProjectRecord, Projects, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequiredAction, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type Tool, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };
|
|
9846
|
+
export { type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentId, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateUploadTokenData, type CreateUploadTokenError, type CreateUploadTokenErrors, type CreateUploadTokenResponse, type CreateUploadTokenResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type FileRecord, type FileResourceProperties, Files, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetProjectData, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type ProjectRecord, Projects, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequiredAction, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type Tool, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UploadTokenRequest, type UploadTokenResponse, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };
|
package/dist/index.d.mts
CHANGED
|
@@ -1320,6 +1320,56 @@ type UploadFileBase64Request = {
|
|
|
1320
1320
|
*/
|
|
1321
1321
|
metadata?: string;
|
|
1322
1322
|
};
|
|
1323
|
+
type UploadTokenRequest = {
|
|
1324
|
+
/**
|
|
1325
|
+
* Public ID of the project
|
|
1326
|
+
*/
|
|
1327
|
+
project_id: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* Name of the file to be uploaded
|
|
1330
|
+
*/
|
|
1331
|
+
filename?: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* MIME type of the file to be uploaded
|
|
1334
|
+
*/
|
|
1335
|
+
content_type?: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* Logical path within the project (e.g. /documents/report.pdf). Defaults to /filename if omitted.
|
|
1338
|
+
*/
|
|
1339
|
+
path?: string;
|
|
1340
|
+
};
|
|
1341
|
+
type UploadTokenResponse = {
|
|
1342
|
+
/**
|
|
1343
|
+
* Single-use token value
|
|
1344
|
+
*/
|
|
1345
|
+
upload_token?: string;
|
|
1346
|
+
/**
|
|
1347
|
+
* Relative URL to POST the file content to
|
|
1348
|
+
*/
|
|
1349
|
+
upload_url?: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* Token expiration timestamp
|
|
1352
|
+
*/
|
|
1353
|
+
expires_at?: Date;
|
|
1354
|
+
};
|
|
1355
|
+
type UploadFileWithTokenRequest = {
|
|
1356
|
+
/**
|
|
1357
|
+
* Base64-encoded file content
|
|
1358
|
+
*/
|
|
1359
|
+
content: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* Name of the file (overrides the token's filename)
|
|
1362
|
+
*/
|
|
1363
|
+
filename?: string;
|
|
1364
|
+
/**
|
|
1365
|
+
* MIME type of the file (overrides the token's content type)
|
|
1366
|
+
*/
|
|
1367
|
+
content_type?: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* JSON string with additional metadata
|
|
1370
|
+
*/
|
|
1371
|
+
metadata?: string;
|
|
1372
|
+
};
|
|
1323
1373
|
/**
|
|
1324
1374
|
* Stored file metadata
|
|
1325
1375
|
*/
|
|
@@ -1696,7 +1746,7 @@ type AiProviderResourceProperties = {
|
|
|
1696
1746
|
} | null;
|
|
1697
1747
|
};
|
|
1698
1748
|
/**
|
|
1699
|
-
* Defines a tool (HTTP endpoint, MCP server,
|
|
1749
|
+
* Defines a tool (HTTP endpoint, MCP server, SOAT action, or pipeline) that agents can invoke during a generation.
|
|
1700
1750
|
*/
|
|
1701
1751
|
type ToolResourceProperties = {
|
|
1702
1752
|
/**
|
|
@@ -1704,7 +1754,7 @@ type ToolResourceProperties = {
|
|
|
1704
1754
|
*/
|
|
1705
1755
|
name: string;
|
|
1706
1756
|
/**
|
|
1707
|
-
* Tool type hint (e.g. http, mcp, soat)
|
|
1757
|
+
* Tool type hint (e.g. http, mcp, soat, pipeline)
|
|
1708
1758
|
*/
|
|
1709
1759
|
type?: string | null;
|
|
1710
1760
|
/**
|
|
@@ -1761,6 +1811,12 @@ type ToolResourceProperties = {
|
|
|
1761
1811
|
preset_parameters?: {
|
|
1762
1812
|
[key: string]: unknown;
|
|
1763
1813
|
} | null;
|
|
1814
|
+
/**
|
|
1815
|
+
* Pipeline definition for `pipeline` tools: an ordered `steps` array, each invoking another tool by `tool_id` (optional `action`) with an `input` built from earlier results via JSON Logic over `{ input, steps }`, plus an optional `output` mapping. Step `input` keys and `var` paths use camelCase (the runtime form). Free-form, user-defined.
|
|
1816
|
+
*/
|
|
1817
|
+
pipeline?: {
|
|
1818
|
+
[key: string]: unknown;
|
|
1819
|
+
} | null;
|
|
1764
1820
|
};
|
|
1765
1821
|
/**
|
|
1766
1822
|
* Stores a text document in a project, optionally indexing it for knowledge retrieval.
|
|
@@ -1825,9 +1881,9 @@ type MemoryEntryResourceProperties = {
|
|
|
1825
1881
|
*/
|
|
1826
1882
|
content: string;
|
|
1827
1883
|
/**
|
|
1828
|
-
*
|
|
1884
|
+
* How this entry was created (defaults to manual)
|
|
1829
1885
|
*/
|
|
1830
|
-
|
|
1886
|
+
source_type?: 'manual' | 'agent' | 'extraction';
|
|
1831
1887
|
};
|
|
1832
1888
|
/**
|
|
1833
1889
|
* Registers an HTTPS endpoint to receive SOAT platform event notifications.
|
|
@@ -2141,7 +2197,7 @@ type Generation = {
|
|
|
2141
2197
|
*/
|
|
2142
2198
|
trace_id?: string;
|
|
2143
2199
|
/**
|
|
2144
|
-
* Public ID of the generation that triggered this one
|
|
2200
|
+
* Public ID of the generation that triggered this one. Set for debate perspective/synthesis child generations and sub-agent invocations alike. Null for top-level generations.
|
|
2145
2201
|
*
|
|
2146
2202
|
*/
|
|
2147
2203
|
initiator_generation_id?: string | null;
|
|
@@ -2246,7 +2302,7 @@ type DocumentKnowledgeResult = {
|
|
|
2246
2302
|
/**
|
|
2247
2303
|
* Semantic similarity score (0–1). Only present when `query` was provided.
|
|
2248
2304
|
*/
|
|
2249
|
-
|
|
2305
|
+
similarity_score?: number;
|
|
2250
2306
|
/**
|
|
2251
2307
|
* Creation timestamp
|
|
2252
2308
|
*/
|
|
@@ -2280,7 +2336,7 @@ type MemoryKnowledgeResult = {
|
|
|
2280
2336
|
/**
|
|
2281
2337
|
* Semantic similarity score (0–1). Only present when `query` was provided.
|
|
2282
2338
|
*/
|
|
2283
|
-
|
|
2339
|
+
similarity_score?: number;
|
|
2284
2340
|
/**
|
|
2285
2341
|
* Creation timestamp
|
|
2286
2342
|
*/
|
|
@@ -2306,7 +2362,7 @@ type MemoryEntry = {
|
|
|
2306
2362
|
id?: string;
|
|
2307
2363
|
memory_id?: string;
|
|
2308
2364
|
content?: string;
|
|
2309
|
-
|
|
2365
|
+
source_type?: 'manual' | 'agent' | 'extraction';
|
|
2310
2366
|
created_at?: Date;
|
|
2311
2367
|
updated_at?: Date;
|
|
2312
2368
|
};
|
|
@@ -2327,17 +2383,17 @@ type OrchestrationNode = {
|
|
|
2327
2383
|
/**
|
|
2328
2384
|
* Node execution type.
|
|
2329
2385
|
*/
|
|
2330
|
-
type: 'agent' | 'tool' | 'transform' | 'knowledge' | 'memory_write' | 'condition' | 'human' | 'loop' | 'delay' | 'webhook' | 'sub_orchestration';
|
|
2386
|
+
type: 'agent' | 'tool' | 'transform' | 'knowledge' | 'memory_write' | 'condition' | 'human' | 'loop' | 'poll' | 'delay' | 'webhook' | 'sub_orchestration';
|
|
2331
2387
|
/**
|
|
2332
2388
|
* For agent nodes — public ID of the agent to invoke.
|
|
2333
2389
|
*/
|
|
2334
2390
|
agent_id?: string;
|
|
2335
2391
|
/**
|
|
2336
|
-
* For tool nodes — public ID of the tool to call.
|
|
2392
|
+
* For tool and poll nodes — public ID of the tool to call.
|
|
2337
2393
|
*/
|
|
2338
2394
|
tool_id?: string;
|
|
2339
2395
|
/**
|
|
2340
|
-
* For tool nodes — specific operation/action on MCP/SOAT tools.
|
|
2396
|
+
* For tool and poll nodes — specific operation/action on MCP/SOAT tools.
|
|
2341
2397
|
*/
|
|
2342
2398
|
operation_id?: string;
|
|
2343
2399
|
/**
|
|
@@ -2346,6 +2402,13 @@ type OrchestrationNode = {
|
|
|
2346
2402
|
expression?: {
|
|
2347
2403
|
[key: string]: unknown;
|
|
2348
2404
|
};
|
|
2405
|
+
/**
|
|
2406
|
+
* For poll nodes — JSON Logic stop condition, evaluated each attempt against the run state augmented with `response` (the latest tool result) and `attempt` (1-based count); a truthy result stops polling.
|
|
2407
|
+
*
|
|
2408
|
+
*/
|
|
2409
|
+
exit_condition?: {
|
|
2410
|
+
[key: string]: unknown;
|
|
2411
|
+
};
|
|
2349
2412
|
/**
|
|
2350
2413
|
* For human nodes — prompt shown to the human reviewer.
|
|
2351
2414
|
*/
|
|
@@ -2385,16 +2448,23 @@ type OrchestrationNode = {
|
|
|
2385
2448
|
* For loop nodes — variable name injected into state for each item.
|
|
2386
2449
|
*/
|
|
2387
2450
|
item_variable?: string;
|
|
2388
|
-
/**
|
|
2389
|
-
* For loop nodes — sub-graph definition to run per item.
|
|
2390
|
-
*/
|
|
2391
|
-
sub_graph?: string;
|
|
2392
2451
|
/**
|
|
2393
2452
|
* For loop nodes — number of items to process in parallel.
|
|
2394
2453
|
*/
|
|
2395
2454
|
parallelism?: number;
|
|
2396
2455
|
/**
|
|
2397
|
-
* For
|
|
2456
|
+
* For poll nodes — wait between attempts. Accepts a friendly suffix form (`5s`, `30s`, `5m`, `2h`, `500ms`) or ISO 8601 (e.g. PT5S).
|
|
2457
|
+
*
|
|
2458
|
+
*/
|
|
2459
|
+
interval?: string;
|
|
2460
|
+
/**
|
|
2461
|
+
* For poll nodes — when max_iterations is reached without the exit condition becoming true, fail the run (true) instead of completing with condition_met=false (default false).
|
|
2462
|
+
*
|
|
2463
|
+
*/
|
|
2464
|
+
fail_on_timeout?: boolean;
|
|
2465
|
+
/**
|
|
2466
|
+
* For delay nodes — how long to wait. Accepts a friendly suffix form (`5s`, `30s`, `5m`, `2h`, `500ms`) or ISO 8601 (e.g. PT5S).
|
|
2467
|
+
*
|
|
2398
2468
|
*/
|
|
2399
2469
|
duration?: string;
|
|
2400
2470
|
/**
|
|
@@ -2406,11 +2476,13 @@ type OrchestrationNode = {
|
|
|
2406
2476
|
*/
|
|
2407
2477
|
webhook_url?: string;
|
|
2408
2478
|
/**
|
|
2409
|
-
*
|
|
2479
|
+
* Public ID of the orchestration this node runs — the child orchestration for sub_orchestration nodes, and the orchestration run once per item for loop nodes.
|
|
2480
|
+
*
|
|
2410
2481
|
*/
|
|
2411
2482
|
orchestration_id?: string;
|
|
2412
2483
|
/**
|
|
2413
|
-
* Maximum iterations before the node is aborted.
|
|
2484
|
+
* Maximum iterations before the node is aborted. For poll nodes this is the maximum number of attempts (default 10, ceiling 1000).
|
|
2485
|
+
*
|
|
2414
2486
|
*/
|
|
2415
2487
|
max_iterations?: number;
|
|
2416
2488
|
};
|
|
@@ -2475,9 +2547,9 @@ type Orchestration = {
|
|
|
2475
2547
|
};
|
|
2476
2548
|
type CreateOrchestrationRequest = {
|
|
2477
2549
|
/**
|
|
2478
|
-
* Public ID of the project.
|
|
2550
|
+
* Public ID of the project. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
|
|
2479
2551
|
*/
|
|
2480
|
-
project_id
|
|
2552
|
+
project_id?: string;
|
|
2481
2553
|
/**
|
|
2482
2554
|
* Human-readable name.
|
|
2483
2555
|
*/
|
|
@@ -2913,7 +2985,7 @@ type Tool = {
|
|
|
2913
2985
|
/**
|
|
2914
2986
|
* Tool type
|
|
2915
2987
|
*/
|
|
2916
|
-
type?: 'http' | 'client' | 'mcp' | 'soat';
|
|
2988
|
+
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline';
|
|
2917
2989
|
/**
|
|
2918
2990
|
* What the tool does (sent to the model)
|
|
2919
2991
|
*/
|
|
@@ -2947,6 +3019,12 @@ type Tool = {
|
|
|
2947
3019
|
preset_parameters?: {
|
|
2948
3020
|
[key: string]: unknown;
|
|
2949
3021
|
} | null;
|
|
3022
|
+
/**
|
|
3023
|
+
* Pipeline definition for `pipeline` tools: an ordered `steps` array, each step invoking another tool by `tool_id` (optional `action`) and building its `input` from earlier results via JSON Logic evaluated over `{ input, steps }`. An optional `output` maps the final result.
|
|
3024
|
+
*/
|
|
3025
|
+
pipeline?: {
|
|
3026
|
+
[key: string]: unknown;
|
|
3027
|
+
} | null;
|
|
2950
3028
|
created_at?: Date;
|
|
2951
3029
|
updated_at?: Date;
|
|
2952
3030
|
};
|
|
@@ -2962,7 +3040,7 @@ type CreateToolRequest = {
|
|
|
2962
3040
|
/**
|
|
2963
3041
|
* Tool type (default http)
|
|
2964
3042
|
*/
|
|
2965
|
-
type?: 'http' | 'client' | 'mcp' | 'soat';
|
|
3043
|
+
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline';
|
|
2966
3044
|
/**
|
|
2967
3045
|
* What the tool does
|
|
2968
3046
|
*/
|
|
@@ -2996,10 +3074,16 @@ type CreateToolRequest = {
|
|
|
2996
3074
|
preset_parameters?: {
|
|
2997
3075
|
[key: string]: unknown;
|
|
2998
3076
|
};
|
|
3077
|
+
/**
|
|
3078
|
+
* Pipeline definition for `pipeline` tools. See the `pipeline` field on the Tool schema for the full structure.
|
|
3079
|
+
*/
|
|
3080
|
+
pipeline?: {
|
|
3081
|
+
[key: string]: unknown;
|
|
3082
|
+
};
|
|
2999
3083
|
};
|
|
3000
3084
|
type UpdateToolRequest = {
|
|
3001
3085
|
name?: string;
|
|
3002
|
-
type?: 'http' | 'client' | 'mcp' | 'soat';
|
|
3086
|
+
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline';
|
|
3003
3087
|
description?: string | null;
|
|
3004
3088
|
parameters?: {
|
|
3005
3089
|
[key: string]: unknown;
|
|
@@ -3021,6 +3105,12 @@ type UpdateToolRequest = {
|
|
|
3021
3105
|
preset_parameters?: {
|
|
3022
3106
|
[key: string]: unknown;
|
|
3023
3107
|
} | null;
|
|
3108
|
+
/**
|
|
3109
|
+
* Pipeline definition for `pipeline` tools. See the `pipeline` field on the Tool schema for the full structure.
|
|
3110
|
+
*/
|
|
3111
|
+
pipeline?: {
|
|
3112
|
+
[key: string]: unknown;
|
|
3113
|
+
} | null;
|
|
3024
3114
|
};
|
|
3025
3115
|
type CallToolRequest = {
|
|
3026
3116
|
/**
|
|
@@ -3106,6 +3196,11 @@ type TraceTreeNode = {
|
|
|
3106
3196
|
* Child traces triggered by sub-agent calls from this trace
|
|
3107
3197
|
*/
|
|
3108
3198
|
children?: Array<TraceTreeNode>;
|
|
3199
|
+
/**
|
|
3200
|
+
* Generations that belong to this trace node. Only present when `include=generations` is requested. Includes top-level generations and debate child generations (perspective turns and synthesis steps) linked via `initiator_generation_id`.
|
|
3201
|
+
*
|
|
3202
|
+
*/
|
|
3203
|
+
generations?: Array<Generation>;
|
|
3109
3204
|
};
|
|
3110
3205
|
type UserRecord = {
|
|
3111
3206
|
/**
|
|
@@ -3145,7 +3240,10 @@ type WebhookWithSecret = Webhook & {
|
|
|
3145
3240
|
secret?: string;
|
|
3146
3241
|
};
|
|
3147
3242
|
type CreateWebhookRequest = {
|
|
3148
|
-
|
|
3243
|
+
/**
|
|
3244
|
+
* Public ID of the project. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
|
|
3245
|
+
*/
|
|
3246
|
+
project_id?: string;
|
|
3149
3247
|
name: string;
|
|
3150
3248
|
description?: string;
|
|
3151
3249
|
url: string;
|
|
@@ -5306,9 +5404,9 @@ type ListFilesResponse = ListFilesResponses[keyof ListFilesResponses];
|
|
|
5306
5404
|
type CreateFileData = {
|
|
5307
5405
|
body: {
|
|
5308
5406
|
/**
|
|
5309
|
-
* Public ID of the project
|
|
5407
|
+
* Public ID of the project. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
|
|
5310
5408
|
*/
|
|
5311
|
-
project_id
|
|
5409
|
+
project_id?: string;
|
|
5312
5410
|
/**
|
|
5313
5411
|
* Logical path within the project (e.g. /images/logo.png). Defaults to /filename if omitted.
|
|
5314
5412
|
*/
|
|
@@ -5363,9 +5461,9 @@ type UploadFileData = {
|
|
|
5363
5461
|
*/
|
|
5364
5462
|
file: Blob | File;
|
|
5365
5463
|
/**
|
|
5366
|
-
* Project ID to associate the file with
|
|
5464
|
+
* Project ID to associate the file with. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
|
|
5367
5465
|
*/
|
|
5368
|
-
project_id
|
|
5466
|
+
project_id?: string;
|
|
5369
5467
|
/**
|
|
5370
5468
|
* Additional metadata as a JSON string
|
|
5371
5469
|
*/
|
|
@@ -5425,6 +5523,71 @@ type UploadFileBase64Responses = {
|
|
|
5425
5523
|
201: FileRecord;
|
|
5426
5524
|
};
|
|
5427
5525
|
type UploadFileBase64Response = UploadFileBase64Responses[keyof UploadFileBase64Responses];
|
|
5526
|
+
type CreateUploadTokenData = {
|
|
5527
|
+
body: UploadTokenRequest;
|
|
5528
|
+
path?: never;
|
|
5529
|
+
query?: never;
|
|
5530
|
+
url: '/api/v1/files/upload-token';
|
|
5531
|
+
};
|
|
5532
|
+
type CreateUploadTokenErrors = {
|
|
5533
|
+
/**
|
|
5534
|
+
* Missing or invalid project
|
|
5535
|
+
*/
|
|
5536
|
+
400: ErrorResponse;
|
|
5537
|
+
/**
|
|
5538
|
+
* Authentication required
|
|
5539
|
+
*/
|
|
5540
|
+
401: ErrorResponse;
|
|
5541
|
+
/**
|
|
5542
|
+
* Insufficient permissions
|
|
5543
|
+
*/
|
|
5544
|
+
403: ErrorResponse;
|
|
5545
|
+
};
|
|
5546
|
+
type CreateUploadTokenError = CreateUploadTokenErrors[keyof CreateUploadTokenErrors];
|
|
5547
|
+
type CreateUploadTokenResponses = {
|
|
5548
|
+
/**
|
|
5549
|
+
* Upload token created successfully
|
|
5550
|
+
*/
|
|
5551
|
+
201: UploadTokenResponse;
|
|
5552
|
+
};
|
|
5553
|
+
type CreateUploadTokenResponse = CreateUploadTokenResponses[keyof CreateUploadTokenResponses];
|
|
5554
|
+
type UploadFileWithTokenData = {
|
|
5555
|
+
body: UploadFileWithTokenRequest;
|
|
5556
|
+
path: {
|
|
5557
|
+
/**
|
|
5558
|
+
* The single-use upload token (e.g. upt_...)
|
|
5559
|
+
*/
|
|
5560
|
+
token: string;
|
|
5561
|
+
};
|
|
5562
|
+
query?: never;
|
|
5563
|
+
url: '/api/v1/files/upload/{token}';
|
|
5564
|
+
};
|
|
5565
|
+
type UploadFileWithTokenErrors = {
|
|
5566
|
+
/**
|
|
5567
|
+
* Missing content
|
|
5568
|
+
*/
|
|
5569
|
+
400: ErrorResponse;
|
|
5570
|
+
/**
|
|
5571
|
+
* Upload token not found
|
|
5572
|
+
*/
|
|
5573
|
+
404: ErrorResponse;
|
|
5574
|
+
/**
|
|
5575
|
+
* Upload token already used
|
|
5576
|
+
*/
|
|
5577
|
+
409: ErrorResponse;
|
|
5578
|
+
/**
|
|
5579
|
+
* Upload token expired
|
|
5580
|
+
*/
|
|
5581
|
+
410: ErrorResponse;
|
|
5582
|
+
};
|
|
5583
|
+
type UploadFileWithTokenError = UploadFileWithTokenErrors[keyof UploadFileWithTokenErrors];
|
|
5584
|
+
type UploadFileWithTokenResponses = {
|
|
5585
|
+
/**
|
|
5586
|
+
* File uploaded successfully
|
|
5587
|
+
*/
|
|
5588
|
+
201: FileRecord;
|
|
5589
|
+
};
|
|
5590
|
+
type UploadFileWithTokenResponse = UploadFileWithTokenResponses[keyof UploadFileWithTokenResponses];
|
|
5428
5591
|
type DeleteFileData = {
|
|
5429
5592
|
body?: never;
|
|
5430
5593
|
path: {
|
|
@@ -5741,9 +5904,9 @@ type ValidateFormationResponse = ValidateFormationResponses[keyof ValidateFormat
|
|
|
5741
5904
|
type PlanFormationData = {
|
|
5742
5905
|
body: {
|
|
5743
5906
|
/**
|
|
5744
|
-
* Project ID
|
|
5907
|
+
* Project ID. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
|
|
5745
5908
|
*/
|
|
5746
|
-
project_id
|
|
5909
|
+
project_id?: string;
|
|
5747
5910
|
/**
|
|
5748
5911
|
* Existing formation ID to compare against. Omit for new formation planning.
|
|
5749
5912
|
*/
|
|
@@ -5813,9 +5976,9 @@ type ListFormationsResponse = ListFormationsResponses[keyof ListFormationsRespon
|
|
|
5813
5976
|
type CreateFormationData = {
|
|
5814
5977
|
body: {
|
|
5815
5978
|
/**
|
|
5816
|
-
* Project ID
|
|
5979
|
+
* Project ID. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
|
|
5817
5980
|
*/
|
|
5818
|
-
project_id
|
|
5981
|
+
project_id?: string;
|
|
5819
5982
|
/**
|
|
5820
5983
|
* Human-readable name for the formation stack
|
|
5821
5984
|
*/
|
|
@@ -6007,6 +6170,11 @@ type ListGenerationsData = {
|
|
|
6007
6170
|
* Filter by trace public ID
|
|
6008
6171
|
*/
|
|
6009
6172
|
trace_id?: string;
|
|
6173
|
+
/**
|
|
6174
|
+
* Filter by the public ID of the parent generation. Returns all generations triggered by that generation — debate perspective turns, synthesis steps, and sub-agent invocations. Null-initiated (top-level) generations are not returned.
|
|
6175
|
+
*
|
|
6176
|
+
*/
|
|
6177
|
+
initiator_generation_id?: string;
|
|
6010
6178
|
/**
|
|
6011
6179
|
* Filter by lifecycle status
|
|
6012
6180
|
*/
|
|
@@ -6381,7 +6549,7 @@ type CreateMemoryEntryData = {
|
|
|
6381
6549
|
/**
|
|
6382
6550
|
* How this entry was created
|
|
6383
6551
|
*/
|
|
6384
|
-
|
|
6552
|
+
source_type?: 'manual' | 'agent' | 'extraction';
|
|
6385
6553
|
/**
|
|
6386
6554
|
* Cosine similarity score at or above which the incoming content is considered a duplicate and skipped (default 0.95)
|
|
6387
6555
|
*/
|
|
@@ -8088,7 +8256,13 @@ type GetTraceTreeData = {
|
|
|
8088
8256
|
*/
|
|
8089
8257
|
trace_id: string;
|
|
8090
8258
|
};
|
|
8091
|
-
query?:
|
|
8259
|
+
query?: {
|
|
8260
|
+
/**
|
|
8261
|
+
* Comma-separated list of related resources to embed on each node. Supported value: `generations` — attaches all generations that belong to each trace node (including debate perspective/synthesis children linked via `initiator_generation_id`).
|
|
8262
|
+
*
|
|
8263
|
+
*/
|
|
8264
|
+
include?: string;
|
|
8265
|
+
};
|
|
8092
8266
|
url: '/api/v1/traces/{trace_id}/tree';
|
|
8093
8267
|
};
|
|
8094
8268
|
type GetTraceTreeErrors = {
|
|
@@ -8987,6 +9161,18 @@ declare class Files {
|
|
|
8987
9161
|
* Uploads a file to the server using base64-encoded content
|
|
8988
9162
|
*/
|
|
8989
9163
|
static uploadFileBase64<ThrowOnError extends boolean = false>(options: Options<UploadFileBase64Data, ThrowOnError>): RequestResult<UploadFileBase64Responses, UploadFileBase64Errors, ThrowOnError>;
|
|
9164
|
+
/**
|
|
9165
|
+
* Request a file upload token
|
|
9166
|
+
*
|
|
9167
|
+
* Creates a short-lived, single-use upload token — the local-storage equivalent of an S3 presigned URL. The client then uploads the file content directly to the returned `upload_url` via `POST /api/v1/files/upload/{token}`, bypassing MCP payload size limits.
|
|
9168
|
+
*/
|
|
9169
|
+
static createUploadToken<ThrowOnError extends boolean = false>(options: Options<CreateUploadTokenData, ThrowOnError>): RequestResult<CreateUploadTokenResponses, CreateUploadTokenErrors, ThrowOnError>;
|
|
9170
|
+
/**
|
|
9171
|
+
* Upload a file using an upload token
|
|
9172
|
+
*
|
|
9173
|
+
* Uploads file content authorized by a single-use token from `POST /api/v1/files/upload-token`. No bearer credential is required — the token is the credential. Accepts either multipart/form-data (field `file`) or JSON with a base64-encoded `content` field. Excluded from the MCP tool surface; clients call it directly over HTTP.
|
|
9174
|
+
*/
|
|
9175
|
+
static uploadFileWithToken<ThrowOnError extends boolean = false>(options: Options<UploadFileWithTokenData, ThrowOnError>): RequestResult<UploadFileWithTokenResponses, UploadFileWithTokenErrors, ThrowOnError>;
|
|
8990
9176
|
/**
|
|
8991
9177
|
* Delete a file
|
|
8992
9178
|
*
|
|
@@ -9453,7 +9639,7 @@ declare class Tools {
|
|
|
9453
9639
|
/**
|
|
9454
9640
|
* Call a tool
|
|
9455
9641
|
*
|
|
9456
|
-
* Directly invokes a tool and returns its output. Supported for `http`, `soat`, and `
|
|
9642
|
+
* Directly invokes a tool and returns its output. Supported for `http`, `soat`, `mcp`, and `pipeline` tools. `client` tools cannot be invoked server-side and will return 422. A `pipeline` tool runs its declared steps in order and returns the mapped `output` (or the last step's output); `action` is ignored and `input` is the pipeline input.
|
|
9457
9643
|
* For `soat` and `mcp` tools the `action` field is required and identifies which action (SOAT) or tool name (MCP) to invoke. For `http` tools `action` is ignored.
|
|
9458
9644
|
* `preset_parameters` stored on the tool are merged with the caller-supplied `input` before execution; preset keys take lower precedence.
|
|
9459
9645
|
*
|
|
@@ -9657,4 +9843,4 @@ declare class SoatClient {
|
|
|
9657
9843
|
}?: SoatClientOptions);
|
|
9658
9844
|
}
|
|
9659
9845
|
//#endregion
|
|
9660
|
-
export { type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentId, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type FileRecord, type FileResourceProperties, Files, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetProjectData, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type ProjectRecord, Projects, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequiredAction, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type Tool, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };
|
|
9846
|
+
export { type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentId, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateUploadTokenData, type CreateUploadTokenError, type CreateUploadTokenErrors, type CreateUploadTokenResponse, type CreateUploadTokenResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type FileRecord, type FileResourceProperties, Files, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetProjectData, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type ProjectRecord, Projects, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequiredAction, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type Tool, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UploadTokenRequest, type UploadTokenResponse, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };
|
package/dist/index.mjs
CHANGED
|
@@ -1409,6 +1409,36 @@ var Files = class {
|
|
|
1409
1409
|
});
|
|
1410
1410
|
}
|
|
1411
1411
|
/**
|
|
1412
|
+
* Request a file upload token
|
|
1413
|
+
*
|
|
1414
|
+
* Creates a short-lived, single-use upload token — the local-storage equivalent of an S3 presigned URL. The client then uploads the file content directly to the returned `upload_url` via `POST /api/v1/files/upload/{token}`, bypassing MCP payload size limits.
|
|
1415
|
+
*/
|
|
1416
|
+
static createUploadToken(options) {
|
|
1417
|
+
return (options.client ?? client).post({
|
|
1418
|
+
url: "/api/v1/files/upload-token",
|
|
1419
|
+
...options,
|
|
1420
|
+
headers: {
|
|
1421
|
+
"Content-Type": "application/json",
|
|
1422
|
+
...options.headers
|
|
1423
|
+
}
|
|
1424
|
+
});
|
|
1425
|
+
}
|
|
1426
|
+
/**
|
|
1427
|
+
* Upload a file using an upload token
|
|
1428
|
+
*
|
|
1429
|
+
* Uploads file content authorized by a single-use token from `POST /api/v1/files/upload-token`. No bearer credential is required — the token is the credential. Accepts either multipart/form-data (field `file`) or JSON with a base64-encoded `content` field. Excluded from the MCP tool surface; clients call it directly over HTTP.
|
|
1430
|
+
*/
|
|
1431
|
+
static uploadFileWithToken(options) {
|
|
1432
|
+
return (options.client ?? client).post({
|
|
1433
|
+
url: "/api/v1/files/upload/{token}",
|
|
1434
|
+
...options,
|
|
1435
|
+
headers: {
|
|
1436
|
+
"Content-Type": "application/json",
|
|
1437
|
+
...options.headers
|
|
1438
|
+
}
|
|
1439
|
+
});
|
|
1440
|
+
}
|
|
1441
|
+
/**
|
|
1412
1442
|
* Delete a file
|
|
1413
1443
|
*
|
|
1414
1444
|
* Removes a file from the system by ID
|
|
@@ -2357,7 +2387,7 @@ var Tools = class {
|
|
|
2357
2387
|
/**
|
|
2358
2388
|
* Call a tool
|
|
2359
2389
|
*
|
|
2360
|
-
* Directly invokes a tool and returns its output. Supported for `http`, `soat`, and `
|
|
2390
|
+
* Directly invokes a tool and returns its output. Supported for `http`, `soat`, `mcp`, and `pipeline` tools. `client` tools cannot be invoked server-side and will return 422. A `pipeline` tool runs its declared steps in order and returns the mapped `output` (or the last step's output); `action` is ignored and `input` is the pipeline input.
|
|
2361
2391
|
* For `soat` and `mcp` tools the `action` field is required and identifies which action (SOAT) or tool name (MCP) to invoke. For `http` tools `action` is ignored.
|
|
2362
2392
|
* `preset_parameters` stored on the tool are merged with the caller-supplied `input` before execution; preset keys take lower precedence.
|
|
2363
2393
|
*
|