@seclai/sdk 1.6.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +170 -12
- package/dist/index.cjs +142 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +710 -56
- package/dist/index.d.ts +710 -56
- package/dist/index.js +142 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -16,10 +16,16 @@ declare const SeclaiApiVersion: {
|
|
|
16
16
|
readonly V2026_09_28: "2026-09-28";
|
|
17
17
|
readonly V2026_09_30: "2026-09-30";
|
|
18
18
|
readonly V2026_10_03: "2026-10-03";
|
|
19
|
+
readonly V2026_10_05: "2026-10-05";
|
|
20
|
+
readonly V2026_10_13: "2026-10-13";
|
|
21
|
+
readonly V2026_10_16: "2026-10-16";
|
|
22
|
+
readonly V2026_10_18: "2026-10-18";
|
|
23
|
+
readonly V2026_10_19: "2026-10-19";
|
|
24
|
+
readonly V2026_10_21: "2026-10-21";
|
|
19
25
|
/** Baseline applied to an unpinned, header-less caller. */
|
|
20
26
|
readonly Default: "2026-07-01";
|
|
21
27
|
/** Newest version known to this SDK release. May lag the server. */
|
|
22
|
-
readonly Latest: "2026-10-
|
|
28
|
+
readonly Latest: "2026-10-21";
|
|
23
29
|
};
|
|
24
30
|
/**
|
|
25
31
|
* A dated API version. Known values autocomplete; any `YYYY-MM-DD` string still
|
|
@@ -30,6 +36,55 @@ type ApiVersion = (typeof SeclaiApiVersion)[keyof typeof SeclaiApiVersion] | (st
|
|
|
30
36
|
|
|
31
37
|
interface components {
|
|
32
38
|
schemas: {
|
|
39
|
+
/** AcceptedAttachmentSlot */
|
|
40
|
+
AcceptedAttachmentSlot: {
|
|
41
|
+
/**
|
|
42
|
+
* Content Types
|
|
43
|
+
* @description Accepted types, e.g. ``application/pdf`` or ``image/*``; empty accepts any type.
|
|
44
|
+
*/
|
|
45
|
+
content_types?: string[];
|
|
46
|
+
/**
|
|
47
|
+
* Label
|
|
48
|
+
* @description Shown to people.
|
|
49
|
+
*/
|
|
50
|
+
label?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Max
|
|
53
|
+
* @description Most files a run may include; empty is no limit.
|
|
54
|
+
*/
|
|
55
|
+
max?: number | null;
|
|
56
|
+
/**
|
|
57
|
+
* Min
|
|
58
|
+
* @description Fewest files a run must include; fewer refuses the run, except on an email trigger set to run anyway, which lists the shortfall.
|
|
59
|
+
* @default 0
|
|
60
|
+
*/
|
|
61
|
+
min: number;
|
|
62
|
+
/**
|
|
63
|
+
* Name
|
|
64
|
+
* @description Lowercase letters, digits and underscores, starting with a letter. Steps reference the files as ``{{agent.attachments.<name>}}``.
|
|
65
|
+
*/
|
|
66
|
+
name: string;
|
|
67
|
+
/**
|
|
68
|
+
* Name Pattern
|
|
69
|
+
* @description Filename glob a file must also match, ignoring case.
|
|
70
|
+
*/
|
|
71
|
+
name_pattern?: string | null;
|
|
72
|
+
};
|
|
73
|
+
/** AcceptedAttachmentsResponse */
|
|
74
|
+
AcceptedAttachmentsResponse: {
|
|
75
|
+
/** Accepted Attachments */
|
|
76
|
+
accepted_attachments: components["schemas"]["AcceptedAttachmentSlot"][];
|
|
77
|
+
/**
|
|
78
|
+
* Agent Id
|
|
79
|
+
* Format: uuid
|
|
80
|
+
*/
|
|
81
|
+
agent_id: string;
|
|
82
|
+
/**
|
|
83
|
+
* Trigger Id
|
|
84
|
+
* Format: uuid
|
|
85
|
+
*/
|
|
86
|
+
trigger_id: string;
|
|
87
|
+
};
|
|
33
88
|
/** AddConversationTurnRequest */
|
|
34
89
|
AddConversationTurnRequest: {
|
|
35
90
|
/**
|
|
@@ -67,19 +122,23 @@ interface components {
|
|
|
67
122
|
};
|
|
68
123
|
/**
|
|
69
124
|
* AgentAttachmentRefsApiResponse
|
|
70
|
-
* @description
|
|
125
|
+
* @description The input attachments an agent's trigger declares.
|
|
71
126
|
*
|
|
72
|
-
* Mirrors the MCP ``get_agent_attachment_references`` tool
|
|
73
|
-
*
|
|
74
|
-
* consumers can stage uploads correctly before calling
|
|
127
|
+
* Mirrors the MCP ``get_agent_attachment_references`` tool, so API
|
|
128
|
+
* consumers can stage uploads that fit before calling
|
|
75
129
|
* ``POST /agents/{id}/runs``.
|
|
76
130
|
*/
|
|
77
131
|
AgentAttachmentRefsApiResponse: {
|
|
78
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Accepted Attachments
|
|
134
|
+
* @description The attachments the agent's trigger declares. A run's files are each assigned to one; a file none accepts, or an attachment with fewer files than its ``min``, rejects the run with HTTP 400. Steps reference one as ``{{agent.attachments.<name>}}``.
|
|
135
|
+
*/
|
|
136
|
+
accepted_attachments?: components["schemas"]["AcceptedAttachmentSlot"][];
|
|
137
|
+
/** @description Aggregated summary of the agent-file references in the steps. Informational: which files a run accepts is ``accepted_attachments``. */
|
|
79
138
|
agent?: components["schemas"]["AttachmentRefsSourceApiSummary"];
|
|
80
139
|
/**
|
|
81
140
|
* Requires Uploads
|
|
82
|
-
* @description When ``false`` the agent
|
|
141
|
+
* @description When ``false`` the agent takes no files through the API — it has no ``dynamic_input`` trigger, or that trigger declares no attachments — and ``POST /agents/{id}/upload-input`` will reject with HTTP 400. When ``true`` ``accepted_attachments`` lists what a run's files must fit.
|
|
83
142
|
*/
|
|
84
143
|
requires_uploads: boolean;
|
|
85
144
|
};
|
|
@@ -321,16 +380,16 @@ interface components {
|
|
|
321
380
|
input?: string | null;
|
|
322
381
|
/**
|
|
323
382
|
* Input Upload Id
|
|
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
|
|
383
|
+
* @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 follows under a ``# {filename}`` heading (before ``Seclai-Version: 2026-10-16``, followed by its extracted text).
|
|
325
384
|
*
|
|
326
|
-
* **
|
|
385
|
+
* **Which steps receive it:** a step that sends or stores files takes the files its ``attachments`` field selects. An LLM step (``prompt_call``, ``extract_data``, ``evaluate_step``) takes the files its ``attachments`` field names, or else the files its plain-text templates reference: ``{{agent.attachments.<name>}}`` for one attachment the trigger declares, or ``{{agent.input}}`` for every upload unless a template also names an agent attachment.
|
|
327
386
|
*
|
|
328
|
-
* **Per-batch validation:**
|
|
387
|
+
* **Per-batch validation:** the batch must fit the trigger's ``accepted_attachments`` — every file fits one declared attachment and each attachment gets at least its ``min`` files — or the run is rejected with HTTP 400.
|
|
329
388
|
*/
|
|
330
389
|
input_upload_id?: string | null;
|
|
331
390
|
/**
|
|
332
391
|
* Input Upload Ids
|
|
333
|
-
* @description IDs of multiple previously uploaded files. Each upload
|
|
392
|
+
* @description IDs of multiple previously uploaded files. Each upload gets a heading in ``input`` (before ``Seclai-Version: 2026-10-16``, followed by its extracted text); each upload reaches steps as a separate file (before ``Seclai-Version: 2026-10-16``, a text upload in the open ``files`` attachment is written into ``input`` instead). Steps choose files as described under ``input_upload_id``. The batch must fit the trigger's ``accepted_attachments``; a mismatch returns HTTP 400 listing what does not fit. 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.
|
|
334
393
|
*/
|
|
335
394
|
input_upload_ids?: string[] | null;
|
|
336
395
|
/**
|
|
@@ -348,7 +407,7 @@ interface components {
|
|
|
348
407
|
priority: boolean;
|
|
349
408
|
/**
|
|
350
409
|
* Replay Of Run Id
|
|
351
|
-
* @description Re-run this agent reusing a prior run's uploaded input files. The files are re-resolved server-side from the source run (which must belong to this account and agent) — you do not re-upload them. Combine with ``input`` to change the text while keeping the files. A fresh upload batch (``input_upload_id(s)``) takes precedence and disables replay. Binaries swept by retention fall back to their extracted text.
|
|
410
|
+
* @description Re-run this agent reusing a prior run's uploaded input files. The files are re-resolved server-side from the source run (which must belong to this account and agent) — you do not re-upload them. Combine with ``input`` to change the text while keeping the files. A fresh upload batch (``input_upload_id(s)``) takes precedence and disables replay. Binaries swept by retention fall back to their extracted text. Files the trigger's ``accepted_attachments`` no longer accepts are left out.
|
|
352
411
|
*/
|
|
353
412
|
replay_of_run_id?: string | null;
|
|
354
413
|
};
|
|
@@ -411,7 +470,7 @@ interface components {
|
|
|
411
470
|
input_scan_status?: string | null;
|
|
412
471
|
/**
|
|
413
472
|
* Output
|
|
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`
|
|
473
|
+
* @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` can be `null` on runs made before that version shipped.
|
|
415
474
|
*/
|
|
416
475
|
output: string | null;
|
|
417
476
|
/**
|
|
@@ -443,7 +502,7 @@ interface components {
|
|
|
443
502
|
steps?: components["schemas"]["AgentRunStepResponse"][] | null;
|
|
444
503
|
/**
|
|
445
504
|
* 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.
|
|
505
|
+
* @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. A tool call's `error` may be null as well, so a failed tool call can report its status without a message. Branch on this rather than on a null `output`: a run that genuinely produced nothing looks identical. Status, timing and credits remain accurate.
|
|
447
506
|
*/
|
|
448
507
|
trace_purged_at?: string | null;
|
|
449
508
|
/**
|
|
@@ -513,12 +572,18 @@ interface components {
|
|
|
513
572
|
tool_calls?: components["schemas"]["AgentRunToolCallResponse"][];
|
|
514
573
|
/**
|
|
515
574
|
* Warnings
|
|
516
|
-
* @description
|
|
575
|
+
* @description 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, or a model that returned no answer.
|
|
517
576
|
*/
|
|
518
577
|
warnings?: string[] | null;
|
|
519
578
|
};
|
|
520
579
|
/** AgentRunStreamRequest */
|
|
521
580
|
AgentRunStreamRequest: {
|
|
581
|
+
/**
|
|
582
|
+
* Include Reasoning
|
|
583
|
+
* @description Receive `stream_reasoning` events carrying the model's reasoning while it thinks. They are sent only for a `streaming_result` step whose author enabled `show_reasoning`, and never when a governance policy redacts that step.
|
|
584
|
+
* @default false
|
|
585
|
+
*/
|
|
586
|
+
include_reasoning: boolean;
|
|
522
587
|
/**
|
|
523
588
|
* Input
|
|
524
589
|
* @description Input to provide to the agent upon running for agents with dynamic triggers.
|
|
@@ -526,12 +591,12 @@ interface components {
|
|
|
526
591
|
input?: string | null;
|
|
527
592
|
/**
|
|
528
593
|
* Input Upload Id
|
|
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``.
|
|
594
|
+
* @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``. Must fit the trigger's ``accepted_attachments``, as on the non-streaming endpoint.
|
|
530
595
|
*/
|
|
531
596
|
input_upload_id?: string | null;
|
|
532
597
|
/**
|
|
533
598
|
* Input Upload Ids
|
|
534
|
-
* @description IDs of multiple previously uploaded files. See the non-streaming endpoint for full semantics, including
|
|
599
|
+
* @description IDs of multiple previously uploaded files. See the non-streaming endpoint for full semantics, including fitting the trigger's ``accepted_attachments`` (else HTTP 400) and combining the batch with ``input`` prompt text. Max 20.
|
|
535
600
|
*/
|
|
536
601
|
input_upload_ids?: string[] | null;
|
|
537
602
|
/**
|
|
@@ -543,7 +608,7 @@ interface components {
|
|
|
543
608
|
} | null;
|
|
544
609
|
/**
|
|
545
610
|
* Replay Of Run Id
|
|
546
|
-
* @description Re-run reusing a prior run's uploaded input files (re-resolved server-side from the source run, which must belong to this account and agent). A fresh upload batch takes precedence.
|
|
611
|
+
* @description Re-run reusing a prior run's uploaded input files (re-resolved server-side from the source run, which must belong to this account and agent). A fresh upload batch takes precedence. Files the trigger's ``accepted_attachments`` no longer accepts are left out.
|
|
547
612
|
*/
|
|
548
613
|
replay_of_run_id?: string | null;
|
|
549
614
|
};
|
|
@@ -707,6 +772,11 @@ interface components {
|
|
|
707
772
|
sampling_config?: {
|
|
708
773
|
[key: string]: unknown;
|
|
709
774
|
} | null;
|
|
775
|
+
/**
|
|
776
|
+
* Trigger Id
|
|
777
|
+
* @description ID of the agent's trigger, for the `/agents/{agent_id}/triggers/{trigger_id}/…` endpoints such as `accepted-attachments` and `email-config`.
|
|
778
|
+
*/
|
|
779
|
+
trigger_id?: string | null;
|
|
710
780
|
/**
|
|
711
781
|
* Trigger Type
|
|
712
782
|
* @description Trigger type for the agent.
|
|
@@ -1499,6 +1569,64 @@ interface components {
|
|
|
1499
1569
|
/** Started At */
|
|
1500
1570
|
started_at?: string | null;
|
|
1501
1571
|
};
|
|
1572
|
+
/**
|
|
1573
|
+
* ContentAttachmentResponse
|
|
1574
|
+
* @description A file attached to a content item.
|
|
1575
|
+
*/
|
|
1576
|
+
ContentAttachmentResponse: {
|
|
1577
|
+
/**
|
|
1578
|
+
* Content Type
|
|
1579
|
+
* @description MIME type of the attached file.
|
|
1580
|
+
*/
|
|
1581
|
+
content_type: string;
|
|
1582
|
+
/**
|
|
1583
|
+
* Created At
|
|
1584
|
+
* @description When the file was first attached.
|
|
1585
|
+
*/
|
|
1586
|
+
created_at: string;
|
|
1587
|
+
/**
|
|
1588
|
+
* Id
|
|
1589
|
+
* @description The attachment's id, which the single-attachment endpoints take.
|
|
1590
|
+
*/
|
|
1591
|
+
id: string;
|
|
1592
|
+
/**
|
|
1593
|
+
* Indexed
|
|
1594
|
+
* @description Whether indexing the file for search was asked for.
|
|
1595
|
+
*/
|
|
1596
|
+
indexed: boolean;
|
|
1597
|
+
/**
|
|
1598
|
+
* Indexing Error
|
|
1599
|
+
* @description Why the file was not indexed, when `indexing_status` is `failed`.
|
|
1600
|
+
*/
|
|
1601
|
+
indexing_error: string | null;
|
|
1602
|
+
/**
|
|
1603
|
+
* Indexing Status
|
|
1604
|
+
* @description `pending`, `completed` or `failed`; null when indexing was not asked for. Search finds the file only when `completed`.
|
|
1605
|
+
*/
|
|
1606
|
+
indexing_status: string | null;
|
|
1607
|
+
/**
|
|
1608
|
+
* Key
|
|
1609
|
+
* @description The attachment's key, unique within the item.
|
|
1610
|
+
*/
|
|
1611
|
+
key: string;
|
|
1612
|
+
/**
|
|
1613
|
+
* Metadata
|
|
1614
|
+
* @description What is known about the file beyond its bytes. An image extracted from a PDF carries its `page_number`, and `page_render: true` when it is a render of the whole page. An image or video from a web page carries `source_url` (the address it was fetched from), `position` (its place among the media the page listed, from 0) and, when the page gave one, `alt_text`. Empty for most files. A retrieval metadata filter matches these keys, except `alt_text`, which is indexed as the attachment's text.
|
|
1615
|
+
*/
|
|
1616
|
+
metadata: {
|
|
1617
|
+
[key: string]: unknown;
|
|
1618
|
+
};
|
|
1619
|
+
/**
|
|
1620
|
+
* Size Bytes
|
|
1621
|
+
* @description Size of the attached file in bytes.
|
|
1622
|
+
*/
|
|
1623
|
+
size_bytes: number;
|
|
1624
|
+
/**
|
|
1625
|
+
* Updated At
|
|
1626
|
+
* @description When the attachment last changed.
|
|
1627
|
+
*/
|
|
1628
|
+
updated_at: string;
|
|
1629
|
+
};
|
|
1502
1630
|
/**
|
|
1503
1631
|
* ContentEmbeddingResponse
|
|
1504
1632
|
* @description Response model for content embedding.
|
|
@@ -1798,6 +1926,31 @@ interface components {
|
|
|
1798
1926
|
* @description Chunk size for content processing.
|
|
1799
1927
|
*/
|
|
1800
1928
|
chunk_size?: number | null;
|
|
1929
|
+
/**
|
|
1930
|
+
* Cloud Drive Connection Id
|
|
1931
|
+
* @description Required for a cloud_drive source, and ignored on any other: the id of a connected drive, from GET /cloud-drives.
|
|
1932
|
+
*/
|
|
1933
|
+
cloud_drive_connection_id?: string | null;
|
|
1934
|
+
/**
|
|
1935
|
+
* Cloud Drive Content Types
|
|
1936
|
+
* @description For a cloud_drive source: comma-separated MIME types a file must have to be indexed. Omit for no filter.
|
|
1937
|
+
*/
|
|
1938
|
+
cloud_drive_content_types?: string | null;
|
|
1939
|
+
/**
|
|
1940
|
+
* Cloud Drive Folder Path
|
|
1941
|
+
* @description For a cloud_drive source: the folder to index, as a path inside the drive. Omit to index the connected drive's own folder.
|
|
1942
|
+
*/
|
|
1943
|
+
cloud_drive_folder_path?: string | null;
|
|
1944
|
+
/**
|
|
1945
|
+
* Cloud Drive Max File Mb
|
|
1946
|
+
* @description For a cloud_drive source: files larger than this many megabytes are skipped. Omit for no limit of the source's own.
|
|
1947
|
+
*/
|
|
1948
|
+
cloud_drive_max_file_mb?: number | null;
|
|
1949
|
+
/**
|
|
1950
|
+
* Cloud Drive Path Pattern
|
|
1951
|
+
* @description For a cloud_drive source: a glob a file's path must match to be indexed, such as `**\/*.pdf` or `/reports/*`. Omit for no filter.
|
|
1952
|
+
*/
|
|
1953
|
+
cloud_drive_path_pattern?: string | null;
|
|
1801
1954
|
/**
|
|
1802
1955
|
* Content Filter
|
|
1803
1956
|
* @description Content filter type.
|
|
@@ -1808,16 +1961,31 @@ interface components {
|
|
|
1808
1961
|
* @description Embedding dimensions override.
|
|
1809
1962
|
*/
|
|
1810
1963
|
dimensions?: number | null;
|
|
1964
|
+
/**
|
|
1965
|
+
* Document Images
|
|
1966
|
+
* @description Whether the images inside PDF, DOCX, PPTX and XLSX files are attached to the item and indexed; on a text-only embedder, by the text in each image. Applies to documents added after it changes. Defaults to true; below Seclai-Version 2026-10-18 it defaults to false on a text-only embedder. On a website or RSS source it is ignored: `media_types` decides.
|
|
1967
|
+
*/
|
|
1968
|
+
document_images?: boolean | null;
|
|
1969
|
+
/**
|
|
1970
|
+
* Email Allowed Senders
|
|
1971
|
+
* @description Required for an email source, and only valid there: the senders whose mail is stored. Each entry is a full address (news@example.com) or a bare domain (example.com), which also matches its sub-domains. Matched against the message's From address, which must pass DMARC.
|
|
1972
|
+
*/
|
|
1973
|
+
email_allowed_senders?: string[] | null;
|
|
1811
1974
|
/**
|
|
1812
1975
|
* Embedding Model
|
|
1813
1976
|
* @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.
|
|
1814
1977
|
*/
|
|
1815
1978
|
embedding_model?: string | null;
|
|
1979
|
+
/**
|
|
1980
|
+
* Feed Attachments
|
|
1981
|
+
* @description Kinds of file listed beside a feed item's content to attach to the item and index, on an RSS source. Subset of ['enclosures', 'item_image', 'media_rss']; any other value is refused. None are attached unless chosen.
|
|
1982
|
+
*/
|
|
1983
|
+
feed_attachments?: string[] | null;
|
|
1816
1984
|
/** @description Index mode for custom_index sources: fast_and_cheap (default), balanced, slow_and_thorough, or custom. */
|
|
1817
1985
|
index_mode?: components["schemas"]["SourceIndexMode"] | null;
|
|
1818
1986
|
/**
|
|
1819
1987
|
* Media Types
|
|
1820
|
-
* @description Media kinds
|
|
1988
|
+
* @description Media kinds in a web page's main content to attach to the page's item and index, on a website or RSS source. Subset of ['images', 'video']. From `Seclai-Version: 2026-10-13` any other value, and any kind on another source type, is refused with a 400; older versions drop an unknown value and store the rest. A kind the source's embedder cannot index is stored and not indexed (see `supported_input_media` on GET /models/embedders). 'images' also covers the images inside PDF, DOCX, PPTX and XLSX files. Applies to pages and documents added after it is set.
|
|
1821
1989
|
*/
|
|
1822
1990
|
media_types?: string[] | null;
|
|
1823
1991
|
/**
|
|
@@ -1837,7 +2005,7 @@ interface components {
|
|
|
1837
2005
|
polling_action?: string | null;
|
|
1838
2006
|
/**
|
|
1839
2007
|
* Polling Max Items
|
|
1840
|
-
* @description
|
|
2008
|
+
* @description The most new feed items a scheduled poll takes. Read for RSS feeds only: from Seclai-Version 2026-10-19 any other source type rejects it with 400. Earlier versions store it there. An email source rejects it at every version.
|
|
1841
2009
|
*/
|
|
1842
2010
|
polling_max_items?: number | null;
|
|
1843
2011
|
/**
|
|
@@ -1847,7 +2015,7 @@ interface components {
|
|
|
1847
2015
|
retention?: number | null;
|
|
1848
2016
|
/**
|
|
1849
2017
|
* Source Type
|
|
1850
|
-
* @description Source type:
|
|
2018
|
+
* @description Source type: rss_feed, website, custom_index, cloud_drive or email. The legacy value 'file_uploads' is accepted as an alias for custom_index.
|
|
1851
2019
|
*/
|
|
1852
2020
|
source_type: string;
|
|
1853
2021
|
/**
|
|
@@ -2043,6 +2211,69 @@ interface components {
|
|
|
2043
2211
|
/** Vanity Plan Names */
|
|
2044
2212
|
vanity_plan_names?: string[];
|
|
2045
2213
|
};
|
|
2214
|
+
/**
|
|
2215
|
+
* EmailSourceRejectionListResponse
|
|
2216
|
+
* @description A page of mail an email content source refused.
|
|
2217
|
+
*/
|
|
2218
|
+
EmailSourceRejectionListResponse: {
|
|
2219
|
+
/** Data */
|
|
2220
|
+
data: components["schemas"]["EmailSourceRejectionResponse"][];
|
|
2221
|
+
pagination: components["schemas"]["PaginationResponse"];
|
|
2222
|
+
};
|
|
2223
|
+
/**
|
|
2224
|
+
* EmailSourceRejectionResponse
|
|
2225
|
+
* @description Mail an email content source refused: who sent it and why, never what
|
|
2226
|
+
* it said.
|
|
2227
|
+
*/
|
|
2228
|
+
EmailSourceRejectionResponse: {
|
|
2229
|
+
/**
|
|
2230
|
+
* Auth Verdicts
|
|
2231
|
+
* @description The SPF, DKIM and DMARC verdicts reported for the message.
|
|
2232
|
+
*/
|
|
2233
|
+
auth_verdicts?: {
|
|
2234
|
+
[key: string]: string;
|
|
2235
|
+
};
|
|
2236
|
+
/**
|
|
2237
|
+
* Authenticated
|
|
2238
|
+
* @description Whether the message passed DMARC, which is what authenticates its From address. Adding an unauthenticated sender to the allowed senders does not let its mail in.
|
|
2239
|
+
*/
|
|
2240
|
+
authenticated: boolean;
|
|
2241
|
+
/**
|
|
2242
|
+
* Created At
|
|
2243
|
+
* @description When the mail was refused.
|
|
2244
|
+
*/
|
|
2245
|
+
created_at: string;
|
|
2246
|
+
/**
|
|
2247
|
+
* From Address
|
|
2248
|
+
* @description The address in the message's From line, which the source's allowed senders are matched against. Null when no single From address could be read from the message unambiguously.
|
|
2249
|
+
*/
|
|
2250
|
+
from_address?: string | null;
|
|
2251
|
+
/**
|
|
2252
|
+
* Id
|
|
2253
|
+
* @description Unique identifier of the refusal.
|
|
2254
|
+
*/
|
|
2255
|
+
id: string;
|
|
2256
|
+
/**
|
|
2257
|
+
* Reason
|
|
2258
|
+
* @description Why it was refused: sender_not_allowed, unauthenticated_sender, unreadable_from, sender_blocked, spam, virus, unsafe_content, rate_limited, account_not_chargeable or empty_message; or, for a message the source received before, what became of the earlier one: repeat_stored, repeat_held, repeat_deleted or repeat_in_progress.
|
|
2259
|
+
*/
|
|
2260
|
+
reason: string;
|
|
2261
|
+
/**
|
|
2262
|
+
* Recipient
|
|
2263
|
+
* @description The source address it was sent to.
|
|
2264
|
+
*/
|
|
2265
|
+
recipient: string;
|
|
2266
|
+
/**
|
|
2267
|
+
* Sender
|
|
2268
|
+
* @description The envelope sender. For bulk mail this is the delivery provider's bounce address, not the From address.
|
|
2269
|
+
*/
|
|
2270
|
+
sender: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* Sender Ip
|
|
2273
|
+
* @description IP address the mail came from.
|
|
2274
|
+
*/
|
|
2275
|
+
sender_ip: string | null;
|
|
2276
|
+
};
|
|
2046
2277
|
/**
|
|
2047
2278
|
* EmailTriggerConfigResponse
|
|
2048
2279
|
* @description An EMAIL_RECEIVED trigger's resolved address(es) and config.
|
|
@@ -2074,6 +2305,11 @@ interface components {
|
|
|
2074
2305
|
* @default true
|
|
2075
2306
|
*/
|
|
2076
2307
|
email_require_sender_auth: boolean;
|
|
2308
|
+
/**
|
|
2309
|
+
* Email Run On Attachment Mismatch
|
|
2310
|
+
* @default false
|
|
2311
|
+
*/
|
|
2312
|
+
email_run_on_attachment_mismatch: boolean;
|
|
2077
2313
|
/**
|
|
2078
2314
|
* Trigger Id
|
|
2079
2315
|
* Format: uuid
|
|
@@ -2370,7 +2606,7 @@ interface components {
|
|
|
2370
2606
|
EvaluationResultSummaryResponse: {
|
|
2371
2607
|
/**
|
|
2372
2608
|
* Average Score
|
|
2373
|
-
* @description Mean score
|
|
2609
|
+
* @description Mean score of the final passed and failed results, or null if none. On /api before Seclai-Version 2026-10-21 it averages every final result's stored score, `error` included.
|
|
2374
2610
|
*/
|
|
2375
2611
|
average_score?: number | null;
|
|
2376
2612
|
/** Error */
|
|
@@ -2677,7 +2913,7 @@ interface components {
|
|
|
2677
2913
|
GenerateAgentStepsResponse: {
|
|
2678
2914
|
/**
|
|
2679
2915
|
* Agent Config
|
|
2680
|
-
* @description Suggested agent-level configuration, if any.
|
|
2916
|
+
* @description Suggested agent-level configuration, if any. For an email_received agent it may carry `email_run_on_attachment_mismatch`, which the caller applies through the trigger's email-config endpoint. For a dynamic_input or email_received agent it may carry `accepted_attachments`, which the caller passes with the steps to `PUT /agents/{agent_id}/definition` so both save together.
|
|
2681
2917
|
*/
|
|
2682
2918
|
agent_config?: {
|
|
2683
2919
|
[key: string]: unknown;
|
|
@@ -3027,7 +3263,7 @@ interface components {
|
|
|
3027
3263
|
};
|
|
3028
3264
|
/**
|
|
3029
3265
|
* InsufficientCreditsDetail
|
|
3030
|
-
* @description ``
|
|
3266
|
+
* @description ``error`` body of a 402 ``insufficient_credits`` response.
|
|
3031
3267
|
*/
|
|
3032
3268
|
InsufficientCreditsDetail: {
|
|
3033
3269
|
/**
|
|
@@ -3036,11 +3272,11 @@ interface components {
|
|
|
3036
3272
|
*/
|
|
3037
3273
|
account_id: string;
|
|
3038
3274
|
/**
|
|
3039
|
-
*
|
|
3275
|
+
* Code
|
|
3040
3276
|
* @description Stable machine-readable error code.
|
|
3041
3277
|
* @constant
|
|
3042
3278
|
*/
|
|
3043
|
-
|
|
3279
|
+
code: "insufficient_credits";
|
|
3044
3280
|
/**
|
|
3045
3281
|
* Message
|
|
3046
3282
|
* @description Human-readable explanation.
|
|
@@ -3050,9 +3286,11 @@ interface components {
|
|
|
3050
3286
|
/**
|
|
3051
3287
|
* InsufficientCreditsResponse
|
|
3052
3288
|
* @description 402 envelope returned when the account has exhausted its credits.
|
|
3289
|
+
*
|
|
3290
|
+
* The wire shape ``http_exception_handler`` and ``insufficient_credits_exception_handler`` send.
|
|
3053
3291
|
*/
|
|
3054
3292
|
InsufficientCreditsResponse: {
|
|
3055
|
-
|
|
3293
|
+
error: components["schemas"]["InsufficientCreditsDetail"];
|
|
3056
3294
|
};
|
|
3057
3295
|
JsonValue: unknown;
|
|
3058
3296
|
/**
|
|
@@ -3722,6 +3960,14 @@ interface components {
|
|
|
3722
3960
|
message: string;
|
|
3723
3961
|
};
|
|
3724
3962
|
};
|
|
3963
|
+
/** SetAcceptedAttachmentsRequest */
|
|
3964
|
+
SetAcceptedAttachmentsRequest: {
|
|
3965
|
+
/**
|
|
3966
|
+
* Accepted Attachments
|
|
3967
|
+
* @description The input attachments the trigger accepts; ``null`` accepts any files (one attachment named ``files``). Only ``dynamic_input`` and ``email_received`` triggers take files.
|
|
3968
|
+
*/
|
|
3969
|
+
accepted_attachments: components["schemas"]["AcceptedAttachmentSlot"][] | null;
|
|
3970
|
+
};
|
|
3725
3971
|
/**
|
|
3726
3972
|
* SetAutoBlockModeRequest
|
|
3727
3973
|
* @description Set the account's governance auto-block mode (shared REST request).
|
|
@@ -3730,6 +3976,34 @@ interface components {
|
|
|
3730
3976
|
/** Mode */
|
|
3731
3977
|
mode: string;
|
|
3732
3978
|
};
|
|
3979
|
+
/**
|
|
3980
|
+
* SkippedAttachmentReason
|
|
3981
|
+
* @enum {string}
|
|
3982
|
+
*/
|
|
3983
|
+
SkippedAttachmentReason: "displayed_in_body" | "over_cap" | "no_filename" | "undecodable";
|
|
3984
|
+
/**
|
|
3985
|
+
* SkippedAttachmentResponse
|
|
3986
|
+
* @description A part of an email that was not stored as an attachment.
|
|
3987
|
+
*/
|
|
3988
|
+
SkippedAttachmentResponse: {
|
|
3989
|
+
/**
|
|
3990
|
+
* Content Type
|
|
3991
|
+
* @description The part's declared media type.
|
|
3992
|
+
*/
|
|
3993
|
+
content_type: string;
|
|
3994
|
+
/**
|
|
3995
|
+
* Filename
|
|
3996
|
+
* @description The file name the part is listed under; null when it had none.
|
|
3997
|
+
*/
|
|
3998
|
+
filename: string | null;
|
|
3999
|
+
/** @description Why the part was not stored. */
|
|
4000
|
+
reason: components["schemas"]["SkippedAttachmentReason"];
|
|
4001
|
+
/**
|
|
4002
|
+
* Size Bytes
|
|
4003
|
+
* @description Decoded size in bytes.
|
|
4004
|
+
*/
|
|
4005
|
+
size_bytes: number | null;
|
|
4006
|
+
};
|
|
3733
4007
|
/** SolutionSourceConnectionResponse */
|
|
3734
4008
|
SolutionSourceConnectionResponse: {
|
|
3735
4009
|
/**
|
|
@@ -3880,20 +4154,26 @@ interface components {
|
|
|
3880
4154
|
error: string | null;
|
|
3881
4155
|
/**
|
|
3882
4156
|
* Extracted Media Capped
|
|
3883
|
-
* @description True when extraction stopped with media still unread, so the item references more media than was
|
|
4157
|
+
* @description True when extraction stopped with media still unread, so the item references more media than was attached and media search will not match anything past the cut. The cause is a web page that ran out of the budget for fetching remote assets or listed more media than is recorded, or a web page or document that could not be read to the end.
|
|
3884
4158
|
* @default false
|
|
3885
4159
|
*/
|
|
3886
4160
|
extracted_media_capped: boolean;
|
|
3887
4161
|
/**
|
|
3888
4162
|
* Extracted Media Count
|
|
3889
|
-
* @description Number of
|
|
4163
|
+
* @description Number of images / videos in this web page's main content, or of images inside this PDF or Office document, that were attached to the item on this source; a file over the per-file size limit, listed as a failed attachment, is not counted. Null when there is no media record for the item: the extraction pass has not run, does not apply to this container or this source's settings, or found nothing. Treat null as 'unknown', never as zero.
|
|
3890
4164
|
*/
|
|
3891
4165
|
extracted_media_count?: number | null;
|
|
3892
4166
|
/**
|
|
3893
4167
|
* 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,
|
|
4168
|
+
* @description The bound that was reached, when extracted_media_capped is true and the stop was a bound — a number of fetch attempts, of seconds, of bytes, or of media listed. Null when extraction was not capped, or when it stopped because the container could not be read rather than because a bound fired.
|
|
3895
4169
|
*/
|
|
3896
4170
|
extracted_media_limit?: number | null;
|
|
4171
|
+
/**
|
|
4172
|
+
* Held For Review
|
|
4173
|
+
* @description An ENFORCE governance policy blocked this item at import. It is held for review and is not retrievable: resolving its blocking evaluations releases it into the source, and it is purged when the hold window ends.
|
|
4174
|
+
* @default false
|
|
4175
|
+
*/
|
|
4176
|
+
held_for_review: boolean;
|
|
3897
4177
|
/**
|
|
3898
4178
|
* Indexed At
|
|
3899
4179
|
* @description Timestamp when the item finished indexing and became retrievable. `null` until then.
|
|
@@ -4029,6 +4309,31 @@ interface components {
|
|
|
4029
4309
|
* @description Chunk size for content processing.
|
|
4030
4310
|
*/
|
|
4031
4311
|
chunk_size?: number | null;
|
|
4312
|
+
/**
|
|
4313
|
+
* Cloud Drive Connection Id
|
|
4314
|
+
* @description For a cloud_drive source: the id of the connected drive it indexes. Null for every other source type.
|
|
4315
|
+
*/
|
|
4316
|
+
cloud_drive_connection_id?: string | null;
|
|
4317
|
+
/**
|
|
4318
|
+
* Cloud Drive Content Types
|
|
4319
|
+
* @description For a cloud_drive source: the comma-separated MIME types a file must have to be indexed. Null when there is no filter.
|
|
4320
|
+
*/
|
|
4321
|
+
cloud_drive_content_types?: string | null;
|
|
4322
|
+
/**
|
|
4323
|
+
* Cloud Drive Folder Path
|
|
4324
|
+
* @description For a cloud_drive source: the folder it indexes. Null when it indexes the connected drive's own folder.
|
|
4325
|
+
*/
|
|
4326
|
+
cloud_drive_folder_path?: string | null;
|
|
4327
|
+
/**
|
|
4328
|
+
* Cloud Drive Max File Mb
|
|
4329
|
+
* @description For a cloud_drive source: the size in megabytes above which a file is skipped. Null when the source sets no limit of its own.
|
|
4330
|
+
*/
|
|
4331
|
+
cloud_drive_max_file_mb?: number | null;
|
|
4332
|
+
/**
|
|
4333
|
+
* Cloud Drive Path Pattern
|
|
4334
|
+
* @description For a cloud_drive source: the glob a file's path must match to be indexed. Null when there is none.
|
|
4335
|
+
*/
|
|
4336
|
+
cloud_drive_path_pattern?: string | null;
|
|
4032
4337
|
/**
|
|
4033
4338
|
* Content Count
|
|
4034
4339
|
* @description Number of content items associated with the source connection.
|
|
@@ -4050,6 +4355,22 @@ interface components {
|
|
|
4050
4355
|
* @description Dimensions of the embedding model.
|
|
4051
4356
|
*/
|
|
4052
4357
|
dimensions?: number | null;
|
|
4358
|
+
/**
|
|
4359
|
+
* Document Images
|
|
4360
|
+
* @description Whether the images inside PDF, DOCX, PPTX and XLSX files are attached to the item and indexed; on a source that follows no web pages and has a text-only embedder, by the text in each image. Applies to documents added after it changes. On a website or RSS source it reports whether `media_types` holds 'images', and the images are attached only when the source's embedder indexes images.
|
|
4361
|
+
* @default true
|
|
4362
|
+
*/
|
|
4363
|
+
document_images: boolean;
|
|
4364
|
+
/**
|
|
4365
|
+
* Email Address
|
|
4366
|
+
* @description For an email source: the address to send mail to. Null for every other source type.
|
|
4367
|
+
*/
|
|
4368
|
+
email_address?: string | null;
|
|
4369
|
+
/**
|
|
4370
|
+
* Email Allowed Senders
|
|
4371
|
+
* @description For an email source: the addresses and domains whose mail is stored. Null for every other source type.
|
|
4372
|
+
*/
|
|
4373
|
+
email_allowed_senders?: string[] | null;
|
|
4053
4374
|
/**
|
|
4054
4375
|
* Embedding Model
|
|
4055
4376
|
* @description Embedding model used for the source connection.
|
|
@@ -4060,6 +4381,11 @@ interface components {
|
|
|
4060
4381
|
* @description Type of the embedding model.
|
|
4061
4382
|
*/
|
|
4062
4383
|
embedding_model_type?: string | null;
|
|
4384
|
+
/**
|
|
4385
|
+
* Feed Attachments
|
|
4386
|
+
* @description Kinds of file listed beside a feed item's content that an RSS source attaches to the item and indexes (subset of ['enclosures', 'item_image', 'media_rss']).
|
|
4387
|
+
*/
|
|
4388
|
+
feed_attachments?: string[];
|
|
4063
4389
|
/**
|
|
4064
4390
|
* Free Retention Days
|
|
4065
4391
|
* @description Number of days content is stored for free before billing applies.
|
|
@@ -4080,7 +4406,7 @@ interface components {
|
|
|
4080
4406
|
index_mode?: components["schemas"]["SourceIndexMode"] | null;
|
|
4081
4407
|
/**
|
|
4082
4408
|
* Media Types
|
|
4083
|
-
* @description Media kinds
|
|
4409
|
+
* @description Media kinds in a web page's main content that are attached to the page's item and indexed (subset of ['images', 'video']). On a website or RSS source 'images' also covers the images inside PDF, DOCX, PPTX and XLSX files.
|
|
4084
4410
|
*/
|
|
4085
4411
|
media_types?: string[];
|
|
4086
4412
|
/**
|
|
@@ -4105,7 +4431,7 @@ interface components {
|
|
|
4105
4431
|
polling_action: string | null;
|
|
4106
4432
|
/**
|
|
4107
4433
|
* Polling Max Items
|
|
4108
|
-
* @description
|
|
4434
|
+
* @description The most new feed items a scheduled poll takes. Read for RSS feeds only.
|
|
4109
4435
|
*/
|
|
4110
4436
|
polling_max_items: number | null;
|
|
4111
4437
|
/**
|
|
@@ -4315,6 +4641,8 @@ interface components {
|
|
|
4315
4641
|
passed: boolean;
|
|
4316
4642
|
/** Score */
|
|
4317
4643
|
score: number;
|
|
4644
|
+
/** @description `passed`, `failed`, or `error` when the evaluator returned no verdict. */
|
|
4645
|
+
status: components["schemas"]["EvaluationStatus"];
|
|
4318
4646
|
};
|
|
4319
4647
|
/** UnlinkResourcesRequest */
|
|
4320
4648
|
UnlinkResourcesRequest: {
|
|
@@ -4331,6 +4659,11 @@ interface components {
|
|
|
4331
4659
|
};
|
|
4332
4660
|
/** UpdateAgentDefinitionRequest */
|
|
4333
4661
|
UpdateAgentDefinitionRequest: {
|
|
4662
|
+
/**
|
|
4663
|
+
* Accepted Attachments
|
|
4664
|
+
* @description When given, declared on the main branch's file-taking triggers in the same save, so the steps may read its slots as `{{agent.attachments.<slot>}}`; omitted, the triggers keep theirs.
|
|
4665
|
+
*/
|
|
4666
|
+
accepted_attachments?: components["schemas"]["AcceptedAttachmentSlot"][] | null;
|
|
4334
4667
|
/**
|
|
4335
4668
|
* Definition
|
|
4336
4669
|
* @description The full agent definition (name, description, tags, steps). Steps form a tree workflow. Each step has a `step_type`, `id`, `name`, and type-specific config. Content enrichment steps (write_metadata, write_content_attachment, load_content_attachment, load_content) require content-triggered agents.
|
|
@@ -4516,9 +4849,44 @@ interface components {
|
|
|
4516
4849
|
* @description Request body for updating a content source.
|
|
4517
4850
|
*/
|
|
4518
4851
|
UpdateSourceBody: {
|
|
4852
|
+
/**
|
|
4853
|
+
* Cloud Drive Content Types
|
|
4854
|
+
* @description For a cloud_drive source: comma-separated MIME types a file must have to be indexed. Send an empty string to clear it; omit to leave it unchanged.
|
|
4855
|
+
*/
|
|
4856
|
+
cloud_drive_content_types?: string | null;
|
|
4857
|
+
/**
|
|
4858
|
+
* Cloud Drive Folder Path
|
|
4859
|
+
* @description For a cloud_drive source: the folder to index, as a path inside the drive. Send an empty string to index the connected drive's own folder; omit to leave it unchanged.
|
|
4860
|
+
*/
|
|
4861
|
+
cloud_drive_folder_path?: string | null;
|
|
4862
|
+
/**
|
|
4863
|
+
* Cloud Drive Max File Mb
|
|
4864
|
+
* @description For a cloud_drive source: files larger than this many megabytes are skipped. Send 0 to clear the source's own limit; omit to leave it unchanged.
|
|
4865
|
+
*/
|
|
4866
|
+
cloud_drive_max_file_mb?: number | null;
|
|
4867
|
+
/**
|
|
4868
|
+
* Cloud Drive Path Pattern
|
|
4869
|
+
* @description For a cloud_drive source: a glob a file's path must match to be indexed, such as `**\/*.pdf` or `/reports/*`. Send an empty string to clear it; omit to leave it unchanged.
|
|
4870
|
+
*/
|
|
4871
|
+
cloud_drive_path_pattern?: string | null;
|
|
4872
|
+
/**
|
|
4873
|
+
* Document Images
|
|
4874
|
+
* @description Whether the images inside PDF, DOCX, PPTX and XLSX files are attached to the item and indexed; on a text-only embedder, by the text in each image. Applies to documents added after it changes. Omit the field to leave it unchanged. On a website or RSS source it is ignored: `media_types` decides.
|
|
4875
|
+
*/
|
|
4876
|
+
document_images?: boolean | null;
|
|
4877
|
+
/**
|
|
4878
|
+
* Email Allowed Senders
|
|
4879
|
+
* @description For an email source: replaces the allowed senders. Each entry is a full address or a bare domain. The list cannot be emptied. Omit to leave it unchanged.
|
|
4880
|
+
*/
|
|
4881
|
+
email_allowed_senders?: string[] | null;
|
|
4882
|
+
/**
|
|
4883
|
+
* Feed Attachments
|
|
4884
|
+
* @description Kinds of file listed beside a feed item's content to attach to the item and index, on an RSS source. Subset of ['enclosures', 'item_image', 'media_rss']; any other value is refused. [] attaches none. Applies to items added after it changes. Omit the field to leave it unchanged.
|
|
4885
|
+
*/
|
|
4886
|
+
feed_attachments?: string[] | null;
|
|
4519
4887
|
/**
|
|
4520
4888
|
* Media Types
|
|
4521
|
-
* @description Media kinds
|
|
4889
|
+
* @description Media kinds in a web page's main content to attach to the page's item and index, on a website or RSS source. Subset of ['images', 'video']. From `Seclai-Version: 2026-10-13` any other value, and any kind on another source type, is refused with a 400; older versions drop an unknown value and store the rest. A kind the source's embedder cannot index is stored and not indexed (see `supported_input_media` on GET /models/embedders). [] attaches no media from web pages. 'images' also covers the images inside PDF, DOCX, PPTX and XLSX files. Applies to pages and documents added after it changes.
|
|
4522
4890
|
*/
|
|
4523
4891
|
media_types?: string[] | null;
|
|
4524
4892
|
/**
|
|
@@ -4781,6 +5149,11 @@ interface components {
|
|
|
4781
5149
|
};
|
|
4782
5150
|
/** CreateAgentRequest */
|
|
4783
5151
|
routers__api__agents__CreateAgentRequest: {
|
|
5152
|
+
/**
|
|
5153
|
+
* Accepted Attachments
|
|
5154
|
+
* @description The input attachments the trigger accepts. Omitted, the ``agent_definition`` trigger's declaration is kept when the export carries one and both trigger types take files; otherwise a dynamic_input or email_received trigger accepts any files (one attachment named ``files``), and any other trigger none.
|
|
5155
|
+
*/
|
|
5156
|
+
accepted_attachments?: components["schemas"]["AcceptedAttachmentSlot"][] | null;
|
|
4784
5157
|
/**
|
|
4785
5158
|
* Agent Definition
|
|
4786
5159
|
* @description Optional payload in the same format produced by GET /agents/{id}/export. When provided, replaces any template-derived workflow and pre-fills metadata/trigger fields the request does not specify explicitly. Validation errors include line/column references against a canonical pretty-printed echo of the supplied payload.
|
|
@@ -4866,6 +5239,11 @@ interface components {
|
|
|
4866
5239
|
* @description When true (default for new triggers), the envelope sender must pass SPF or DMARC even on an open inbox (no allowlist); unauthenticated, spoofable mail is rejected. Set false to accept fully unauthenticated mail on an open inbox.
|
|
4867
5240
|
*/
|
|
4868
5241
|
require_sender_auth?: boolean | null;
|
|
5242
|
+
/**
|
|
5243
|
+
* Run On Attachment Mismatch
|
|
5244
|
+
* @description When true (default false), an email whose attachments don't fit what the agent expects still runs: files the agent can't take are left out and the problems are listed in the `email_attachment_issues` run metadata. When false, the run fails.
|
|
5245
|
+
*/
|
|
5246
|
+
run_on_attachment_mismatch?: boolean | null;
|
|
4869
5247
|
};
|
|
4870
5248
|
/** UpdateAgentRequest */
|
|
4871
5249
|
routers__api__agents__UpdateAgentRequest: {
|
|
@@ -5108,6 +5486,89 @@ interface components {
|
|
|
5108
5486
|
*/
|
|
5109
5487
|
subscribed: boolean;
|
|
5110
5488
|
};
|
|
5489
|
+
/**
|
|
5490
|
+
* ContentAttachmentDetailResponse
|
|
5491
|
+
* @description One attached file, with the text indexed from it.
|
|
5492
|
+
*/
|
|
5493
|
+
routers__api__contents__ContentAttachmentDetailResponse: {
|
|
5494
|
+
/**
|
|
5495
|
+
* Content Type
|
|
5496
|
+
* @description MIME type of the attached file.
|
|
5497
|
+
*/
|
|
5498
|
+
content_type: string;
|
|
5499
|
+
/**
|
|
5500
|
+
* Created At
|
|
5501
|
+
* @description When the file was first attached.
|
|
5502
|
+
*/
|
|
5503
|
+
created_at: string;
|
|
5504
|
+
/**
|
|
5505
|
+
* File Withheld
|
|
5506
|
+
* @description Why the file's bytes are not served, or null when they are: `blocked_by_governance_policy`, `redacted_by_governance_policy` (any text below is the redacted text), or `pending_screening`.
|
|
5507
|
+
*/
|
|
5508
|
+
file_withheld: string | null;
|
|
5509
|
+
/**
|
|
5510
|
+
* Id
|
|
5511
|
+
* @description The attachment's id, which the single-attachment endpoints take.
|
|
5512
|
+
*/
|
|
5513
|
+
id: string;
|
|
5514
|
+
/**
|
|
5515
|
+
* Indexed
|
|
5516
|
+
* @description Whether indexing the file for search was asked for.
|
|
5517
|
+
*/
|
|
5518
|
+
indexed: boolean;
|
|
5519
|
+
/**
|
|
5520
|
+
* Indexing Error
|
|
5521
|
+
* @description Why the file was not indexed, when `indexing_status` is `failed`.
|
|
5522
|
+
*/
|
|
5523
|
+
indexing_error: string | null;
|
|
5524
|
+
/**
|
|
5525
|
+
* Indexing Status
|
|
5526
|
+
* @description `pending`, `completed` or `failed`; null when indexing was not asked for. Search finds the file only when `completed`.
|
|
5527
|
+
*/
|
|
5528
|
+
indexing_status: string | null;
|
|
5529
|
+
/**
|
|
5530
|
+
* Key
|
|
5531
|
+
* @description The attachment's key, unique within the item.
|
|
5532
|
+
*/
|
|
5533
|
+
key: string;
|
|
5534
|
+
/**
|
|
5535
|
+
* Metadata
|
|
5536
|
+
* @description What is known about the file beyond its bytes. An image extracted from a PDF carries its `page_number`, and `page_render: true` when it is a render of the whole page. An image or video from a web page carries `source_url` (the address it was fetched from), `position` (its place among the media the page listed, from 0) and, when the page gave one, `alt_text`. Empty for most files. A retrieval metadata filter matches these keys, except `alt_text`, which is indexed as the attachment's text.
|
|
5537
|
+
*/
|
|
5538
|
+
metadata: {
|
|
5539
|
+
[key: string]: unknown;
|
|
5540
|
+
};
|
|
5541
|
+
/**
|
|
5542
|
+
* Size Bytes
|
|
5543
|
+
* @description Size of the attached file in bytes.
|
|
5544
|
+
*/
|
|
5545
|
+
size_bytes: number;
|
|
5546
|
+
/**
|
|
5547
|
+
* Text Content
|
|
5548
|
+
* @description The requested range of the text the file is indexed by; null when the file has no completed index or was indexed without text.
|
|
5549
|
+
*/
|
|
5550
|
+
text_content: string | null;
|
|
5551
|
+
/** Text Content End */
|
|
5552
|
+
text_content_end: number;
|
|
5553
|
+
/** Text Content Start */
|
|
5554
|
+
text_content_start: number;
|
|
5555
|
+
/** Text Content Total Length */
|
|
5556
|
+
text_content_total_length: number;
|
|
5557
|
+
/**
|
|
5558
|
+
* Updated At
|
|
5559
|
+
* @description When the attachment last changed.
|
|
5560
|
+
*/
|
|
5561
|
+
updated_at: string;
|
|
5562
|
+
};
|
|
5563
|
+
/**
|
|
5564
|
+
* ContentAttachmentsListResponse
|
|
5565
|
+
* @description Response model for a content item's attachments.
|
|
5566
|
+
*/
|
|
5567
|
+
routers__api__contents__ContentAttachmentsListResponse: {
|
|
5568
|
+
/** Data */
|
|
5569
|
+
data: components["schemas"]["ContentAttachmentResponse"][];
|
|
5570
|
+
pagination: components["schemas"]["PaginationResponse"];
|
|
5571
|
+
};
|
|
5111
5572
|
/**
|
|
5112
5573
|
* ContentDetailResponse
|
|
5113
5574
|
* @description Response model for content detail.
|
|
@@ -5160,18 +5621,18 @@ interface components {
|
|
|
5160
5621
|
error: string | null;
|
|
5161
5622
|
/**
|
|
5162
5623
|
* Extracted Media Capped
|
|
5163
|
-
* @description True when extraction stopped with media still unread, so the item references more media than was
|
|
5624
|
+
* @description True when extraction stopped with media still unread, so the item references more media than was attached and media search will not match anything past the cut. The cause is a web page that ran out of the budget for fetching remote assets or listed more media than is recorded, or a web page or document that could not be read to the end.
|
|
5164
5625
|
* @default false
|
|
5165
5626
|
*/
|
|
5166
5627
|
extracted_media_capped: boolean;
|
|
5167
5628
|
/**
|
|
5168
5629
|
* Extracted Media Count
|
|
5169
|
-
* @description Number of
|
|
5630
|
+
* @description Number of images / videos in this web page's main content, or of images inside this PDF or Office document, that were attached to the item on this source; a file over the per-file size limit, listed as a failed attachment, is not counted. Null when there is no media record for the item: the extraction pass has not run, does not apply to this container or this source's settings, or found nothing. Treat null as 'unknown', never as zero.
|
|
5170
5631
|
*/
|
|
5171
5632
|
extracted_media_count?: number | null;
|
|
5172
5633
|
/**
|
|
5173
5634
|
* 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,
|
|
5635
|
+
* @description The bound that was reached, when extracted_media_capped is true and the stop was a bound — a number of fetch attempts, of seconds, of bytes, or of media listed. Null when extraction was not capped, or when it stopped because the container could not be read rather than because a bound fired.
|
|
5175
5636
|
*/
|
|
5176
5637
|
extracted_media_limit?: number | null;
|
|
5177
5638
|
/**
|
|
@@ -5196,6 +5657,11 @@ interface components {
|
|
|
5196
5657
|
* @description Timestamp when the content was pulled.
|
|
5197
5658
|
*/
|
|
5198
5659
|
pulled_at: string;
|
|
5660
|
+
/**
|
|
5661
|
+
* Skipped Attachments
|
|
5662
|
+
* @description Parts of an email delivered to an email content source that were not stored as attachments of this item, each with the reason: displayed_in_body (an image the message body shows, such as a signature logo), over_cap (beyond the per-message attachment limit), no_filename, or undecodable. size_bytes is null for a part that was never decoded. Empty for every other item.
|
|
5663
|
+
*/
|
|
5664
|
+
skipped_attachments?: components["schemas"]["SkippedAttachmentResponse"][];
|
|
5199
5665
|
/**
|
|
5200
5666
|
* Source Connection Content Version Id
|
|
5201
5667
|
* @description ID of the source connection content version.
|
|
@@ -5928,7 +6394,7 @@ interface components {
|
|
|
5928
6394
|
content_version_id: string | null;
|
|
5929
6395
|
/**
|
|
5930
6396
|
* Embedder Warning
|
|
5931
|
-
* @description Set when
|
|
6397
|
+
* @description Set when a file that is not text is indexed from its extracted text alone rather than embedded whole: the item is FAILED if no text can be extracted. Says so when the images inside a document are attached to the item and indexed as well.
|
|
5932
6398
|
*/
|
|
5933
6399
|
embedder_warning?: string | null;
|
|
5934
6400
|
/**
|
|
@@ -6145,6 +6611,11 @@ interface components {
|
|
|
6145
6611
|
* @description Per-mode rollup for evaluation activity.
|
|
6146
6612
|
*/
|
|
6147
6613
|
schemas__v1__agent_evaluations__NonManualEvaluationModeStatResponse: {
|
|
6614
|
+
/**
|
|
6615
|
+
* Error
|
|
6616
|
+
* @description Results whose evaluator returned no verdict.
|
|
6617
|
+
*/
|
|
6618
|
+
error: number;
|
|
6148
6619
|
/** Failed */
|
|
6149
6620
|
failed: number;
|
|
6150
6621
|
/** Failure Rate */
|
|
@@ -6167,6 +6638,11 @@ interface components {
|
|
|
6167
6638
|
schemas__v1__agent_evaluations__NonManualEvaluationSummaryResponse: {
|
|
6168
6639
|
/** By Mode */
|
|
6169
6640
|
by_mode: components["schemas"]["schemas__v1__agent_evaluations__NonManualEvaluationModeStatResponse"][];
|
|
6641
|
+
/**
|
|
6642
|
+
* Error
|
|
6643
|
+
* @description Results whose evaluator returned no verdict.
|
|
6644
|
+
*/
|
|
6645
|
+
error: number;
|
|
6170
6646
|
/** Failed */
|
|
6171
6647
|
failed: number;
|
|
6172
6648
|
/** Failure Rate */
|
|
@@ -6234,12 +6710,54 @@ type AgentDefinitionResponse = components["schemas"]["AgentDefinitionResponse"];
|
|
|
6234
6710
|
type AgentExportResponse = components["schemas"]["AgentExportResponse"];
|
|
6235
6711
|
/** Summary of an agent (returned on create/update). */
|
|
6236
6712
|
type AgentSummaryResponse = components["schemas"]["AgentSummaryResponse"];
|
|
6237
|
-
/**
|
|
6238
|
-
|
|
6713
|
+
/**
|
|
6714
|
+
* Request body for creating an agent.
|
|
6715
|
+
*
|
|
6716
|
+
* `accepted_attachments` takes {@link AcceptedAttachmentSlotInput}, so a slot's
|
|
6717
|
+
* server-defaulted `min` can be omitted.
|
|
6718
|
+
*/
|
|
6719
|
+
type CreateAgentRequest = Omit<components["schemas"]["routers__api__agents__CreateAgentRequest"], "accepted_attachments"> & {
|
|
6720
|
+
accepted_attachments?: AcceptedAttachmentSlotInput[] | null;
|
|
6721
|
+
};
|
|
6239
6722
|
/** Request body for updating an agent. */
|
|
6240
6723
|
type UpdateAgentRequest = components["schemas"]["routers__api__agents__UpdateAgentRequest"];
|
|
6241
|
-
/**
|
|
6242
|
-
|
|
6724
|
+
/**
|
|
6725
|
+
* Request body for updating an agent definition (steps, model, etc.).
|
|
6726
|
+
*
|
|
6727
|
+
* `accepted_attachments` takes {@link AcceptedAttachmentSlotInput}, so a slot's
|
|
6728
|
+
* server-defaulted `min` can be omitted.
|
|
6729
|
+
*/
|
|
6730
|
+
type UpdateAgentDefinitionRequest = Omit<components["schemas"]["UpdateAgentDefinitionRequest"], "accepted_attachments"> & {
|
|
6731
|
+
accepted_attachments?: AcceptedAttachmentSlotInput[] | null;
|
|
6732
|
+
};
|
|
6733
|
+
/**
|
|
6734
|
+
* One input attachment a trigger accepts: a named slot that a run's files are
|
|
6735
|
+
* assigned to before any step runs. Steps reference it as
|
|
6736
|
+
* `{{agent.attachments.<name>}}`.
|
|
6737
|
+
*/
|
|
6738
|
+
type AcceptedAttachmentSlot = components["schemas"]["AcceptedAttachmentSlot"];
|
|
6739
|
+
/**
|
|
6740
|
+
* An {@link AcceptedAttachmentSlot} as written: `min` has a server-side
|
|
6741
|
+
* default of `0` and can be omitted — the generated type marks
|
|
6742
|
+
* it required only because the schema declares a default.
|
|
6743
|
+
*/
|
|
6744
|
+
type AcceptedAttachmentSlotInput = Omit<AcceptedAttachmentSlot, "min"> & {
|
|
6745
|
+
min?: number;
|
|
6746
|
+
};
|
|
6747
|
+
/**
|
|
6748
|
+
* Request body for {@link Seclai.setAcceptedAttachments}: the full list of
|
|
6749
|
+
* accepted attachments, with each slot's server-defaulted `min` optional.
|
|
6750
|
+
*/
|
|
6751
|
+
type SetAcceptedAttachmentsInput = Omit<components["schemas"]["SetAcceptedAttachmentsRequest"], "accepted_attachments"> & {
|
|
6752
|
+
accepted_attachments: AcceptedAttachmentSlotInput[] | null;
|
|
6753
|
+
};
|
|
6754
|
+
/**
|
|
6755
|
+
* Request body for declaring the input attachments a trigger accepts. The same
|
|
6756
|
+
* type as {@link SetAcceptedAttachmentsInput}, so a slot's `min` can be omitted.
|
|
6757
|
+
*/
|
|
6758
|
+
type SetAcceptedAttachmentsRequest = SetAcceptedAttachmentsInput;
|
|
6759
|
+
/** The input attachments a trigger now accepts. */
|
|
6760
|
+
type AcceptedAttachmentsResponse = components["schemas"]["AcceptedAttachmentsResponse"];
|
|
6243
6761
|
/** Request body for previewing an agent_definition import (dry-run validation). */
|
|
6244
6762
|
type AgentImportPreviewRequest = components["schemas"]["routers__api__agents__AgentImportPreviewRequest"];
|
|
6245
6763
|
/** Response body summarising a successfully validated agent_definition import payload. */
|
|
@@ -6279,6 +6797,10 @@ type BlockedEmailSenderListResponse = VersionedList<components["schemas"]["Block
|
|
|
6279
6797
|
type SetAutoBlockModeRequest = components["schemas"]["SetAutoBlockModeRequest"];
|
|
6280
6798
|
/** An inbound email that was discarded before running an agent. */
|
|
6281
6799
|
type InboundEmailRejectionResponse = components["schemas"]["InboundEmailRejectionResponse"];
|
|
6800
|
+
/** Mail an email content source refused: who sent it and why, never its subject or body. */
|
|
6801
|
+
type EmailSourceRejectionResponse = components["schemas"]["EmailSourceRejectionResponse"];
|
|
6802
|
+
/** A page of an email source's refused mail, under `data` with `pagination`. */
|
|
6803
|
+
type EmailSourceRejectionListResponse = components["schemas"]["EmailSourceRejectionListResponse"];
|
|
6282
6804
|
/** Account-wide inbound-email overload state (breaker paused + queued backlog size). */
|
|
6283
6805
|
type InboundEmailStatusResponse = components["schemas"]["InboundEmailStatusResponse"];
|
|
6284
6806
|
/** Number of queued inbound-email runs cancelled. */
|
|
@@ -6287,8 +6809,13 @@ type CancelQueuedRunsResponse = components["schemas"]["CancelQueuedRunsResponse"
|
|
|
6287
6809
|
type ResumeInboundResponse = components["schemas"]["ResumeInboundResponse"];
|
|
6288
6810
|
/** Request body for starting an agent run. */
|
|
6289
6811
|
type AgentRunRequest = components["schemas"]["AgentRunRequest"];
|
|
6290
|
-
/**
|
|
6291
|
-
|
|
6812
|
+
/**
|
|
6813
|
+
* Request body for starting an agent run in streaming mode (SSE).
|
|
6814
|
+
*
|
|
6815
|
+
* `include_reasoning` has a server-side default of `false` and stays optional —
|
|
6816
|
+
* the generated type marks it required only because the schema declares a default.
|
|
6817
|
+
*/
|
|
6818
|
+
type AgentRunStreamRequest = Omit<components["schemas"]["AgentRunStreamRequest"], "include_reasoning"> & Partial<Pick<components["schemas"]["AgentRunStreamRequest"], "include_reasoning">>;
|
|
6292
6819
|
/** Response body describing an agent run. */
|
|
6293
6820
|
type AgentRunResponse = components["schemas"]["AgentRunResponse"];
|
|
6294
6821
|
/** Paginated list of agent runs. */
|
|
@@ -6456,8 +6983,20 @@ type NonManualEvaluationSummaryResponse = components["schemas"]["schemas__v1__ag
|
|
|
6456
6983
|
type NonManualEvaluationModeStatResponse = components["schemas"]["schemas__v1__agent_evaluations__NonManualEvaluationModeStatResponse"];
|
|
6457
6984
|
/** Request for testing a draft evaluation. */
|
|
6458
6985
|
type TestDraftEvaluationRequest = components["schemas"]["TestDraftEvaluationRequest"];
|
|
6459
|
-
/**
|
|
6460
|
-
|
|
6986
|
+
/**
|
|
6987
|
+
* Response from testing a draft evaluation. When `status` is `error` (no
|
|
6988
|
+
* verdict), `score` and `passed` are `null` with `apiVersion` `2026-10-21` or
|
|
6989
|
+
* later, and 0.5 and `false` below it; the spec documents only the latter.
|
|
6990
|
+
*/
|
|
6991
|
+
type TestDraftEvaluationResponse = Omit<components["schemas"]["TestDraftEvaluationResponse"], "status" | "score" | "passed"> & ({
|
|
6992
|
+
status: Exclude<EvaluationStatus, "error">;
|
|
6993
|
+
score: number;
|
|
6994
|
+
passed: boolean;
|
|
6995
|
+
} | {
|
|
6996
|
+
status: "error";
|
|
6997
|
+
score: number | null;
|
|
6998
|
+
passed: boolean | null;
|
|
6999
|
+
});
|
|
6461
7000
|
/** Paginated list of runs compatible with a specific evaluation criteria. */
|
|
6462
7001
|
type CompatibleRunListResponse = VersionedList<components["schemas"]["CompatibleRunListResponse"], "data">;
|
|
6463
7002
|
/** Individual compatible run. */
|
|
@@ -6565,6 +7104,16 @@ type ContentDetailResponse = components["schemas"]["routers__api__contents__Cont
|
|
|
6565
7104
|
type ContentEmbeddingsListResponse = components["schemas"]["routers__api__contents__ContentEmbeddingsListResponse"];
|
|
6566
7105
|
/** Individual content embedding. */
|
|
6567
7106
|
type ContentEmbeddingResponse = components["schemas"]["ContentEmbeddingResponse"];
|
|
7107
|
+
/** A file attached to a content item, with whether it is indexed and, if indexing failed, why. */
|
|
7108
|
+
type ContentAttachmentResponse = components["schemas"]["ContentAttachmentResponse"];
|
|
7109
|
+
/** A page of a content item's attachments, under `data` with `pagination`. */
|
|
7110
|
+
type ContentAttachmentsListResponse = components["schemas"]["routers__api__contents__ContentAttachmentsListResponse"];
|
|
7111
|
+
/** One content attachment with its indexing status, metadata and a range of the text it is indexed by. */
|
|
7112
|
+
type ContentAttachmentDetailResponse = components["schemas"]["routers__api__contents__ContentAttachmentDetailResponse"];
|
|
7113
|
+
/** A file on an email that was not attached to the content item, with the reason. */
|
|
7114
|
+
type SkippedAttachmentResponse = components["schemas"]["SkippedAttachmentResponse"];
|
|
7115
|
+
/** Why an email's file was not attached: `displayed_in_body`, `over_cap`, `no_filename` or `undecodable`. */
|
|
7116
|
+
type SkippedAttachmentReason = components["schemas"]["SkippedAttachmentReason"];
|
|
6568
7117
|
/** Upload response for content replacement uploads. */
|
|
6569
7118
|
type ContentFileUploadResponse = components["schemas"]["routers__api__contents__FileUploadResponse"];
|
|
6570
7119
|
/** Paginated list of solutions. */
|
|
@@ -6700,7 +7249,7 @@ type DmarcSummaryResponse = components["schemas"]["DmarcSummaryResponse"];
|
|
|
6700
7249
|
type DmarcFailingSourceResponse = components["schemas"]["DmarcFailingSourceResponse"];
|
|
6701
7250
|
/** 402 envelope returned when an account has exhausted its credits. */
|
|
6702
7251
|
type InsufficientCreditsResponse = components["schemas"]["InsufficientCreditsResponse"];
|
|
6703
|
-
/** `
|
|
7252
|
+
/** `error` body of an {@link InsufficientCreditsResponse} (`code`, message, and account id). */
|
|
6704
7253
|
type InsufficientCreditsDetail = components["schemas"]["InsufficientCreditsDetail"];
|
|
6705
7254
|
/** Source index mode: fast_and_cheap, balanced, slow_and_thorough, or custom. */
|
|
6706
7255
|
type SourceIndexMode = components["schemas"]["SourceIndexMode"];
|
|
@@ -6908,7 +7457,7 @@ declare class Seclai {
|
|
|
6908
7457
|
query?: Record<string, unknown>;
|
|
6909
7458
|
json?: unknown;
|
|
6910
7459
|
headers?: Record<string, string>;
|
|
6911
|
-
signal?: AbortSignal;
|
|
7460
|
+
signal?: AbortSignal | undefined;
|
|
6912
7461
|
}): Promise<Response>;
|
|
6913
7462
|
/** Shared multipart upload helper. */
|
|
6914
7463
|
private uploadFile;
|
|
@@ -7114,15 +7663,17 @@ declare class Seclai {
|
|
|
7114
7663
|
* Run an agent in streaming mode (SSE) and wait for the final result.
|
|
7115
7664
|
*
|
|
7116
7665
|
* Consumes the entire SSE stream and returns only the terminal `done` payload.
|
|
7117
|
-
* For real-time event access, use {@link runStreamingAgent} instead.
|
|
7666
|
+
* For real-time event access, use {@link runStreamingAgent} instead. The body
|
|
7667
|
+
* takes no `include_reasoning`, and one passed anyway is not sent: this method
|
|
7668
|
+
* returns no `stream_reasoning` events.
|
|
7118
7669
|
*
|
|
7119
7670
|
* @param agentId - Agent identifier.
|
|
7120
|
-
* @param body - Streaming run request payload
|
|
7671
|
+
* @param body - Streaming run request payload, without `include_reasoning`.
|
|
7121
7672
|
* @param opts - Timeout and abort signal options.
|
|
7122
7673
|
* @returns Final agent run payload from the `done` event.
|
|
7123
7674
|
* @throws {@link SeclaiStreamingError} If the stream ends before a `done` event.
|
|
7124
7675
|
*/
|
|
7125
|
-
runStreamingAgentAndWait(agentId: string, body: AgentRunStreamRequest, opts?: {
|
|
7676
|
+
runStreamingAgentAndWait(agentId: string, body: Omit<AgentRunStreamRequest, "include_reasoning">, opts?: {
|
|
7126
7677
|
timeoutMs?: number;
|
|
7127
7678
|
signal?: AbortSignal;
|
|
7128
7679
|
}): Promise<AgentRunResponse>;
|
|
@@ -7180,10 +7731,14 @@ declare class Seclai {
|
|
|
7180
7731
|
*/
|
|
7181
7732
|
listRunEvaluationResults(agentId: string, runId: string, opts?: ListOptions): Promise<EvaluationResultWithCriteriaListResponse>;
|
|
7182
7733
|
/**
|
|
7183
|
-
* Upload a file to use as input for a `dynamic_input` agent run.
|
|
7734
|
+
* Upload a file to use as input for a `dynamic_input` agent run. Any other
|
|
7735
|
+
* agent rejects the upload with HTTP 400. Files are limited to 200 MB.
|
|
7184
7736
|
*
|
|
7185
|
-
*
|
|
7186
|
-
*
|
|
7737
|
+
* From API version `2026-10-16` a file of any type is accepted and is `ready`
|
|
7738
|
+
* at once: pass its `id` as `input_upload_id` to {@link runAgent}.
|
|
7739
|
+
* Earlier versions accept only a fixed list of extensions and write each
|
|
7740
|
+
* file's extracted text into the run's `input`, so poll
|
|
7741
|
+
* {@link getAgentInputUploadStatus} until `status` is `ready` before running.
|
|
7187
7742
|
*
|
|
7188
7743
|
* @param agentId - Agent identifier.
|
|
7189
7744
|
* @param opts - File payload and optional metadata.
|
|
@@ -7223,11 +7778,15 @@ declare class Seclai {
|
|
|
7223
7778
|
* @param runId - Run identifier.
|
|
7224
7779
|
* @param attachmentId - URL-safe-base64-encoded `storage_key` of the attachment
|
|
7225
7780
|
* (as surfaced in run output manifests and webhook/email payloads).
|
|
7226
|
-
* @param opts - Optional `downloadName` filename hint for the download
|
|
7781
|
+
* @param opts - Optional `downloadName` filename hint for the download
|
|
7782
|
+
* disposition, and `signal`, which cancels the request; with a standard `fetch` this
|
|
7783
|
+
* includes reading the body, so `AbortSignal.timeout(ms)` bounds the whole
|
|
7784
|
+
* transfer.
|
|
7227
7785
|
* @returns Raw response with the attachment bytes.
|
|
7228
7786
|
*/
|
|
7229
7787
|
downloadAgentRunAttachment(runId: string, attachmentId: string, opts?: {
|
|
7230
7788
|
downloadName?: string;
|
|
7789
|
+
signal?: AbortSignal;
|
|
7231
7790
|
}): Promise<Response>;
|
|
7232
7791
|
/**
|
|
7233
7792
|
* Generate agent workflow steps from natural language using AI.
|
|
@@ -7384,6 +7943,20 @@ declare class Seclai {
|
|
|
7384
7943
|
* @returns The trigger's resolved addresses and config.
|
|
7385
7944
|
*/
|
|
7386
7945
|
setEmailTriggerConfig(agentId: string, triggerId: string, body: SetEmailTriggerConfigRequest): Promise<EmailTriggerConfigResponse>;
|
|
7946
|
+
/**
|
|
7947
|
+
* Replace the input attachments a trigger accepts.
|
|
7948
|
+
*
|
|
7949
|
+
* A run's files are each assigned to one declared attachment before any step
|
|
7950
|
+
* runs, and steps reference one as `{{agent.attachments.<name>}}`. The API
|
|
7951
|
+
* answers 400 when the agent references an attachment the new declaration
|
|
7952
|
+
* leaves out.
|
|
7953
|
+
*
|
|
7954
|
+
* @param agentId - Agent identifier.
|
|
7955
|
+
* @param triggerId - Trigger identifier, as `getAgent()` returns it.
|
|
7956
|
+
* @param body - The full list of accepted attachments; a slot's `min` defaults to 0.
|
|
7957
|
+
* @returns The trigger's accepted attachments.
|
|
7958
|
+
*/
|
|
7959
|
+
setAcceptedAttachments(agentId: string, triggerId: string, body: SetAcceptedAttachmentsInput): Promise<AcceptedAttachmentsResponse>;
|
|
7387
7960
|
/**
|
|
7388
7961
|
* List recipients who have opted out of this account's agent emails.
|
|
7389
7962
|
*
|
|
@@ -7693,6 +8266,20 @@ declare class Seclai {
|
|
|
7693
8266
|
* @param contentVersionId - The `content_version_id` an upload returned.
|
|
7694
8267
|
*/
|
|
7695
8268
|
getSourceContentStatus(sourceId: string, contentVersionId: string): Promise<SourceContentStatusResponse>;
|
|
8269
|
+
/**
|
|
8270
|
+
* List mail an email content source refused, newest first.
|
|
8271
|
+
*
|
|
8272
|
+
* Each entry says who sent the message and why it was refused, never its
|
|
8273
|
+
* subject or body. To accept a refused sender, add its `from_address` or that
|
|
8274
|
+
* address's domain to the source's `email_allowed_senders` — which only helps
|
|
8275
|
+
* when `authenticated` is true. Requires an account owner or administrator;
|
|
8276
|
+
* the API answers 404 for a source that is not an email source.
|
|
8277
|
+
*
|
|
8278
|
+
* @param sourceId - Source connection identifier.
|
|
8279
|
+
* @param opts - Pagination options (`limit` 1-100).
|
|
8280
|
+
* @returns The rejections under `data` with `pagination`.
|
|
8281
|
+
*/
|
|
8282
|
+
listEmailSourceRejections(sourceId: string, opts?: ListOptions): Promise<EmailSourceRejectionListResponse>;
|
|
7696
8283
|
/**
|
|
7697
8284
|
* List exports for a source.
|
|
7698
8285
|
*
|
|
@@ -7731,9 +8318,14 @@ declare class Seclai {
|
|
|
7731
8318
|
*
|
|
7732
8319
|
* @param sourceId - Source connection identifier.
|
|
7733
8320
|
* @param exportId - Export identifier.
|
|
8321
|
+
* @param opts - Optional `signal`, which cancels the request; with a standard `fetch` this
|
|
8322
|
+
* includes reading the body, so `AbortSignal.timeout(ms)` bounds the whole
|
|
8323
|
+
* transfer.
|
|
7734
8324
|
* @returns Raw response with the export file.
|
|
7735
8325
|
*/
|
|
7736
|
-
downloadSourceExport(sourceId: string, exportId: string
|
|
8326
|
+
downloadSourceExport(sourceId: string, exportId: string, opts?: {
|
|
8327
|
+
signal?: AbortSignal;
|
|
8328
|
+
}): Promise<Response>;
|
|
7737
8329
|
/**
|
|
7738
8330
|
* Estimate a source export.
|
|
7739
8331
|
*
|
|
@@ -7803,6 +8395,68 @@ declare class Seclai {
|
|
|
7803
8395
|
* @returns Paginated list of embeddings.
|
|
7804
8396
|
*/
|
|
7805
8397
|
listContentEmbeddings(contentVersionId: string, opts?: ListOptions): Promise<ContentEmbeddingsListResponse>;
|
|
8398
|
+
/**
|
|
8399
|
+
* List the files attached to a content item.
|
|
8400
|
+
*
|
|
8401
|
+
* Files arrive from an agent's `write_content_attachment` step, with an email
|
|
8402
|
+
* message, from an RSS feed's `feed_attachments`, from a web page's media, or
|
|
8403
|
+
* as the images inside a document. Each entry says whether it is indexed for
|
|
8404
|
+
* search and, when indexing failed, why.
|
|
8405
|
+
*
|
|
8406
|
+
* @param contentVersionId - Content version identifier.
|
|
8407
|
+
* @param opts - Pagination options.
|
|
8408
|
+
* @returns The attachments under `data` with `pagination`.
|
|
8409
|
+
*/
|
|
8410
|
+
listContentAttachments(contentVersionId: string, opts?: ListOptions): Promise<ContentAttachmentsListResponse>;
|
|
8411
|
+
/**
|
|
8412
|
+
* Get one file attached to a content item: its indexing status and reason,
|
|
8413
|
+
* its metadata, and the text it is indexed by.
|
|
8414
|
+
*
|
|
8415
|
+
* @param contentVersionId - Content version identifier.
|
|
8416
|
+
* @param attachmentId - The `id` of an entry from {@link listContentAttachments}.
|
|
8417
|
+
* @param opts - `start` and `end` character offsets for paging through long text
|
|
8418
|
+
* (server defaults 0 and 5000). Both are sent as given, so `end: 0` asks for
|
|
8419
|
+
* the metadata without any text. A file that was not indexed has no text.
|
|
8420
|
+
* @returns The attachment with the requested range of its text.
|
|
8421
|
+
* @throws {SeclaiAPIStatusError} 402 when the account has no credits left
|
|
8422
|
+
* (`error.code` `insufficient_credits`).
|
|
8423
|
+
*/
|
|
8424
|
+
getContentAttachment(contentVersionId: string, attachmentId: string, opts?: {
|
|
8425
|
+
start?: number;
|
|
8426
|
+
end?: number;
|
|
8427
|
+
}): Promise<ContentAttachmentDetailResponse>;
|
|
8428
|
+
/**
|
|
8429
|
+
* List the embeddings (chunk vectors) a content attachment is indexed by.
|
|
8430
|
+
* The list is empty for a file that has no completed index.
|
|
8431
|
+
*
|
|
8432
|
+
* @param contentVersionId - Content version identifier.
|
|
8433
|
+
* @param attachmentId - Attachment identifier.
|
|
8434
|
+
* @param opts - Pagination options (`limit` 1-100).
|
|
8435
|
+
* @returns Paginated list of embeddings.
|
|
8436
|
+
* @throws {SeclaiAPIStatusError} 402 when the account has no credits left
|
|
8437
|
+
* (`error.code` `insufficient_credits`).
|
|
8438
|
+
*/
|
|
8439
|
+
listContentAttachmentEmbeddings(contentVersionId: string, attachmentId: string, opts?: ListOptions): Promise<ContentEmbeddingsListResponse>;
|
|
8440
|
+
/**
|
|
8441
|
+
* Download a content attachment's bytes.
|
|
8442
|
+
*
|
|
8443
|
+
* Returns the raw `Response` so you can stream or save the binary data. The
|
|
8444
|
+
* API answers 403 when the file is withheld — blocked or redacted by a
|
|
8445
|
+
* governance policy, or still being indexed after arriving from outside; the
|
|
8446
|
+
* attachment's `file_withheld` field says which before you ask.
|
|
8447
|
+
*
|
|
8448
|
+
* @param contentVersionId - Content version identifier.
|
|
8449
|
+
* @param attachmentId - Attachment identifier.
|
|
8450
|
+
* @param opts - Optional `signal`, which cancels the request; with a standard `fetch` this
|
|
8451
|
+
* includes reading the body, so `AbortSignal.timeout(ms)` bounds the whole
|
|
8452
|
+
* transfer.
|
|
8453
|
+
* @returns Raw response with the attachment bytes.
|
|
8454
|
+
* @throws {SeclaiAPIStatusError} 403 when the file is withheld, and 402 when
|
|
8455
|
+
* the account has no credits left (`error.code` `insufficient_credits`).
|
|
8456
|
+
*/
|
|
8457
|
+
downloadContentAttachment(contentVersionId: string, attachmentId: string, opts?: {
|
|
8458
|
+
signal?: AbortSignal;
|
|
8459
|
+
}): Promise<Response>;
|
|
7806
8460
|
/**
|
|
7807
8461
|
* Upload a file to replace content for an existing content version.
|
|
7808
8462
|
*
|
|
@@ -8647,4 +9301,4 @@ declare class SeclaiStreamingError extends SeclaiError {
|
|
|
8647
9301
|
constructor(message: string, runId?: string);
|
|
8648
9302
|
}
|
|
8649
9303
|
|
|
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 };
|
|
9304
|
+
export { type AcceptedAttachmentSlot, type AcceptedAttachmentSlotInput, type AcceptedAttachmentsResponse, 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 ContentAttachmentDetailResponse, type ContentAttachmentResponse, type ContentAttachmentsListResponse, 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 EmailSourceRejectionListResponse, type EmailSourceRejectionResponse, 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 SetAcceptedAttachmentsInput, type SetAcceptedAttachmentsRequest, type SetAutoBlockModeRequest, type SetEmailTriggerConfigRequest, type SkippedAttachmentReason, type SkippedAttachmentResponse, 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 };
|