@seclai/sdk 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +206 -0
- package/README.md +181 -2
- package/dist/index.cjs +473 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1492 -29
- package/dist/index.d.ts +1492 -29
- package/dist/index.js +472 -13
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dated API versions known to this release, for use with the `apiVersion`
|
|
3
|
+
* client option.
|
|
4
|
+
*
|
|
5
|
+
* The set is open: the API adds versions without an SDK release, and
|
|
6
|
+
* {@link ApiVersion} widens to `string`, so a date newer than this release
|
|
7
|
+
* knows about can be passed directly. Treat these as convenience constants
|
|
8
|
+
* rather than an exhaustive list — `getApiVersion()` reports what the server
|
|
9
|
+
* actually supports.
|
|
10
|
+
*/
|
|
11
|
+
declare const SeclaiApiVersion: {
|
|
12
|
+
readonly V2026_07_01: "2026-07-01";
|
|
13
|
+
readonly V2026_07_27: "2026-07-27";
|
|
14
|
+
/** Baseline applied to an unpinned, header-less caller. */
|
|
15
|
+
readonly Default: "2026-07-01";
|
|
16
|
+
/** Newest version known to this SDK release. May lag the server. */
|
|
17
|
+
readonly Latest: "2026-07-27";
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* A dated API version. Known values autocomplete; any `YYYY-MM-DD` string still
|
|
21
|
+
* typechecks, but one this release was not built against is rejected at
|
|
22
|
+
* construction unless `allowUnknownApiVersion` is set.
|
|
23
|
+
*/
|
|
24
|
+
type ApiVersion = (typeof SeclaiApiVersion)[keyof typeof SeclaiApiVersion] | (string & {});
|
|
25
|
+
|
|
1
26
|
interface components {
|
|
2
27
|
schemas: {
|
|
3
28
|
/** AddConversationTurnRequest */
|
|
@@ -20,6 +45,21 @@ interface components {
|
|
|
20
45
|
*/
|
|
21
46
|
user_input: string;
|
|
22
47
|
};
|
|
48
|
+
/** AddEmailDomainRequest */
|
|
49
|
+
AddEmailDomainRequest: {
|
|
50
|
+
/**
|
|
51
|
+
* Delegated
|
|
52
|
+
* @default false
|
|
53
|
+
*/
|
|
54
|
+
delegated: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Kind
|
|
57
|
+
* @description 'vanity' or 'custom'
|
|
58
|
+
*/
|
|
59
|
+
kind: string;
|
|
60
|
+
/** Value */
|
|
61
|
+
value: string;
|
|
62
|
+
};
|
|
23
63
|
/**
|
|
24
64
|
* AgentAttachmentRefsApiResponse
|
|
25
65
|
* @description Static attachment-reference contract for an agent.
|
|
@@ -38,6 +78,21 @@ interface components {
|
|
|
38
78
|
*/
|
|
39
79
|
requires_uploads: boolean;
|
|
40
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* AgentCallerApiResponse
|
|
83
|
+
* @description One agent that calls another (blocks disabling the callee while live).
|
|
84
|
+
*/
|
|
85
|
+
AgentCallerApiResponse: {
|
|
86
|
+
/** Disabled */
|
|
87
|
+
disabled: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Id
|
|
90
|
+
* Format: uuid
|
|
91
|
+
*/
|
|
92
|
+
id: string;
|
|
93
|
+
/** Name */
|
|
94
|
+
name: string;
|
|
95
|
+
};
|
|
41
96
|
/**
|
|
42
97
|
* AgentDefinitionImportErrorResponse
|
|
43
98
|
* @description 422 body for invalid `agent_definition` payloads.
|
|
@@ -88,6 +143,39 @@ interface components {
|
|
|
88
143
|
[key: string]: string;
|
|
89
144
|
}[] | null;
|
|
90
145
|
};
|
|
146
|
+
/**
|
|
147
|
+
* AgentEmailOptOutListResponse
|
|
148
|
+
* @description A page of agent-email opt-outs plus the total (for pagination).
|
|
149
|
+
*/
|
|
150
|
+
AgentEmailOptOutListResponse: {
|
|
151
|
+
/** Items */
|
|
152
|
+
items: components["schemas"]["AgentEmailOptOutResponse"][];
|
|
153
|
+
/** Total */
|
|
154
|
+
total: number;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* AgentEmailOptOutResponse
|
|
158
|
+
* @description A recipient's opt-out from an account's agent emails (one agent or all).
|
|
159
|
+
*/
|
|
160
|
+
AgentEmailOptOutResponse: {
|
|
161
|
+
/** Agent Id */
|
|
162
|
+
agent_id: string | null;
|
|
163
|
+
/** Agent Name */
|
|
164
|
+
agent_name: string | null;
|
|
165
|
+
/** Comment */
|
|
166
|
+
comment: string | null;
|
|
167
|
+
/** Created At */
|
|
168
|
+
created_at: string;
|
|
169
|
+
/**
|
|
170
|
+
* Id
|
|
171
|
+
* Format: uuid
|
|
172
|
+
*/
|
|
173
|
+
id: string;
|
|
174
|
+
/** Reason */
|
|
175
|
+
reason: string | null;
|
|
176
|
+
/** Recipient Email */
|
|
177
|
+
recipient_email: string;
|
|
178
|
+
};
|
|
91
179
|
/**
|
|
92
180
|
* AgentEvaluationTier
|
|
93
181
|
* @description Controls model selection for agent evaluation.
|
|
@@ -286,7 +374,7 @@ interface components {
|
|
|
286
374
|
output: string | null;
|
|
287
375
|
/**
|
|
288
376
|
* Output Content Type
|
|
289
|
-
* @description MIME type of `output` — mirrors the terminal step's `output_content_type`. Consumers interpret `output` differently depending on this value: `application/vnd.seclai.manifest+json` is a multi-asset manifest with shape `{text, attachments: [{storage_key, mime, name, bytes}]}` — fetch each attachment via `GET /
|
|
377
|
+
* @description MIME type of `output` — mirrors the terminal step's `output_content_type`. Consumers interpret `output` differently depending on this value: `application/vnd.seclai.manifest+json` is a multi-asset manifest with shape `{text, attachments: [{storage_key, mime, name, bytes}]}` — fetch each attachment via `GET /v2/agent-runs/{run_id}/attachments/{attachment_id}`, where `attachment_id` is the URL-safe base64 of the attachment's `storage_key` (accepts an API key or OAuth token). `text/plain` / `text/*` are free-form text. `application/json` is a JSON document. Null on runs that produced no terminal output or that pre-date this column.
|
|
290
378
|
*/
|
|
291
379
|
output_content_type?: string | null;
|
|
292
380
|
/**
|
|
@@ -311,6 +399,11 @@ interface components {
|
|
|
311
399
|
* @description Step outputs and per-step timing/credits. Only included when requested.
|
|
312
400
|
*/
|
|
313
401
|
steps?: components["schemas"]["AgentRunStepResponse"][] | null;
|
|
402
|
+
/**
|
|
403
|
+
* Wait Ms
|
|
404
|
+
* @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.
|
|
405
|
+
*/
|
|
406
|
+
wait_ms?: number | null;
|
|
314
407
|
};
|
|
315
408
|
/** AgentRunStepResponse */
|
|
316
409
|
AgentRunStepResponse: {
|
|
@@ -484,6 +577,22 @@ interface components {
|
|
|
484
577
|
* @description Agent description.
|
|
485
578
|
*/
|
|
486
579
|
description: string | null;
|
|
580
|
+
/**
|
|
581
|
+
* Disabled
|
|
582
|
+
* @description Whether the agent is paused (disabled).
|
|
583
|
+
* @default false
|
|
584
|
+
*/
|
|
585
|
+
disabled: boolean;
|
|
586
|
+
/**
|
|
587
|
+
* Disabled At
|
|
588
|
+
* @description ISO 8601 timestamp the agent was paused.
|
|
589
|
+
*/
|
|
590
|
+
disabled_at?: string | null;
|
|
591
|
+
/**
|
|
592
|
+
* Disabled Reason
|
|
593
|
+
* @description Why the agent is paused: 'manual' or 'email_overload'.
|
|
594
|
+
*/
|
|
595
|
+
disabled_reason?: string | null;
|
|
487
596
|
/**
|
|
488
597
|
* Evaluation Mode
|
|
489
598
|
* @description Evaluation mode: output_expectation, eval_and_retry, or sample_and_flag.
|
|
@@ -753,6 +862,96 @@ interface components {
|
|
|
753
862
|
*/
|
|
754
863
|
user_input: string;
|
|
755
864
|
};
|
|
865
|
+
/**
|
|
866
|
+
* AlertConfigListResponse
|
|
867
|
+
* @description ``GET /alerts/configs`` legacy/default shape (header-less clients).
|
|
868
|
+
*
|
|
869
|
+
* ``Seclai-Version: 2026-07-27+`` clients receive the canonical
|
|
870
|
+
* ``{data, pagination}`` envelope instead (the handler returns a ``JSONResponse``
|
|
871
|
+
* that bypasses this ``response_model``); this documents the default shape.
|
|
872
|
+
*/
|
|
873
|
+
AlertConfigListResponse: {
|
|
874
|
+
/** Configs */
|
|
875
|
+
configs: components["schemas"]["AlertConfigResponse"][];
|
|
876
|
+
/** Total */
|
|
877
|
+
total: number;
|
|
878
|
+
};
|
|
879
|
+
/** AlertConfigResponse */
|
|
880
|
+
AlertConfigResponse: {
|
|
881
|
+
/** Account Id */
|
|
882
|
+
account_id: string;
|
|
883
|
+
/** Agent Id */
|
|
884
|
+
agent_id: string | null;
|
|
885
|
+
/** Alert Type */
|
|
886
|
+
alert_type: string;
|
|
887
|
+
/** Cooldown Minutes */
|
|
888
|
+
cooldown_minutes: number;
|
|
889
|
+
/** Created At */
|
|
890
|
+
created_at: string | null;
|
|
891
|
+
/** Distribution Type */
|
|
892
|
+
distribution_type: string;
|
|
893
|
+
/** Enabled */
|
|
894
|
+
enabled: boolean;
|
|
895
|
+
/** Id */
|
|
896
|
+
id: string;
|
|
897
|
+
/** Last Alerted At */
|
|
898
|
+
last_alerted_at: string | null;
|
|
899
|
+
/** Recipient User Ids */
|
|
900
|
+
recipient_user_ids: string[];
|
|
901
|
+
/** Source Connection Id */
|
|
902
|
+
source_connection_id: string | null;
|
|
903
|
+
/** Threshold */
|
|
904
|
+
threshold: {
|
|
905
|
+
[key: string]: unknown;
|
|
906
|
+
} | null;
|
|
907
|
+
/** Updated At */
|
|
908
|
+
updated_at: string | null;
|
|
909
|
+
};
|
|
910
|
+
/** AlertHistoryEntryResponse */
|
|
911
|
+
AlertHistoryEntryResponse: {
|
|
912
|
+
/** Changed By Name */
|
|
913
|
+
changed_by_name: string | null;
|
|
914
|
+
/** Changed By User Id */
|
|
915
|
+
changed_by_user_id: string | null;
|
|
916
|
+
/** Created At */
|
|
917
|
+
created_at: string | null;
|
|
918
|
+
/** Id */
|
|
919
|
+
id: string;
|
|
920
|
+
/** New Status */
|
|
921
|
+
new_status: string;
|
|
922
|
+
/** Note */
|
|
923
|
+
note: string | null;
|
|
924
|
+
/** Previous Status */
|
|
925
|
+
previous_status: string | null;
|
|
926
|
+
};
|
|
927
|
+
/** ApiVersionResponse */
|
|
928
|
+
ApiVersionResponse: {
|
|
929
|
+
/**
|
|
930
|
+
* Default Version
|
|
931
|
+
* @description Baseline for an unpinned, header-less caller.
|
|
932
|
+
*/
|
|
933
|
+
default_version: string;
|
|
934
|
+
/**
|
|
935
|
+
* Effective Version
|
|
936
|
+
* @description The version THIS request resolved to (header > pin > default).
|
|
937
|
+
*/
|
|
938
|
+
effective_version: string;
|
|
939
|
+
/**
|
|
940
|
+
* Known Versions
|
|
941
|
+
* @description All dated versions, oldest first.
|
|
942
|
+
*/
|
|
943
|
+
known_versions: string[];
|
|
944
|
+
/**
|
|
945
|
+
* Latest Version
|
|
946
|
+
* @description Newest version the server knows about.
|
|
947
|
+
*/
|
|
948
|
+
latest_version: string;
|
|
949
|
+
/**
|
|
950
|
+
* Pinned Version
|
|
951
|
+
* @description The account's sticky pinned version, or null when unpinned (the account resolves to the default). Applies to header-less requests.
|
|
952
|
+
*/
|
|
953
|
+
pinned_version: string | null;
|
|
954
|
+
};
|
|
756
955
|
/**
|
|
757
956
|
* AppliedActionResponse
|
|
758
957
|
* @description Result of a single executed governance action.
|
|
@@ -798,6 +997,54 @@ interface components {
|
|
|
798
997
|
/** Patterns */
|
|
799
998
|
patterns?: string[];
|
|
800
999
|
};
|
|
1000
|
+
/**
|
|
1001
|
+
* BlockEmailSenderRequest
|
|
1002
|
+
* @description Add one sender/domain to the account blocklist (shared REST request).
|
|
1003
|
+
*/
|
|
1004
|
+
BlockEmailSenderRequest: {
|
|
1005
|
+
/**
|
|
1006
|
+
* Match Type
|
|
1007
|
+
* @default address
|
|
1008
|
+
*/
|
|
1009
|
+
match_type: string;
|
|
1010
|
+
/** Note */
|
|
1011
|
+
note?: string | null;
|
|
1012
|
+
/** Sender Email */
|
|
1013
|
+
sender_email: string;
|
|
1014
|
+
};
|
|
1015
|
+
/**
|
|
1016
|
+
* BlockedEmailSenderListResponse
|
|
1017
|
+
* @description A page of blocked senders + the account's auto-block mode.
|
|
1018
|
+
*/
|
|
1019
|
+
BlockedEmailSenderListResponse: {
|
|
1020
|
+
/** Auto Block Mode */
|
|
1021
|
+
auto_block_mode: string;
|
|
1022
|
+
/** Items */
|
|
1023
|
+
items: components["schemas"]["BlockedEmailSenderResponse"][];
|
|
1024
|
+
/** Total */
|
|
1025
|
+
total: number;
|
|
1026
|
+
};
|
|
1027
|
+
/**
|
|
1028
|
+
* BlockedEmailSenderResponse
|
|
1029
|
+
* @description A single blocked inbound email sender.
|
|
1030
|
+
*/
|
|
1031
|
+
BlockedEmailSenderResponse: {
|
|
1032
|
+
/** Created At */
|
|
1033
|
+
created_at: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* Id
|
|
1036
|
+
* Format: uuid
|
|
1037
|
+
*/
|
|
1038
|
+
id: string;
|
|
1039
|
+
/** Match Type */
|
|
1040
|
+
match_type: string;
|
|
1041
|
+
/** Note */
|
|
1042
|
+
note: string | null;
|
|
1043
|
+
/** Sender Email */
|
|
1044
|
+
sender_email: string;
|
|
1045
|
+
/** Source */
|
|
1046
|
+
source: string;
|
|
1047
|
+
};
|
|
801
1048
|
/** Body_upload_file_to_content_api_contents__source_connection_content_version__upload_post */
|
|
802
1049
|
Body_upload_file_to_content_api_contents__source_connection_content_version__upload_post: {
|
|
803
1050
|
/**
|
|
@@ -836,6 +1083,16 @@ interface components {
|
|
|
836
1083
|
*/
|
|
837
1084
|
title?: string;
|
|
838
1085
|
};
|
|
1086
|
+
/** CancelExperimentResponse */
|
|
1087
|
+
CancelExperimentResponse: {
|
|
1088
|
+
/** Status */
|
|
1089
|
+
status: string;
|
|
1090
|
+
};
|
|
1091
|
+
/** CancelQueuedRunsResponse */
|
|
1092
|
+
CancelQueuedRunsResponse: {
|
|
1093
|
+
/** Cancelled */
|
|
1094
|
+
cancelled: number;
|
|
1095
|
+
};
|
|
839
1096
|
/** ChangeStatusRequest */
|
|
840
1097
|
ChangeStatusRequest: {
|
|
841
1098
|
/**
|
|
@@ -870,6 +1127,16 @@ interface components {
|
|
|
870
1127
|
*/
|
|
871
1128
|
verdict: string;
|
|
872
1129
|
};
|
|
1130
|
+
/**
|
|
1131
|
+
* CompactionScheduledResponse
|
|
1132
|
+
* @description Acknowledgement that an on-demand compaction run was scheduled.
|
|
1133
|
+
*/
|
|
1134
|
+
CompactionScheduledResponse: {
|
|
1135
|
+
/** Memory Bank Id */
|
|
1136
|
+
memory_bank_id: string;
|
|
1137
|
+
/** Status */
|
|
1138
|
+
status: string;
|
|
1139
|
+
};
|
|
873
1140
|
/**
|
|
874
1141
|
* CompactionTestResponseModel
|
|
875
1142
|
* @description Response from a compaction prompt test.
|
|
@@ -1071,6 +1338,13 @@ interface components {
|
|
|
1071
1338
|
score?: number | null;
|
|
1072
1339
|
status: components["schemas"]["EvaluationStatus"];
|
|
1073
1340
|
};
|
|
1341
|
+
/** CreateExperimentResponse */
|
|
1342
|
+
CreateExperimentResponse: {
|
|
1343
|
+
/** Experiment Id */
|
|
1344
|
+
experiment_id: string;
|
|
1345
|
+
/** Status */
|
|
1346
|
+
status: string;
|
|
1347
|
+
};
|
|
1074
1348
|
/**
|
|
1075
1349
|
* CreateKnowledgeBaseBody
|
|
1076
1350
|
* @description Request body for creating a knowledge base.
|
|
@@ -1235,6 +1509,11 @@ interface components {
|
|
|
1235
1509
|
embedding_model?: string | null;
|
|
1236
1510
|
/** @description Index mode for custom_index sources: fast_and_cheap (default), balanced, slow_and_thorough, or custom. */
|
|
1237
1511
|
index_mode?: components["schemas"]["SourceIndexMode"] | null;
|
|
1512
|
+
/**
|
|
1513
|
+
* 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.
|
|
1515
|
+
*/
|
|
1516
|
+
media_types?: string[] | null;
|
|
1238
1517
|
/**
|
|
1239
1518
|
* Name
|
|
1240
1519
|
* @description Source name.
|
|
@@ -1271,6 +1550,211 @@ interface components {
|
|
|
1271
1550
|
*/
|
|
1272
1551
|
url_id?: string | null;
|
|
1273
1552
|
};
|
|
1553
|
+
/** DmarcFailingSourceResponse */
|
|
1554
|
+
DmarcFailingSourceResponse: {
|
|
1555
|
+
/** Failed Count */
|
|
1556
|
+
failed_count: number;
|
|
1557
|
+
/** Header From */
|
|
1558
|
+
header_from?: string | null;
|
|
1559
|
+
/** Source Ip */
|
|
1560
|
+
source_ip: string;
|
|
1561
|
+
};
|
|
1562
|
+
/** DmarcSummaryResponse */
|
|
1563
|
+
DmarcSummaryResponse: {
|
|
1564
|
+
/** Dispositions */
|
|
1565
|
+
dispositions?: {
|
|
1566
|
+
[key: string]: number;
|
|
1567
|
+
};
|
|
1568
|
+
/** Failed Messages */
|
|
1569
|
+
failed_messages: number;
|
|
1570
|
+
/**
|
|
1571
|
+
* Monitored
|
|
1572
|
+
* @default true
|
|
1573
|
+
*/
|
|
1574
|
+
monitored: boolean;
|
|
1575
|
+
/** Pass Rate */
|
|
1576
|
+
pass_rate?: number | null;
|
|
1577
|
+
/** Passed Messages */
|
|
1578
|
+
passed_messages: number;
|
|
1579
|
+
/** Report Count */
|
|
1580
|
+
report_count: number;
|
|
1581
|
+
/** Top Failing Sources */
|
|
1582
|
+
top_failing_sources?: components["schemas"]["DmarcFailingSourceResponse"][];
|
|
1583
|
+
/** Total Messages */
|
|
1584
|
+
total_messages: number;
|
|
1585
|
+
/** Window Days */
|
|
1586
|
+
window_days: number;
|
|
1587
|
+
};
|
|
1588
|
+
/** DnsProviderResponse */
|
|
1589
|
+
DnsProviderResponse: {
|
|
1590
|
+
/** Dashboard Url */
|
|
1591
|
+
dashboard_url?: string | null;
|
|
1592
|
+
/** Key */
|
|
1593
|
+
key: string;
|
|
1594
|
+
/**
|
|
1595
|
+
* Mx Priority Separate
|
|
1596
|
+
* @default true
|
|
1597
|
+
*/
|
|
1598
|
+
mx_priority_separate: boolean;
|
|
1599
|
+
/** Name */
|
|
1600
|
+
name: string;
|
|
1601
|
+
/** Tips */
|
|
1602
|
+
tips?: string[];
|
|
1603
|
+
/**
|
|
1604
|
+
* Txt Quotes
|
|
1605
|
+
* @default strip
|
|
1606
|
+
*/
|
|
1607
|
+
txt_quotes: string;
|
|
1608
|
+
};
|
|
1609
|
+
/** DnsRecordResponse */
|
|
1610
|
+
DnsRecordResponse: {
|
|
1611
|
+
/** Detail */
|
|
1612
|
+
detail?: string | null;
|
|
1613
|
+
/** Key */
|
|
1614
|
+
key: string;
|
|
1615
|
+
/** Mx Host */
|
|
1616
|
+
mx_host?: string | null;
|
|
1617
|
+
/** Mx Priority */
|
|
1618
|
+
mx_priority?: number | null;
|
|
1619
|
+
/** Name */
|
|
1620
|
+
name: string;
|
|
1621
|
+
/** Ok */
|
|
1622
|
+
ok: boolean;
|
|
1623
|
+
/** Relative Name */
|
|
1624
|
+
relative_name: string;
|
|
1625
|
+
/** Type */
|
|
1626
|
+
type: string;
|
|
1627
|
+
/** Value */
|
|
1628
|
+
value: string;
|
|
1629
|
+
};
|
|
1630
|
+
/** DocsSearchResultResponse */
|
|
1631
|
+
DocsSearchResultResponse: {
|
|
1632
|
+
/** Anchor */
|
|
1633
|
+
anchor: string | null;
|
|
1634
|
+
/** Doc Slug */
|
|
1635
|
+
doc_slug: string;
|
|
1636
|
+
/** Highlight */
|
|
1637
|
+
highlight: string | null;
|
|
1638
|
+
/** Score */
|
|
1639
|
+
score: number;
|
|
1640
|
+
/** Snippet */
|
|
1641
|
+
snippet: string | null;
|
|
1642
|
+
/** Title */
|
|
1643
|
+
title: string;
|
|
1644
|
+
};
|
|
1645
|
+
/** EmailDomainResponse */
|
|
1646
|
+
EmailDomainResponse: {
|
|
1647
|
+
/**
|
|
1648
|
+
* Delegated
|
|
1649
|
+
* @default false
|
|
1650
|
+
*/
|
|
1651
|
+
delegated: boolean;
|
|
1652
|
+
/** Dns Records */
|
|
1653
|
+
dns_records?: components["schemas"]["DnsRecordResponse"][];
|
|
1654
|
+
/** Domain */
|
|
1655
|
+
domain: string;
|
|
1656
|
+
/** Error Message */
|
|
1657
|
+
error_message?: string | null;
|
|
1658
|
+
/**
|
|
1659
|
+
* Id
|
|
1660
|
+
* Format: uuid
|
|
1661
|
+
*/
|
|
1662
|
+
id: string;
|
|
1663
|
+
/** Is Primary */
|
|
1664
|
+
is_primary: boolean;
|
|
1665
|
+
/** Kind */
|
|
1666
|
+
kind: string;
|
|
1667
|
+
/** Last Checked At */
|
|
1668
|
+
last_checked_at?: string | null;
|
|
1669
|
+
provider?: components["schemas"]["DnsProviderResponse"] | null;
|
|
1670
|
+
/**
|
|
1671
|
+
* Regressing
|
|
1672
|
+
* @default false
|
|
1673
|
+
*/
|
|
1674
|
+
regressing: boolean;
|
|
1675
|
+
/** Status */
|
|
1676
|
+
status: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* Verified
|
|
1679
|
+
* @default false
|
|
1680
|
+
*/
|
|
1681
|
+
verified: boolean;
|
|
1682
|
+
/** Verified At */
|
|
1683
|
+
verified_at?: string | null;
|
|
1684
|
+
/**
|
|
1685
|
+
* Zone Apex
|
|
1686
|
+
* @default
|
|
1687
|
+
*/
|
|
1688
|
+
zone_apex: string;
|
|
1689
|
+
};
|
|
1690
|
+
/** EmailDomainsListResponse */
|
|
1691
|
+
EmailDomainsListResponse: {
|
|
1692
|
+
/**
|
|
1693
|
+
* Can Add Custom
|
|
1694
|
+
* @default false
|
|
1695
|
+
*/
|
|
1696
|
+
can_add_custom: boolean;
|
|
1697
|
+
/**
|
|
1698
|
+
* Can Add Vanity
|
|
1699
|
+
* @default false
|
|
1700
|
+
*/
|
|
1701
|
+
can_add_vanity: boolean;
|
|
1702
|
+
/** Custom Plan Names */
|
|
1703
|
+
custom_plan_names?: string[];
|
|
1704
|
+
/** Domains */
|
|
1705
|
+
domains?: components["schemas"]["EmailDomainResponse"][];
|
|
1706
|
+
/**
|
|
1707
|
+
* Has Custom
|
|
1708
|
+
* @default false
|
|
1709
|
+
*/
|
|
1710
|
+
has_custom: boolean;
|
|
1711
|
+
/**
|
|
1712
|
+
* Has Vanity
|
|
1713
|
+
* @default false
|
|
1714
|
+
*/
|
|
1715
|
+
has_vanity: boolean;
|
|
1716
|
+
/** Vanity Plan Names */
|
|
1717
|
+
vanity_plan_names?: string[];
|
|
1718
|
+
};
|
|
1719
|
+
/**
|
|
1720
|
+
* EmailTriggerConfigResponse
|
|
1721
|
+
* @description An EMAIL_RECEIVED trigger's resolved address(es) and config.
|
|
1722
|
+
*/
|
|
1723
|
+
EmailTriggerConfigResponse: {
|
|
1724
|
+
/**
|
|
1725
|
+
* Agent Id
|
|
1726
|
+
* Format: uuid
|
|
1727
|
+
*/
|
|
1728
|
+
agent_id: string;
|
|
1729
|
+
/** Email Addresses */
|
|
1730
|
+
email_addresses?: string[];
|
|
1731
|
+
/** Email Alias */
|
|
1732
|
+
email_alias?: string | null;
|
|
1733
|
+
/** Email Allowed Senders */
|
|
1734
|
+
email_allowed_senders?: string[] | null;
|
|
1735
|
+
/**
|
|
1736
|
+
* Email Ignore Auto Generated
|
|
1737
|
+
* @default true
|
|
1738
|
+
*/
|
|
1739
|
+
email_ignore_auto_generated: boolean;
|
|
1740
|
+
/**
|
|
1741
|
+
* Email Queue On Quota
|
|
1742
|
+
* @default false
|
|
1743
|
+
*/
|
|
1744
|
+
email_queue_on_quota: boolean;
|
|
1745
|
+
/**
|
|
1746
|
+
* Email Require Sender Auth
|
|
1747
|
+
* @default true
|
|
1748
|
+
*/
|
|
1749
|
+
email_require_sender_auth: boolean;
|
|
1750
|
+
/**
|
|
1751
|
+
* Trigger Id
|
|
1752
|
+
* Format: uuid
|
|
1753
|
+
*/
|
|
1754
|
+
trigger_id: string;
|
|
1755
|
+
/** Trigger Type */
|
|
1756
|
+
trigger_type: string;
|
|
1757
|
+
};
|
|
1274
1758
|
/**
|
|
1275
1759
|
* EvaluationCriteriaResponse
|
|
1276
1760
|
* @description Response schema for evaluation criteria.
|
|
@@ -1560,6 +2044,12 @@ interface components {
|
|
|
1560
2044
|
* @description Error message if failed.
|
|
1561
2045
|
*/
|
|
1562
2046
|
error?: string | null;
|
|
2047
|
+
/**
|
|
2048
|
+
* Needs Clarification
|
|
2049
|
+
* @description True when the action paused for a clarifying question rather than failing. The created resource is kept and the question is in ``description``/``error``.
|
|
2050
|
+
* @default false
|
|
2051
|
+
*/
|
|
2052
|
+
needs_clarification: boolean;
|
|
1563
2053
|
/**
|
|
1564
2054
|
* Resource Id
|
|
1565
2055
|
* @description ID of the affected resource.
|
|
@@ -1577,6 +2067,75 @@ interface components {
|
|
|
1577
2067
|
*/
|
|
1578
2068
|
success: boolean;
|
|
1579
2069
|
};
|
|
2070
|
+
/** ExperimentDetailResponse */
|
|
2071
|
+
ExperimentDetailResponse: {
|
|
2072
|
+
/** Completed At */
|
|
2073
|
+
completed_at: string | null;
|
|
2074
|
+
/** Created At */
|
|
2075
|
+
created_at: string;
|
|
2076
|
+
/** Error Message */
|
|
2077
|
+
error_message: string | null;
|
|
2078
|
+
/** Evaluation Complexity */
|
|
2079
|
+
evaluation_complexity: string;
|
|
2080
|
+
/** Evaluation Mode */
|
|
2081
|
+
evaluation_mode: string;
|
|
2082
|
+
/** Evaluator Model Id */
|
|
2083
|
+
evaluator_model_id: string | null;
|
|
2084
|
+
/** Id */
|
|
2085
|
+
id: string;
|
|
2086
|
+
/** Include Step Output In Evaluation */
|
|
2087
|
+
include_step_output_in_evaluation: boolean;
|
|
2088
|
+
/** Json Template */
|
|
2089
|
+
json_template: string | null;
|
|
2090
|
+
/** Progress Current */
|
|
2091
|
+
progress_current: number | null;
|
|
2092
|
+
/** Progress Message */
|
|
2093
|
+
progress_message: string | null;
|
|
2094
|
+
/** Progress Total */
|
|
2095
|
+
progress_total: number | null;
|
|
2096
|
+
/** Prompt */
|
|
2097
|
+
prompt: string;
|
|
2098
|
+
/** Result Data */
|
|
2099
|
+
result_data: {
|
|
2100
|
+
[key: string]: unknown;
|
|
2101
|
+
} | null;
|
|
2102
|
+
/** Selected Model Ids */
|
|
2103
|
+
selected_model_ids: string[];
|
|
2104
|
+
/** Selected Step Output */
|
|
2105
|
+
selected_step_output: string | null;
|
|
2106
|
+
/** Started At */
|
|
2107
|
+
started_at: string | null;
|
|
2108
|
+
/** Status */
|
|
2109
|
+
status: string;
|
|
2110
|
+
/** System Prompt */
|
|
2111
|
+
system_prompt: string;
|
|
2112
|
+
};
|
|
2113
|
+
/**
|
|
2114
|
+
* ExperimentListResponse
|
|
2115
|
+
* @description ``GET /models/playground/experiments`` legacy/default shape; 2026-07-27+
|
|
2116
|
+
* clients get the canonical ``{data, pagination}`` envelope.
|
|
2117
|
+
*/
|
|
2118
|
+
ExperimentListResponse: {
|
|
2119
|
+
/** Experiments */
|
|
2120
|
+
experiments: components["schemas"]["ExperimentSummaryResponse"][];
|
|
2121
|
+
/** Total */
|
|
2122
|
+
total: number;
|
|
2123
|
+
};
|
|
2124
|
+
/** ExperimentSummaryResponse */
|
|
2125
|
+
ExperimentSummaryResponse: {
|
|
2126
|
+
/** Created At */
|
|
2127
|
+
created_at: string;
|
|
2128
|
+
/** Evaluation Complexity */
|
|
2129
|
+
evaluation_complexity: string;
|
|
2130
|
+
/** Evaluation Mode */
|
|
2131
|
+
evaluation_mode: string;
|
|
2132
|
+
/** Id */
|
|
2133
|
+
id: string;
|
|
2134
|
+
/** Selected Model Ids */
|
|
2135
|
+
selected_model_ids: string[];
|
|
2136
|
+
/** Status */
|
|
2137
|
+
status: string;
|
|
2138
|
+
};
|
|
1580
2139
|
/**
|
|
1581
2140
|
* ExportFormat
|
|
1582
2141
|
* @description Supported export file formats.
|
|
@@ -1642,6 +2201,11 @@ interface components {
|
|
|
1642
2201
|
* @description Example natural-language prompts that demonstrate the capabilities of this AI assistant for the given mode.
|
|
1643
2202
|
*/
|
|
1644
2203
|
example_prompts?: components["schemas"]["ExamplePrompt"][];
|
|
2204
|
+
/**
|
|
2205
|
+
* Intent Assessment
|
|
2206
|
+
* @description How the assistant interpreted the request: 'clear' when steps were generated, or an ask-path value (e.g. 'ambiguous_output', 'cannot_build') when it returned no steps and put a clarifying question or blocker in `note`. Mirrors the MCP surface so callers can distinguish a clarification pause from a hard failure.
|
|
2207
|
+
*/
|
|
2208
|
+
intent_assessment?: string | null;
|
|
1645
2209
|
/**
|
|
1646
2210
|
* Note
|
|
1647
2211
|
* @description AI explanation of the proposed workflow.
|
|
@@ -1727,6 +2291,32 @@ interface components {
|
|
|
1727
2291
|
*/
|
|
1728
2292
|
success: boolean;
|
|
1729
2293
|
};
|
|
2294
|
+
/**
|
|
2295
|
+
* GenerationTierListResponse
|
|
2296
|
+
* @description ``GET /models/generation-tiers`` legacy/default shape; 2026-07-27+ clients
|
|
2297
|
+
* get the canonical ``{data, pagination}`` envelope.
|
|
2298
|
+
*/
|
|
2299
|
+
GenerationTierListResponse: {
|
|
2300
|
+
/** Tiers */
|
|
2301
|
+
tiers: components["schemas"]["GenerationTierResponse"][];
|
|
2302
|
+
};
|
|
2303
|
+
/** GenerationTierResponse */
|
|
2304
|
+
GenerationTierResponse: {
|
|
2305
|
+
/** Credits Per Unit */
|
|
2306
|
+
credits_per_unit: number | null;
|
|
2307
|
+
/** Modality */
|
|
2308
|
+
modality: string;
|
|
2309
|
+
/** Model Id */
|
|
2310
|
+
model_id: string;
|
|
2311
|
+
/** Model Name */
|
|
2312
|
+
model_name: string;
|
|
2313
|
+
/** Price Label */
|
|
2314
|
+
price_label: string | null;
|
|
2315
|
+
/** Tier */
|
|
2316
|
+
tier: string;
|
|
2317
|
+
/** Unit Label */
|
|
2318
|
+
unit_label: string | null;
|
|
2319
|
+
};
|
|
1730
2320
|
/**
|
|
1731
2321
|
* GovernanceAiAcceptResponse
|
|
1732
2322
|
* @description Response from accepting a governance AI assistant plan.
|
|
@@ -1852,6 +2442,40 @@ interface components {
|
|
|
1852
2442
|
*/
|
|
1853
2443
|
message: string;
|
|
1854
2444
|
};
|
|
2445
|
+
/**
|
|
2446
|
+
* InboundEmailRejectionResponse
|
|
2447
|
+
* @description An inbound email that was discarded without running an agent.
|
|
2448
|
+
*/
|
|
2449
|
+
InboundEmailRejectionResponse: {
|
|
2450
|
+
/** Agent Id */
|
|
2451
|
+
agent_id: string | null;
|
|
2452
|
+
/** Created At */
|
|
2453
|
+
created_at: string;
|
|
2454
|
+
/**
|
|
2455
|
+
* Id
|
|
2456
|
+
* Format: uuid
|
|
2457
|
+
*/
|
|
2458
|
+
id: string;
|
|
2459
|
+
/** Message Id */
|
|
2460
|
+
message_id: string | null;
|
|
2461
|
+
/** Reason */
|
|
2462
|
+
reason: string;
|
|
2463
|
+
/** Recipient */
|
|
2464
|
+
recipient: string;
|
|
2465
|
+
/** Sender */
|
|
2466
|
+
sender: string;
|
|
2467
|
+
/** Sender Ip */
|
|
2468
|
+
sender_ip: string | null;
|
|
2469
|
+
/** Subject */
|
|
2470
|
+
subject: string | null;
|
|
2471
|
+
};
|
|
2472
|
+
/** InboundEmailStatusResponse */
|
|
2473
|
+
InboundEmailStatusResponse: {
|
|
2474
|
+
/** Paused */
|
|
2475
|
+
paused: boolean;
|
|
2476
|
+
/** Queued Backlog */
|
|
2477
|
+
queued_backlog: number;
|
|
2478
|
+
};
|
|
1855
2479
|
/**
|
|
1856
2480
|
* InlineTextReplaceRequest
|
|
1857
2481
|
* @description Request model for inline text content replacement.
|
|
@@ -2282,6 +2906,15 @@ interface components {
|
|
|
2282
2906
|
/** Output Credits Per 1000 Tokens */
|
|
2283
2907
|
output_credits_per_1000_tokens?: number | null;
|
|
2284
2908
|
};
|
|
2909
|
+
/**
|
|
2910
|
+
* OkResponse
|
|
2911
|
+
* @description A minimal ``{"ok": true}`` acknowledgement for state-mutating actions
|
|
2912
|
+
* that have no richer resource to return (e.g. accept/decline a suggestion).
|
|
2913
|
+
*/
|
|
2914
|
+
OkResponse: {
|
|
2915
|
+
/** Ok */
|
|
2916
|
+
ok: boolean;
|
|
2917
|
+
};
|
|
2285
2918
|
/** OrganizationAlertPreferenceListResponse */
|
|
2286
2919
|
OrganizationAlertPreferenceListResponse: {
|
|
2287
2920
|
/** Preferences */
|
|
@@ -2326,7 +2959,7 @@ interface components {
|
|
|
2326
2959
|
* PendingProcessingCompletedFailedStatus
|
|
2327
2960
|
* @enum {string}
|
|
2328
2961
|
*/
|
|
2329
|
-
PendingProcessingCompletedFailedStatus: "pending" | "processing" | "completed" | "failed" | "waiting_human";
|
|
2962
|
+
PendingProcessingCompletedFailedStatus: "pending" | "processing" | "completed" | "failed" | "queued" | "waiting_human" | "waiting_scheduled";
|
|
2330
2963
|
/**
|
|
2331
2964
|
* PlaygroundCreateRequest
|
|
2332
2965
|
* @description Create a model playground experiment via the public API.
|
|
@@ -2476,6 +3109,37 @@ interface components {
|
|
|
2476
3109
|
[key: string]: unknown;
|
|
2477
3110
|
};
|
|
2478
3111
|
};
|
|
3112
|
+
/** RemoveEmailDomainResponse */
|
|
3113
|
+
RemoveEmailDomainResponse: {
|
|
3114
|
+
/** Cleanup Note */
|
|
3115
|
+
cleanup_note?: string | null;
|
|
3116
|
+
/**
|
|
3117
|
+
* Removed
|
|
3118
|
+
* @default true
|
|
3119
|
+
*/
|
|
3120
|
+
removed: boolean;
|
|
3121
|
+
};
|
|
3122
|
+
/** ResumeInboundResponse */
|
|
3123
|
+
ResumeInboundResponse: {
|
|
3124
|
+
/** Resumed */
|
|
3125
|
+
resumed: boolean;
|
|
3126
|
+
};
|
|
3127
|
+
/** SendTestEmailResponse */
|
|
3128
|
+
SendTestEmailResponse: {
|
|
3129
|
+
/**
|
|
3130
|
+
* Sent
|
|
3131
|
+
* @default true
|
|
3132
|
+
*/
|
|
3133
|
+
sent: boolean;
|
|
3134
|
+
};
|
|
3135
|
+
/**
|
|
3136
|
+
* SetAutoBlockModeRequest
|
|
3137
|
+
* @description Set the account's governance auto-block mode (shared REST request).
|
|
3138
|
+
*/
|
|
3139
|
+
SetAutoBlockModeRequest: {
|
|
3140
|
+
/** Mode */
|
|
3141
|
+
mode: string;
|
|
3142
|
+
};
|
|
2479
3143
|
/** SolutionSourceConnectionResponse */
|
|
2480
3144
|
SolutionSourceConnectionResponse: {
|
|
2481
3145
|
/**
|
|
@@ -2722,6 +3386,11 @@ interface components {
|
|
|
2722
3386
|
id: string;
|
|
2723
3387
|
/** @description Index mode for custom_index sources: fast_and_cheap, balanced, slow_and_thorough, or custom. */
|
|
2724
3388
|
index_mode?: components["schemas"]["SourceIndexMode"] | null;
|
|
3389
|
+
/**
|
|
3390
|
+
* Media Types
|
|
3391
|
+
* @description Media kinds extracted from indexed content and embedded as multi-modal KB chunks (subset of ['images', 'video']). Empty = text-only.
|
|
3392
|
+
*/
|
|
3393
|
+
media_types?: string[];
|
|
2725
3394
|
/**
|
|
2726
3395
|
* Name
|
|
2727
3396
|
* @description Name of the source connection.
|
|
@@ -2963,6 +3632,11 @@ interface components {
|
|
|
2963
3632
|
*/
|
|
2964
3633
|
ids: string[];
|
|
2965
3634
|
};
|
|
3635
|
+
/** UnreadCountResponse */
|
|
3636
|
+
UnreadCountResponse: {
|
|
3637
|
+
/** Count */
|
|
3638
|
+
count: number;
|
|
3639
|
+
};
|
|
2966
3640
|
/** UpdateAgentDefinitionRequest */
|
|
2967
3641
|
UpdateAgentDefinitionRequest: {
|
|
2968
3642
|
/**
|
|
@@ -3008,6 +3682,14 @@ interface components {
|
|
|
3008
3682
|
[key: string]: unknown;
|
|
3009
3683
|
} | null;
|
|
3010
3684
|
};
|
|
3685
|
+
/** UpdateApiVersionRequest */
|
|
3686
|
+
UpdateApiVersionRequest: {
|
|
3687
|
+
/**
|
|
3688
|
+
* Version
|
|
3689
|
+
* @description A YYYY-MM-DD date to pin the account to, or null to clear the pin (revert to the default baseline).
|
|
3690
|
+
*/
|
|
3691
|
+
version?: string | null;
|
|
3692
|
+
};
|
|
3011
3693
|
/**
|
|
3012
3694
|
* UpdateEvaluationCriteriaRequest
|
|
3013
3695
|
* @description Request body for updating an evaluation criteria.
|
|
@@ -3137,6 +3819,11 @@ interface components {
|
|
|
3137
3819
|
* @description Request body for updating a content source.
|
|
3138
3820
|
*/
|
|
3139
3821
|
UpdateSourceBody: {
|
|
3822
|
+
/**
|
|
3823
|
+
* 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).
|
|
3825
|
+
*/
|
|
3826
|
+
media_types?: string[] | null;
|
|
3140
3827
|
/**
|
|
3141
3828
|
* Name
|
|
3142
3829
|
* @description New name.
|
|
@@ -3251,7 +3938,7 @@ interface components {
|
|
|
3251
3938
|
routers__api__agents__AgentImportPreviewRequest: {
|
|
3252
3939
|
/**
|
|
3253
3940
|
* Agent Definition
|
|
3254
|
-
* @description Payload in the same shape as GET /
|
|
3941
|
+
* @description Payload in the same shape as GET /agents/{agent_id}/export.
|
|
3255
3942
|
*/
|
|
3256
3943
|
agent_definition: {
|
|
3257
3944
|
[key: string]: unknown;
|
|
@@ -3412,7 +4099,7 @@ interface components {
|
|
|
3412
4099
|
name: string;
|
|
3413
4100
|
/**
|
|
3414
4101
|
* Trigger Type
|
|
3415
|
-
* @description Trigger type: dynamic_input, template_input, schedule, new_content.
|
|
4102
|
+
* @description Trigger type: dynamic_input, template_input, schedule, new_content, email_received.
|
|
3416
4103
|
* @default dynamic_input
|
|
3417
4104
|
*/
|
|
3418
4105
|
trigger_type: string;
|
|
@@ -3433,6 +4120,40 @@ interface components {
|
|
|
3433
4120
|
*/
|
|
3434
4121
|
policy_name?: string | null;
|
|
3435
4122
|
};
|
|
4123
|
+
/**
|
|
4124
|
+
* SetEmailTriggerConfigRequest
|
|
4125
|
+
* @description Alias and/or sender allowlist for an EMAIL_RECEIVED trigger.
|
|
4126
|
+
*
|
|
4127
|
+
* A field omitted is left unchanged; passing ``null`` (or ``""`` for
|
|
4128
|
+
* ``alias``) clears it.
|
|
4129
|
+
*/
|
|
4130
|
+
routers__api__agents__SetEmailTriggerConfigRequest: {
|
|
4131
|
+
/**
|
|
4132
|
+
* Alias
|
|
4133
|
+
* @description Custom alias for the address `<alias>.<accountID>@agent.seclai.com` (alphanumeric plus '+', '.', '-'; 1–32 chars; not starting/ending with '+', '.', '-'; not UUID-shaped). Pass null/empty to clear.
|
|
4134
|
+
*/
|
|
4135
|
+
alias?: string | null;
|
|
4136
|
+
/**
|
|
4137
|
+
* Allowed Senders
|
|
4138
|
+
* @description Allowlist of full sender addresses and/or bare domains (a bare domain also matches sub-domains). Empty/null accepts any sender.
|
|
4139
|
+
*/
|
|
4140
|
+
allowed_senders?: string[] | null;
|
|
4141
|
+
/**
|
|
4142
|
+
* Ignore Auto Generated
|
|
4143
|
+
* @description When true (default for new triggers), machine-generated inbound mail (auto-replies, bulk/list mail, bounces) is dropped before a run to prevent auto-reply loops. Set false to process automated mail.
|
|
4144
|
+
*/
|
|
4145
|
+
ignore_auto_generated?: boolean | null;
|
|
4146
|
+
/**
|
|
4147
|
+
* Queue On Quota
|
|
4148
|
+
* @description When true (default false), inbound mail that exceeds the account's hourly email-trigger rate is parked in a QUEUED run and drained later by the catch-up sweep instead of being failed; when false, over-rate mail fails immediately.
|
|
4149
|
+
*/
|
|
4150
|
+
queue_on_quota?: boolean | null;
|
|
4151
|
+
/**
|
|
4152
|
+
* Require Sender Auth
|
|
4153
|
+
* @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.
|
|
4154
|
+
*/
|
|
4155
|
+
require_sender_auth?: boolean | null;
|
|
4156
|
+
};
|
|
3436
4157
|
/** UpdateAgentRequest */
|
|
3437
4158
|
routers__api__agents__UpdateAgentRequest: {
|
|
3438
4159
|
/**
|
|
@@ -3568,6 +4289,88 @@ interface components {
|
|
|
3568
4289
|
*/
|
|
3569
4290
|
body: string;
|
|
3570
4291
|
};
|
|
4292
|
+
/** AlertCommentResponse */
|
|
4293
|
+
routers__api__alerts__AlertCommentResponse: {
|
|
4294
|
+
/** Body */
|
|
4295
|
+
body: string;
|
|
4296
|
+
/** Created At */
|
|
4297
|
+
created_at: string | null;
|
|
4298
|
+
/** Id */
|
|
4299
|
+
id: string;
|
|
4300
|
+
/** User Id */
|
|
4301
|
+
user_id: string;
|
|
4302
|
+
/** User Name */
|
|
4303
|
+
user_name: string | null;
|
|
4304
|
+
};
|
|
4305
|
+
/** AlertDetailResponse */
|
|
4306
|
+
routers__api__alerts__AlertDetailResponse: {
|
|
4307
|
+
alert: components["schemas"]["routers__api__alerts__AlertResponse"];
|
|
4308
|
+
/** Comments */
|
|
4309
|
+
comments: components["schemas"]["routers__api__alerts__AlertCommentResponse"][];
|
|
4310
|
+
/** History */
|
|
4311
|
+
history: components["schemas"]["AlertHistoryEntryResponse"][];
|
|
4312
|
+
/** Subscribers */
|
|
4313
|
+
subscribers: components["schemas"]["routers__api__alerts__AlertSubscriberResponse"][];
|
|
4314
|
+
};
|
|
4315
|
+
/**
|
|
4316
|
+
* AlertListResponse
|
|
4317
|
+
* @description ``GET /alerts`` — always the canonical ``{data, pagination}`` envelope.
|
|
4318
|
+
*/
|
|
4319
|
+
routers__api__alerts__AlertListResponse: {
|
|
4320
|
+
/** Data */
|
|
4321
|
+
data: components["schemas"]["routers__api__alerts__AlertResponse"][];
|
|
4322
|
+
pagination: components["schemas"]["PaginationResponse"];
|
|
4323
|
+
};
|
|
4324
|
+
/** AlertResponse */
|
|
4325
|
+
routers__api__alerts__AlertResponse: {
|
|
4326
|
+
/** Account Id */
|
|
4327
|
+
account_id: string;
|
|
4328
|
+
/** Agent Id */
|
|
4329
|
+
agent_id: string | null;
|
|
4330
|
+
/** Agent Run Id */
|
|
4331
|
+
agent_run_id: string | null;
|
|
4332
|
+
/** Alert Config Id */
|
|
4333
|
+
alert_config_id: string | null;
|
|
4334
|
+
/** Alert Type */
|
|
4335
|
+
alert_type: string;
|
|
4336
|
+
/** Comment Count */
|
|
4337
|
+
comment_count: number;
|
|
4338
|
+
/** Created At */
|
|
4339
|
+
created_at: string | null;
|
|
4340
|
+
/** Description */
|
|
4341
|
+
description: string | null;
|
|
4342
|
+
/** Details */
|
|
4343
|
+
details?: unknown;
|
|
4344
|
+
/** Id */
|
|
4345
|
+
id: string;
|
|
4346
|
+
/** Is Subscribed */
|
|
4347
|
+
is_subscribed: boolean;
|
|
4348
|
+
/** Mcp Client Id */
|
|
4349
|
+
mcp_client_id: string | null;
|
|
4350
|
+
/** Source Connection Id */
|
|
4351
|
+
source_connection_id: string | null;
|
|
4352
|
+
/** Source Connection Pull Id */
|
|
4353
|
+
source_connection_pull_id: string | null;
|
|
4354
|
+
/** Status */
|
|
4355
|
+
status: string;
|
|
4356
|
+
/** Subscriber Count */
|
|
4357
|
+
subscriber_count: number;
|
|
4358
|
+
/** Title */
|
|
4359
|
+
title: string;
|
|
4360
|
+
/** Updated At */
|
|
4361
|
+
updated_at: string | null;
|
|
4362
|
+
};
|
|
4363
|
+
/** AlertSubscriberResponse */
|
|
4364
|
+
routers__api__alerts__AlertSubscriberResponse: {
|
|
4365
|
+
/** Created At */
|
|
4366
|
+
created_at: string | null;
|
|
4367
|
+
/** Id */
|
|
4368
|
+
id: string;
|
|
4369
|
+
/** User Id */
|
|
4370
|
+
user_id: string;
|
|
4371
|
+
/** User Name */
|
|
4372
|
+
user_name: string | null;
|
|
4373
|
+
};
|
|
3571
4374
|
/** OrganizationAlertPreferenceResponse */
|
|
3572
4375
|
routers__api__alerts__OrganizationAlertPreferenceResponse: {
|
|
3573
4376
|
/** Alert Type */
|
|
@@ -3740,6 +4543,15 @@ interface components {
|
|
|
3740
4543
|
*/
|
|
3741
4544
|
status: string;
|
|
3742
4545
|
};
|
|
4546
|
+
/**
|
|
4547
|
+
* DocsSearchResponse
|
|
4548
|
+
* @description Ranked results, NOT a paginated collection — the ``{results}`` shape is a
|
|
4549
|
+
* deliberate carve-out matching the MCP ``search_docs`` tool.
|
|
4550
|
+
*/
|
|
4551
|
+
routers__api__docs_search__DocsSearchResponse: {
|
|
4552
|
+
/** Results */
|
|
4553
|
+
results: components["schemas"]["DocsSearchResultResponse"][];
|
|
4554
|
+
};
|
|
3743
4555
|
/**
|
|
3744
4556
|
* GovernanceAiAssistantRequest
|
|
3745
4557
|
* @description Request body for the governance AI assistant.
|
|
@@ -3888,6 +4700,115 @@ interface components {
|
|
|
3888
4700
|
*/
|
|
3889
4701
|
user_input?: string | null;
|
|
3890
4702
|
};
|
|
4703
|
+
/**
|
|
4704
|
+
* ModelAlertListResponse
|
|
4705
|
+
* @description ``GET /models/alerts`` legacy/default shape; 2026-07-27+ clients get the
|
|
4706
|
+
* canonical ``{data, pagination}`` envelope (bypasses this ``response_model``).
|
|
4707
|
+
*/
|
|
4708
|
+
routers__api__model_lifecycle__ModelAlertListResponse: {
|
|
4709
|
+
/** Alerts */
|
|
4710
|
+
alerts: components["schemas"]["routers__api__model_lifecycle__ModelAlertResponse"][];
|
|
4711
|
+
/** Total */
|
|
4712
|
+
total: number;
|
|
4713
|
+
};
|
|
4714
|
+
/** ModelAlertResponse */
|
|
4715
|
+
routers__api__model_lifecycle__ModelAlertResponse: {
|
|
4716
|
+
/** Account Id */
|
|
4717
|
+
account_id: string;
|
|
4718
|
+
/** Agent Id */
|
|
4719
|
+
agent_id: string | null;
|
|
4720
|
+
/** Alert Type */
|
|
4721
|
+
alert_type: string;
|
|
4722
|
+
/** Created At */
|
|
4723
|
+
created_at: string;
|
|
4724
|
+
/** Id */
|
|
4725
|
+
id: string;
|
|
4726
|
+
/** Message */
|
|
4727
|
+
message: string;
|
|
4728
|
+
/** Model Name */
|
|
4729
|
+
model_name: string;
|
|
4730
|
+
/** Prompt Model Id */
|
|
4731
|
+
prompt_model_id: string;
|
|
4732
|
+
/** Read At */
|
|
4733
|
+
read_at: string | null;
|
|
4734
|
+
/** Successor Model Name */
|
|
4735
|
+
successor_model_name: string | null;
|
|
4736
|
+
};
|
|
4737
|
+
/** ModelRecommendationResponse */
|
|
4738
|
+
routers__api__model_lifecycle__ModelRecommendationResponse: {
|
|
4739
|
+
/** Deprecated At */
|
|
4740
|
+
deprecated_at?: string | null;
|
|
4741
|
+
/** Description */
|
|
4742
|
+
description: string;
|
|
4743
|
+
/** Family */
|
|
4744
|
+
family?: string | null;
|
|
4745
|
+
/** Family Generation */
|
|
4746
|
+
family_generation?: number | null;
|
|
4747
|
+
/** Id */
|
|
4748
|
+
id: string;
|
|
4749
|
+
/** Max Context Tokens */
|
|
4750
|
+
max_context_tokens: number;
|
|
4751
|
+
/** Max Output Tokens */
|
|
4752
|
+
max_output_tokens: number;
|
|
4753
|
+
/** Model Id */
|
|
4754
|
+
model_id: string;
|
|
4755
|
+
/** Name */
|
|
4756
|
+
name: string;
|
|
4757
|
+
/** Provider */
|
|
4758
|
+
provider: string;
|
|
4759
|
+
/** Reason */
|
|
4760
|
+
reason: string;
|
|
4761
|
+
/** Recommendation Type */
|
|
4762
|
+
recommendation_type: string;
|
|
4763
|
+
/** Released At */
|
|
4764
|
+
released_at?: string | null;
|
|
4765
|
+
/** Sunset At */
|
|
4766
|
+
sunset_at?: string | null;
|
|
4767
|
+
/** Supports Openai Arguments */
|
|
4768
|
+
supports_openai_arguments: boolean;
|
|
4769
|
+
/** Supports Streaming */
|
|
4770
|
+
supports_streaming: boolean;
|
|
4771
|
+
/** Supports Structured Output */
|
|
4772
|
+
supports_structured_output: boolean;
|
|
4773
|
+
/** Supports Thinking */
|
|
4774
|
+
supports_thinking: boolean;
|
|
4775
|
+
/** Supports Tool Use */
|
|
4776
|
+
supports_tool_use: boolean;
|
|
4777
|
+
};
|
|
4778
|
+
/** ModelRecommendationsResponse */
|
|
4779
|
+
routers__api__model_lifecycle__ModelRecommendationsResponse: {
|
|
4780
|
+
/** Alternatives */
|
|
4781
|
+
alternatives: components["schemas"]["routers__api__model_lifecycle__ModelRecommendationResponse"][];
|
|
4782
|
+
/** Current Model Id */
|
|
4783
|
+
current_model_id: string;
|
|
4784
|
+
/** Current Model Name */
|
|
4785
|
+
current_model_name: string;
|
|
4786
|
+
/** Same Provider */
|
|
4787
|
+
same_provider: components["schemas"]["routers__api__model_lifecycle__ModelRecommendationResponse"][];
|
|
4788
|
+
successor?: components["schemas"]["routers__api__model_lifecycle__ModelRecommendationResponse"] | null;
|
|
4789
|
+
/** Upgrades */
|
|
4790
|
+
upgrades: components["schemas"]["routers__api__model_lifecycle__ModelRecommendationResponse"][];
|
|
4791
|
+
};
|
|
4792
|
+
/**
|
|
4793
|
+
* SearchResponse
|
|
4794
|
+
* @description Ranked results, NOT a paginated collection — the ``{results}`` shape is a
|
|
4795
|
+
* deliberate carve-out matching the MCP ``search_resources`` tool.
|
|
4796
|
+
*/
|
|
4797
|
+
routers__api__search__SearchResponse: {
|
|
4798
|
+
/** Results */
|
|
4799
|
+
results: components["schemas"]["routers__api__search__SearchResultResponse"][];
|
|
4800
|
+
};
|
|
4801
|
+
/** SearchResultResponse */
|
|
4802
|
+
routers__api__search__SearchResultResponse: {
|
|
4803
|
+
/** Description */
|
|
4804
|
+
description: string | null;
|
|
4805
|
+
/** Entity Type */
|
|
4806
|
+
entity_type: string;
|
|
4807
|
+
/** Id */
|
|
4808
|
+
id: string;
|
|
4809
|
+
/** Name */
|
|
4810
|
+
name: string;
|
|
4811
|
+
};
|
|
3891
4812
|
/**
|
|
3892
4813
|
* AiAssistantAcceptRequest
|
|
3893
4814
|
* @description Request body for accepting a proposed plan.
|
|
@@ -4312,8 +5233,30 @@ interface components {
|
|
|
4312
5233
|
family?: string | null;
|
|
4313
5234
|
/** Family Generation */
|
|
4314
5235
|
family_generation?: number | null;
|
|
5236
|
+
/**
|
|
5237
|
+
* 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 token-billed (non-generation) models.
|
|
5239
|
+
*/
|
|
5240
|
+
generation_credits_per_unit?: number | null;
|
|
5241
|
+
/**
|
|
5242
|
+
* 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.
|
|
5244
|
+
*/
|
|
5245
|
+
generation_params?: {
|
|
5246
|
+
[key: string]: unknown;
|
|
5247
|
+
} | null;
|
|
5248
|
+
/**
|
|
5249
|
+
* Generation Unit Label
|
|
5250
|
+
* @description Human suffix for the per-unit generation rate (e.g. ``/image``, ``/second``, ``/1k chars``, ``/1k tokens``) — single-sourced from the pricing unit so clients render cost without re-deriving the mapping. None for non-generation models. Char/token rates are shown per 1,000 (the ``/1k …`` suffix), so scale ``generation_credits_per_unit`` accordingly for those units.
|
|
5251
|
+
*/
|
|
5252
|
+
generation_unit_label?: string | null;
|
|
4315
5253
|
/** Id */
|
|
4316
5254
|
id: string;
|
|
5255
|
+
/**
|
|
5256
|
+
* Image Generation Tool Credits Per Image
|
|
5257
|
+
* @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
|
+
*/
|
|
5259
|
+
image_generation_tool_credits_per_image?: number | null;
|
|
4317
5260
|
/** Input 1H Cache Write Credits Per 1000 Tokens */
|
|
4318
5261
|
input_1h_cache_write_credits_per_1000_tokens?: number | null;
|
|
4319
5262
|
/** Input 5M Cache Write Credits Per 1000 Tokens */
|
|
@@ -4471,6 +5414,8 @@ interface components {
|
|
|
4471
5414
|
};
|
|
4472
5415
|
responses: never;
|
|
4473
5416
|
parameters: {
|
|
5417
|
+
/** @description Opt into dated, backward-incompatible API changes (format YYYY-MM-DD). When omitted, the account's pinned baseline version is used and responses keep their legacy shapes. Send a date on or after a change's release to adopt it — e.g. `2026-07-27` enables rejection of undeclared query parameters (422) and the canonical `{data, pagination}` envelope (pagination = `{page, limit, total, pages, has_next, has_prev}`) on every list endpoint that previously returned a bare array, a flat `{data, total, page, limit}`, a `{configs, total}`, or another per-resource key. */
|
|
5418
|
+
"Seclai-Version": string;
|
|
4474
5419
|
/** @description Target a different organization account (OAuth only). When omitted, the user's default account is used. Ignored for API key authentication — the key's account is always used. */
|
|
4475
5420
|
"X-Account-Id": string;
|
|
4476
5421
|
};
|
|
@@ -4499,6 +5444,10 @@ type HTTPValidationError = components["schemas"]["HTTPValidationError"];
|
|
|
4499
5444
|
type ValidationError = components["schemas"]["ValidationError"];
|
|
4500
5445
|
/** Pagination metadata included in list responses. */
|
|
4501
5446
|
type PaginationResponse = components["schemas"]["PaginationResponse"];
|
|
5447
|
+
/** The authenticated user's personal account ID and the organizations they belong to. */
|
|
5448
|
+
type MeResponse = components["schemas"]["MeResponse"];
|
|
5449
|
+
/** One organization the authenticated user belongs to, within a {@link MeResponse}. */
|
|
5450
|
+
type OrganizationInfoResponse = components["schemas"]["OrganizationInfoResponse"];
|
|
4502
5451
|
/** Paginated list of agents. */
|
|
4503
5452
|
type AgentListResponse = components["schemas"]["routers__api__agents__AgentListResponse"];
|
|
4504
5453
|
/** Full agent configuration including definition and metadata. */
|
|
@@ -4528,6 +5477,36 @@ type ImportFieldErrorModel = components["schemas"]["ImportFieldErrorModel"];
|
|
|
4528
5477
|
type ImportSkipResponse = components["schemas"]["ImportSkipResponse"];
|
|
4529
5478
|
/** Reference to a governance policy (id and optional display name). */
|
|
4530
5479
|
type GovernancePolicyRefResponse = components["schemas"]["routers__api__agents__GovernancePolicyRefResponse"];
|
|
5480
|
+
/** A live agent that calls another agent via a `call_agent` step (blocks disabling the callee). */
|
|
5481
|
+
type AgentCallerApiResponse = components["schemas"]["AgentCallerApiResponse"];
|
|
5482
|
+
/**
|
|
5483
|
+
* Request body for configuring an `EMAIL_RECEIVED` trigger.
|
|
5484
|
+
*
|
|
5485
|
+
* An omitted field is left unchanged; passing `null` (or `""` for `alias`) clears it.
|
|
5486
|
+
*/
|
|
5487
|
+
type SetEmailTriggerConfigRequest = components["schemas"]["routers__api__agents__SetEmailTriggerConfigRequest"];
|
|
5488
|
+
/** An `EMAIL_RECEIVED` trigger's resolved email address(es) and inbound-handling config. */
|
|
5489
|
+
type EmailTriggerConfigResponse = components["schemas"]["EmailTriggerConfigResponse"];
|
|
5490
|
+
/** A recipient's opt-out from an account's agent emails (one agent, or account-wide). */
|
|
5491
|
+
type AgentEmailOptOutResponse = components["schemas"]["AgentEmailOptOutResponse"];
|
|
5492
|
+
/** A page of agent-email opt-outs plus the total count. */
|
|
5493
|
+
type AgentEmailOptOutListResponse = components["schemas"]["AgentEmailOptOutListResponse"];
|
|
5494
|
+
/** Request body for blocking an inbound email sender or domain. */
|
|
5495
|
+
type BlockEmailSenderRequest = components["schemas"]["BlockEmailSenderRequest"];
|
|
5496
|
+
/** A single blocked inbound email sender. */
|
|
5497
|
+
type BlockedEmailSenderResponse = components["schemas"]["BlockedEmailSenderResponse"];
|
|
5498
|
+
/** A page of blocked senders plus the account's governance auto-block mode. */
|
|
5499
|
+
type BlockedEmailSenderListResponse = components["schemas"]["BlockedEmailSenderListResponse"];
|
|
5500
|
+
/** Request body for setting the governance auto-block mode. */
|
|
5501
|
+
type SetAutoBlockModeRequest = components["schemas"]["SetAutoBlockModeRequest"];
|
|
5502
|
+
/** An inbound email that was discarded before running an agent. */
|
|
5503
|
+
type InboundEmailRejectionResponse = components["schemas"]["InboundEmailRejectionResponse"];
|
|
5504
|
+
/** Account-wide inbound-email overload state (breaker paused + queued backlog size). */
|
|
5505
|
+
type InboundEmailStatusResponse = components["schemas"]["InboundEmailStatusResponse"];
|
|
5506
|
+
/** Number of queued inbound-email runs cancelled. */
|
|
5507
|
+
type CancelQueuedRunsResponse = components["schemas"]["CancelQueuedRunsResponse"];
|
|
5508
|
+
/** Result of manually lifting the inbound-email pause. */
|
|
5509
|
+
type ResumeInboundResponse = components["schemas"]["ResumeInboundResponse"];
|
|
4531
5510
|
/** Request body for starting an agent run. */
|
|
4532
5511
|
type AgentRunRequest = components["schemas"]["AgentRunRequest"];
|
|
4533
5512
|
/** Request body for starting an agent run in streaming mode (SSE). */
|
|
@@ -4577,6 +5556,82 @@ type AiConversationTurnResponse = components["schemas"]["AiConversationTurnRespo
|
|
|
4577
5556
|
type AgentEvaluationTier = components["schemas"]["AgentEvaluationTier"];
|
|
4578
5557
|
/** Evaluation criteria configuration for an agent. */
|
|
4579
5558
|
type EvaluationCriteriaResponse = components["schemas"]["EvaluationCriteriaResponse"];
|
|
5559
|
+
/** A page of alerts. Always the canonical `{data, pagination}` envelope. */
|
|
5560
|
+
type AlertListResponse = components["schemas"]["routers__api__alerts__AlertListResponse"];
|
|
5561
|
+
/** A single alert. */
|
|
5562
|
+
type AlertResponse = components["schemas"]["routers__api__alerts__AlertResponse"];
|
|
5563
|
+
/** A single alert configuration. */
|
|
5564
|
+
type AlertConfigResponse = components["schemas"]["AlertConfigResponse"];
|
|
5565
|
+
/**
|
|
5566
|
+
* A page of alert configurations.
|
|
5567
|
+
*
|
|
5568
|
+
* The top-level key is version-gated: `configs` alongside `total` by default,
|
|
5569
|
+
* the canonical `{data, pagination}` envelope once `apiVersion` is `2026-07-27`
|
|
5570
|
+
* or later. Both are declared optional so either shape type-checks.
|
|
5571
|
+
*/
|
|
5572
|
+
type AlertConfigListResponse = {
|
|
5573
|
+
configs?: AlertConfigResponse[];
|
|
5574
|
+
data?: AlertConfigResponse[];
|
|
5575
|
+
pagination?: PaginationResponse;
|
|
5576
|
+
total?: number;
|
|
5577
|
+
};
|
|
5578
|
+
/** A single model lifecycle alert. */
|
|
5579
|
+
type ModelAlertResponse = components["schemas"]["routers__api__model_lifecycle__ModelAlertResponse"];
|
|
5580
|
+
/**
|
|
5581
|
+
* A page of model lifecycle alerts.
|
|
5582
|
+
*
|
|
5583
|
+
* The top-level key is version-gated: `alerts` alongside `total` by default, the
|
|
5584
|
+
* canonical `{data, pagination}` envelope once `apiVersion` is `2026-07-27` or
|
|
5585
|
+
* later. Both are declared optional so either shape type-checks.
|
|
5586
|
+
*/
|
|
5587
|
+
type ModelAlertListResponse = {
|
|
5588
|
+
alerts?: ModelAlertResponse[];
|
|
5589
|
+
data?: ModelAlertResponse[];
|
|
5590
|
+
pagination?: PaginationResponse;
|
|
5591
|
+
total?: number;
|
|
5592
|
+
};
|
|
5593
|
+
/** A single alert with its comments, subscribers and history. */
|
|
5594
|
+
type AlertDetailResponse = components["schemas"]["routers__api__alerts__AlertDetailResponse"];
|
|
5595
|
+
/** A comment on an alert. */
|
|
5596
|
+
type AlertCommentResponse = components["schemas"]["routers__api__alerts__AlertCommentResponse"];
|
|
5597
|
+
/** A subscriber to an alert. */
|
|
5598
|
+
type AlertSubscriberResponse = components["schemas"]["routers__api__alerts__AlertSubscriberResponse"];
|
|
5599
|
+
/** A count of unread items. */
|
|
5600
|
+
type UnreadCountResponse = components["schemas"]["UnreadCountResponse"];
|
|
5601
|
+
/** Successor recommendations for a model. */
|
|
5602
|
+
type ModelRecommendationsResponse = components["schemas"]["routers__api__model_lifecycle__ModelRecommendationsResponse"];
|
|
5603
|
+
/** A single successor recommendation. */
|
|
5604
|
+
type ModelRecommendationResponse = components["schemas"]["routers__api__model_lifecycle__ModelRecommendationResponse"];
|
|
5605
|
+
/** A page of model playground experiments. */
|
|
5606
|
+
type ExperimentListResponse = components["schemas"]["ExperimentListResponse"];
|
|
5607
|
+
/** A model playground experiment in a listing. */
|
|
5608
|
+
type ExperimentSummaryResponse = components["schemas"]["ExperimentSummaryResponse"];
|
|
5609
|
+
/** A model playground experiment with its results. */
|
|
5610
|
+
type ExperimentDetailResponse = components["schemas"]["ExperimentDetailResponse"];
|
|
5611
|
+
/** Acknowledgement of a created experiment. */
|
|
5612
|
+
type CreateExperimentResponse = components["schemas"]["CreateExperimentResponse"];
|
|
5613
|
+
/** Acknowledgement of a cancelled experiment. */
|
|
5614
|
+
type CancelExperimentResponse = components["schemas"]["CancelExperimentResponse"];
|
|
5615
|
+
/** A ranked set of search results. Deliberately not paginated. */
|
|
5616
|
+
type SearchResponse = components["schemas"]["routers__api__search__SearchResponse"];
|
|
5617
|
+
/** A single search hit. */
|
|
5618
|
+
type SearchResultResponse = components["schemas"]["routers__api__search__SearchResultResponse"];
|
|
5619
|
+
/** A simple acknowledgement. */
|
|
5620
|
+
type OkResponse = components["schemas"]["OkResponse"];
|
|
5621
|
+
/** The API version a request resolved to, and the versions available. */
|
|
5622
|
+
type ApiVersionResponse = components["schemas"]["ApiVersionResponse"];
|
|
5623
|
+
/**
|
|
5624
|
+
* A page of evaluation criteria.
|
|
5625
|
+
*
|
|
5626
|
+
* Not a generated type: the endpoint returns a bare array by default, and only
|
|
5627
|
+
* emits the canonical `{data, pagination}` envelope once the caller opts in with
|
|
5628
|
+
* `apiVersion: "2026-07-27"` or later. `pagination` is therefore absent unless
|
|
5629
|
+
* opted in.
|
|
5630
|
+
*/
|
|
5631
|
+
type EvaluationCriteriaListResponse = {
|
|
5632
|
+
data: EvaluationCriteriaResponse[];
|
|
5633
|
+
pagination?: PaginationResponse;
|
|
5634
|
+
};
|
|
4580
5635
|
/** Request body for creating evaluation criteria. */
|
|
4581
5636
|
type CreateEvaluationCriteriaRequest = components["schemas"]["CreateEvaluationCriteriaRequest"];
|
|
4582
5637
|
/** Request body for updating evaluation criteria. */
|
|
@@ -4592,7 +5647,25 @@ type EvaluationResultSummaryResponse = components["schemas"]["EvaluationResultSu
|
|
|
4592
5647
|
/** Evaluation result with its associated criteria. */
|
|
4593
5648
|
type EvaluationResultWithCriteriaResponse = components["schemas"]["EvaluationResultWithCriteriaResponse"];
|
|
4594
5649
|
/** Paginated list of evaluation results with criteria. */
|
|
4595
|
-
|
|
5650
|
+
/**
|
|
5651
|
+
* A page of evaluation results with criteria context.
|
|
5652
|
+
*
|
|
5653
|
+
* Not a generated type: two endpoints share this shape and populate different
|
|
5654
|
+
* halves of it.
|
|
5655
|
+
*
|
|
5656
|
+
* - `GET /agents/{id}/evaluation-results` is always paginated and fills `total`,
|
|
5657
|
+
* `page` and `limit`.
|
|
5658
|
+
* - `GET /agents/{id}/runs/{runId}/evaluation-results` is version-gated: a bare
|
|
5659
|
+
* array by default, and the canonical `{data, pagination}` envelope once
|
|
5660
|
+
* `apiVersion` is `2026-07-27` or later — in which case the metadata is on
|
|
5661
|
+
* `pagination` and the flat fields are absent.
|
|
5662
|
+
*/
|
|
5663
|
+
type EvaluationResultWithCriteriaListResponse = Omit<components["schemas"]["EvaluationResultWithCriteriaListResponse"], "total" | "page" | "limit"> & {
|
|
5664
|
+
pagination?: PaginationResponse;
|
|
5665
|
+
total?: number;
|
|
5666
|
+
page?: number;
|
|
5667
|
+
limit?: number;
|
|
5668
|
+
};
|
|
4596
5669
|
/** Summary of an evaluation run. */
|
|
4597
5670
|
type EvaluationRunSummaryResponse = components["schemas"]["EvaluationRunSummaryResponse"];
|
|
4598
5671
|
/** Paginated list of evaluation run summaries. */
|
|
@@ -4778,6 +5851,32 @@ type PlaygroundCreateRequest = components["schemas"]["PlaygroundCreateRequest"];
|
|
|
4778
5851
|
* server-side default and can be omitted.
|
|
4779
5852
|
*/
|
|
4780
5853
|
type CreateExperimentInput = Pick<PlaygroundCreateRequest, "model_ids" | "prompt"> & Partial<Omit<PlaygroundCreateRequest, "model_ids" | "prompt">>;
|
|
5854
|
+
/** Request body for adding a vanity or custom agent-email domain. */
|
|
5855
|
+
type AddEmailDomainRequest = components["schemas"]["AddEmailDomainRequest"];
|
|
5856
|
+
/**
|
|
5857
|
+
* Input type for {@link Seclai.addEmailDomain}.
|
|
5858
|
+
*
|
|
5859
|
+
* Only `kind` and `value` are required. `delegated` has a server-side default
|
|
5860
|
+
* of `false` and can be omitted — the generated {@link AddEmailDomainRequest}
|
|
5861
|
+
* marks it required only because the schema declares a default.
|
|
5862
|
+
*/
|
|
5863
|
+
type AddEmailDomainInput = Pick<AddEmailDomainRequest, "kind" | "value"> & Partial<Omit<AddEmailDomainRequest, "kind" | "value">>;
|
|
5864
|
+
/** An agent-email domain with its verification status and required DNS records. */
|
|
5865
|
+
type EmailDomainResponse = components["schemas"]["EmailDomainResponse"];
|
|
5866
|
+
/** The account's email domains plus the plan capabilities for adding more. */
|
|
5867
|
+
type EmailDomainsListResponse = components["schemas"]["EmailDomainsListResponse"];
|
|
5868
|
+
/** Result of removing an email domain (with an optional registrar `cleanup_note`). */
|
|
5869
|
+
type RemoveEmailDomainResponse = components["schemas"]["RemoveEmailDomainResponse"];
|
|
5870
|
+
/** Result of sending a test email from a verified domain. */
|
|
5871
|
+
type SendTestEmailResponse = components["schemas"]["SendTestEmailResponse"];
|
|
5872
|
+
/** A DNS record the customer must publish for a domain, plus whether it currently resolves. */
|
|
5873
|
+
type DnsRecordResponse = components["schemas"]["DnsRecordResponse"];
|
|
5874
|
+
/** Detected DNS provider for a domain, with dashboard URL and provider-specific tips. */
|
|
5875
|
+
type DnsProviderResponse = components["schemas"]["DnsProviderResponse"];
|
|
5876
|
+
/** DMARC aggregate-report summary for a domain over a time window. */
|
|
5877
|
+
type DmarcSummaryResponse = components["schemas"]["DmarcSummaryResponse"];
|
|
5878
|
+
/** A top DMARC-failing source IP within a {@link DmarcSummaryResponse}. */
|
|
5879
|
+
type DmarcFailingSourceResponse = components["schemas"]["DmarcFailingSourceResponse"];
|
|
4781
5880
|
/** 402 envelope returned when an account has exhausted its credits. */
|
|
4782
5881
|
type InsufficientCreditsResponse = components["schemas"]["InsufficientCreditsResponse"];
|
|
4783
5882
|
/** `detail` body of an {@link InsufficientCreditsResponse} (error code, message, and account id). */
|
|
@@ -4853,6 +5952,31 @@ interface SeclaiOptions {
|
|
|
4853
5952
|
* Overrides the profile's `sso_account_id` when using SSO auth.
|
|
4854
5953
|
*/
|
|
4855
5954
|
accountId?: string;
|
|
5955
|
+
/**
|
|
5956
|
+
* Dated API version (`YYYY-MM-DD`) sent as the `Seclai-Version` header, opting
|
|
5957
|
+
* this client into backward-incompatible API changes released on or before
|
|
5958
|
+
* that date.
|
|
5959
|
+
*
|
|
5960
|
+
* Left unset the header is omitted and the account's pinned baseline applies,
|
|
5961
|
+
* so responses keep their current shapes and upgrading the SDK alone never
|
|
5962
|
+
* changes the wire contract. Pin the account instead with
|
|
5963
|
+
* {@link Seclai.updateApiVersion}, and read what a request resolves to with
|
|
5964
|
+
* {@link Seclai.getApiVersion}.
|
|
5965
|
+
*
|
|
5966
|
+
* From `2026-07-27` the API rejects undeclared query parameters with a 422
|
|
5967
|
+
* rather than ignoring them, and list endpoints return the canonical
|
|
5968
|
+
* `{data, pagination}` envelope.
|
|
5969
|
+
*/
|
|
5970
|
+
apiVersion?: ApiVersion;
|
|
5971
|
+
/**
|
|
5972
|
+
* Permit an {@link apiVersion} this release was not built against.
|
|
5973
|
+
*
|
|
5974
|
+
* Off by default. A newer API version can change response shapes, and this
|
|
5975
|
+
* client would decode them incorrectly rather than reject them — a
|
|
5976
|
+
* request-side mistake answers 422, but a reshaped response just mis-decodes,
|
|
5977
|
+
* silently. Prefer upgrading the package.
|
|
5978
|
+
*/
|
|
5979
|
+
allowUnknownApiVersion?: boolean;
|
|
4856
5980
|
}
|
|
4857
5981
|
/**
|
|
4858
5982
|
* Seclai JavaScript/TypeScript client.
|
|
@@ -4939,6 +6063,38 @@ declare class Seclai {
|
|
|
4939
6063
|
}): Promise<Response>;
|
|
4940
6064
|
/** Shared multipart upload helper. */
|
|
4941
6065
|
private uploadFile;
|
|
6066
|
+
/**
|
|
6067
|
+
* Get the authenticated user's identity.
|
|
6068
|
+
*
|
|
6069
|
+
* Returns the personal `account_id` plus every organization the user belongs
|
|
6070
|
+
* to — each with its own `id`, display `name`, and `account_id`. Use it to
|
|
6071
|
+
* discover the account IDs that can be passed as the client's `accountId`
|
|
6072
|
+
* option (sent as the `X-Account-Id` header) to target an org context.
|
|
6073
|
+
*
|
|
6074
|
+
* @returns The current user's account ID and organization memberships.
|
|
6075
|
+
*/
|
|
6076
|
+
getMe(): Promise<MeResponse>;
|
|
6077
|
+
/**
|
|
6078
|
+
* Read the API version this request resolved to, and the versions available.
|
|
6079
|
+
*
|
|
6080
|
+
* Resolution order is the `Seclai-Version` header, then the account pin, then
|
|
6081
|
+
* the default — so `effective_version` reflects the client's `apiVersion`
|
|
6082
|
+
* option when that is set.
|
|
6083
|
+
*
|
|
6084
|
+
* @returns The pinned, effective, default and latest versions.
|
|
6085
|
+
*/
|
|
6086
|
+
getApiVersion(): Promise<ApiVersionResponse>;
|
|
6087
|
+
/**
|
|
6088
|
+
* Pin the account to a dated API version, or clear the pin.
|
|
6089
|
+
*
|
|
6090
|
+
* Owner/admin only. The pin applies to later header-less requests; a
|
|
6091
|
+
* `Seclai-Version` header still overrides it, so `effective_version` in the
|
|
6092
|
+
* response describes this request rather than the pin just written.
|
|
6093
|
+
*
|
|
6094
|
+
* @param version - A `YYYY-MM-DD` date to pin to, or `null` to clear the pin.
|
|
6095
|
+
* @returns The updated version state.
|
|
6096
|
+
*/
|
|
6097
|
+
updateApiVersion(version: string | null): Promise<ApiVersionResponse>;
|
|
4942
6098
|
/**
|
|
4943
6099
|
* List agents.
|
|
4944
6100
|
*
|
|
@@ -4974,6 +6130,39 @@ declare class Seclai {
|
|
|
4974
6130
|
* @param agentId - Agent identifier.
|
|
4975
6131
|
*/
|
|
4976
6132
|
deleteAgent(agentId: string): Promise<void>;
|
|
6133
|
+
/**
|
|
6134
|
+
* Pause (disable) an agent so it stops firing from every trigger path.
|
|
6135
|
+
*
|
|
6136
|
+
* API runs return HTTP 409, inbound email is turned away, and scheduled /
|
|
6137
|
+
* content triggers are skipped.
|
|
6138
|
+
*
|
|
6139
|
+
* Fails with HTTP 409 when other live agents still call this one via a
|
|
6140
|
+
* `call_agent` step — use {@link getAgentCallers} to list them, and disable
|
|
6141
|
+
* those first.
|
|
6142
|
+
*
|
|
6143
|
+
* @param agentId - Agent identifier.
|
|
6144
|
+
* @returns The updated agent summary.
|
|
6145
|
+
*/
|
|
6146
|
+
disableAgent(agentId: string): Promise<AgentSummaryResponse>;
|
|
6147
|
+
/**
|
|
6148
|
+
* Resume (enable) a paused agent.
|
|
6149
|
+
*
|
|
6150
|
+
* Clears the disable state whether the agent was paused manually or
|
|
6151
|
+
* auto-paused by the inbound-email overload safeguard.
|
|
6152
|
+
*
|
|
6153
|
+
* @param agentId - Agent identifier.
|
|
6154
|
+
* @returns The updated agent summary.
|
|
6155
|
+
*/
|
|
6156
|
+
enableAgent(agentId: string): Promise<AgentSummaryResponse>;
|
|
6157
|
+
/**
|
|
6158
|
+
* List the live agents that call this agent via a `call_agent` step.
|
|
6159
|
+
*
|
|
6160
|
+
* These must be disabled before this agent can be paused.
|
|
6161
|
+
*
|
|
6162
|
+
* @param agentId - Agent identifier.
|
|
6163
|
+
* @returns The calling agents.
|
|
6164
|
+
*/
|
|
6165
|
+
getAgentCallers(agentId: string): Promise<AgentCallerApiResponse[]>;
|
|
4977
6166
|
/**
|
|
4978
6167
|
* Export an agent definition as a portable JSON snapshot.
|
|
4979
6168
|
*
|
|
@@ -5052,7 +6241,11 @@ declare class Seclai {
|
|
|
5052
6241
|
includeStepOutputs?: boolean;
|
|
5053
6242
|
}): Promise<AgentRunResponse>;
|
|
5054
6243
|
/**
|
|
5055
|
-
*
|
|
6244
|
+
* Cancel an agent run.
|
|
6245
|
+
*
|
|
6246
|
+
* @deprecated This never deleted anything — the endpoint it calls is documented
|
|
6247
|
+
* as "Cancel an agent run", and the API has no delete-a-run operation. It also
|
|
6248
|
+
* discards the returned run state. Use {@link cancelAgentRun} instead.
|
|
5056
6249
|
*
|
|
5057
6250
|
* @param runId - Run identifier.
|
|
5058
6251
|
*/
|
|
@@ -5060,6 +6253,10 @@ declare class Seclai {
|
|
|
5060
6253
|
/**
|
|
5061
6254
|
* Cancel a running agent run.
|
|
5062
6255
|
*
|
|
6256
|
+
* Cancellation is `DELETE` on the run resource — the API exposes no
|
|
6257
|
+
* `POST .../cancel` route, and no operation that deletes a run. Rejected when
|
|
6258
|
+
* the run has already reached a terminal state.
|
|
6259
|
+
*
|
|
5063
6260
|
* @param runId - Run identifier.
|
|
5064
6261
|
* @returns Updated run (with cancelled status).
|
|
5065
6262
|
*/
|
|
@@ -5205,7 +6402,12 @@ declare class Seclai {
|
|
|
5205
6402
|
* @param agentId - Agent identifier.
|
|
5206
6403
|
* @returns Conversation history.
|
|
5207
6404
|
*/
|
|
5208
|
-
getAgentAiConversationHistory(agentId: string
|
|
6405
|
+
getAgentAiConversationHistory(agentId: string, opts?: {
|
|
6406
|
+
stepType?: string;
|
|
6407
|
+
stepId?: string;
|
|
6408
|
+
limit?: number;
|
|
6409
|
+
offset?: number;
|
|
6410
|
+
}): Promise<AiConversationHistoryResponse>;
|
|
5209
6411
|
/**
|
|
5210
6412
|
* Mark an AI suggestion as accepted or rejected.
|
|
5211
6413
|
*
|
|
@@ -5221,6 +6423,19 @@ declare class Seclai {
|
|
|
5221
6423
|
* @param opts - Pagination options.
|
|
5222
6424
|
*/
|
|
5223
6425
|
listEvaluationCriteria(agentId: string, opts?: ListOptions): Promise<EvaluationCriteriaResponse[]>;
|
|
6426
|
+
/**
|
|
6427
|
+
* List evaluation criteria for an agent, with pagination metadata.
|
|
6428
|
+
*
|
|
6429
|
+
* Accepts either wire shape. The endpoint answered with a bare array before
|
|
6430
|
+
* 2026-07 and with a paginated envelope after, so a client that decodes only
|
|
6431
|
+
* one breaks the day the other ships. `total`, `page` and `limit` are absent
|
|
6432
|
+
* when the endpoint answers with a bare array.
|
|
6433
|
+
*
|
|
6434
|
+
* @param agentId - Agent identifier.
|
|
6435
|
+
* @param opts - Pagination options.
|
|
6436
|
+
* @returns The criteria under `data`, plus the page metadata when present.
|
|
6437
|
+
*/
|
|
6438
|
+
listEvaluationCriteriaPage(agentId: string, opts?: ListOptions): Promise<EvaluationCriteriaListResponse>;
|
|
5224
6439
|
/**
|
|
5225
6440
|
* Create evaluation criteria for an agent.
|
|
5226
6441
|
*
|
|
@@ -5307,6 +6522,115 @@ declare class Seclai {
|
|
|
5307
6522
|
* @param agentId - Agent identifier.
|
|
5308
6523
|
*/
|
|
5309
6524
|
getNonManualEvaluationSummary(agentId: string): Promise<NonManualEvaluationSummaryResponse>;
|
|
6525
|
+
/**
|
|
6526
|
+
* Configure an agent's `EMAIL_RECEIVED` trigger and return its computed
|
|
6527
|
+
* email address(es).
|
|
6528
|
+
*
|
|
6529
|
+
* Sets the custom alias, the sender allowlist, and the inbound-handling flags
|
|
6530
|
+
* (`ignore_auto_generated`, `require_sender_auth`, `queue_on_quota`). Omitted
|
|
6531
|
+
* fields are left unchanged; passing `null` (or `""` for `alias`) clears them.
|
|
6532
|
+
*
|
|
6533
|
+
* @param agentId - Agent identifier.
|
|
6534
|
+
* @param triggerId - Trigger identifier.
|
|
6535
|
+
* @param body - The fields to set.
|
|
6536
|
+
* @returns The trigger's resolved addresses and config.
|
|
6537
|
+
*/
|
|
6538
|
+
setEmailTriggerConfig(agentId: string, triggerId: string, body: SetEmailTriggerConfigRequest): Promise<EmailTriggerConfigResponse>;
|
|
6539
|
+
/**
|
|
6540
|
+
* List recipients who have opted out of this account's agent emails.
|
|
6541
|
+
*
|
|
6542
|
+
* @param opts - Optional agent filter and `limit`/`offset` pagination.
|
|
6543
|
+
* @param opts.agentId - Filter to one agent (account-wide opt-outs still apply).
|
|
6544
|
+
* @param opts.limit - Page size (1-200, default 50).
|
|
6545
|
+
* @param opts.offset - Rows to skip (default 0).
|
|
6546
|
+
* @returns The page of opt-outs plus the total count.
|
|
6547
|
+
*/
|
|
6548
|
+
listAgentEmailOptOuts(opts?: {
|
|
6549
|
+
agentId?: string;
|
|
6550
|
+
limit?: number;
|
|
6551
|
+
offset?: number;
|
|
6552
|
+
}): Promise<AgentEmailOptOutListResponse>;
|
|
6553
|
+
/**
|
|
6554
|
+
* Revoke an opt-out, opting the recipient back in to agent emails.
|
|
6555
|
+
*
|
|
6556
|
+
* @param optoutId - Opt-out identifier.
|
|
6557
|
+
*/
|
|
6558
|
+
removeAgentEmailOptOut(optoutId: string): Promise<void>;
|
|
6559
|
+
/**
|
|
6560
|
+
* List the account's blocked inbound email senders (newest first), plus the
|
|
6561
|
+
* governance `auto_block_mode`.
|
|
6562
|
+
*
|
|
6563
|
+
* @param opts - Optional `limit`/`offset` pagination.
|
|
6564
|
+
* @param opts.limit - Page size (1-200, default 50).
|
|
6565
|
+
* @param opts.offset - Rows to skip (default 0).
|
|
6566
|
+
*/
|
|
6567
|
+
listBlockedEmailSenders(opts?: {
|
|
6568
|
+
limit?: number;
|
|
6569
|
+
offset?: number;
|
|
6570
|
+
}): Promise<BlockedEmailSenderListResponse>;
|
|
6571
|
+
/**
|
|
6572
|
+
* Add a sender address or a whole domain to the account blocklist.
|
|
6573
|
+
*
|
|
6574
|
+
* Idempotent. `match_type` is `"address"` (default) or `"domain"`.
|
|
6575
|
+
* Requires an account owner/admin.
|
|
6576
|
+
*
|
|
6577
|
+
* @param body - The sender or domain to block.
|
|
6578
|
+
* @returns The blocked-sender entry.
|
|
6579
|
+
*/
|
|
6580
|
+
blockEmailSender(body: BlockEmailSenderRequest): Promise<BlockedEmailSenderResponse>;
|
|
6581
|
+
/**
|
|
6582
|
+
* Remove a blocked sender by id. Requires an account owner/admin.
|
|
6583
|
+
*
|
|
6584
|
+
* @param blockedId - Blocked-sender identifier.
|
|
6585
|
+
*/
|
|
6586
|
+
unblockEmailSender(blockedId: string): Promise<void>;
|
|
6587
|
+
/**
|
|
6588
|
+
* Set whether a governance BLOCK on an authenticated inbound sender
|
|
6589
|
+
* auto-adds them to the blocklist.
|
|
6590
|
+
*
|
|
6591
|
+
* `mode` is `"disabled"`, `"input"`, or `"input_and_output"`.
|
|
6592
|
+
* Requires an account owner/admin.
|
|
6593
|
+
*
|
|
6594
|
+
* @param body - The mode to set.
|
|
6595
|
+
* @returns The updated blocked-sender list.
|
|
6596
|
+
*/
|
|
6597
|
+
setAutoBlockMode(body: SetAutoBlockModeRequest): Promise<BlockedEmailSenderListResponse>;
|
|
6598
|
+
/**
|
|
6599
|
+
* List recent inbound emails that were quietly discarded before running an
|
|
6600
|
+
* agent (unauthorized sender, unknown alias, spam/virus, flood-shed).
|
|
6601
|
+
*
|
|
6602
|
+
* @param opts - Optional agent filter and result limit.
|
|
6603
|
+
* @param opts.agentId - Filter to a single agent's rejections.
|
|
6604
|
+
* @param opts.limit - Maximum results (1-200, default 50).
|
|
6605
|
+
*/
|
|
6606
|
+
listInboundEmailRejections(opts?: {
|
|
6607
|
+
agentId?: string;
|
|
6608
|
+
limit?: number;
|
|
6609
|
+
}): Promise<InboundEmailRejectionResponse[]>;
|
|
6610
|
+
/**
|
|
6611
|
+
* Get the account's inbound-email overload status — whether the circuit
|
|
6612
|
+
* breaker has paused new inbound email, and the size of the QUEUED
|
|
6613
|
+
* (over-quota parked) run backlog.
|
|
6614
|
+
*/
|
|
6615
|
+
getInboundEmailStatus(): Promise<InboundEmailStatusResponse>;
|
|
6616
|
+
/**
|
|
6617
|
+
* Fail all of the account's QUEUED (over-quota parked) inbound-email runs at
|
|
6618
|
+
* once.
|
|
6619
|
+
*
|
|
6620
|
+
* A queued run consumed no quota or credits at queue time, so this merely
|
|
6621
|
+
* fails them. Requires an account owner/admin.
|
|
6622
|
+
*
|
|
6623
|
+
* @returns The count cancelled.
|
|
6624
|
+
*/
|
|
6625
|
+
cancelQueuedEmailRuns(): Promise<CancelQueuedRunsResponse>;
|
|
6626
|
+
/**
|
|
6627
|
+
* Manually lift the account-wide inbound-email pause.
|
|
6628
|
+
*
|
|
6629
|
+
* If the queued backlog is still above the ceiling the breaker re-arms on the
|
|
6630
|
+
* next evaluation — this is a one-shot override, not a permanent disable.
|
|
6631
|
+
* Requires an account owner/admin.
|
|
6632
|
+
*/
|
|
6633
|
+
resumeInboundEmail(): Promise<ResumeInboundResponse>;
|
|
5310
6634
|
/**
|
|
5311
6635
|
* List knowledge bases.
|
|
5312
6636
|
*
|
|
@@ -5438,7 +6762,7 @@ declare class Seclai {
|
|
|
5438
6762
|
* @param conversationId - Conversation identifier.
|
|
5439
6763
|
* @param body - Accept request payload.
|
|
5440
6764
|
*/
|
|
5441
|
-
acceptMemoryBankAiSuggestion(conversationId: string, body: MemoryBankAcceptRequest): Promise<
|
|
6765
|
+
acceptMemoryBankAiSuggestion(conversationId: string, body: MemoryBankAcceptRequest): Promise<OkResponse>;
|
|
5442
6766
|
/**
|
|
5443
6767
|
* List sources.
|
|
5444
6768
|
*
|
|
@@ -5804,61 +7128,67 @@ declare class Seclai {
|
|
|
5804
7128
|
listAlerts(opts?: ListOptions & {
|
|
5805
7129
|
status?: string;
|
|
5806
7130
|
severity?: string;
|
|
5807
|
-
}): Promise<
|
|
7131
|
+
}): Promise<AlertListResponse>;
|
|
5808
7132
|
/**
|
|
5809
7133
|
* Get alert details by ID.
|
|
5810
7134
|
*
|
|
5811
7135
|
* @param alertId - Alert identifier.
|
|
5812
7136
|
* @returns Alert details.
|
|
5813
7137
|
*/
|
|
5814
|
-
getAlert(alertId: string): Promise<
|
|
7138
|
+
getAlert(alertId: string): Promise<AlertDetailResponse>;
|
|
5815
7139
|
/**
|
|
5816
7140
|
* Change the status of an alert.
|
|
5817
7141
|
*
|
|
5818
7142
|
* @param alertId - Alert identifier.
|
|
5819
7143
|
* @param body - Status change request.
|
|
5820
7144
|
*/
|
|
5821
|
-
changeAlertStatus(alertId: string, body: ChangeStatusRequest): Promise<
|
|
7145
|
+
changeAlertStatus(alertId: string, body: ChangeStatusRequest): Promise<AlertDetailResponse>;
|
|
5822
7146
|
/**
|
|
5823
7147
|
* Add a comment to an alert.
|
|
5824
7148
|
*
|
|
5825
7149
|
* @param alertId - Alert identifier.
|
|
5826
7150
|
* @param body - Comment payload.
|
|
5827
7151
|
*/
|
|
5828
|
-
addAlertComment(alertId: string, body: AddCommentRequest): Promise<
|
|
7152
|
+
addAlertComment(alertId: string, body: AddCommentRequest): Promise<AlertDetailResponse>;
|
|
5829
7153
|
/**
|
|
5830
7154
|
* Subscribe to an alert.
|
|
5831
7155
|
*
|
|
5832
7156
|
* @param alertId - Alert identifier.
|
|
5833
7157
|
*/
|
|
5834
|
-
subscribeToAlert(alertId: string): Promise<
|
|
7158
|
+
subscribeToAlert(alertId: string): Promise<AlertDetailResponse>;
|
|
5835
7159
|
/**
|
|
5836
7160
|
* Unsubscribe from an alert.
|
|
5837
7161
|
*
|
|
5838
7162
|
* @param alertId - Alert identifier.
|
|
5839
7163
|
*/
|
|
5840
|
-
unsubscribeFromAlert(alertId: string): Promise<
|
|
7164
|
+
unsubscribeFromAlert(alertId: string): Promise<AlertDetailResponse>;
|
|
5841
7165
|
/**
|
|
5842
7166
|
* List alert configurations.
|
|
5843
7167
|
*
|
|
5844
7168
|
* @param opts - Pagination options.
|
|
5845
7169
|
* @returns Paginated list of alert configs.
|
|
5846
7170
|
*/
|
|
5847
|
-
|
|
7171
|
+
/**
|
|
7172
|
+
* The configurations arrive under `configs` alongside `total` by default.
|
|
7173
|
+
* Once the caller opts in with `apiVersion` 2026-07-27 or later the endpoint
|
|
7174
|
+
* returns the canonical `{data, pagination}` envelope instead, so the
|
|
7175
|
+
* top-level key changes.
|
|
7176
|
+
*/
|
|
7177
|
+
listAlertConfigs(opts?: ListOptions): Promise<AlertConfigListResponse>;
|
|
5848
7178
|
/**
|
|
5849
7179
|
* Create an alert configuration.
|
|
5850
7180
|
*
|
|
5851
7181
|
* @param body - Alert config definition.
|
|
5852
7182
|
* @returns Created alert config.
|
|
5853
7183
|
*/
|
|
5854
|
-
createAlertConfig(body: CreateAlertConfigRequest): Promise<
|
|
7184
|
+
createAlertConfig(body: CreateAlertConfigRequest): Promise<AlertConfigResponse>;
|
|
5855
7185
|
/**
|
|
5856
7186
|
* Get an alert configuration by ID.
|
|
5857
7187
|
*
|
|
5858
7188
|
* @param configId - Alert config identifier.
|
|
5859
7189
|
* @returns Alert config details.
|
|
5860
7190
|
*/
|
|
5861
|
-
getAlertConfig(configId: string): Promise<
|
|
7191
|
+
getAlertConfig(configId: string): Promise<AlertConfigResponse>;
|
|
5862
7192
|
/**
|
|
5863
7193
|
* Update an alert configuration.
|
|
5864
7194
|
*
|
|
@@ -5866,7 +7196,7 @@ declare class Seclai {
|
|
|
5866
7196
|
* @param body - Fields to update.
|
|
5867
7197
|
* @returns Updated alert config.
|
|
5868
7198
|
*/
|
|
5869
|
-
updateAlertConfig(configId: string, body: UpdateAlertConfigRequest): Promise<
|
|
7199
|
+
updateAlertConfig(configId: string, body: UpdateAlertConfigRequest): Promise<AlertConfigResponse>;
|
|
5870
7200
|
/**
|
|
5871
7201
|
* Delete an alert configuration.
|
|
5872
7202
|
*
|
|
@@ -5884,13 +7214,13 @@ declare class Seclai {
|
|
|
5884
7214
|
* @param alertType - Alert type.
|
|
5885
7215
|
* @param body - Preference update.
|
|
5886
7216
|
*/
|
|
5887
|
-
updateOrganizationAlertPreference(organizationId: string, alertType: string, body: UpdateOrganizationAlertPreferenceRequest): Promise<
|
|
7217
|
+
updateOrganizationAlertPreference(organizationId: string, alertType: string, body: UpdateOrganizationAlertPreferenceRequest): Promise<OrganizationAlertPreferenceResponse>;
|
|
5888
7218
|
/**
|
|
5889
7219
|
* List model alerts.
|
|
5890
7220
|
*
|
|
5891
7221
|
* @param opts - Pagination options.
|
|
5892
7222
|
*/
|
|
5893
|
-
listModelAlerts(opts?: ListOptions): Promise<
|
|
7223
|
+
listModelAlerts(opts?: ListOptions): Promise<ModelAlertListResponse>;
|
|
5894
7224
|
/**
|
|
5895
7225
|
* Mark all model alerts as read.
|
|
5896
7226
|
*/
|
|
@@ -5898,7 +7228,7 @@ declare class Seclai {
|
|
|
5898
7228
|
/**
|
|
5899
7229
|
* Get unread model alert count.
|
|
5900
7230
|
*/
|
|
5901
|
-
getUnreadModelAlertCount(): Promise<
|
|
7231
|
+
getUnreadModelAlertCount(): Promise<UnreadCountResponse>;
|
|
5902
7232
|
/**
|
|
5903
7233
|
* Mark a specific model alert as read.
|
|
5904
7234
|
*
|
|
@@ -5910,7 +7240,7 @@ declare class Seclai {
|
|
|
5910
7240
|
*
|
|
5911
7241
|
* @param modelId - Model identifier.
|
|
5912
7242
|
*/
|
|
5913
|
-
getModelRecommendations(modelId: string): Promise<
|
|
7243
|
+
getModelRecommendations(modelId: string): Promise<ModelRecommendationsResponse>;
|
|
5914
7244
|
/**
|
|
5915
7245
|
* List all enabled LLM models grouped by provider.
|
|
5916
7246
|
*
|
|
@@ -5920,6 +7250,8 @@ declare class Seclai {
|
|
|
5920
7250
|
provider?: string;
|
|
5921
7251
|
supportsToolUse?: boolean;
|
|
5922
7252
|
supportsThinking?: boolean;
|
|
7253
|
+
supportsInputMedia?: string;
|
|
7254
|
+
supportsOutputMedia?: string;
|
|
5923
7255
|
}): Promise<ProviderGroupResponse[]>;
|
|
5924
7256
|
/**
|
|
5925
7257
|
* Get full details for a specific model.
|
|
@@ -5927,6 +7259,18 @@ declare class Seclai {
|
|
|
5927
7259
|
* @param modelId - Model identifier.
|
|
5928
7260
|
*/
|
|
5929
7261
|
getModel(modelId: string): Promise<PromptModelResponse>;
|
|
7262
|
+
/**
|
|
7263
|
+
* List the media-generation quality tiers and the model + cost each resolves to.
|
|
7264
|
+
*
|
|
7265
|
+
* On a `prompt_call`'s `media_generation` tool — and the dedicated
|
|
7266
|
+
* `generate_*` steps via tier routing — the author/LLM picks a *tier*
|
|
7267
|
+
* (fast/balanced/thorough), never a model. This maps each
|
|
7268
|
+
* `(modality, tier)` to its concrete generator, raw `credits_per_unit`,
|
|
7269
|
+
* `unit_label`, and a human-readable scaled `price_label`.
|
|
7270
|
+
*
|
|
7271
|
+
* Global routing/pricing (the same for every account); read-only.
|
|
7272
|
+
*/
|
|
7273
|
+
getGenerationTiers(): Promise<Record<string, unknown>>;
|
|
5930
7274
|
/**
|
|
5931
7275
|
* List model playground experiments.
|
|
5932
7276
|
*
|
|
@@ -5938,25 +7282,25 @@ declare class Seclai {
|
|
|
5938
7282
|
endDate?: string;
|
|
5939
7283
|
limit?: number;
|
|
5940
7284
|
offset?: number;
|
|
5941
|
-
}): Promise<
|
|
7285
|
+
}): Promise<ExperimentListResponse>;
|
|
5942
7286
|
/**
|
|
5943
7287
|
* Create a model playground experiment.
|
|
5944
7288
|
*
|
|
5945
7289
|
* @param body - Experiment configuration.
|
|
5946
7290
|
*/
|
|
5947
|
-
createExperiment(body: CreateExperimentInput): Promise<
|
|
7291
|
+
createExperiment(body: CreateExperimentInput): Promise<CreateExperimentResponse>;
|
|
5948
7292
|
/**
|
|
5949
7293
|
* Get a model playground experiment by ID.
|
|
5950
7294
|
*
|
|
5951
7295
|
* @param experimentId - Experiment identifier.
|
|
5952
7296
|
*/
|
|
5953
|
-
getExperiment(experimentId: string): Promise<
|
|
7297
|
+
getExperiment(experimentId: string): Promise<ExperimentDetailResponse>;
|
|
5954
7298
|
/**
|
|
5955
7299
|
* Cancel a running model playground experiment.
|
|
5956
7300
|
*
|
|
5957
7301
|
* @param experimentId - Experiment identifier.
|
|
5958
7302
|
*/
|
|
5959
|
-
cancelExperiment(experimentId: string): Promise<
|
|
7303
|
+
cancelExperiment(experimentId: string): Promise<CancelExperimentResponse>;
|
|
5960
7304
|
/**
|
|
5961
7305
|
* Soft-delete a model playground experiment.
|
|
5962
7306
|
*
|
|
@@ -5982,7 +7326,126 @@ declare class Seclai {
|
|
|
5982
7326
|
query: string;
|
|
5983
7327
|
limit?: number;
|
|
5984
7328
|
entityType?: string;
|
|
5985
|
-
}): Promise<
|
|
7329
|
+
}): Promise<SearchResponse>;
|
|
7330
|
+
/**
|
|
7331
|
+
* Search the Seclai documentation by content.
|
|
7332
|
+
*
|
|
7333
|
+
* `mode: "keyword"` matches page titles and summaries (fast, no AI cost);
|
|
7334
|
+
* `mode: "semantic"` matches page body content by meaning (uses an embedding).
|
|
7335
|
+
*
|
|
7336
|
+
* Each result carries a `doc_slug` and an optional section `anchor` for
|
|
7337
|
+
* building a `https://seclai.com/docs/<doc_slug>[#<anchor>]` link, a `score`
|
|
7338
|
+
* (not comparable across modes), and — in semantic mode — a `highlight`
|
|
7339
|
+
* (best matching verbatim sentence; `null` for keyword).
|
|
7340
|
+
*
|
|
7341
|
+
* Documentation is global, so results are not account-scoped.
|
|
7342
|
+
*
|
|
7343
|
+
* @param opts - Search options.
|
|
7344
|
+
* @param opts.query - Search query string (required, 1-200 chars).
|
|
7345
|
+
* @param opts.mode - Search strategy (default `"keyword"`).
|
|
7346
|
+
* @param opts.limit - Maximum results (1-20, default 8).
|
|
7347
|
+
*/
|
|
7348
|
+
searchDocs(opts: {
|
|
7349
|
+
query: string;
|
|
7350
|
+
mode?: "keyword" | "semantic";
|
|
7351
|
+
limit?: number;
|
|
7352
|
+
}): Promise<Record<string, unknown>>;
|
|
7353
|
+
/**
|
|
7354
|
+
* List the account's vanity (`<slug>.seclai.com`) and custom
|
|
7355
|
+
* (`agent.mycompany.com`) agent-email domains.
|
|
7356
|
+
*
|
|
7357
|
+
* Includes each domain's verification status and the DNS records the customer
|
|
7358
|
+
* must publish, plus the plan capabilities (`can_add_vanity` /
|
|
7359
|
+
* `can_add_custom`) and whether one of each kind already exists
|
|
7360
|
+
* (`has_vanity` / `has_custom` — the per-kind limit is 1).
|
|
7361
|
+
*
|
|
7362
|
+
* Requires a user-bound credential; an account-only API key is refused with 403.
|
|
7363
|
+
*/
|
|
7364
|
+
listEmailDomains(): Promise<EmailDomainsListResponse>;
|
|
7365
|
+
/**
|
|
7366
|
+
* Add and provision a new agent-email domain.
|
|
7367
|
+
*
|
|
7368
|
+
* Pass `kind: "vanity"` with `value: "<slug>"`, or `kind: "custom"` with
|
|
7369
|
+
* `value: "agent.mycompany.com"` (optionally `delegated: true` to let Seclai
|
|
7370
|
+
* manage a dedicated Route53 zone). Stands up the SES identity + DNS and
|
|
7371
|
+
* returns the records the customer must publish. Requires an account
|
|
7372
|
+
* owner/admin.
|
|
7373
|
+
*
|
|
7374
|
+
* @param body - The domain to add. `delegated` defaults to `false` server-side.
|
|
7375
|
+
*/
|
|
7376
|
+
addEmailDomain(body: AddEmailDomainInput): Promise<EmailDomainResponse>;
|
|
7377
|
+
/**
|
|
7378
|
+
* Remove a domain and tear down its SES identity + DNS / receipt-rule recipient.
|
|
7379
|
+
*
|
|
7380
|
+
* Returns a `cleanup_note` when the removed domain was Seclai-managed
|
|
7381
|
+
* (delegated), reminding you to delete the registrar NS delegation record
|
|
7382
|
+
* (dangling-delegation / subdomain-takeover guard). Requires an account
|
|
7383
|
+
* owner/admin.
|
|
7384
|
+
*
|
|
7385
|
+
* @param domainId - Domain identifier.
|
|
7386
|
+
*/
|
|
7387
|
+
removeEmailDomain(domainId: string): Promise<RemoveEmailDomainResponse>;
|
|
7388
|
+
/**
|
|
7389
|
+
* Run a verification check immediately ("Check now").
|
|
7390
|
+
*
|
|
7391
|
+
* Re-polls SES + DNS for this domain instead of waiting for the background
|
|
7392
|
+
* verification sweep, and returns its updated status + DNS-record check
|
|
7393
|
+
* results. Useful right after publishing the required records. Requires an
|
|
7394
|
+
* account owner/admin.
|
|
7395
|
+
*
|
|
7396
|
+
* @param domainId - Domain identifier.
|
|
7397
|
+
*/
|
|
7398
|
+
verifyEmailDomain(domainId: string): Promise<EmailDomainResponse>;
|
|
7399
|
+
/**
|
|
7400
|
+
* Promote a verified domain to the account's primary domain.
|
|
7401
|
+
*
|
|
7402
|
+
* Agent email then sends FROM and receives ON this domain
|
|
7403
|
+
* (`<agentID>@<domain>`, `<alias>@<domain>`) instead of the shared
|
|
7404
|
+
* `agent.seclai.com`. The domain must be verified. Requires an account
|
|
7405
|
+
* owner/admin.
|
|
7406
|
+
*
|
|
7407
|
+
* @param domainId - Domain identifier.
|
|
7408
|
+
*/
|
|
7409
|
+
setPrimaryEmailDomain(domainId: string): Promise<EmailDomainResponse>;
|
|
7410
|
+
/**
|
|
7411
|
+
* Revert to the shared `agent.seclai.com` sending/inbound domain.
|
|
7412
|
+
*
|
|
7413
|
+
* Clears the account's primary domain WITHOUT removing the configured
|
|
7414
|
+
* domain(s) — they stay verified and can be promoted again later. Requires an
|
|
7415
|
+
* account owner/admin.
|
|
7416
|
+
*/
|
|
7417
|
+
useSharedEmailDomain(): Promise<void>;
|
|
7418
|
+
/**
|
|
7419
|
+
* Send a test message FROM a verified domain (`noreply@<domain>`) TO the
|
|
7420
|
+
* account owner's email.
|
|
7421
|
+
*
|
|
7422
|
+
* Confirms end-to-end that the domain actually sends (SES verified, DKIM/SPF
|
|
7423
|
+
* aligned). Never sends to any other address, so it can't be used as an open
|
|
7424
|
+
* relay. Requires an account owner/admin.
|
|
7425
|
+
*
|
|
7426
|
+
* @param domainId - Domain identifier.
|
|
7427
|
+
*/
|
|
7428
|
+
sendEmailDomainTestEmail(domainId: string): Promise<SendTestEmailResponse>;
|
|
7429
|
+
/**
|
|
7430
|
+
* Get the DMARC aggregate-report summary for a domain.
|
|
7431
|
+
*
|
|
7432
|
+
* Pass rate, disposition breakdown (`none`/`quarantine`/`reject`), and top
|
|
7433
|
+
* failing source IPs from the DMARC `rua` reports over the last `days`
|
|
7434
|
+
* (clamped by the service).
|
|
7435
|
+
*
|
|
7436
|
+
* Populated for domains whose DNS zone Seclai controls (vanity + delegated
|
|
7437
|
+
* custom); a self-managed custom domain keeps its own DMARC reporting and
|
|
7438
|
+
* returns an all-zero summary.
|
|
7439
|
+
*
|
|
7440
|
+
* @param domainId - Domain identifier.
|
|
7441
|
+
* @param opts - Reporting window options.
|
|
7442
|
+
* @param opts.days - Window length in days (default 30).
|
|
7443
|
+
* @param opts.topSources - Number of top failing sources to return (default 10).
|
|
7444
|
+
*/
|
|
7445
|
+
getDmarcSummary(domainId: string, opts?: {
|
|
7446
|
+
days?: number;
|
|
7447
|
+
topSources?: number;
|
|
7448
|
+
}): Promise<DmarcSummaryResponse>;
|
|
5986
7449
|
/**
|
|
5987
7450
|
* Submit feedback on an AI assistant interaction.
|
|
5988
7451
|
*
|
|
@@ -6037,7 +7500,7 @@ declare class Seclai {
|
|
|
6037
7500
|
* @param conversationId - Conversation identifier.
|
|
6038
7501
|
* @param body - Acceptance payload for the memory bank suggestion.
|
|
6039
7502
|
*/
|
|
6040
|
-
acceptAiMemoryBankSuggestion(conversationId: string, body: MemoryBankAcceptRequest): Promise<
|
|
7503
|
+
acceptAiMemoryBankSuggestion(conversationId: string, body: MemoryBankAcceptRequest): Promise<OkResponse>;
|
|
6041
7504
|
/**
|
|
6042
7505
|
* Auto-paginate through a list endpoint.
|
|
6043
7506
|
*
|
|
@@ -6244,4 +7707,4 @@ declare class SeclaiStreamingError extends SeclaiError {
|
|
|
6244
7707
|
constructor(message: string, runId?: string);
|
|
6245
7708
|
}
|
|
6246
7709
|
|
|
6247
|
-
export { type AccessTokenProvider, type AddCommentRequest, type AddConversationTurnRequest, type AgentAttachmentRefsApiResponse, type AgentDefinitionImportErrorResponse, type AgentDefinitionResponse, 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 AttachmentRefsSourceApiSummary, type AuthState, 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 CreateExportRequest, type CreateKnowledgeBaseBody, type CreateMemoryBankBody, type CreateSolutionRequest, type CreateSourceBody, type CredentialChainOptions, DEFAULT_SSO_CLIENT_ID, DEFAULT_SSO_DOMAIN, DEFAULT_SSO_REGION, type EstimateExportRequest, type EstimateExportResponse, type EvaluationCriteriaResponse, type EvaluationResultListResponse, type EvaluationResultResponse, type EvaluationResultSummaryResponse, type EvaluationResultWithCriteriaListResponse, type EvaluationResultWithCriteriaResponse, type EvaluationRunSummaryListResponse, type EvaluationRunSummaryResponse, type EvaluationStatus, type ExamplePrompt, type ExecutedActionResponse, 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 InlineTextReplaceRequest, type InlineTextUploadRequest, type InsufficientCreditsDetail, type InsufficientCreditsResponse, type JSONValue, type KnowledgeBaseListResponse, type KnowledgeBaseResponse, type LinkResourcesRequest, type ListOptions, type MarkAiSuggestionRequest, type MarkConversationTurnRequest, type MemoryBankAcceptRequest, type MemoryBankAiAssistantRequest, type MemoryBankAiAssistantResponse, type MemoryBankConfigResponse, type MemoryBankConversationTurnResponse, type MemoryBankLastConversationResponse, type MemoryBankListResponse, type MemoryBankResponse, type ModalityRateResponse, type NonManualEvaluationModeStatResponse, type NonManualEvaluationSummaryResponse, type OrganizationAlertPreferenceListResponse, type OrganizationAlertPreferenceResponse, type PaginationResponse, type PendingProcessingCompletedFailedStatus, type PlaygroundCreateRequest, type PromptModelAutoUpgradeStrategy, type PromptModelResponse, type PromptToolResponse, type ProposedActionResponse, type ProviderGroupResponse, SECLAI_API_URL, Seclai, SeclaiAPIStatusError, SeclaiAPIValidationError, SeclaiConfigurationError, SeclaiError, type SeclaiOptions, SeclaiStreamingError, 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 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 };
|
|
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 };
|