@seclai/sdk 1.5.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/README.md +94 -19
- package/dist/index.cjs +417 -125
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1035 -95
- package/dist/index.d.ts +1035 -95
- package/dist/index.js +417 -125
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -11,10 +11,15 @@
|
|
|
11
11
|
declare const SeclaiApiVersion: {
|
|
12
12
|
readonly V2026_07_01: "2026-07-01";
|
|
13
13
|
readonly V2026_07_27: "2026-07-27";
|
|
14
|
+
readonly V2026_08_03: "2026-08-03";
|
|
15
|
+
readonly V2026_08_21: "2026-08-21";
|
|
16
|
+
readonly V2026_09_28: "2026-09-28";
|
|
17
|
+
readonly V2026_09_30: "2026-09-30";
|
|
18
|
+
readonly V2026_10_03: "2026-10-03";
|
|
14
19
|
/** Baseline applied to an unpinned, header-less caller. */
|
|
15
20
|
readonly Default: "2026-07-01";
|
|
16
21
|
/** Newest version known to this SDK release. May lag the server. */
|
|
17
|
-
readonly Latest: "2026-
|
|
22
|
+
readonly Latest: "2026-10-03";
|
|
18
23
|
};
|
|
19
24
|
/**
|
|
20
25
|
* A dated API version. Known values autocomplete; any `YYYY-MM-DD` string still
|
|
@@ -222,7 +227,7 @@ interface components {
|
|
|
222
227
|
}[] | null;
|
|
223
228
|
/**
|
|
224
229
|
* Export Version
|
|
225
|
-
* @description Schema version of the export format (currently "
|
|
230
|
+
* @description Schema version of the export format (currently "5").
|
|
226
231
|
*/
|
|
227
232
|
export_version: string;
|
|
228
233
|
/**
|
|
@@ -275,6 +280,38 @@ interface components {
|
|
|
275
280
|
/** @description Status of the agent run attempt. */
|
|
276
281
|
status: components["schemas"]["PendingProcessingCompletedFailedStatus"];
|
|
277
282
|
};
|
|
283
|
+
/**
|
|
284
|
+
* AgentRunFileResponse
|
|
285
|
+
* @description A file in a run's or a step's output.
|
|
286
|
+
*/
|
|
287
|
+
AgentRunFileResponse: {
|
|
288
|
+
/**
|
|
289
|
+
* Bytes
|
|
290
|
+
* @description Size of the file in bytes, when known.
|
|
291
|
+
*/
|
|
292
|
+
bytes: number | null;
|
|
293
|
+
/**
|
|
294
|
+
* Download Url
|
|
295
|
+
* @description `GET` URL that streams the file; accepts an API key or OAuth token.
|
|
296
|
+
*/
|
|
297
|
+
download_url: string;
|
|
298
|
+
/**
|
|
299
|
+
* Id
|
|
300
|
+
* Format: uuid
|
|
301
|
+
* @description File identifier, used to download it.
|
|
302
|
+
*/
|
|
303
|
+
id: string;
|
|
304
|
+
/**
|
|
305
|
+
* Mime
|
|
306
|
+
* @description MIME type of the file.
|
|
307
|
+
*/
|
|
308
|
+
mime: string;
|
|
309
|
+
/**
|
|
310
|
+
* Name
|
|
311
|
+
* @description The file's name in this run, as sent to email recipients and webhooks and matched by `{{attachments[...]}}` selectors.
|
|
312
|
+
*/
|
|
313
|
+
name: string | null;
|
|
314
|
+
};
|
|
278
315
|
/** AgentRunRequest */
|
|
279
316
|
AgentRunRequest: {
|
|
280
317
|
/**
|
|
@@ -284,7 +321,7 @@ interface components {
|
|
|
284
321
|
input?: string | null;
|
|
285
322
|
/**
|
|
286
323
|
* Input Upload Id
|
|
287
|
-
* @description ID of a previously uploaded file (via POST /{agent_id}/upload-input) to use as the run input for dynamic-input triggers. Mutually exclusive with
|
|
324
|
+
* @description ID of a previously uploaded file (via POST /{agent_id}/upload-input) to use as the run input for dynamic-input triggers. Mutually exclusive with ``input_upload_ids`` — use that field to attach multiple files. May be combined with ``input``: the prompt text leads and the file's extracted text follows under a ``# {filename}`` heading.
|
|
288
325
|
*
|
|
289
326
|
* **Attachment visibility:** a step only sees the upload when its template references the input — via ``{{input}}`` / ``{{agent.input}}`` / ``{{step.<id>.input|output}}`` (implicit, all attachments) or the ``{{attachments[…]}}`` family (explicit narrowing — e.g. ``{{attachments[0]}}``, ``{{attachments[*.pdf]}}``).
|
|
290
327
|
*
|
|
@@ -293,7 +330,7 @@ interface components {
|
|
|
293
330
|
input_upload_id?: string | null;
|
|
294
331
|
/**
|
|
295
332
|
* Input Upload Ids
|
|
296
|
-
* @description IDs of multiple previously uploaded files. Each upload's extracted text is concatenated under a heading; each upload's binary is surfaced as a separate ``MediaAttachment`` so multi-modal prompt steps reason over all files at once. Steps narrow visibility via ``{{attachments[…]}}`` selectors (by index, filename, or fnmatch glob). The batch must satisfy every selector the agent declares — exact names, indexed references (length must exceed the highest index), and glob patterns (each pattern needs at least one match). Mismatches return HTTP 400 with the unmet requirements listed. Mutually exclusive with ``
|
|
333
|
+
* @description IDs of multiple previously uploaded files. Each upload's extracted text is concatenated under a heading; each upload's binary is surfaced as a separate ``MediaAttachment`` so multi-modal prompt steps reason over all files at once. Steps narrow visibility via ``{{attachments[…]}}`` selectors (by index, filename, or fnmatch glob). The batch must satisfy every selector the agent declares — exact names, indexed references (length must exceed the highest index), and glob patterns (each pattern needs at least one match). Mismatches return HTTP 400 with the unmet requirements listed. Mutually exclusive with ``input_upload_id`` (two spellings of the same batch), but may be combined with ``input`` — the prompt text leads and the per-file sections follow, so "a photo plus a sentence about it" needs no synthetic text upload. Max 20 uploads per run.
|
|
297
334
|
*/
|
|
298
335
|
input_upload_ids?: string[] | null;
|
|
299
336
|
/**
|
|
@@ -317,6 +354,11 @@ interface components {
|
|
|
317
354
|
};
|
|
318
355
|
/** AgentRunResponse */
|
|
319
356
|
AgentRunResponse: {
|
|
357
|
+
/**
|
|
358
|
+
* Attachments
|
|
359
|
+
* @description Files in the run's output, in order. Empty for runs that produced none, for runs made before files were listed here, and once the run's trace is purged.
|
|
360
|
+
*/
|
|
361
|
+
attachments?: components["schemas"]["AgentRunFileResponse"][];
|
|
320
362
|
/**
|
|
321
363
|
* Attempts
|
|
322
364
|
* @description List of attempts made for this agent run.
|
|
@@ -329,7 +371,7 @@ interface components {
|
|
|
329
371
|
blocked_policies?: components["schemas"]["routers__api__agents__GovernancePolicyRefResponse"][];
|
|
330
372
|
/**
|
|
331
373
|
* Credits
|
|
332
|
-
* @description Credits consumed by the agent run, if applicable.
|
|
374
|
+
* @description Credits consumed by the agent run, if applicable. Can still rise briefly after the run ends, while governance screening finishes.
|
|
333
375
|
*/
|
|
334
376
|
credits: number | null;
|
|
335
377
|
/**
|
|
@@ -369,12 +411,12 @@ interface components {
|
|
|
369
411
|
input_scan_status?: string | null;
|
|
370
412
|
/**
|
|
371
413
|
* Output
|
|
372
|
-
* @description
|
|
414
|
+
* @description The run's output text; its files are in `attachments`. Below `Seclai-Version: 2026-09-30` an output that has files is instead the manifest JSON `{schema, text, attachments: [{storage_key, mime, name, label, bytes}]}`; `bytes` is absent on runs made before that version shipped.
|
|
373
415
|
*/
|
|
374
416
|
output: string | null;
|
|
375
417
|
/**
|
|
376
418
|
* Output Content Type
|
|
377
|
-
* @description MIME type of `output` — mirrors the terminal step's `output_content_type`.
|
|
419
|
+
* @description MIME type of `output` — mirrors the terminal step's `output_content_type`. `text/plain` / `text/*` are free-form text and `application/json` is a JSON document. Below `Seclai-Version: 2026-09-30` an output that has files reads `application/vnd.seclai.manifest+json` (see `output`); the same files are in `attachments` on every version, each with a `download_url`. Null on runs that produced no terminal output or that pre-date this column.
|
|
378
420
|
*/
|
|
379
421
|
output_content_type?: string | null;
|
|
380
422
|
/**
|
|
@@ -399,6 +441,11 @@ interface components {
|
|
|
399
441
|
* @description Step outputs and per-step timing/credits. Only included when requested.
|
|
400
442
|
*/
|
|
401
443
|
steps?: components["schemas"]["AgentRunStepResponse"][] | null;
|
|
444
|
+
/**
|
|
445
|
+
* Trace Purged At
|
|
446
|
+
* @description When this run's trace content was deleted under the account's agent-trace retention window. Non-null means `input`, `output` and every step's and tool call's I/O are null **by design** and will never be available again — the run aged out, it did not fail. Branch on this rather than on a null `output`: a run that genuinely produced nothing looks identical. Status, timing and credits remain accurate.
|
|
447
|
+
*/
|
|
448
|
+
trace_purged_at?: string | null;
|
|
402
449
|
/**
|
|
403
450
|
* Wait Ms
|
|
404
451
|
* @description Cumulative milliseconds the run was parked on standard-mode wait steps. Subtracted from active duration in run-detail and duration-stats responses, exactly like hitl_wait_ms. Priority waits block inline and are not counted here.
|
|
@@ -412,9 +459,14 @@ interface components {
|
|
|
412
459
|
* @description Agent step identifier.
|
|
413
460
|
*/
|
|
414
461
|
agent_step_id: string;
|
|
462
|
+
/**
|
|
463
|
+
* Attachments
|
|
464
|
+
* @description Files in this step's output, in order. Empty for steps that produced none, for steps run before files were listed here, and once the run's trace is purged.
|
|
465
|
+
*/
|
|
466
|
+
attachments?: components["schemas"]["AgentRunFileResponse"][];
|
|
415
467
|
/**
|
|
416
468
|
* Credits Used
|
|
417
|
-
* @description Credits consumed by
|
|
469
|
+
* @description Credits consumed by this step across every attempt it made. Some charges made outside any step, such as governance screening of the run's input, count toward the run's total but no step's. The timestamps above and the tool calls below describe the latest attempt only.
|
|
418
470
|
*/
|
|
419
471
|
credits_used: number;
|
|
420
472
|
/**
|
|
@@ -429,12 +481,12 @@ interface components {
|
|
|
429
481
|
ended_at: string | null;
|
|
430
482
|
/**
|
|
431
483
|
* Input
|
|
432
|
-
* @description Input provided to the step, if any.
|
|
484
|
+
* @description Input text provided to the step, if any. Below `Seclai-Version: 2026-09-30`, the manifest JSON when the step that produced it output files and is not a `for_each`.
|
|
433
485
|
*/
|
|
434
486
|
input: string | null;
|
|
435
487
|
/**
|
|
436
488
|
* Output
|
|
437
|
-
* @description Output produced by the step, if any
|
|
489
|
+
* @description Output text produced by the step, if any; its files are in `attachments`. Below `Seclai-Version: 2026-09-30`, the manifest JSON when the step output files and is not a `for_each`.
|
|
438
490
|
*/
|
|
439
491
|
output: string | null;
|
|
440
492
|
/**
|
|
@@ -459,6 +511,11 @@ interface components {
|
|
|
459
511
|
* @description LLM tool calls made during this step (prompt_call steps only), ordered by execution. Empty for steps that invoked no tools.
|
|
460
512
|
*/
|
|
461
513
|
tool_calls?: components["schemas"]["AgentRunToolCallResponse"][];
|
|
514
|
+
/**
|
|
515
|
+
* Warnings
|
|
516
|
+
* @description Authoring problems the step ran into, whether or not it then failed, such as a file name selector that matched none of its source's files.
|
|
517
|
+
*/
|
|
518
|
+
warnings?: string[] | null;
|
|
462
519
|
};
|
|
463
520
|
/** AgentRunStreamRequest */
|
|
464
521
|
AgentRunStreamRequest: {
|
|
@@ -469,12 +526,12 @@ interface components {
|
|
|
469
526
|
input?: string | null;
|
|
470
527
|
/**
|
|
471
528
|
* Input Upload Id
|
|
472
|
-
* @description ID of a previously uploaded file (via POST /{agent_id}/upload-input) to use as the run input for dynamic-input triggers. Mutually exclusive with
|
|
529
|
+
* @description ID of a previously uploaded file (via POST /{agent_id}/upload-input) to use as the run input for dynamic-input triggers. Mutually exclusive with ``input_upload_ids`` — use that field to attach multiple files. May be combined with ``input``. Subject to the same per-batch attachment-selector validation as the non-streaming endpoint.
|
|
473
530
|
*/
|
|
474
531
|
input_upload_id?: string | null;
|
|
475
532
|
/**
|
|
476
533
|
* Input Upload Ids
|
|
477
|
-
* @description IDs of multiple previously uploaded files. See the non-streaming endpoint for full semantics, including per-batch selector validation (exact names, indexed references, and glob patterns must all be satisfied or the run is rejected with HTTP 400). Max 20.
|
|
534
|
+
* @description IDs of multiple previously uploaded files. See the non-streaming endpoint for full semantics, including per-batch selector validation (exact names, indexed references, and glob patterns must all be satisfied or the run is rejected with HTTP 400) and combining the batch with ``input`` prompt text. Max 20.
|
|
478
535
|
*/
|
|
479
536
|
input_upload_ids?: string[] | null;
|
|
480
537
|
/**
|
|
@@ -544,7 +601,7 @@ interface components {
|
|
|
544
601
|
round_index: number;
|
|
545
602
|
/**
|
|
546
603
|
* Sequence
|
|
547
|
-
* @description 0-based ordinal of this call within
|
|
604
|
+
* @description 0-based ordinal of this call within one attempt of the step, so it repeats across a retried step's attempts. This list holds the latest attempt only.
|
|
548
605
|
* @default 0
|
|
549
606
|
*/
|
|
550
607
|
sequence: number;
|
|
@@ -722,6 +779,34 @@ interface components {
|
|
|
722
779
|
*/
|
|
723
780
|
total: number;
|
|
724
781
|
};
|
|
782
|
+
/** AgentUsingCloudDriveResponseModel */
|
|
783
|
+
AgentUsingCloudDriveResponseModel: {
|
|
784
|
+
/**
|
|
785
|
+
* Agent Id
|
|
786
|
+
* @description Agent identifier.
|
|
787
|
+
*/
|
|
788
|
+
agent_id: string;
|
|
789
|
+
/**
|
|
790
|
+
* Agent Name
|
|
791
|
+
* @description Agent name.
|
|
792
|
+
*/
|
|
793
|
+
agent_name: string;
|
|
794
|
+
/**
|
|
795
|
+
* Trigger Types
|
|
796
|
+
* @description File-change trigger types bound to this drive.
|
|
797
|
+
*/
|
|
798
|
+
trigger_types: string[];
|
|
799
|
+
/**
|
|
800
|
+
* Via Prompt Tool
|
|
801
|
+
* @description Uses a prompt_call cloud-drive tool.
|
|
802
|
+
*/
|
|
803
|
+
via_prompt_tool: boolean;
|
|
804
|
+
/**
|
|
805
|
+
* Via Step
|
|
806
|
+
* @description Uses a list/read/write cloud-drive step.
|
|
807
|
+
*/
|
|
808
|
+
via_step: boolean;
|
|
809
|
+
};
|
|
725
810
|
/**
|
|
726
811
|
* AiAssistantAcceptResponse
|
|
727
812
|
* @description Response from accepting and executing a plan.
|
|
@@ -1106,6 +1191,215 @@ interface components {
|
|
|
1106
1191
|
*/
|
|
1107
1192
|
status: string;
|
|
1108
1193
|
};
|
|
1194
|
+
/** CloudDriveAccessLevelResponseModel */
|
|
1195
|
+
CloudDriveAccessLevelResponseModel: {
|
|
1196
|
+
/**
|
|
1197
|
+
* Default
|
|
1198
|
+
* @description Whether connecting without a choice uses it.
|
|
1199
|
+
*/
|
|
1200
|
+
default: boolean;
|
|
1201
|
+
/**
|
|
1202
|
+
* Description
|
|
1203
|
+
* @description What agents can do at this level.
|
|
1204
|
+
*/
|
|
1205
|
+
description: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* Key
|
|
1208
|
+
* @description Level identifier, e.g. `read_write`/`read_only`.
|
|
1209
|
+
*/
|
|
1210
|
+
key: string;
|
|
1211
|
+
/**
|
|
1212
|
+
* Label
|
|
1213
|
+
* @description Short human-readable name.
|
|
1214
|
+
*/
|
|
1215
|
+
label: string;
|
|
1216
|
+
};
|
|
1217
|
+
/** CloudDriveProviderResponseModel */
|
|
1218
|
+
CloudDriveProviderResponseModel: {
|
|
1219
|
+
/**
|
|
1220
|
+
* Access Levels
|
|
1221
|
+
* @description Mutually-exclusive permission bundles offered when connecting. Connecting happens in the app, so this is informational here — it explains what a connection's `access_level` can be.
|
|
1222
|
+
*/
|
|
1223
|
+
access_levels: components["schemas"]["CloudDriveAccessLevelResponseModel"][];
|
|
1224
|
+
/**
|
|
1225
|
+
* Display Name
|
|
1226
|
+
* @description Human-readable provider name.
|
|
1227
|
+
*/
|
|
1228
|
+
display_name: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* Key
|
|
1231
|
+
* @description Provider key used as `provider` on a connection.
|
|
1232
|
+
*/
|
|
1233
|
+
key: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* Scopes
|
|
1236
|
+
* @description OAuth permissions this provider can request.
|
|
1237
|
+
*/
|
|
1238
|
+
scopes: components["schemas"]["CloudDriveScopeResponseModel"][];
|
|
1239
|
+
};
|
|
1240
|
+
/**
|
|
1241
|
+
* CloudDriveRejectionResponseModel
|
|
1242
|
+
* @description One file the connection deliberately did not process.
|
|
1243
|
+
*/
|
|
1244
|
+
CloudDriveRejectionResponseModel: {
|
|
1245
|
+
/**
|
|
1246
|
+
* Created At
|
|
1247
|
+
* @description When the file was skipped.
|
|
1248
|
+
*/
|
|
1249
|
+
created_at: string;
|
|
1250
|
+
/**
|
|
1251
|
+
* Detail
|
|
1252
|
+
* @description Extra context, e.g. the cap that was hit.
|
|
1253
|
+
*/
|
|
1254
|
+
detail?: string | null;
|
|
1255
|
+
/**
|
|
1256
|
+
* File Id
|
|
1257
|
+
* @description The provider's file id, when the file was known.
|
|
1258
|
+
*/
|
|
1259
|
+
file_id?: string | null;
|
|
1260
|
+
/**
|
|
1261
|
+
* File Path
|
|
1262
|
+
* @description Path of the skipped file, when known.
|
|
1263
|
+
*/
|
|
1264
|
+
file_path?: string | null;
|
|
1265
|
+
/**
|
|
1266
|
+
* Id
|
|
1267
|
+
* @description Rejection identifier.
|
|
1268
|
+
*/
|
|
1269
|
+
id: string;
|
|
1270
|
+
/**
|
|
1271
|
+
* Reason
|
|
1272
|
+
* @description `too_large`, `download_failed`, or `flood`.
|
|
1273
|
+
*/
|
|
1274
|
+
reason: string;
|
|
1275
|
+
};
|
|
1276
|
+
/**
|
|
1277
|
+
* CloudDriveResponseModel
|
|
1278
|
+
* @description A cloud-drive connection, without any secret material.
|
|
1279
|
+
*/
|
|
1280
|
+
CloudDriveResponseModel: {
|
|
1281
|
+
/**
|
|
1282
|
+
* Access Level
|
|
1283
|
+
* @description The permission bundle the granted scopes correspond to — `read_write` or `read_only`. Null when the grant matches no level the provider currently offers; treat that as unknown rather than assuming write access.
|
|
1284
|
+
*/
|
|
1285
|
+
access_level?: string | null;
|
|
1286
|
+
/**
|
|
1287
|
+
* Connected
|
|
1288
|
+
* @description True when the connection is usable.
|
|
1289
|
+
*/
|
|
1290
|
+
connected: boolean;
|
|
1291
|
+
/**
|
|
1292
|
+
* Created At
|
|
1293
|
+
* @description When the connection was created.
|
|
1294
|
+
*/
|
|
1295
|
+
created_at: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* Drive Id
|
|
1298
|
+
* @description Opaque id of the shared drive the folder resolves to, or null for the user's own drive. Stable across renames — compare on this rather than on the name in `folder_path`.
|
|
1299
|
+
*/
|
|
1300
|
+
drive_id?: string | null;
|
|
1301
|
+
/**
|
|
1302
|
+
* Drive Name
|
|
1303
|
+
* @description Display name the shared drive last resolved to. Presentation only; never match on it.
|
|
1304
|
+
*/
|
|
1305
|
+
drive_name?: string | null;
|
|
1306
|
+
/**
|
|
1307
|
+
* Drive Name Stale
|
|
1308
|
+
* @description True when `drive_name` could not be re-confirmed (the drive was deleted, access was lost, or the provider was unreachable). The last known name is still reported — treat it as possibly out of date rather than current.
|
|
1309
|
+
*/
|
|
1310
|
+
drive_name_stale: boolean;
|
|
1311
|
+
/**
|
|
1312
|
+
* External Account Id
|
|
1313
|
+
* @description The provider's own opaque account identifier (never an email).
|
|
1314
|
+
*/
|
|
1315
|
+
external_account_id?: string | null;
|
|
1316
|
+
/**
|
|
1317
|
+
* Folder Path
|
|
1318
|
+
* @description Watched folder; empty string means the drive root. A folder on a shared drive is written `/Shared drives/<drive name>/<folder>`.
|
|
1319
|
+
*/
|
|
1320
|
+
folder_path: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* Id
|
|
1323
|
+
* @description Connection identifier.
|
|
1324
|
+
*/
|
|
1325
|
+
id: string;
|
|
1326
|
+
/**
|
|
1327
|
+
* Last Error
|
|
1328
|
+
* @description Most recent sync or authorization error, if any.
|
|
1329
|
+
*/
|
|
1330
|
+
last_error?: string | null;
|
|
1331
|
+
/**
|
|
1332
|
+
* Last Synced At
|
|
1333
|
+
* @description When the connection last synced successfully.
|
|
1334
|
+
*/
|
|
1335
|
+
last_synced_at?: string | null;
|
|
1336
|
+
/**
|
|
1337
|
+
* Name
|
|
1338
|
+
* @description Human-readable name.
|
|
1339
|
+
*/
|
|
1340
|
+
name?: string | null;
|
|
1341
|
+
/**
|
|
1342
|
+
* Oauth Scopes
|
|
1343
|
+
* @description Space-separated OAuth scopes granted to this connection.
|
|
1344
|
+
*/
|
|
1345
|
+
oauth_scopes?: string | null;
|
|
1346
|
+
/**
|
|
1347
|
+
* Provider
|
|
1348
|
+
* @description Provider key, e.g. `dropbox` or `google_drive`.
|
|
1349
|
+
*/
|
|
1350
|
+
provider: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* Realtime Updates
|
|
1353
|
+
* @description True when changes arrive via the provider's push notifications. False means the drive still syncs, but only on the scheduled backstop sweep rather than within seconds of a change.
|
|
1354
|
+
*/
|
|
1355
|
+
realtime_updates: boolean;
|
|
1356
|
+
/**
|
|
1357
|
+
* Status
|
|
1358
|
+
* @description One of `active`, `pending_auth`, `error`, `disconnected`.
|
|
1359
|
+
*/
|
|
1360
|
+
status: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* Updated At
|
|
1363
|
+
* @description When the connection was last modified.
|
|
1364
|
+
*/
|
|
1365
|
+
updated_at: string;
|
|
1366
|
+
};
|
|
1367
|
+
/** CloudDriveScopeResponseModel */
|
|
1368
|
+
CloudDriveScopeResponseModel: {
|
|
1369
|
+
/**
|
|
1370
|
+
* Description
|
|
1371
|
+
* @description What the scope allows.
|
|
1372
|
+
*/
|
|
1373
|
+
description: string;
|
|
1374
|
+
/**
|
|
1375
|
+
* Key
|
|
1376
|
+
* @description The OAuth scope string sent to the provider.
|
|
1377
|
+
*/
|
|
1378
|
+
key: string;
|
|
1379
|
+
/**
|
|
1380
|
+
* Label
|
|
1381
|
+
* @description Short human-readable name.
|
|
1382
|
+
*/
|
|
1383
|
+
label: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* Recommended
|
|
1386
|
+
* @description Whether this scope is requested by default on connect.
|
|
1387
|
+
*/
|
|
1388
|
+
recommended: boolean;
|
|
1389
|
+
};
|
|
1390
|
+
/** CloudDriveUpdateRequest */
|
|
1391
|
+
CloudDriveUpdateRequest: {
|
|
1392
|
+
/**
|
|
1393
|
+
* Folder Path
|
|
1394
|
+
* @description New watched folder; empty means the whole drive. A folder on a shared drive is written `/Shared drives/<drive name>/<folder>`. Changing it resets the sync cursor, so files already in the new folder are NOT replayed as triggers — only subsequent changes fire, matching connect-time behaviour. Rejected when the new folder would make an agent that writes there re-trigger itself.
|
|
1395
|
+
*/
|
|
1396
|
+
folder_path?: string | null;
|
|
1397
|
+
/**
|
|
1398
|
+
* Name
|
|
1399
|
+
* @description New display name for the connection.
|
|
1400
|
+
*/
|
|
1401
|
+
name?: string | null;
|
|
1402
|
+
};
|
|
1109
1403
|
/**
|
|
1110
1404
|
* CompactionEvaluationModel
|
|
1111
1405
|
* @description Structured LLM-as-judge evaluation result.
|
|
@@ -1216,6 +1510,14 @@ interface components {
|
|
|
1216
1510
|
batch_size: number;
|
|
1217
1511
|
/** Id */
|
|
1218
1512
|
id: string;
|
|
1513
|
+
/** Media Name */
|
|
1514
|
+
media_name?: string | null;
|
|
1515
|
+
/** Page Number */
|
|
1516
|
+
page_number?: number | null;
|
|
1517
|
+
/** Source Mime */
|
|
1518
|
+
source_mime?: string | null;
|
|
1519
|
+
/** Source Url */
|
|
1520
|
+
source_url?: string | null;
|
|
1219
1521
|
/** Text */
|
|
1220
1522
|
text: string;
|
|
1221
1523
|
/** Text End */
|
|
@@ -1239,10 +1541,9 @@ interface components {
|
|
|
1239
1541
|
alert_type: string;
|
|
1240
1542
|
/**
|
|
1241
1543
|
* Cooldown Minutes
|
|
1242
|
-
* @description Cooldown period in minutes
|
|
1243
|
-
* @default 60
|
|
1544
|
+
* @description Cooldown period in minutes. Omit to use the per-alert-type default (1440 for credit alerts, 60 otherwise).
|
|
1244
1545
|
*/
|
|
1245
|
-
cooldown_minutes
|
|
1546
|
+
cooldown_minutes?: number | null;
|
|
1246
1547
|
/**
|
|
1247
1548
|
* Distribution Type
|
|
1248
1549
|
* @description Distribution type (owner, owner_admins, selected_members)
|
|
@@ -1352,17 +1653,17 @@ interface components {
|
|
|
1352
1653
|
CreateKnowledgeBaseBody: {
|
|
1353
1654
|
/**
|
|
1354
1655
|
* Default Score Threshold
|
|
1355
|
-
* @description
|
|
1656
|
+
* @description Prefilled into Minimum Rerank Score on a new retrieval step in the editor. Not applied at retrieval time — the step's own value is used.
|
|
1356
1657
|
*/
|
|
1357
1658
|
default_score_threshold?: number | null;
|
|
1358
1659
|
/**
|
|
1359
1660
|
* Default Top K
|
|
1360
|
-
* @description
|
|
1661
|
+
* @description Prefilled into Top K on a new retrieval step in the editor. Not applied at retrieval time.
|
|
1361
1662
|
*/
|
|
1362
1663
|
default_top_k?: number | null;
|
|
1363
1664
|
/**
|
|
1364
1665
|
* Default Top N
|
|
1365
|
-
* @description
|
|
1666
|
+
* @description Prefilled into Top N on a new retrieval step in the editor. Not applied at retrieval time — the step's own value is used.
|
|
1366
1667
|
*/
|
|
1367
1668
|
default_top_n?: number | null;
|
|
1368
1669
|
/**
|
|
@@ -1377,7 +1678,7 @@ interface components {
|
|
|
1377
1678
|
name: string;
|
|
1378
1679
|
/**
|
|
1379
1680
|
* Reranker Model
|
|
1380
|
-
* @description Reranker model to use (
|
|
1681
|
+
* @description Reranker model to use — a `model_type` from `GET /models/rerankers`. Pass "none" to disable reranking (not a value from that list). Omit it for a default chosen from the sources ("none" when every source embeds media natively, whose chunks carry no text for a reranker to score). "" is accepted as a synonym for "none".
|
|
1381
1682
|
*/
|
|
1382
1683
|
reranker_model?: string | null;
|
|
1383
1684
|
/**
|
|
@@ -1423,7 +1724,7 @@ interface components {
|
|
|
1423
1724
|
embedding_model?: string | null;
|
|
1424
1725
|
/**
|
|
1425
1726
|
* Max Age Days
|
|
1426
|
-
* @description
|
|
1727
|
+
* @description DEPRECATED and no longer applied. Age used to trigger compaction, which duplicated retention_days — both removed the same entries at the same age. Age now belongs solely to retention_days, which deletes; compaction triggers on max_size_tokens and max_turns. Rejected with 400 for clients sending Seclai-Version 2026-08-03 or later; accepted and stored but inert for older clients.
|
|
1427
1728
|
*/
|
|
1428
1729
|
max_age_days?: number | null;
|
|
1429
1730
|
/**
|
|
@@ -1449,10 +1750,15 @@ interface components {
|
|
|
1449
1750
|
name: string;
|
|
1450
1751
|
/**
|
|
1451
1752
|
* Retention Days
|
|
1452
|
-
* @description
|
|
1453
|
-
* @default 30
|
|
1753
|
+
* @description Retention in days — when entries are deleted outright, text and embeddings. This is the only age-based control; compaction triggers on max_size_tokens and max_turns. For clients sending Seclai-Version 2026-08-03 or later, omitting the field resolves per bank type: 90 days for a conversation bank, indefinite for a general bank. Older clients keep the previous default of 30 days for a conversation bank — unless a longer max_age_days was sent, which wins, since the window is never lowered beneath the only age the caller expressed — while a general bank keeps entries indefinitely. Send an explicit value (or null for indefinite) to be unambiguous on every version.
|
|
1454
1754
|
*/
|
|
1455
|
-
retention_days
|
|
1755
|
+
retention_days?: number | null;
|
|
1756
|
+
/**
|
|
1757
|
+
* Strip Quoted Reply Chains
|
|
1758
|
+
* @description Conversation banks only. When true, a conversation turn written to this bank has the quoted reply chain an email client prepends to a reply dropped from it. Only inbound (user) turns are affected, and only words in a run of at least ~40 matching a recent turn word for word are dropped (line wrapping and punctuation at a word's edge are ignored). A word the sender changed is kept, including a one-character change inside a link, address or amount, unless the change is only to that edge punctuation.
|
|
1759
|
+
* @default false
|
|
1760
|
+
*/
|
|
1761
|
+
strip_quoted_reply_chains: boolean;
|
|
1456
1762
|
/**
|
|
1457
1763
|
* Type
|
|
1458
1764
|
* @description Bank type. 'conversation' for chat-turn data with conversation_key + speaker; 'general' for flat entries with optional group_key.
|
|
@@ -1504,14 +1810,14 @@ interface components {
|
|
|
1504
1810
|
dimensions?: number | null;
|
|
1505
1811
|
/**
|
|
1506
1812
|
* Embedding Model
|
|
1507
|
-
* @description Embedding model override.
|
|
1813
|
+
* @description Embedding model override — a `model_type` from `GET /models/embedders`, which also reports each embedder's `supported_input_media`. Defaults to the platform embedder (`default_model_type` on that endpoint) when omitted. Indexing images or video requires an embedder that lists that modality.
|
|
1508
1814
|
*/
|
|
1509
1815
|
embedding_model?: string | null;
|
|
1510
1816
|
/** @description Index mode for custom_index sources: fast_and_cheap (default), balanced, slow_and_thorough, or custom. */
|
|
1511
1817
|
index_mode?: components["schemas"]["SourceIndexMode"] | null;
|
|
1512
1818
|
/**
|
|
1513
1819
|
* Media Types
|
|
1514
|
-
* @description Media kinds to extract from indexed content and embed as multi-modal KB chunks. Subset of ['images', 'video']. Only kinds the source's embedder can index are honored; unsupported values are dropped. Omit / [] for text-only.
|
|
1820
|
+
* @description Media kinds to extract from indexed content and embed as multi-modal KB chunks. Subset of ['images', 'video']. Only kinds the source's embedder can index are honored (see `supported_input_media` on GET /models/embedders); unsupported values are dropped. Omit / [] for text-only.
|
|
1515
1821
|
*/
|
|
1516
1822
|
media_types?: string[] | null;
|
|
1517
1823
|
/**
|
|
@@ -1642,6 +1948,27 @@ interface components {
|
|
|
1642
1948
|
/** Title */
|
|
1643
1949
|
title: string;
|
|
1644
1950
|
};
|
|
1951
|
+
/**
|
|
1952
|
+
* EffortOptionsResponse
|
|
1953
|
+
* @description The reasoning-effort values a model accepts.
|
|
1954
|
+
*/
|
|
1955
|
+
EffortOptionsResponse: {
|
|
1956
|
+
/**
|
|
1957
|
+
* Default
|
|
1958
|
+
* @description The vendor's default level, when known.
|
|
1959
|
+
*/
|
|
1960
|
+
default?: string | null;
|
|
1961
|
+
/**
|
|
1962
|
+
* Kind
|
|
1963
|
+
* @description `levels` today: `values` lists them.
|
|
1964
|
+
*/
|
|
1965
|
+
kind: string;
|
|
1966
|
+
/**
|
|
1967
|
+
* Values
|
|
1968
|
+
* @description Accepted values, weakest first.
|
|
1969
|
+
*/
|
|
1970
|
+
values?: string[];
|
|
1971
|
+
};
|
|
1645
1972
|
/** EmailDomainResponse */
|
|
1646
1973
|
EmailDomainResponse: {
|
|
1647
1974
|
/**
|
|
@@ -1755,6 +2082,163 @@ interface components {
|
|
|
1755
2082
|
/** Trigger Type */
|
|
1756
2083
|
trigger_type: string;
|
|
1757
2084
|
};
|
|
2085
|
+
/**
|
|
2086
|
+
* EmbeddingModalityRateResponse
|
|
2087
|
+
* @description Per-modality rate for a multi-modal embedder.
|
|
2088
|
+
*
|
|
2089
|
+
* The default ``credits`` field on :class:`EmbeddingModelResponse` is the
|
|
2090
|
+
* text rate (credits per ~1k English words). Embedders that index image or
|
|
2091
|
+
* video chunks natively charge those modalities at a different rate and unit
|
|
2092
|
+
* — e.g. Cohere Embed v4 prices images per record; Nova 2 Multimodal prices
|
|
2093
|
+
* video per second. Surfacing the modality and unit lets a caller render an
|
|
2094
|
+
* honest cost breakdown alongside the text rate.
|
|
2095
|
+
*/
|
|
2096
|
+
EmbeddingModalityRateResponse: {
|
|
2097
|
+
/**
|
|
2098
|
+
* Credits
|
|
2099
|
+
* @description Rate value in the unit below
|
|
2100
|
+
*/
|
|
2101
|
+
credits: number;
|
|
2102
|
+
/**
|
|
2103
|
+
* Modality
|
|
2104
|
+
* @description Modality kind, e.g. image / video
|
|
2105
|
+
*/
|
|
2106
|
+
modality: string;
|
|
2107
|
+
/**
|
|
2108
|
+
* Unit
|
|
2109
|
+
* @description Billing unit for this rate (credit_per_record / credit_per_second / credit_per_1000_tokens).
|
|
2110
|
+
*/
|
|
2111
|
+
unit: string;
|
|
2112
|
+
};
|
|
2113
|
+
/**
|
|
2114
|
+
* EmbeddingModelListResponse
|
|
2115
|
+
* @description Legacy (header-less) response shape for the embedder catalog.
|
|
2116
|
+
*/
|
|
2117
|
+
EmbeddingModelListResponse: {
|
|
2118
|
+
/**
|
|
2119
|
+
* Default Dimension
|
|
2120
|
+
* @description Dimensions used with the default embedding model
|
|
2121
|
+
*/
|
|
2122
|
+
default_dimension?: number | null;
|
|
2123
|
+
/**
|
|
2124
|
+
* Default Model Type
|
|
2125
|
+
* @description Embedding model used when a source does not override it
|
|
2126
|
+
*/
|
|
2127
|
+
default_model_type?: string | null;
|
|
2128
|
+
/**
|
|
2129
|
+
* File Processing Credits Per Mb
|
|
2130
|
+
* @description Credits per MB for file processing at ingest
|
|
2131
|
+
*/
|
|
2132
|
+
file_processing_credits_per_mb: number;
|
|
2133
|
+
/**
|
|
2134
|
+
* Models
|
|
2135
|
+
* @description Available embedding models
|
|
2136
|
+
*/
|
|
2137
|
+
models: components["schemas"]["EmbeddingModelResponse"][];
|
|
2138
|
+
/**
|
|
2139
|
+
* Storage Credits
|
|
2140
|
+
* @description Monthly storage credits per dimension count
|
|
2141
|
+
*/
|
|
2142
|
+
storage_credits: components["schemas"]["EmbeddingStorageCreditsResponse"][];
|
|
2143
|
+
};
|
|
2144
|
+
/**
|
|
2145
|
+
* EmbeddingModelResponse
|
|
2146
|
+
* @description Information about an embedding model.
|
|
2147
|
+
*/
|
|
2148
|
+
EmbeddingModelResponse: {
|
|
2149
|
+
/**
|
|
2150
|
+
* Credits
|
|
2151
|
+
* @description Estimated credits per 1,000 English words
|
|
2152
|
+
*/
|
|
2153
|
+
credits: number;
|
|
2154
|
+
/**
|
|
2155
|
+
* Description
|
|
2156
|
+
* @description Model description
|
|
2157
|
+
*/
|
|
2158
|
+
description?: string | null;
|
|
2159
|
+
/**
|
|
2160
|
+
* Dimensions
|
|
2161
|
+
* @description Dimensions options
|
|
2162
|
+
*/
|
|
2163
|
+
dimensions: number[];
|
|
2164
|
+
/**
|
|
2165
|
+
* Is New
|
|
2166
|
+
* @description Whether the model is newly released
|
|
2167
|
+
* @default false
|
|
2168
|
+
*/
|
|
2169
|
+
is_new: boolean;
|
|
2170
|
+
/**
|
|
2171
|
+
* Max Input Tokens
|
|
2172
|
+
* @description Max input tokens per request
|
|
2173
|
+
*/
|
|
2174
|
+
max_input_tokens?: number | null;
|
|
2175
|
+
/**
|
|
2176
|
+
* Model Id
|
|
2177
|
+
* @description Model identifier
|
|
2178
|
+
*/
|
|
2179
|
+
model_id: string;
|
|
2180
|
+
/**
|
|
2181
|
+
* Model Type
|
|
2182
|
+
* @description Full model type identifier (enum value). This is the value to send as embedding_model when creating a source.
|
|
2183
|
+
*/
|
|
2184
|
+
model_type: string;
|
|
2185
|
+
/**
|
|
2186
|
+
* Mteb Retrieval Score
|
|
2187
|
+
* @description MTEB retrieval score
|
|
2188
|
+
*/
|
|
2189
|
+
mteb_retrieval_score?: number | null;
|
|
2190
|
+
/**
|
|
2191
|
+
* Name
|
|
2192
|
+
* @description Human-readable model name
|
|
2193
|
+
*/
|
|
2194
|
+
name?: string | null;
|
|
2195
|
+
/**
|
|
2196
|
+
* Per Modality Rates
|
|
2197
|
+
* @description Non-text rates the vendor charges for this embedder (image, video, audio). Empty for text-only embedders.
|
|
2198
|
+
*/
|
|
2199
|
+
per_modality_rates?: components["schemas"]["EmbeddingModalityRateResponse"][];
|
|
2200
|
+
/**
|
|
2201
|
+
* Provider
|
|
2202
|
+
* @description Model provider identifier
|
|
2203
|
+
*/
|
|
2204
|
+
provider?: string | null;
|
|
2205
|
+
/**
|
|
2206
|
+
* Speed
|
|
2207
|
+
* @description Model processing speed
|
|
2208
|
+
*/
|
|
2209
|
+
speed?: string | null;
|
|
2210
|
+
/**
|
|
2211
|
+
* Supported Input Media
|
|
2212
|
+
* @description Modalities the embedder accepts on input (short kinds like text / image / video, or full MIMEs). null means text-only. A source only honours a media_types entry its embedder lists here.
|
|
2213
|
+
*/
|
|
2214
|
+
supported_input_media?: string[] | null;
|
|
2215
|
+
/**
|
|
2216
|
+
* Supported Languages
|
|
2217
|
+
* @description Supported languages
|
|
2218
|
+
*/
|
|
2219
|
+
supported_languages?: string[] | null;
|
|
2220
|
+
/**
|
|
2221
|
+
* Url
|
|
2222
|
+
* @description Model documentation URL
|
|
2223
|
+
*/
|
|
2224
|
+
url?: string | null;
|
|
2225
|
+
};
|
|
2226
|
+
/**
|
|
2227
|
+
* EmbeddingStorageCreditsResponse
|
|
2228
|
+
* @description Monthly storage credits per stored record at a dimension count.
|
|
2229
|
+
*/
|
|
2230
|
+
EmbeddingStorageCreditsResponse: {
|
|
2231
|
+
/**
|
|
2232
|
+
* Credits
|
|
2233
|
+
* @description Credits per record per month
|
|
2234
|
+
*/
|
|
2235
|
+
credits: number;
|
|
2236
|
+
/**
|
|
2237
|
+
* Dimensions
|
|
2238
|
+
* @description Number of embedding dimensions
|
|
2239
|
+
*/
|
|
2240
|
+
dimensions: number;
|
|
2241
|
+
};
|
|
1758
2242
|
/**
|
|
1759
2243
|
* EvaluationCriteriaResponse
|
|
1760
2244
|
* @description Response schema for evaluation criteria.
|
|
@@ -2073,6 +2557,13 @@ interface components {
|
|
|
2073
2557
|
completed_at: string | null;
|
|
2074
2558
|
/** Created At */
|
|
2075
2559
|
created_at: string;
|
|
2560
|
+
/**
|
|
2561
|
+
* Effort
|
|
2562
|
+
* @description The reasoning effort each model was run at, by model ID.
|
|
2563
|
+
*/
|
|
2564
|
+
effort?: {
|
|
2565
|
+
[key: string]: string;
|
|
2566
|
+
};
|
|
2076
2567
|
/** Error Message */
|
|
2077
2568
|
error_message: string | null;
|
|
2078
2569
|
/** Evaluation Complexity */
|
|
@@ -2602,17 +3093,17 @@ interface components {
|
|
|
2602
3093
|
created_at: string;
|
|
2603
3094
|
/**
|
|
2604
3095
|
* Default Score Threshold
|
|
2605
|
-
* @description
|
|
3096
|
+
* @description Editor default for a new retrieval step's Minimum Rerank Score.
|
|
2606
3097
|
*/
|
|
2607
3098
|
default_score_threshold?: number | null;
|
|
2608
3099
|
/**
|
|
2609
3100
|
* Default Top K
|
|
2610
|
-
* @description
|
|
3101
|
+
* @description Editor default for a new retrieval step's Top K.
|
|
2611
3102
|
*/
|
|
2612
3103
|
default_top_k?: number | null;
|
|
2613
3104
|
/**
|
|
2614
3105
|
* Default Top N
|
|
2615
|
-
* @description
|
|
3106
|
+
* @description Editor default for a new retrieval step's Top N.
|
|
2616
3107
|
*/
|
|
2617
3108
|
default_top_n?: number | null;
|
|
2618
3109
|
/**
|
|
@@ -2737,7 +3228,7 @@ interface components {
|
|
|
2737
3228
|
description?: string | null;
|
|
2738
3229
|
/**
|
|
2739
3230
|
* Max Age Days
|
|
2740
|
-
* @description
|
|
3231
|
+
* @description Always null. Age-based compaction is retired — the assistant never suggests it. Kept so an SDK generated before the change still validates this response.
|
|
2741
3232
|
*/
|
|
2742
3233
|
max_age_days?: number | null;
|
|
2743
3234
|
/**
|
|
@@ -2844,7 +3335,7 @@ interface components {
|
|
|
2844
3335
|
id: string;
|
|
2845
3336
|
/**
|
|
2846
3337
|
* Max Age Days
|
|
2847
|
-
* @description
|
|
3338
|
+
* @description DEPRECATED and no longer applied. Age now belongs solely to retention_days, which deletes; compaction triggers on max_size_tokens and max_turns. Always null for clients sending Seclai-Version 2026-08-03 or later; older clients keep reading whatever value was stored.
|
|
2848
3339
|
*/
|
|
2849
3340
|
max_age_days?: number | null;
|
|
2850
3341
|
/**
|
|
@@ -2877,6 +3368,12 @@ interface components {
|
|
|
2877
3368
|
* @description Linked content source ID (null if not yet provisioned).
|
|
2878
3369
|
*/
|
|
2879
3370
|
source_connection_id?: string | null;
|
|
3371
|
+
/**
|
|
3372
|
+
* Strip Quoted Reply Chains
|
|
3373
|
+
* @description Conversation banks only. When true, a conversation turn written to this bank has the quoted reply chain an email client prepends to a reply dropped from it. Only inbound (user) turns are affected, and only words in a run of at least ~40 matching a recent turn word for word are dropped (line wrapping and punctuation at a word's edge are ignored). A word the sender changed is kept, including a one-character change inside a link, address or amount, unless the change is only to that edge punctuation.
|
|
3374
|
+
* @default false
|
|
3375
|
+
*/
|
|
3376
|
+
strip_quoted_reply_chains: boolean;
|
|
2880
3377
|
/**
|
|
2881
3378
|
* Type
|
|
2882
3379
|
* @description Bank type: conversation (chat-turn with speaker) or general (flat entries).
|
|
@@ -2965,6 +3462,13 @@ interface components {
|
|
|
2965
3462
|
* @description Create a model playground experiment via the public API.
|
|
2966
3463
|
*/
|
|
2967
3464
|
PlaygroundCreateRequest: {
|
|
3465
|
+
/**
|
|
3466
|
+
* Effort
|
|
3467
|
+
* @description Reasoning effort per model id, each one of that model's `effort_options` values. Not combinable with `json_template`.
|
|
3468
|
+
*/
|
|
3469
|
+
effort?: {
|
|
3470
|
+
[key: string]: string;
|
|
3471
|
+
} | null;
|
|
2968
3472
|
/**
|
|
2969
3473
|
* Evaluation Complexity
|
|
2970
3474
|
* @description simple, medium, or complex
|
|
@@ -3119,6 +3623,84 @@ interface components {
|
|
|
3119
3623
|
*/
|
|
3120
3624
|
removed: boolean;
|
|
3121
3625
|
};
|
|
3626
|
+
/**
|
|
3627
|
+
* RerankerModelListResponse
|
|
3628
|
+
* @description Legacy (header-less) response shape for the reranker catalog.
|
|
3629
|
+
*/
|
|
3630
|
+
RerankerModelListResponse: {
|
|
3631
|
+
/**
|
|
3632
|
+
* Default Model Type
|
|
3633
|
+
* @description Reranker used when a knowledge base does not choose one
|
|
3634
|
+
*/
|
|
3635
|
+
default_model_type: string;
|
|
3636
|
+
/**
|
|
3637
|
+
* Models
|
|
3638
|
+
* @description Available reranker models
|
|
3639
|
+
*/
|
|
3640
|
+
models: components["schemas"]["RerankerModelResponse"][];
|
|
3641
|
+
/**
|
|
3642
|
+
* Search Processing Credits
|
|
3643
|
+
* @description Credits charged for processing a search request
|
|
3644
|
+
*/
|
|
3645
|
+
search_processing_credits: number;
|
|
3646
|
+
};
|
|
3647
|
+
/**
|
|
3648
|
+
* RerankerModelResponse
|
|
3649
|
+
* @description Information about a reranker model.
|
|
3650
|
+
*/
|
|
3651
|
+
RerankerModelResponse: {
|
|
3652
|
+
/**
|
|
3653
|
+
* Credits Per Action
|
|
3654
|
+
* @description Credits charged per rerank action
|
|
3655
|
+
*/
|
|
3656
|
+
credits_per_action: number;
|
|
3657
|
+
/**
|
|
3658
|
+
* Description
|
|
3659
|
+
* @description Model description
|
|
3660
|
+
*/
|
|
3661
|
+
description?: string | null;
|
|
3662
|
+
/**
|
|
3663
|
+
* Is Default
|
|
3664
|
+
* @description Whether this is the platform default reranker
|
|
3665
|
+
*/
|
|
3666
|
+
is_default: boolean;
|
|
3667
|
+
/**
|
|
3668
|
+
* Is New
|
|
3669
|
+
* @description Whether the model is newly released
|
|
3670
|
+
* @default false
|
|
3671
|
+
*/
|
|
3672
|
+
is_new: boolean;
|
|
3673
|
+
/**
|
|
3674
|
+
* Max Input Tokens
|
|
3675
|
+
* @description Max input tokens per request
|
|
3676
|
+
*/
|
|
3677
|
+
max_input_tokens?: number | null;
|
|
3678
|
+
/**
|
|
3679
|
+
* Model Type
|
|
3680
|
+
* @description Full model type identifier. This is the value to send as reranker_model on a knowledge base; send "none" or an empty string to disable reranking.
|
|
3681
|
+
*/
|
|
3682
|
+
model_type: string;
|
|
3683
|
+
/**
|
|
3684
|
+
* Name
|
|
3685
|
+
* @description Human-readable model name
|
|
3686
|
+
*/
|
|
3687
|
+
name: string;
|
|
3688
|
+
/**
|
|
3689
|
+
* Provider
|
|
3690
|
+
* @description Model provider identifier
|
|
3691
|
+
*/
|
|
3692
|
+
provider?: string | null;
|
|
3693
|
+
/**
|
|
3694
|
+
* Supported Languages
|
|
3695
|
+
* @description Supported languages
|
|
3696
|
+
*/
|
|
3697
|
+
supported_languages?: string[] | null;
|
|
3698
|
+
/**
|
|
3699
|
+
* Url
|
|
3700
|
+
* @description Model documentation URL
|
|
3701
|
+
*/
|
|
3702
|
+
url?: string | null;
|
|
3703
|
+
};
|
|
3122
3704
|
/** ResumeInboundResponse */
|
|
3123
3705
|
ResumeInboundResponse: {
|
|
3124
3706
|
/** Resumed */
|
|
@@ -3132,6 +3714,14 @@ interface components {
|
|
|
3132
3714
|
*/
|
|
3133
3715
|
sent: boolean;
|
|
3134
3716
|
};
|
|
3717
|
+
/** ServiceUnavailableError */
|
|
3718
|
+
ServiceUnavailableError: {
|
|
3719
|
+
error: {
|
|
3720
|
+
/** @enum {string} */
|
|
3721
|
+
code: "database_unavailable" | "vector_store_unavailable";
|
|
3722
|
+
message: string;
|
|
3723
|
+
};
|
|
3724
|
+
};
|
|
3135
3725
|
/**
|
|
3136
3726
|
* SetAutoBlockModeRequest
|
|
3137
3727
|
* @description Set the account's governance auto-block mode (shared REST request).
|
|
@@ -3233,6 +3823,108 @@ interface components {
|
|
|
3233
3823
|
*/
|
|
3234
3824
|
url: string;
|
|
3235
3825
|
};
|
|
3826
|
+
/**
|
|
3827
|
+
* SourceContentStatusListResponse
|
|
3828
|
+
* @description Response model for a paginated per-item indexing status list.
|
|
3829
|
+
*/
|
|
3830
|
+
SourceContentStatusListResponse: {
|
|
3831
|
+
/** Data */
|
|
3832
|
+
data: components["schemas"]["SourceContentStatusResponse"][];
|
|
3833
|
+
pagination: components["schemas"]["PaginationResponse"];
|
|
3834
|
+
};
|
|
3835
|
+
/**
|
|
3836
|
+
* SourceContentStatusResponse
|
|
3837
|
+
* @description Response model for one content item's indexing status.
|
|
3838
|
+
*/
|
|
3839
|
+
SourceContentStatusResponse: {
|
|
3840
|
+
/**
|
|
3841
|
+
* Awaiting Reindex
|
|
3842
|
+
* @description True when the item is linked and reports completed but its content is not yet embedded under the index the source connection currently uses, because it still sits under the index that connection used before an embedding migration switched it. Anything ingested while a migration ran can land in this state. Semantic and content search will not match it until it is re-embedded; a title keyword match can still return it, so the item may appear in results while its body is unsearchable. It clears on its own — a reconciliation pass re-embeds the item under the current index, typically within minutes of the migration finishing, and a daily sweep retries whatever is still outstanding, so a large backlog can take more than one sweep to drain. The re-embedding is not charged to your account: nothing you did caused it, so Seclai absorbs the cost. Never true for an item that is simply still indexing; content_status covers that.
|
|
3843
|
+
* @default false
|
|
3844
|
+
*/
|
|
3845
|
+
awaiting_reindex: boolean;
|
|
3846
|
+
/**
|
|
3847
|
+
* Content Status
|
|
3848
|
+
* @description Indexing status: pending, fetching, transcribing, scanning, indexing, completed, or failed.
|
|
3849
|
+
*/
|
|
3850
|
+
content_status: string;
|
|
3851
|
+
/**
|
|
3852
|
+
* Content Token Count
|
|
3853
|
+
* @description Extracted token count.
|
|
3854
|
+
*/
|
|
3855
|
+
content_token_count: number | null;
|
|
3856
|
+
/**
|
|
3857
|
+
* Content Type
|
|
3858
|
+
* @description Content type group: text, audio, video, image, or document.
|
|
3859
|
+
*/
|
|
3860
|
+
content_type: string;
|
|
3861
|
+
/**
|
|
3862
|
+
* Content Url
|
|
3863
|
+
* @description Internal URL identifying the item. Uploaded files use a `file-upload://` URL.
|
|
3864
|
+
*/
|
|
3865
|
+
content_url: string | null;
|
|
3866
|
+
/**
|
|
3867
|
+
* Content Version Id
|
|
3868
|
+
* @description ID of the content version. This is the `content_version_id` returned by the upload endpoints, so it is what you match an upload against.
|
|
3869
|
+
*/
|
|
3870
|
+
content_version_id: string;
|
|
3871
|
+
/**
|
|
3872
|
+
* Content Word Count
|
|
3873
|
+
* @description Extracted word count.
|
|
3874
|
+
*/
|
|
3875
|
+
content_word_count: number | null;
|
|
3876
|
+
/**
|
|
3877
|
+
* Error
|
|
3878
|
+
* @description Why the item failed, when `content_status` is `failed`.
|
|
3879
|
+
*/
|
|
3880
|
+
error: string | null;
|
|
3881
|
+
/**
|
|
3882
|
+
* Extracted Media Capped
|
|
3883
|
+
* @description True when extraction stopped with media still unread, so the item references more media than was indexed and media search will not match anything past the cut. Two causes: a web page that ran out of the budget for fetching remote assets, or a container that could not be read to the end (a truncated or hostile archive). An uploaded document that reads cleanly is never capped, however much media it holds — there is no limit on that.
|
|
3884
|
+
* @default false
|
|
3885
|
+
*/
|
|
3886
|
+
extracted_media_capped: boolean;
|
|
3887
|
+
/**
|
|
3888
|
+
* Extracted Media Count
|
|
3889
|
+
* @description Number of embedded images / videos extracted from inside this item and indexed as their own chunks. There is no limit on this — a document contributes as many as it holds. Null when there is no media record for the item: the extraction pass has not run, does not apply to this container, or found nothing. Treat null as 'unknown', never as zero.
|
|
3890
|
+
*/
|
|
3891
|
+
extracted_media_count?: number | null;
|
|
3892
|
+
/**
|
|
3893
|
+
* Extracted Media Limit
|
|
3894
|
+
* @description The bound that was reached, when extracted_media_capped is true and the stop was a bound — a number of fetch attempts, or a number of seconds. Null when extraction was not capped, or when it stopped because the container could not be read rather than because a bound fired.
|
|
3895
|
+
*/
|
|
3896
|
+
extracted_media_limit?: number | null;
|
|
3897
|
+
/**
|
|
3898
|
+
* Indexed At
|
|
3899
|
+
* @description Timestamp when the item finished indexing and became retrievable. `null` until then.
|
|
3900
|
+
*/
|
|
3901
|
+
indexed_at: string | null;
|
|
3902
|
+
/**
|
|
3903
|
+
* Mime Type
|
|
3904
|
+
* @description MIME type the item was ingested as, when known.
|
|
3905
|
+
*/
|
|
3906
|
+
mime_type: string | null;
|
|
3907
|
+
/**
|
|
3908
|
+
* Published At
|
|
3909
|
+
* @description Publication timestamp of the item, when known.
|
|
3910
|
+
*/
|
|
3911
|
+
published_at: string | null;
|
|
3912
|
+
/**
|
|
3913
|
+
* Pulled At
|
|
3914
|
+
* @description Timestamp when the item was uploaded or pulled.
|
|
3915
|
+
*/
|
|
3916
|
+
pulled_at: string;
|
|
3917
|
+
/**
|
|
3918
|
+
* Source Connection Content Version Id
|
|
3919
|
+
* @description ID to pass to `GET /contents/{id}`. `null` until the item has finished indexing — an item that is still processing, or that failed, has no retrievable content and keeps this `null`.
|
|
3920
|
+
*/
|
|
3921
|
+
source_connection_content_version_id: string | null;
|
|
3922
|
+
/**
|
|
3923
|
+
* Title
|
|
3924
|
+
* @description Title of the content item.
|
|
3925
|
+
*/
|
|
3926
|
+
title: string | null;
|
|
3927
|
+
};
|
|
3236
3928
|
/**
|
|
3237
3929
|
* SourceEmbeddingMigrationResponse
|
|
3238
3930
|
* @description Response model for source embedding migration status.
|
|
@@ -3534,7 +4226,7 @@ interface components {
|
|
|
3534
4226
|
target_dimensions: number;
|
|
3535
4227
|
/**
|
|
3536
4228
|
* Target Embedding Model
|
|
3537
|
-
* @description Target embedding model
|
|
4229
|
+
* @description Target embedding model — a `model_type` from `GET /models/embedders`, which also reports the `dimensions` each embedder supports and the modalities it can index.
|
|
3538
4230
|
*/
|
|
3539
4231
|
target_embedding_model: string;
|
|
3540
4232
|
};
|
|
@@ -3720,17 +4412,17 @@ interface components {
|
|
|
3720
4412
|
UpdateKnowledgeBaseBody: {
|
|
3721
4413
|
/**
|
|
3722
4414
|
* Default Score Threshold
|
|
3723
|
-
* @description
|
|
4415
|
+
* @description Prefilled into Minimum Rerank Score on a new retrieval step (-1 to clear).
|
|
3724
4416
|
*/
|
|
3725
4417
|
default_score_threshold?: number | null;
|
|
3726
4418
|
/**
|
|
3727
4419
|
* Default Top K
|
|
3728
|
-
* @description
|
|
4420
|
+
* @description Prefilled into Top K on a new retrieval step (0 to clear).
|
|
3729
4421
|
*/
|
|
3730
4422
|
default_top_k?: number | null;
|
|
3731
4423
|
/**
|
|
3732
4424
|
* Default Top N
|
|
3733
|
-
* @description
|
|
4425
|
+
* @description Prefilled into Top N on a new retrieval step (0 to clear).
|
|
3734
4426
|
*/
|
|
3735
4427
|
default_top_n?: number | null;
|
|
3736
4428
|
/**
|
|
@@ -3745,7 +4437,7 @@ interface components {
|
|
|
3745
4437
|
name?: string | null;
|
|
3746
4438
|
/**
|
|
3747
4439
|
* Reranker Model
|
|
3748
|
-
* @description
|
|
4440
|
+
* @description New reranker model — a `model_type` from `GET /models/rerankers`. Pass "none" to turn reranking off (not a value from that list). Omitting the field (or sending null) leaves the current reranker in place — it does NOT turn it off. "" is accepted as a synonym for "none", but prefer "none": an empty string does not survive every client's serialization.
|
|
3749
4441
|
*/
|
|
3750
4442
|
reranker_model?: string | null;
|
|
3751
4443
|
/**
|
|
@@ -3774,7 +4466,7 @@ interface components {
|
|
|
3774
4466
|
description?: string | null;
|
|
3775
4467
|
/**
|
|
3776
4468
|
* Max Age Days
|
|
3777
|
-
* @description
|
|
4469
|
+
* @description DEPRECATED and no longer applied. Age now belongs solely to retention_days, which deletes; compaction triggers on max_size_tokens and max_turns. Rejected with 400 for clients sending Seclai-Version 2026-08-03 or later, except 0, which clears a value stored earlier. Accepted and stored but inert for older clients.
|
|
3778
4470
|
*/
|
|
3779
4471
|
max_age_days?: number | null;
|
|
3780
4472
|
/**
|
|
@@ -3797,6 +4489,11 @@ interface components {
|
|
|
3797
4489
|
* @description Content source retention in days. Send 0 to clear (indefinite).
|
|
3798
4490
|
*/
|
|
3799
4491
|
retention_days?: number | null;
|
|
4492
|
+
/**
|
|
4493
|
+
* Strip Quoted Reply Chains
|
|
4494
|
+
* @description Conversation banks only. When true, a conversation turn written to this bank has the quoted reply chain an email client prepends to a reply dropped from it. Only inbound (user) turns are affected, and only words in a run of at least ~40 matching a recent turn word for word are dropped (line wrapping and punctuation at a word's edge are ignored). A word the sender changed is kept, including a one-character change inside a link, address or amount, unless the change is only to that edge punctuation.
|
|
4495
|
+
*/
|
|
4496
|
+
strip_quoted_reply_chains?: boolean | null;
|
|
3800
4497
|
};
|
|
3801
4498
|
/**
|
|
3802
4499
|
* UpdateSolutionRequest
|
|
@@ -3821,7 +4518,7 @@ interface components {
|
|
|
3821
4518
|
UpdateSourceBody: {
|
|
3822
4519
|
/**
|
|
3823
4520
|
* Media Types
|
|
3824
|
-
* @description Media kinds to extract from indexed content and embed as multi-modal KB chunks. Subset of ['images', 'video']. Only kinds the source's embedder can index are honored; unsupported values are dropped. [] disables media extraction (text-only).
|
|
4521
|
+
* @description Media kinds to extract from indexed content and embed as multi-modal KB chunks. Subset of ['images', 'video']. Only kinds the source's embedder can index are honored (see `supported_input_media` on GET /models/embedders); unsupported values are dropped. [] disables media extraction (text-only).
|
|
3825
4522
|
*/
|
|
3826
4523
|
media_types?: string[] | null;
|
|
3827
4524
|
/**
|
|
@@ -3836,10 +4533,9 @@ interface components {
|
|
|
3836
4533
|
polling?: string | null;
|
|
3837
4534
|
/**
|
|
3838
4535
|
* Retention Days
|
|
3839
|
-
* @description New retention period in days
|
|
3840
|
-
* @default -1
|
|
4536
|
+
* @description New retention period in days — content older than this is deleted permanently. Send null to clear the window: content is then kept indefinitely. Omit the field to leave it unchanged.
|
|
3841
4537
|
*/
|
|
3842
|
-
retention_days
|
|
4538
|
+
retention_days?: number | null;
|
|
3843
4539
|
};
|
|
3844
4540
|
/** UploadAgentInputApiResponse */
|
|
3845
4541
|
UploadAgentInputApiResponse: {
|
|
@@ -3908,15 +4604,32 @@ interface components {
|
|
|
3908
4604
|
default: boolean;
|
|
3909
4605
|
/** Description */
|
|
3910
4606
|
description?: string | null;
|
|
3911
|
-
/**
|
|
4607
|
+
/**
|
|
4608
|
+
* Input 1H Cache Write Credits Per 1000 Tokens
|
|
4609
|
+
* @description Credits per 1,000 input tokens written to a 1-hour prompt cache.
|
|
4610
|
+
*/
|
|
3912
4611
|
input_1h_cache_write_credits_per_1000_tokens?: number | null;
|
|
3913
|
-
/**
|
|
4612
|
+
/**
|
|
4613
|
+
* Input 30M Cache Write Credits Per 1000 Tokens
|
|
4614
|
+
* @description Credits per 1,000 input tokens written to a 30-minute prompt cache.
|
|
4615
|
+
*/
|
|
4616
|
+
input_30m_cache_write_credits_per_1000_tokens?: number | null;
|
|
4617
|
+
/**
|
|
4618
|
+
* Input 5M Cache Write Credits Per 1000 Tokens
|
|
4619
|
+
* @description Credits per 1,000 input tokens written to a 5-minute prompt cache.
|
|
4620
|
+
*/
|
|
3914
4621
|
input_5m_cache_write_credits_per_1000_tokens?: number | null;
|
|
3915
|
-
/**
|
|
4622
|
+
/**
|
|
4623
|
+
* Input Cache Hit Credits Per 1000 Tokens
|
|
4624
|
+
* @description Credits per 1,000 input tokens read from a prompt cache.
|
|
4625
|
+
*/
|
|
3916
4626
|
input_cache_hit_credits_per_1000_tokens?: number | null;
|
|
3917
4627
|
/** Input Credits Per 1000 Tokens */
|
|
3918
4628
|
input_credits_per_1000_tokens?: number | null;
|
|
3919
|
-
/**
|
|
4629
|
+
/**
|
|
4630
|
+
* Long Context Input Cache Hit Credits Per 1000 Tokens
|
|
4631
|
+
* @description Credits per 1,000 input tokens read from a prompt cache, on a call whose input exceeds `long_context_threshold` tokens.
|
|
4632
|
+
*/
|
|
3920
4633
|
long_context_input_cache_hit_credits_per_1000_tokens?: number | null;
|
|
3921
4634
|
/** Long Context Input Credits Per 1000 Tokens */
|
|
3922
4635
|
long_context_input_credits_per_1000_tokens?: number | null;
|
|
@@ -4130,7 +4843,7 @@ interface components {
|
|
|
4130
4843
|
routers__api__agents__SetEmailTriggerConfigRequest: {
|
|
4131
4844
|
/**
|
|
4132
4845
|
* Alias
|
|
4133
|
-
* @description Custom alias
|
|
4846
|
+
* @description Custom alias, unique per account, answering as `<alias>.<accountID>@agent.seclai.com` and as `<alias>@<domain>` on each verified account email domain (alphanumeric plus '+', '.', '-'; 1–32 chars; not starting/ending with '+', '.', '-'; not UUID-shaped). Pass null/empty to clear.
|
|
4134
4847
|
*/
|
|
4135
4848
|
alias?: string | null;
|
|
4136
4849
|
/**
|
|
@@ -4270,6 +4983,11 @@ interface components {
|
|
|
4270
4983
|
* @description Feature name (e.g. 'source', 'solution').
|
|
4271
4984
|
*/
|
|
4272
4985
|
feature: string;
|
|
4986
|
+
/**
|
|
4987
|
+
* Governance Conversation Id
|
|
4988
|
+
* @description Governance conversation ID, if applicable.
|
|
4989
|
+
*/
|
|
4990
|
+
governance_conversation_id?: string | null;
|
|
4273
4991
|
/**
|
|
4274
4992
|
* Prompt Call Id
|
|
4275
4993
|
* @description Prompt call ID for credit tracking.
|
|
@@ -4440,6 +5158,22 @@ interface components {
|
|
|
4440
5158
|
* @description Error message, if any.
|
|
4441
5159
|
*/
|
|
4442
5160
|
error: string | null;
|
|
5161
|
+
/**
|
|
5162
|
+
* Extracted Media Capped
|
|
5163
|
+
* @description True when extraction stopped with media still unread, so the item references more media than was indexed and media search will not match anything past the cut. Two causes: a web page that ran out of the budget for fetching remote assets, or a container that could not be read to the end (a truncated or hostile archive). An uploaded document that reads cleanly is never capped, however much media it holds — there is no limit on that.
|
|
5164
|
+
* @default false
|
|
5165
|
+
*/
|
|
5166
|
+
extracted_media_capped: boolean;
|
|
5167
|
+
/**
|
|
5168
|
+
* Extracted Media Count
|
|
5169
|
+
* @description Number of embedded images / videos extracted from inside this item and indexed as their own chunks. There is no limit on this — a document contributes as many as it holds. Null when there is no media record for the item: the extraction pass has not run, does not apply to this container, or found nothing. Treat null as 'unknown', never as zero.
|
|
5170
|
+
*/
|
|
5171
|
+
extracted_media_count?: number | null;
|
|
5172
|
+
/**
|
|
5173
|
+
* Extracted Media Limit
|
|
5174
|
+
* @description The bound that was reached, when extracted_media_capped is true and the stop was a bound — a number of fetch attempts, or a number of seconds. Null when extraction was not capped, or when it stopped because the container could not be read rather than because a bound fired.
|
|
5175
|
+
*/
|
|
5176
|
+
extracted_media_limit?: number | null;
|
|
4443
5177
|
/**
|
|
4444
5178
|
* Id
|
|
4445
5179
|
* @description Unique identifier for the content version.
|
|
@@ -4524,9 +5258,14 @@ interface components {
|
|
|
4524
5258
|
routers__api__contents__FileUploadResponse: {
|
|
4525
5259
|
/**
|
|
4526
5260
|
* Content Version Id
|
|
4527
|
-
* @description ID of the content version
|
|
5261
|
+
* @description ID of the newly created content version. A replacement creates a new version rather than overwriting the previous one.
|
|
4528
5262
|
*/
|
|
4529
5263
|
content_version_id: string | null;
|
|
5264
|
+
/**
|
|
5265
|
+
* Embedder Warning
|
|
5266
|
+
* @description Set when the file's type is not embedded directly on this source, so indexing relies on extracted text. Content with none (e.g. a photograph) will be marked FAILED.
|
|
5267
|
+
*/
|
|
5268
|
+
embedder_warning?: string | null;
|
|
4530
5269
|
/**
|
|
4531
5270
|
* Filename
|
|
4532
5271
|
* @description Original filename
|
|
@@ -4534,12 +5273,12 @@ interface components {
|
|
|
4534
5273
|
filename: string;
|
|
4535
5274
|
/**
|
|
4536
5275
|
* Source Connection Content Version Id
|
|
4537
|
-
* @description ID of the source connection content version
|
|
5276
|
+
* @description ID of the source connection content version. Unchanged by a replacement, so it stays a stable handle for the content.
|
|
4538
5277
|
*/
|
|
4539
5278
|
source_connection_content_version_id: string | null;
|
|
4540
5279
|
/**
|
|
4541
5280
|
* Status
|
|
4542
|
-
* @description
|
|
5281
|
+
* @description Always `uploaded`. Unlike the create endpoints, a replacement is never rejected as a duplicate of another item.
|
|
4543
5282
|
*/
|
|
4544
5283
|
status: string;
|
|
4545
5284
|
};
|
|
@@ -4740,6 +5479,7 @@ interface components {
|
|
|
4740
5479
|
deprecated_at?: string | null;
|
|
4741
5480
|
/** Description */
|
|
4742
5481
|
description: string;
|
|
5482
|
+
effort_options?: components["schemas"]["EffortOptionsResponse"] | null;
|
|
4743
5483
|
/** Family */
|
|
4744
5484
|
family?: string | null;
|
|
4745
5485
|
/** Family Generation */
|
|
@@ -5183,7 +5923,7 @@ interface components {
|
|
|
5183
5923
|
routers__api__sources__FileUploadResponse: {
|
|
5184
5924
|
/**
|
|
5185
5925
|
* Content Version Id
|
|
5186
|
-
* @description ID of the created content version
|
|
5926
|
+
* @description ID of the created content version, and what the source content status endpoints take. Set when `status` is `uploaded`; `null` when `status` is `duplicate`, because no new version was created.
|
|
5187
5927
|
*/
|
|
5188
5928
|
content_version_id: string | null;
|
|
5189
5929
|
/**
|
|
@@ -5198,12 +5938,12 @@ interface components {
|
|
|
5198
5938
|
filename: string;
|
|
5199
5939
|
/**
|
|
5200
5940
|
* Source Connection Content Version Id
|
|
5201
|
-
* @description ID of the duplicate
|
|
5941
|
+
* @description ID of the existing, already-indexed item this file duplicates, and what `GET /contents/{id}` takes. Set only when `status` is `duplicate`; `null` on a new upload, which has no such id until it finishes indexing.
|
|
5202
5942
|
*/
|
|
5203
5943
|
source_connection_content_version_id: string | null;
|
|
5204
5944
|
/**
|
|
5205
5945
|
* Status
|
|
5206
|
-
* @description
|
|
5946
|
+
* @description `uploaded` for a new item, or `duplicate` when this exact file is already on the source.
|
|
5207
5947
|
*/
|
|
5208
5948
|
status: string;
|
|
5209
5949
|
};
|
|
@@ -5221,12 +5961,20 @@ interface components {
|
|
|
5221
5961
|
* @description Response model for prompt model data
|
|
5222
5962
|
*/
|
|
5223
5963
|
schemas__model_responses__PromptModelResponse: {
|
|
5964
|
+
/**
|
|
5965
|
+
* Chat Capable
|
|
5966
|
+
* @description Whether this model can serve a chat request (`prompt_call`, `extract_data`). True for every plain text LLM, and for a dual-capability model that generates media AND holds a conversation; false for a dedicated generator (Imagen, Veo, a TTS voice), which bills per produced unit and has no chat interface. Authoritative: consumers must read this rather than inferring it from `generation_params` or `supported_output_media`, because the answer also depends on which inference interface serves the model — something no response field exposes.
|
|
5967
|
+
* @default true
|
|
5968
|
+
*/
|
|
5969
|
+
chat_capable: boolean;
|
|
5224
5970
|
/** Default */
|
|
5225
5971
|
default: boolean;
|
|
5226
5972
|
/** Deprecated At */
|
|
5227
5973
|
deprecated_at?: string | null;
|
|
5228
5974
|
/** Description */
|
|
5229
5975
|
description: string;
|
|
5976
|
+
/** @description The reasoning-effort values a prompt_call or extract_data step may set as `effort` with this model. Null when the model takes none. */
|
|
5977
|
+
effort_options?: components["schemas"]["EffortOptionsResponse"] | null;
|
|
5230
5978
|
/** Enabled */
|
|
5231
5979
|
enabled: boolean;
|
|
5232
5980
|
/** Family */
|
|
@@ -5235,12 +5983,19 @@ interface components {
|
|
|
5235
5983
|
family_generation?: number | null;
|
|
5236
5984
|
/**
|
|
5237
5985
|
* Generation Credits Per Unit
|
|
5238
|
-
* @description Per-unit credit cost for a dedicated media-generation model, in the unit named by ``generation_params.pricing_unit`` (per image / per second / per character / per output token). Multiply by the produced unit count (images, seconds, characters) for the run cost. None for
|
|
5986
|
+
* @description Per-unit credit cost for a dedicated media-generation model, in the unit named by ``generation_params.pricing_unit`` (per image / per second / per character / per output token). Multiply by the produced unit count (images, seconds, characters) for the run cost. None for models with no generation descriptor. This rate applies when the model is used in a generate_image/audio/video step; a model that also serves the chat path is billed per token there instead, using the input/output token rates on this same record. When `generation_params.price_varies_by` is set the model has one rate per value of that option and this is the **highest** of them — read `generation_credits_per_variant` for the real spread rather than presenting this as the price.
|
|
5239
5987
|
*/
|
|
5240
5988
|
generation_credits_per_unit?: number | null;
|
|
5989
|
+
/**
|
|
5990
|
+
* Generation Credits Per Variant
|
|
5991
|
+
* @description Per-unit credit cost keyed by the value of the option named in `generation_params.price_varies_by` (e.g. `{'720p': 1330, '1080p': 1995}`). None for a model with a single rate, where `generation_credits_per_unit` already describes it exactly.
|
|
5992
|
+
*/
|
|
5993
|
+
generation_credits_per_variant?: {
|
|
5994
|
+
[key: string]: number;
|
|
5995
|
+
} | null;
|
|
5241
5996
|
/**
|
|
5242
5997
|
* Generation Params
|
|
5243
|
-
* @description Media-generation descriptor (modality, pricing_unit, and modality-specific constraints). NULL for text LLMs; present for image/audio/video generation models. See schemas.generation_params.
|
|
5998
|
+
* @description Media-generation descriptor (modality, pricing_unit, and modality-specific constraints). NULL for text LLMs; present for image/audio/video generation models. See schemas.generation_params. A present descriptor does NOT imply the model is generation-only: some models serve both paths (they generate media AND hold a chat conversation). Read `chat_capable` to tell whether a model with a descriptor can also be used as a chat model — do not branch on this field being non-null alone, and do not re-derive the answer from `supported_output_media`.
|
|
5244
5999
|
*/
|
|
5245
6000
|
generation_params?: {
|
|
5246
6001
|
[key: string]: unknown;
|
|
@@ -5257,11 +6012,25 @@ interface components {
|
|
|
5257
6012
|
* @description Per-image credit cost of using the built-in image_generation tool (it runs gpt-image-1). Set only for models that actually support the tool (tool-use capable); None otherwise.
|
|
5258
6013
|
*/
|
|
5259
6014
|
image_generation_tool_credits_per_image?: number | null;
|
|
5260
|
-
/**
|
|
6015
|
+
/**
|
|
6016
|
+
* Input 1H Cache Write Credits Per 1000 Tokens
|
|
6017
|
+
* @description Credits per 1,000 input tokens written to a 1-hour prompt cache.
|
|
6018
|
+
*/
|
|
5261
6019
|
input_1h_cache_write_credits_per_1000_tokens?: number | null;
|
|
5262
|
-
/**
|
|
6020
|
+
/**
|
|
6021
|
+
* Input 30M Cache Write Credits Per 1000 Tokens
|
|
6022
|
+
* @description Credits per 1,000 input tokens written to a 30-minute prompt cache.
|
|
6023
|
+
*/
|
|
6024
|
+
input_30m_cache_write_credits_per_1000_tokens?: number | null;
|
|
6025
|
+
/**
|
|
6026
|
+
* Input 5M Cache Write Credits Per 1000 Tokens
|
|
6027
|
+
* @description Credits per 1,000 input tokens written to a 5-minute prompt cache.
|
|
6028
|
+
*/
|
|
5263
6029
|
input_5m_cache_write_credits_per_1000_tokens?: number | null;
|
|
5264
|
-
/**
|
|
6030
|
+
/**
|
|
6031
|
+
* Input Cache Hit Credits Per 1000 Tokens
|
|
6032
|
+
* @description Credits per 1,000 input tokens read from a prompt cache.
|
|
6033
|
+
*/
|
|
5265
6034
|
input_cache_hit_credits_per_1000_tokens?: number | null;
|
|
5266
6035
|
/** Input Credits Per 1000 Tokens */
|
|
5267
6036
|
input_credits_per_1000_tokens?: number | null;
|
|
@@ -5444,6 +6213,15 @@ type HTTPValidationError = components["schemas"]["HTTPValidationError"];
|
|
|
5444
6213
|
type ValidationError = components["schemas"]["ValidationError"];
|
|
5445
6214
|
/** Pagination metadata included in list responses. */
|
|
5446
6215
|
type PaginationResponse = components["schemas"]["PaginationResponse"];
|
|
6216
|
+
/**
|
|
6217
|
+
* A list response whose endpoint is version-gated. `T` is the default shape,
|
|
6218
|
+
* which the client returns on every version; `data` and `pagination` are also
|
|
6219
|
+
* present when `apiVersion` is `2026-07-27` or later.
|
|
6220
|
+
*/
|
|
6221
|
+
type VersionedList<T, K extends keyof T> = T & {
|
|
6222
|
+
data?: T[K];
|
|
6223
|
+
pagination?: PaginationResponse;
|
|
6224
|
+
};
|
|
5447
6225
|
/** The authenticated user's personal account ID and the organizations they belong to. */
|
|
5448
6226
|
type MeResponse = components["schemas"]["MeResponse"];
|
|
5449
6227
|
/** One organization the authenticated user belongs to, within a {@link MeResponse}. */
|
|
@@ -5490,13 +6268,13 @@ type EmailTriggerConfigResponse = components["schemas"]["EmailTriggerConfigRespo
|
|
|
5490
6268
|
/** A recipient's opt-out from an account's agent emails (one agent, or account-wide). */
|
|
5491
6269
|
type AgentEmailOptOutResponse = components["schemas"]["AgentEmailOptOutResponse"];
|
|
5492
6270
|
/** A page of agent-email opt-outs plus the total count. */
|
|
5493
|
-
type AgentEmailOptOutListResponse = components["schemas"]["AgentEmailOptOutListResponse"]
|
|
6271
|
+
type AgentEmailOptOutListResponse = VersionedList<components["schemas"]["AgentEmailOptOutListResponse"], "items">;
|
|
5494
6272
|
/** Request body for blocking an inbound email sender or domain. */
|
|
5495
6273
|
type BlockEmailSenderRequest = components["schemas"]["BlockEmailSenderRequest"];
|
|
5496
6274
|
/** A single blocked inbound email sender. */
|
|
5497
6275
|
type BlockedEmailSenderResponse = components["schemas"]["BlockedEmailSenderResponse"];
|
|
5498
6276
|
/** A page of blocked senders plus the account's governance auto-block mode. */
|
|
5499
|
-
type BlockedEmailSenderListResponse = components["schemas"]["BlockedEmailSenderListResponse"]
|
|
6277
|
+
type BlockedEmailSenderListResponse = VersionedList<components["schemas"]["BlockedEmailSenderListResponse"], "items">;
|
|
5500
6278
|
/** Request body for setting the governance auto-block mode. */
|
|
5501
6279
|
type SetAutoBlockModeRequest = components["schemas"]["SetAutoBlockModeRequest"];
|
|
5502
6280
|
/** An inbound email that was discarded before running an agent. */
|
|
@@ -5519,6 +6297,8 @@ type AgentRunListResponse = components["schemas"]["routers__api__agents__AgentRu
|
|
|
5519
6297
|
type AgentRunStepResponse = components["schemas"]["AgentRunStepResponse"];
|
|
5520
6298
|
/** Details of a single attempt within an agent run step. */
|
|
5521
6299
|
type AgentRunAttemptResponse = components["schemas"]["AgentRunAttemptResponse"];
|
|
6300
|
+
/** A file a run or step produced or received (within `attachments`). */
|
|
6301
|
+
type AgentRunFileResponse = components["schemas"]["AgentRunFileResponse"];
|
|
5522
6302
|
/** A single LLM tool call made during a `prompt_call` step (within {@link AgentRunStepResponse}'s `tool_calls`). */
|
|
5523
6303
|
type AgentRunToolCallResponse = components["schemas"]["AgentRunToolCallResponse"];
|
|
5524
6304
|
/** Search request for agent runs (traces). */
|
|
@@ -5565,9 +6345,8 @@ type AlertConfigResponse = components["schemas"]["AlertConfigResponse"];
|
|
|
5565
6345
|
/**
|
|
5566
6346
|
* A page of alert configurations.
|
|
5567
6347
|
*
|
|
5568
|
-
*
|
|
5569
|
-
*
|
|
5570
|
-
* or later. Both are declared optional so either shape type-checks.
|
|
6348
|
+
* `configs` and `total` are populated on every API version; `data` and
|
|
6349
|
+
* `pagination` are also present once `apiVersion` is `2026-07-27` or later.
|
|
5571
6350
|
*/
|
|
5572
6351
|
type AlertConfigListResponse = {
|
|
5573
6352
|
configs?: AlertConfigResponse[];
|
|
@@ -5580,9 +6359,8 @@ type ModelAlertResponse = components["schemas"]["routers__api__model_lifecycle__
|
|
|
5580
6359
|
/**
|
|
5581
6360
|
* A page of model lifecycle alerts.
|
|
5582
6361
|
*
|
|
5583
|
-
*
|
|
5584
|
-
*
|
|
5585
|
-
* later. Both are declared optional so either shape type-checks.
|
|
6362
|
+
* `alerts` and `total` are populated on every API version; `data` and
|
|
6363
|
+
* `pagination` are also present once `apiVersion` is `2026-07-27` or later.
|
|
5586
6364
|
*/
|
|
5587
6365
|
type ModelAlertListResponse = {
|
|
5588
6366
|
alerts?: ModelAlertResponse[];
|
|
@@ -5603,7 +6381,7 @@ type ModelRecommendationsResponse = components["schemas"]["routers__api__model_l
|
|
|
5603
6381
|
/** A single successor recommendation. */
|
|
5604
6382
|
type ModelRecommendationResponse = components["schemas"]["routers__api__model_lifecycle__ModelRecommendationResponse"];
|
|
5605
6383
|
/** A page of model playground experiments. */
|
|
5606
|
-
type ExperimentListResponse = components["schemas"]["ExperimentListResponse"]
|
|
6384
|
+
type ExperimentListResponse = VersionedList<components["schemas"]["ExperimentListResponse"], "experiments">;
|
|
5607
6385
|
/** A model playground experiment in a listing. */
|
|
5608
6386
|
type ExperimentSummaryResponse = components["schemas"]["ExperimentSummaryResponse"];
|
|
5609
6387
|
/** A model playground experiment with its results. */
|
|
@@ -5639,7 +6417,7 @@ type UpdateEvaluationCriteriaRequest = components["schemas"]["UpdateEvaluationCr
|
|
|
5639
6417
|
/** Individual evaluation result. */
|
|
5640
6418
|
type EvaluationResultResponse = components["schemas"]["EvaluationResultResponse"];
|
|
5641
6419
|
/** Paginated list of evaluation results. */
|
|
5642
|
-
type EvaluationResultListResponse = components["schemas"]["EvaluationResultListResponse"]
|
|
6420
|
+
type EvaluationResultListResponse = VersionedList<components["schemas"]["EvaluationResultListResponse"], "data">;
|
|
5643
6421
|
/** Request body for creating a manual evaluation result. */
|
|
5644
6422
|
type CreateEvaluationResultRequest = components["schemas"]["CreateEvaluationResultRequest"];
|
|
5645
6423
|
/** Summary of evaluation results for a criteria. */
|
|
@@ -5657,8 +6435,8 @@ type EvaluationResultWithCriteriaResponse = components["schemas"]["EvaluationRes
|
|
|
5657
6435
|
* `page` and `limit`.
|
|
5658
6436
|
* - `GET /agents/{id}/runs/{runId}/evaluation-results` is version-gated: a bare
|
|
5659
6437
|
* array by default, and the canonical `{data, pagination}` envelope once
|
|
5660
|
-
* `apiVersion` is `2026-07-27` or later
|
|
5661
|
-
* `
|
|
6438
|
+
* `apiVersion` is `2026-07-27` or later. The client then fills `total`,
|
|
6439
|
+
* `page` and `limit` from `pagination`; on the bare array they are absent.
|
|
5662
6440
|
*/
|
|
5663
6441
|
type EvaluationResultWithCriteriaListResponse = Omit<components["schemas"]["EvaluationResultWithCriteriaListResponse"], "total" | "page" | "limit"> & {
|
|
5664
6442
|
pagination?: PaginationResponse;
|
|
@@ -5669,7 +6447,7 @@ type EvaluationResultWithCriteriaListResponse = Omit<components["schemas"]["Eval
|
|
|
5669
6447
|
/** Summary of an evaluation run. */
|
|
5670
6448
|
type EvaluationRunSummaryResponse = components["schemas"]["EvaluationRunSummaryResponse"];
|
|
5671
6449
|
/** Paginated list of evaluation run summaries. */
|
|
5672
|
-
type EvaluationRunSummaryListResponse = components["schemas"]["EvaluationRunSummaryListResponse"]
|
|
6450
|
+
type EvaluationRunSummaryListResponse = VersionedList<components["schemas"]["EvaluationRunSummaryListResponse"], "data">;
|
|
5673
6451
|
/** Status of an evaluation: pending, passed, failed, skipped, or error. */
|
|
5674
6452
|
type EvaluationStatus = components["schemas"]["EvaluationStatus"];
|
|
5675
6453
|
/** Summary of non-manual (automated) evaluation results. */
|
|
@@ -5681,11 +6459,11 @@ type TestDraftEvaluationRequest = components["schemas"]["TestDraftEvaluationRequ
|
|
|
5681
6459
|
/** Response from testing a draft evaluation. */
|
|
5682
6460
|
type TestDraftEvaluationResponse = components["schemas"]["TestDraftEvaluationResponse"];
|
|
5683
6461
|
/** Paginated list of runs compatible with a specific evaluation criteria. */
|
|
5684
|
-
type CompatibleRunListResponse = components["schemas"]["CompatibleRunListResponse"]
|
|
6462
|
+
type CompatibleRunListResponse = VersionedList<components["schemas"]["CompatibleRunListResponse"], "data">;
|
|
5685
6463
|
/** Individual compatible run. */
|
|
5686
6464
|
type CompatibleRunResponse = components["schemas"]["CompatibleRunResponse"];
|
|
5687
6465
|
/** Paginated list of knowledge bases. */
|
|
5688
|
-
type KnowledgeBaseListResponse = components["schemas"]["KnowledgeBaseListResponseModel"]
|
|
6466
|
+
type KnowledgeBaseListResponse = VersionedList<components["schemas"]["KnowledgeBaseListResponseModel"], "knowledge_bases">;
|
|
5689
6467
|
/** Full knowledge base configuration and metadata. */
|
|
5690
6468
|
type KnowledgeBaseResponse = components["schemas"]["KnowledgeBaseResponseModel"];
|
|
5691
6469
|
/** Request body for creating a knowledge base. */
|
|
@@ -5693,7 +6471,7 @@ type CreateKnowledgeBaseBody = components["schemas"]["CreateKnowledgeBaseBody"];
|
|
|
5693
6471
|
/** Request body for updating a knowledge base. */
|
|
5694
6472
|
type UpdateKnowledgeBaseBody = components["schemas"]["UpdateKnowledgeBaseBody"];
|
|
5695
6473
|
/** Paginated list of memory banks. */
|
|
5696
|
-
type MemoryBankListResponse = components["schemas"]["MemoryBankListResponseModel"]
|
|
6474
|
+
type MemoryBankListResponse = VersionedList<components["schemas"]["MemoryBankListResponseModel"], "memory_banks">;
|
|
5697
6475
|
/** Full memory bank configuration and metadata. */
|
|
5698
6476
|
type MemoryBankResponse = components["schemas"]["MemoryBankResponseModel"];
|
|
5699
6477
|
/** Request body for creating a memory bank. */
|
|
@@ -5736,6 +6514,35 @@ type FileUploadResponse = components["schemas"]["routers__api__sources__FileUplo
|
|
|
5736
6514
|
type InlineTextUploadRequest = components["schemas"]["InlineTextUploadRequest"];
|
|
5737
6515
|
/** Request body for replacing content with inline text. */
|
|
5738
6516
|
type InlineTextReplaceRequest = components["schemas"]["InlineTextReplaceRequest"];
|
|
6517
|
+
/** One content item's indexing status within a source. */
|
|
6518
|
+
type SourceContentStatusResponse = components["schemas"]["SourceContentStatusResponse"];
|
|
6519
|
+
/** Paginated list of a source's content items and their indexing status. */
|
|
6520
|
+
type SourceContentStatusListResponse = components["schemas"]["SourceContentStatusListResponse"];
|
|
6521
|
+
/** Filters for {@link Seclai.listSourceContents}. */
|
|
6522
|
+
interface ListSourceContentsOptions extends SortableListOptions {
|
|
6523
|
+
/** Keep only one status: pending, fetching, transcribing, scanning, indexing, completed or failed. */
|
|
6524
|
+
status?: string;
|
|
6525
|
+
/**
|
|
6526
|
+
* Keep only these items — the `content_version_id` values the upload methods
|
|
6527
|
+
* return. Keep it to about 100: the ids travel in the query string, and a URL
|
|
6528
|
+
* over 8,192 bytes is rejected with a 414. The API itself accepts at most 500.
|
|
6529
|
+
*/
|
|
6530
|
+
contentVersionIds?: string[];
|
|
6531
|
+
}
|
|
6532
|
+
/** A cloud-drive provider this deployment has configured. */
|
|
6533
|
+
type CloudDriveProviderResponse = components["schemas"]["CloudDriveProviderResponseModel"];
|
|
6534
|
+
/** An OAuth scope a {@link CloudDriveProviderResponse} can request. */
|
|
6535
|
+
type CloudDriveScopeResponse = components["schemas"]["CloudDriveScopeResponseModel"];
|
|
6536
|
+
/** An access level a {@link CloudDriveProviderResponse} offers. */
|
|
6537
|
+
type CloudDriveAccessLevelResponse = components["schemas"]["CloudDriveAccessLevelResponseModel"];
|
|
6538
|
+
/** A cloud-drive connection. */
|
|
6539
|
+
type CloudDriveResponse = components["schemas"]["CloudDriveResponseModel"];
|
|
6540
|
+
/** Request body for updating a cloud-drive connection. */
|
|
6541
|
+
type CloudDriveUpdateRequest = components["schemas"]["CloudDriveUpdateRequest"];
|
|
6542
|
+
/** An agent that uses a cloud-drive connection. */
|
|
6543
|
+
type AgentUsingCloudDriveResponse = components["schemas"]["AgentUsingCloudDriveResponseModel"];
|
|
6544
|
+
/** A file a cloud-drive connection skipped, and why. */
|
|
6545
|
+
type CloudDriveRejectionResponse = components["schemas"]["CloudDriveRejectionResponseModel"];
|
|
5739
6546
|
/** Paginated list of source exports. */
|
|
5740
6547
|
type ExportListResponse = components["schemas"]["ExportListResponse"];
|
|
5741
6548
|
/** Response for a single source export. */
|
|
@@ -5821,7 +6628,7 @@ type AddCommentRequest = components["schemas"]["routers__api__alerts__AddComment
|
|
|
5821
6628
|
/** Organization alert preference. */
|
|
5822
6629
|
type OrganizationAlertPreferenceResponse = components["schemas"]["routers__api__alerts__OrganizationAlertPreferenceResponse"];
|
|
5823
6630
|
/** Paginated list of organization alert preferences. */
|
|
5824
|
-
type OrganizationAlertPreferenceListResponse = components["schemas"]["OrganizationAlertPreferenceListResponse"]
|
|
6631
|
+
type OrganizationAlertPreferenceListResponse = VersionedList<components["schemas"]["OrganizationAlertPreferenceListResponse"], "preferences">;
|
|
5825
6632
|
/** Request to update an organization alert preference. */
|
|
5826
6633
|
type UpdateOrganizationAlertPreferenceRequest = components["schemas"]["routers__api__alerts__UpdateOrganizationAlertPreferenceRequest"];
|
|
5827
6634
|
/** Request body for AI assistant feedback. */
|
|
@@ -5838,6 +6645,20 @@ type PromptModelResponse = components["schemas"]["schemas__model_responses__Prom
|
|
|
5838
6645
|
type PromptToolResponse = components["schemas"]["PromptToolResponse"];
|
|
5839
6646
|
/** Per-modality rate for a model that prices image/audio/video distinctly from its default text rate. */
|
|
5840
6647
|
type ModalityRateResponse = components["schemas"]["ModalityRateResponse"];
|
|
6648
|
+
/** The effort levels a model accepts, and its default. */
|
|
6649
|
+
type EffortOptionsResponse = components["schemas"]["EffortOptionsResponse"];
|
|
6650
|
+
/** An embedding model a source can index with. */
|
|
6651
|
+
type EmbeddingModelResponse = components["schemas"]["EmbeddingModelResponse"];
|
|
6652
|
+
/** The embedding models, with the defaults and pricing that apply to all of them. */
|
|
6653
|
+
type EmbeddingModelListResponse = VersionedList<components["schemas"]["EmbeddingModelListResponse"], "models">;
|
|
6654
|
+
/** Per-modality rate for an embedding model. */
|
|
6655
|
+
type EmbeddingModalityRateResponse = components["schemas"]["EmbeddingModalityRateResponse"];
|
|
6656
|
+
/** Storage credits for one embedding dimension. */
|
|
6657
|
+
type EmbeddingStorageCreditsResponse = components["schemas"]["EmbeddingStorageCreditsResponse"];
|
|
6658
|
+
/** A reranker model a knowledge base can use. */
|
|
6659
|
+
type RerankerModelResponse = components["schemas"]["RerankerModelResponse"];
|
|
6660
|
+
/** The reranker models, with the default and pricing that apply to all of them. */
|
|
6661
|
+
type RerankerModelListResponse = VersionedList<components["schemas"]["RerankerModelListResponse"], "models">;
|
|
5841
6662
|
/** Variant category for model pricing tiers. */
|
|
5842
6663
|
type VariantCategoryResponse = components["schemas"]["VariantCategoryResponse"];
|
|
5843
6664
|
/** Variant option with credit pricing and context limits. */
|
|
@@ -5864,7 +6685,7 @@ type AddEmailDomainInput = Pick<AddEmailDomainRequest, "kind" | "value"> & Parti
|
|
|
5864
6685
|
/** An agent-email domain with its verification status and required DNS records. */
|
|
5865
6686
|
type EmailDomainResponse = components["schemas"]["EmailDomainResponse"];
|
|
5866
6687
|
/** The account's email domains plus the plan capabilities for adding more. */
|
|
5867
|
-
type EmailDomainsListResponse = components["schemas"]["EmailDomainsListResponse"]
|
|
6688
|
+
type EmailDomainsListResponse = VersionedList<components["schemas"]["EmailDomainsListResponse"], "domains">;
|
|
5868
6689
|
/** Result of removing an email domain (with an optional registrar `cleanup_note`). */
|
|
5869
6690
|
type RemoveEmailDomainResponse = components["schemas"]["RemoveEmailDomainResponse"];
|
|
5870
6691
|
/** Result of sending a test email from a verified domain. */
|
|
@@ -5978,6 +6799,26 @@ interface SeclaiOptions {
|
|
|
5978
6799
|
*/
|
|
5979
6800
|
allowUnknownApiVersion?: boolean;
|
|
5980
6801
|
}
|
|
6802
|
+
/**
|
|
6803
|
+
* One page as a fetcher handed to {@link Seclai.paginate} may return it: a list
|
|
6804
|
+
* method's `{data, pagination}` envelope or flat `{data, total, page, limit}`,
|
|
6805
|
+
* a bare array, or `{items, pagination}` with a `total_pages` count.
|
|
6806
|
+
*/
|
|
6807
|
+
type PaginatedPage<T> = T[] | {
|
|
6808
|
+
data?: T[] | null;
|
|
6809
|
+
pagination?: {
|
|
6810
|
+
pages?: number;
|
|
6811
|
+
has_next?: boolean;
|
|
6812
|
+
} | null;
|
|
6813
|
+
total?: number;
|
|
6814
|
+
limit?: number;
|
|
6815
|
+
} | {
|
|
6816
|
+
items: T[];
|
|
6817
|
+
pagination?: {
|
|
6818
|
+
page: number;
|
|
6819
|
+
total_pages: number;
|
|
6820
|
+
};
|
|
6821
|
+
};
|
|
5981
6822
|
/**
|
|
5982
6823
|
* Seclai JavaScript/TypeScript client.
|
|
5983
6824
|
*
|
|
@@ -5991,7 +6832,7 @@ interface SeclaiOptions {
|
|
|
5991
6832
|
* const client = new Seclai({ apiKey: "sk-..." });
|
|
5992
6833
|
*
|
|
5993
6834
|
* // List agents
|
|
5994
|
-
* const {
|
|
6835
|
+
* const { data: agents } = await client.listAgents();
|
|
5995
6836
|
*
|
|
5996
6837
|
* // Run an agent
|
|
5997
6838
|
* const run = await client.runAgent("agent-id", { input: "Hello!" });
|
|
@@ -6005,6 +6846,7 @@ interface SeclaiOptions {
|
|
|
6005
6846
|
declare class Seclai {
|
|
6006
6847
|
private readonly baseUrl;
|
|
6007
6848
|
private readonly defaultHeaders;
|
|
6849
|
+
private readonly allowUnknownApiVersion;
|
|
6008
6850
|
private readonly fetcher;
|
|
6009
6851
|
private _authState;
|
|
6010
6852
|
private _authInitPromise;
|
|
@@ -6025,6 +6867,13 @@ declare class Seclai {
|
|
|
6025
6867
|
constructor(opts?: SeclaiOptions);
|
|
6026
6868
|
/** Ensure the credential chain has been resolved. */
|
|
6027
6869
|
private ensureAuth;
|
|
6870
|
+
/** Throw unless the `Seclai-Version` in `headers` is one this release was built against. */
|
|
6871
|
+
private assertKnownApiVersion;
|
|
6872
|
+
/**
|
|
6873
|
+
* The headers one request sends: `layers` merged in order, later winning,
|
|
6874
|
+
* with the resulting `Seclai-Version` checked against the known versions.
|
|
6875
|
+
*/
|
|
6876
|
+
private requestHeaders;
|
|
6028
6877
|
/** Resolve auth headers for the current request. */
|
|
6029
6878
|
private authHeaders;
|
|
6030
6879
|
/**
|
|
@@ -6426,10 +7275,9 @@ declare class Seclai {
|
|
|
6426
7275
|
/**
|
|
6427
7276
|
* List evaluation criteria for an agent, with pagination metadata.
|
|
6428
7277
|
*
|
|
6429
|
-
*
|
|
6430
|
-
*
|
|
6431
|
-
*
|
|
6432
|
-
* when the endpoint answers with a bare array.
|
|
7278
|
+
* The endpoint answers with a bare array by default and with `{data,
|
|
7279
|
+
* pagination}` once `apiVersion` is 2026-07-27 or later; `pagination` is
|
|
7280
|
+
* absent on the bare array.
|
|
6433
7281
|
*
|
|
6434
7282
|
* @param agentId - Agent identifier.
|
|
6435
7283
|
* @param opts - Pagination options.
|
|
@@ -6825,6 +7673,26 @@ declare class Seclai {
|
|
|
6825
7673
|
* @returns Upload response.
|
|
6826
7674
|
*/
|
|
6827
7675
|
uploadInlineTextToSource(sourceId: string, body: InlineTextUploadRequest): Promise<FileUploadResponse>;
|
|
7676
|
+
/**
|
|
7677
|
+
* List a source's content items and their indexing status.
|
|
7678
|
+
*
|
|
7679
|
+
* @param sourceId - Source connection identifier.
|
|
7680
|
+
* @param opts - Pagination, sorting, and filters. Pass the `content_version_id`
|
|
7681
|
+
* values the upload methods return as `contentVersionIds` to poll a batch of
|
|
7682
|
+
* uploads in one request — about 100 at a time, since the ids travel in the
|
|
7683
|
+
* query string and a URL over 8,192 bytes is rejected with a 414. An empty
|
|
7684
|
+
* `contentVersionIds` matches nothing, so it returns an empty page without
|
|
7685
|
+
* sending a request.
|
|
7686
|
+
* @returns The items under `data` with `pagination`, on every API version.
|
|
7687
|
+
*/
|
|
7688
|
+
listSourceContents(sourceId: string, opts?: ListSourceContentsOptions): Promise<SourceContentStatusListResponse>;
|
|
7689
|
+
/**
|
|
7690
|
+
* Get one content item's indexing status.
|
|
7691
|
+
*
|
|
7692
|
+
* @param sourceId - Source connection identifier.
|
|
7693
|
+
* @param contentVersionId - The `content_version_id` an upload returned.
|
|
7694
|
+
*/
|
|
7695
|
+
getSourceContentStatus(sourceId: string, contentVersionId: string): Promise<SourceContentStatusResponse>;
|
|
6828
7696
|
/**
|
|
6829
7697
|
* List exports for a source.
|
|
6830
7698
|
*
|
|
@@ -7169,10 +8037,8 @@ declare class Seclai {
|
|
|
7169
8037
|
* @returns Paginated list of alert configs.
|
|
7170
8038
|
*/
|
|
7171
8039
|
/**
|
|
7172
|
-
*
|
|
7173
|
-
*
|
|
7174
|
-
* returns the canonical `{data, pagination}` envelope instead, so the
|
|
7175
|
-
* top-level key changes.
|
|
8040
|
+
* `configs` and `total` are populated on every API version; `data` and
|
|
8041
|
+
* `pagination` are also present once `apiVersion` is 2026-07-27 or later.
|
|
7176
8042
|
*/
|
|
7177
8043
|
listAlertConfigs(opts?: ListOptions): Promise<AlertConfigListResponse>;
|
|
7178
8044
|
/**
|
|
@@ -7271,6 +8137,25 @@ declare class Seclai {
|
|
|
7271
8137
|
* Global routing/pricing (the same for every account); read-only.
|
|
7272
8138
|
*/
|
|
7273
8139
|
getGenerationTiers(): Promise<Record<string, unknown>>;
|
|
8140
|
+
/**
|
|
8141
|
+
* List the embedding models a source can index with, and their pricing.
|
|
8142
|
+
*
|
|
8143
|
+
* The endpoint lists the embedders under `models` by default and under `data`
|
|
8144
|
+
* once the caller opts in with `apiVersion` 2026-07-27 or later; `models` is
|
|
8145
|
+
* populated on either, with the defaults and pricing beside it.
|
|
8146
|
+
*
|
|
8147
|
+
* @param opts.supportsInputMedia - Keep only embedders that can index this
|
|
8148
|
+
* input modality — a coarse kind (text, image, video, audio) or a full MIME.
|
|
8149
|
+
*/
|
|
8150
|
+
listEmbeddingModels(opts?: {
|
|
8151
|
+
supportsInputMedia?: string;
|
|
8152
|
+
}): Promise<EmbeddingModelListResponse>;
|
|
8153
|
+
/**
|
|
8154
|
+
* List the reranker models a knowledge base can use, and their pricing.
|
|
8155
|
+
*
|
|
8156
|
+
* `models` is populated on either wire shape, as for {@link Seclai.listEmbeddingModels}.
|
|
8157
|
+
*/
|
|
8158
|
+
listRerankerModels(): Promise<RerankerModelListResponse>;
|
|
7274
8159
|
/**
|
|
7275
8160
|
* List model playground experiments.
|
|
7276
8161
|
*
|
|
@@ -7310,6 +8195,65 @@ declare class Seclai {
|
|
|
7310
8195
|
* @param experimentId - Experiment identifier.
|
|
7311
8196
|
*/
|
|
7312
8197
|
deleteExperiment(experimentId: string): Promise<void>;
|
|
8198
|
+
/**
|
|
8199
|
+
* List the cloud-drive providers this deployment has configured.
|
|
8200
|
+
*
|
|
8201
|
+
* @returns The providers, read from either wire shape.
|
|
8202
|
+
*/
|
|
8203
|
+
listCloudDriveProviders(): Promise<CloudDriveProviderResponse[]>;
|
|
8204
|
+
/**
|
|
8205
|
+
* List the account's cloud-drive connections.
|
|
8206
|
+
*
|
|
8207
|
+
* @returns The connections, read from either wire shape.
|
|
8208
|
+
*/
|
|
8209
|
+
listCloudDrives(): Promise<CloudDriveResponse[]>;
|
|
8210
|
+
/**
|
|
8211
|
+
* Get a cloud-drive connection.
|
|
8212
|
+
*
|
|
8213
|
+
* @param connectionId - Cloud-drive connection identifier.
|
|
8214
|
+
*/
|
|
8215
|
+
getCloudDrive(connectionId: string): Promise<CloudDriveResponse>;
|
|
8216
|
+
/**
|
|
8217
|
+
* Update a cloud-drive connection.
|
|
8218
|
+
*
|
|
8219
|
+
* @param connectionId - Cloud-drive connection identifier.
|
|
8220
|
+
* @param body - Fields to change — `name` and/or `folder_path`.
|
|
8221
|
+
* @returns The updated connection.
|
|
8222
|
+
*/
|
|
8223
|
+
updateCloudDrive(connectionId: string, body: CloudDriveUpdateRequest): Promise<CloudDriveResponse>;
|
|
8224
|
+
/**
|
|
8225
|
+
* Disconnect a cloud-drive connection, keeping the connection itself.
|
|
8226
|
+
*
|
|
8227
|
+
* @param connectionId - Cloud-drive connection identifier.
|
|
8228
|
+
* @returns The connection in its disconnected state.
|
|
8229
|
+
*/
|
|
8230
|
+
disconnectCloudDrive(connectionId: string): Promise<CloudDriveResponse>;
|
|
8231
|
+
/**
|
|
8232
|
+
* Delete a cloud-drive connection.
|
|
8233
|
+
*
|
|
8234
|
+
* @param connectionId - Cloud-drive connection identifier.
|
|
8235
|
+
*/
|
|
8236
|
+
deleteCloudDrive(connectionId: string): Promise<void>;
|
|
8237
|
+
/**
|
|
8238
|
+
* List the agents that use a cloud-drive connection.
|
|
8239
|
+
*
|
|
8240
|
+
* @param connectionId - Cloud-drive connection identifier.
|
|
8241
|
+
* @returns The agents, read from either wire shape.
|
|
8242
|
+
*/
|
|
8243
|
+
getAgentsUsingCloudDrive(connectionId: string): Promise<AgentUsingCloudDriveResponse[]>;
|
|
8244
|
+
/**
|
|
8245
|
+
* List the files a cloud-drive connection skipped, newest first.
|
|
8246
|
+
*
|
|
8247
|
+
* A skipped file fires no trigger, so this is where to look when an agent
|
|
8248
|
+
* did not run for a file.
|
|
8249
|
+
*
|
|
8250
|
+
* @param connectionId - Cloud-drive connection identifier.
|
|
8251
|
+
* @param opts.limit - Maximum number of rejections (1-200, default 50).
|
|
8252
|
+
* @returns The rejections with their reasons, read from either wire shape.
|
|
8253
|
+
*/
|
|
8254
|
+
listCloudDriveRejections(connectionId: string, opts?: {
|
|
8255
|
+
limit?: number;
|
|
8256
|
+
}): Promise<CloudDriveRejectionResponse[]>;
|
|
7313
8257
|
/**
|
|
7314
8258
|
* Search across all resource types in your account.
|
|
7315
8259
|
*
|
|
@@ -7504,31 +8448,27 @@ declare class Seclai {
|
|
|
7504
8448
|
/**
|
|
7505
8449
|
* Auto-paginate through a list endpoint.
|
|
7506
8450
|
*
|
|
7507
|
-
* Yields individual items from each page,
|
|
7508
|
-
*
|
|
8451
|
+
* Yields individual items from each page, fetching the next page until the
|
|
8452
|
+
* response reports there is none. A fetcher that answers with a bare array has
|
|
8453
|
+
* no further pages, so its items are yielded once.
|
|
7509
8454
|
*
|
|
7510
8455
|
* @param fetchPage - A function that fetches a single page given `{ page, limit }`.
|
|
7511
8456
|
* @param opts - Page size (default: 50).
|
|
8457
|
+
* @throws {@link SeclaiError} When a page carries its items under neither `data` nor `items`.
|
|
7512
8458
|
*
|
|
7513
8459
|
* @example
|
|
7514
8460
|
* ```ts
|
|
7515
8461
|
* for await (const agent of client.paginate(
|
|
7516
8462
|
* (opts) => client.listAgents(opts),
|
|
7517
8463
|
* )) {
|
|
7518
|
-
* console.log(agent);
|
|
8464
|
+
* console.log(agent.name);
|
|
7519
8465
|
* }
|
|
7520
8466
|
* ```
|
|
7521
8467
|
*/
|
|
7522
8468
|
paginate<T>(fetchPage: (opts: {
|
|
7523
8469
|
page: number;
|
|
7524
8470
|
limit: number;
|
|
7525
|
-
}) => Promise<{
|
|
7526
|
-
items: T[];
|
|
7527
|
-
pagination?: {
|
|
7528
|
-
page: number;
|
|
7529
|
-
total_pages: number;
|
|
7530
|
-
};
|
|
7531
|
-
}>, opts?: {
|
|
8471
|
+
}) => Promise<PaginatedPage<T>>, opts?: {
|
|
7532
8472
|
limit?: number;
|
|
7533
8473
|
}): AsyncGenerator<T, void, undefined>;
|
|
7534
8474
|
}
|
|
@@ -7707,4 +8647,4 @@ declare class SeclaiStreamingError extends SeclaiError {
|
|
|
7707
8647
|
constructor(message: string, runId?: string);
|
|
7708
8648
|
}
|
|
7709
8649
|
|
|
7710
|
-
export { type AccessTokenProvider, type AddCommentRequest, type AddConversationTurnRequest, type AddEmailDomainInput, type AddEmailDomainRequest, type AgentAttachmentRefsApiResponse, type AgentCallerApiResponse, type AgentDefinitionImportErrorResponse, type AgentDefinitionResponse, type AgentEmailOptOutListResponse, type AgentEmailOptOutResponse, type AgentEvaluationTier, type AgentExportResponse, type AgentImportPreviewRequest, type AgentImportPreviewResponse, type AgentListResponse, type AgentRunAttemptResponse, type AgentRunEvent, type AgentRunListResponse, type AgentRunRequest, type AgentRunResponse, type AgentRunStepResponse, type AgentRunStreamRequest, type AgentRunToolCallResponse, type AgentSummaryResponse, type AgentTraceMatchResponse, type AgentTraceSearchRequest, type AgentTraceSearchResponse, type AiAssistantAcceptRequest, type AiAssistantAcceptResponse, type AiAssistantFeedbackRequest, type AiAssistantFeedbackResponse, type AiAssistantGenerateRequest, type AiAssistantGenerateResponse, type AiConversationHistoryResponse, type AiConversationTurnResponse, type AlertCommentResponse, type AlertConfigListResponse, type AlertConfigResponse, type AlertDetailResponse, type AlertListResponse, type AlertResponse, type AlertSubscriberResponse, type ApiVersion, type ApiVersionResponse, type AttachmentRefsSourceApiSummary, type AuthState, type BlockEmailSenderRequest, type BlockedEmailSenderListResponse, type BlockedEmailSenderResponse, type CancelExperimentResponse, type CancelQueuedRunsResponse, type ChangeStatusRequest, type CompactionEvaluationModel, type CompactionTestResponse, type CompatibleRunListResponse, type CompatibleRunResponse, type ContentDetailResponse, type ContentEmbeddingResponse, type ContentEmbeddingsListResponse, type ContentFileUploadResponse, type CreateAgentRequest, type CreateAlertConfigRequest, type CreateEvaluationCriteriaRequest, type CreateEvaluationResultRequest, type CreateExperimentInput, type CreateExperimentResponse, type CreateExportRequest, type CreateKnowledgeBaseBody, type CreateMemoryBankBody, type CreateSolutionRequest, type CreateSourceBody, type CredentialChainOptions, DEFAULT_SSO_CLIENT_ID, DEFAULT_SSO_DOMAIN, DEFAULT_SSO_REGION, type DmarcFailingSourceResponse, type DmarcSummaryResponse, type DnsProviderResponse, type DnsRecordResponse, type EmailDomainResponse, type EmailDomainsListResponse, type EmailTriggerConfigResponse, type EstimateExportRequest, type EstimateExportResponse, type EvaluationCriteriaListResponse, type EvaluationCriteriaResponse, type EvaluationResultListResponse, type EvaluationResultResponse, type EvaluationResultSummaryResponse, type EvaluationResultWithCriteriaListResponse, type EvaluationResultWithCriteriaResponse, type EvaluationRunSummaryListResponse, type EvaluationRunSummaryResponse, type EvaluationStatus, type ExamplePrompt, type ExecutedActionResponse, type ExperimentDetailResponse, type ExperimentListResponse, type ExperimentSummaryResponse, type ExportFormat, type ExportListResponse, type ExportResponse, type FetchLike, type FileUploadResponse, type GenerateAgentStepsRequest, type GenerateAgentStepsResponse, type GenerateStepConfigRequest, type GenerateStepConfigResponse, type GovernanceAiAcceptResponse, type GovernanceAiAssistantRequest, type GovernanceAiAssistantResponse, type GovernanceAppliedActionResponse, type GovernanceConversationResponse, type GovernancePolicyRefResponse, type GovernanceProposedPolicyActionResponse, type HTTPValidationError, type ImportFieldErrorModel, type ImportSkipResponse, type InboundEmailRejectionResponse, type InboundEmailStatusResponse, type InlineTextReplaceRequest, type InlineTextUploadRequest, type InsufficientCreditsDetail, type InsufficientCreditsResponse, type JSONValue, type KnowledgeBaseListResponse, type KnowledgeBaseResponse, type LinkResourcesRequest, type ListOptions, type MarkAiSuggestionRequest, type MarkConversationTurnRequest, type MeResponse, type MemoryBankAcceptRequest, type MemoryBankAiAssistantRequest, type MemoryBankAiAssistantResponse, type MemoryBankConfigResponse, type MemoryBankConversationTurnResponse, type MemoryBankLastConversationResponse, type MemoryBankListResponse, type MemoryBankResponse, type ModalityRateResponse, type ModelAlertListResponse, type ModelAlertResponse, type ModelRecommendationResponse, type ModelRecommendationsResponse, type NonManualEvaluationModeStatResponse, type NonManualEvaluationSummaryResponse, type OkResponse, type OrganizationAlertPreferenceListResponse, type OrganizationAlertPreferenceResponse, type OrganizationInfoResponse, type PaginationResponse, type PendingProcessingCompletedFailedStatus, type PlaygroundCreateRequest, type PromptModelAutoUpgradeStrategy, type PromptModelResponse, type PromptToolResponse, type ProposedActionResponse, type ProviderGroupResponse, type RemoveEmailDomainResponse, type ResumeInboundResponse, SECLAI_API_URL, type SearchResponse, type SearchResultResponse, Seclai, SeclaiAPIStatusError, SeclaiAPIValidationError, SeclaiApiVersion, SeclaiConfigurationError, SeclaiError, type SeclaiOptions, SeclaiStreamingError, type SendTestEmailResponse, type SetAutoBlockModeRequest, type SetEmailTriggerConfigRequest, type SolutionAgentResponse, type SolutionConversationResponse, type SolutionKnowledgeBaseResponse, type SolutionListResponse, type SolutionResponse, type SolutionSourceConnectionResponse, type SolutionSummaryResponse, type SortableListOptions, type SourceConnectionResponse, type SourceEmbeddingMigrationResponse, type SourceIndexMode, type SourceListResponse, type SourceResponse, type SsoCacheEntry, type SsoProfile, type StandaloneTestCompactionRequest, type StartSourceEmbeddingMigrationRequest, type TestCompactionRequest, type TestDraftEvaluationRequest, type TestDraftEvaluationResponse, type UnlinkResourcesRequest, type UnreadCountResponse, type UpdateAgentDefinitionRequest, type UpdateAgentRequest, type UpdateAlertConfigRequest, type UpdateEvaluationCriteriaRequest, type UpdateKnowledgeBaseBody, type UpdateMemoryBankBody, type UpdateOrganizationAlertPreferenceRequest, type UpdateSolutionRequest, type UpdateSourceBody, type UploadAgentInputApiResponse, type ValidationError, type VariantCategoryResponse, type VariantOptionResponse, deleteSsoCache, isTokenValid, loadSsoProfile, readSsoCache, writeSsoCache };
|
|
8650
|
+
export { type AccessTokenProvider, type AddCommentRequest, type AddConversationTurnRequest, type AddEmailDomainInput, type AddEmailDomainRequest, type AgentAttachmentRefsApiResponse, type AgentCallerApiResponse, type AgentDefinitionImportErrorResponse, type AgentDefinitionResponse, type AgentEmailOptOutListResponse, type AgentEmailOptOutResponse, type AgentEvaluationTier, type AgentExportResponse, type AgentImportPreviewRequest, type AgentImportPreviewResponse, type AgentListResponse, type AgentRunAttemptResponse, type AgentRunEvent, type AgentRunFileResponse, type AgentRunListResponse, type AgentRunRequest, type AgentRunResponse, type AgentRunStepResponse, type AgentRunStreamRequest, type AgentRunToolCallResponse, type AgentSummaryResponse, type AgentTraceMatchResponse, type AgentTraceSearchRequest, type AgentTraceSearchResponse, type AgentUsingCloudDriveResponse, type AiAssistantAcceptRequest, type AiAssistantAcceptResponse, type AiAssistantFeedbackRequest, type AiAssistantFeedbackResponse, type AiAssistantGenerateRequest, type AiAssistantGenerateResponse, type AiConversationHistoryResponse, type AiConversationTurnResponse, type AlertCommentResponse, type AlertConfigListResponse, type AlertConfigResponse, type AlertDetailResponse, type AlertListResponse, type AlertResponse, type AlertSubscriberResponse, type ApiVersion, type ApiVersionResponse, type AttachmentRefsSourceApiSummary, type AuthState, type BlockEmailSenderRequest, type BlockedEmailSenderListResponse, type BlockedEmailSenderResponse, type CancelExperimentResponse, type CancelQueuedRunsResponse, type ChangeStatusRequest, type CloudDriveAccessLevelResponse, type CloudDriveProviderResponse, type CloudDriveRejectionResponse, type CloudDriveResponse, type CloudDriveScopeResponse, type CloudDriveUpdateRequest, type CompactionEvaluationModel, type CompactionTestResponse, type CompatibleRunListResponse, type CompatibleRunResponse, type ContentDetailResponse, type ContentEmbeddingResponse, type ContentEmbeddingsListResponse, type ContentFileUploadResponse, type CreateAgentRequest, type CreateAlertConfigRequest, type CreateEvaluationCriteriaRequest, type CreateEvaluationResultRequest, type CreateExperimentInput, type CreateExperimentResponse, type CreateExportRequest, type CreateKnowledgeBaseBody, type CreateMemoryBankBody, type CreateSolutionRequest, type CreateSourceBody, type CredentialChainOptions, DEFAULT_SSO_CLIENT_ID, DEFAULT_SSO_DOMAIN, DEFAULT_SSO_REGION, type DmarcFailingSourceResponse, type DmarcSummaryResponse, type DnsProviderResponse, type DnsRecordResponse, type EffortOptionsResponse, type EmailDomainResponse, type EmailDomainsListResponse, type EmailTriggerConfigResponse, type EmbeddingModalityRateResponse, type EmbeddingModelListResponse, type EmbeddingModelResponse, type EmbeddingStorageCreditsResponse, type EstimateExportRequest, type EstimateExportResponse, type EvaluationCriteriaListResponse, type EvaluationCriteriaResponse, type EvaluationResultListResponse, type EvaluationResultResponse, type EvaluationResultSummaryResponse, type EvaluationResultWithCriteriaListResponse, type EvaluationResultWithCriteriaResponse, type EvaluationRunSummaryListResponse, type EvaluationRunSummaryResponse, type EvaluationStatus, type ExamplePrompt, type ExecutedActionResponse, type ExperimentDetailResponse, type ExperimentListResponse, type ExperimentSummaryResponse, type ExportFormat, type ExportListResponse, type ExportResponse, type FetchLike, type FileUploadResponse, type GenerateAgentStepsRequest, type GenerateAgentStepsResponse, type GenerateStepConfigRequest, type GenerateStepConfigResponse, type GovernanceAiAcceptResponse, type GovernanceAiAssistantRequest, type GovernanceAiAssistantResponse, type GovernanceAppliedActionResponse, type GovernanceConversationResponse, type GovernancePolicyRefResponse, type GovernanceProposedPolicyActionResponse, type HTTPValidationError, type ImportFieldErrorModel, type ImportSkipResponse, type InboundEmailRejectionResponse, type InboundEmailStatusResponse, type InlineTextReplaceRequest, type InlineTextUploadRequest, type InsufficientCreditsDetail, type InsufficientCreditsResponse, type JSONValue, type KnowledgeBaseListResponse, type KnowledgeBaseResponse, type LinkResourcesRequest, type ListOptions, type ListSourceContentsOptions, type MarkAiSuggestionRequest, type MarkConversationTurnRequest, type MeResponse, type MemoryBankAcceptRequest, type MemoryBankAiAssistantRequest, type MemoryBankAiAssistantResponse, type MemoryBankConfigResponse, type MemoryBankConversationTurnResponse, type MemoryBankLastConversationResponse, type MemoryBankListResponse, type MemoryBankResponse, type ModalityRateResponse, type ModelAlertListResponse, type ModelAlertResponse, type ModelRecommendationResponse, type ModelRecommendationsResponse, type NonManualEvaluationModeStatResponse, type NonManualEvaluationSummaryResponse, type OkResponse, type OrganizationAlertPreferenceListResponse, type OrganizationAlertPreferenceResponse, type OrganizationInfoResponse, type PaginatedPage, type PaginationResponse, type PendingProcessingCompletedFailedStatus, type PlaygroundCreateRequest, type PromptModelAutoUpgradeStrategy, type PromptModelResponse, type PromptToolResponse, type ProposedActionResponse, type ProviderGroupResponse, type RemoveEmailDomainResponse, type RerankerModelListResponse, type RerankerModelResponse, type ResumeInboundResponse, SECLAI_API_URL, type SearchResponse, type SearchResultResponse, Seclai, SeclaiAPIStatusError, SeclaiAPIValidationError, SeclaiApiVersion, SeclaiConfigurationError, SeclaiError, type SeclaiOptions, SeclaiStreamingError, type SendTestEmailResponse, type SetAutoBlockModeRequest, type SetEmailTriggerConfigRequest, type SolutionAgentResponse, type SolutionConversationResponse, type SolutionKnowledgeBaseResponse, type SolutionListResponse, type SolutionResponse, type SolutionSourceConnectionResponse, type SolutionSummaryResponse, type SortableListOptions, type SourceConnectionResponse, type SourceContentStatusListResponse, type SourceContentStatusResponse, type SourceEmbeddingMigrationResponse, type SourceIndexMode, type SourceListResponse, type SourceResponse, type SsoCacheEntry, type SsoProfile, type StandaloneTestCompactionRequest, type StartSourceEmbeddingMigrationRequest, type TestCompactionRequest, type TestDraftEvaluationRequest, type TestDraftEvaluationResponse, type UnlinkResourcesRequest, type UnreadCountResponse, type UpdateAgentDefinitionRequest, type UpdateAgentRequest, type UpdateAlertConfigRequest, type UpdateEvaluationCriteriaRequest, type UpdateKnowledgeBaseBody, type UpdateMemoryBankBody, type UpdateOrganizationAlertPreferenceRequest, type UpdateSolutionRequest, type UpdateSourceBody, type UploadAgentInputApiResponse, type ValidationError, type VariantCategoryResponse, type VariantOptionResponse, deleteSsoCache, isTokenValid, loadSsoProfile, readSsoCache, writeSsoCache };
|