@seclai/sdk 1.2.0 → 1.4.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 +174 -0
- package/README.md +150 -1
- package/dist/index.cjs +402 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1105 -31
- package/dist/index.d.ts +1105 -31
- package/dist/index.js +402 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -20,18 +20,67 @@ interface components {
|
|
|
20
20
|
*/
|
|
21
21
|
user_input: string;
|
|
22
22
|
};
|
|
23
|
+
/** AddEmailDomainRequest */
|
|
24
|
+
AddEmailDomainRequest: {
|
|
25
|
+
/**
|
|
26
|
+
* Delegated
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
delegated: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Kind
|
|
32
|
+
* @description 'vanity' or 'custom'
|
|
33
|
+
*/
|
|
34
|
+
kind: string;
|
|
35
|
+
/** Value */
|
|
36
|
+
value: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* AgentAttachmentRefsApiResponse
|
|
40
|
+
* @description Static attachment-reference contract for an agent.
|
|
41
|
+
*
|
|
42
|
+
* Mirrors the MCP ``get_agent_attachment_references`` tool: returns
|
|
43
|
+
* what files (if any) an agent's templates expect on a run so API
|
|
44
|
+
* consumers can stage uploads correctly before calling
|
|
45
|
+
* ``POST /agents/{id}/runs``.
|
|
46
|
+
*/
|
|
47
|
+
AgentAttachmentRefsApiResponse: {
|
|
48
|
+
/** @description Aggregated selector summary across all consumer steps. ``exact_names`` entries must each appear in the upload batch; ``indexes_max+1`` is the minimum file count; every ``patterns`` glob must match at least one upload. */
|
|
49
|
+
agent?: components["schemas"]["AttachmentRefsSourceApiSummary"];
|
|
50
|
+
/**
|
|
51
|
+
* Requires Uploads
|
|
52
|
+
* @description When ``false`` the agent's definition does NOT reference any uploaded attachments — ``POST /agents/{id}/upload-input`` will reject with HTTP 400. When ``true`` the ``agent`` block lists the specific selectors a run-time batch must satisfy.
|
|
53
|
+
*/
|
|
54
|
+
requires_uploads: boolean;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* AgentCallerApiResponse
|
|
58
|
+
* @description One agent that calls another (blocks disabling the callee while live).
|
|
59
|
+
*/
|
|
60
|
+
AgentCallerApiResponse: {
|
|
61
|
+
/** Disabled */
|
|
62
|
+
disabled: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Id
|
|
65
|
+
* Format: uuid
|
|
66
|
+
*/
|
|
67
|
+
id: string;
|
|
68
|
+
/** Name */
|
|
69
|
+
name: string;
|
|
70
|
+
};
|
|
23
71
|
/**
|
|
24
72
|
* AgentDefinitionImportErrorResponse
|
|
25
73
|
* @description 422 body for invalid `agent_definition` payloads.
|
|
26
74
|
*
|
|
27
|
-
* Mirrors
|
|
75
|
+
* Mirrors `AgentDefinitionImportError.to_response_dict`.
|
|
28
76
|
*/
|
|
29
77
|
AgentDefinitionImportErrorResponse: {
|
|
30
78
|
/**
|
|
31
79
|
* Error
|
|
32
|
-
* @
|
|
80
|
+
* @description Stable machine-readable error code.
|
|
81
|
+
* @constant
|
|
33
82
|
*/
|
|
34
|
-
error:
|
|
83
|
+
error: "invalid_agent_definition";
|
|
35
84
|
/** Errors */
|
|
36
85
|
errors: components["schemas"]["ImportFieldErrorModel"][];
|
|
37
86
|
/** Message */
|
|
@@ -51,7 +100,7 @@ interface components {
|
|
|
51
100
|
change_id: string;
|
|
52
101
|
/**
|
|
53
102
|
* Definition
|
|
54
|
-
* @description The agent definition containing name, description, tags, and step workflow tree. Step types include prompt_call, retrieval, regex_replace, gate, retry, evaluate_step, extract_data, extract_content, add_chat_turn, load_chat_history, add_memory, search_memory, load_memory, streaming_result, send_email, webhook_call, call_agent, write_metadata, write_content_attachment, load_content_attachment, load_content, display_result, merge, for_each, and others.
|
|
103
|
+
* @description The agent definition containing name, description, tags, and step workflow tree. Step types include prompt_call, retrieval, regex_replace, gate, retry, evaluate_step, extract_data, extract_content, add_chat_turn, load_chat_history, add_memory, search_memory, load_memory, streaming_result, send_email, webhook_call, call_agent, write_metadata, write_content_attachment, load_content_attachment, load_content, display_result, merge, for_each, if_else, switch, and others.
|
|
55
104
|
*/
|
|
56
105
|
definition: {
|
|
57
106
|
[key: string]: unknown;
|
|
@@ -69,6 +118,39 @@ interface components {
|
|
|
69
118
|
[key: string]: string;
|
|
70
119
|
}[] | null;
|
|
71
120
|
};
|
|
121
|
+
/**
|
|
122
|
+
* AgentEmailOptOutListResponse
|
|
123
|
+
* @description A page of agent-email opt-outs plus the total (for pagination).
|
|
124
|
+
*/
|
|
125
|
+
AgentEmailOptOutListResponse: {
|
|
126
|
+
/** Items */
|
|
127
|
+
items: components["schemas"]["AgentEmailOptOutResponse"][];
|
|
128
|
+
/** Total */
|
|
129
|
+
total: number;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* AgentEmailOptOutResponse
|
|
133
|
+
* @description A recipient's opt-out from an account's agent emails (one agent or all).
|
|
134
|
+
*/
|
|
135
|
+
AgentEmailOptOutResponse: {
|
|
136
|
+
/** Agent Id */
|
|
137
|
+
agent_id: string | null;
|
|
138
|
+
/** Agent Name */
|
|
139
|
+
agent_name: string | null;
|
|
140
|
+
/** Comment */
|
|
141
|
+
comment: string | null;
|
|
142
|
+
/** Created At */
|
|
143
|
+
created_at: string;
|
|
144
|
+
/**
|
|
145
|
+
* Id
|
|
146
|
+
* Format: uuid
|
|
147
|
+
*/
|
|
148
|
+
id: string;
|
|
149
|
+
/** Reason */
|
|
150
|
+
reason: string | null;
|
|
151
|
+
/** Recipient Email */
|
|
152
|
+
recipient_email: string;
|
|
153
|
+
};
|
|
72
154
|
/**
|
|
73
155
|
* AgentEvaluationTier
|
|
74
156
|
* @description Controls model selection for agent evaluation.
|
|
@@ -177,9 +259,18 @@ interface components {
|
|
|
177
259
|
input?: string | null;
|
|
178
260
|
/**
|
|
179
261
|
* Input Upload Id
|
|
180
|
-
* @description ID of a previously uploaded file (via POST /{agent_id}/upload-input) to use as the run input for dynamic-input triggers. Mutually exclusive with the 'input' field.
|
|
262
|
+
* @description ID of a previously uploaded file (via POST /{agent_id}/upload-input) to use as the run input for dynamic-input triggers. Mutually exclusive with the 'input' field. Use ``input_upload_ids`` to attach multiple files.
|
|
263
|
+
*
|
|
264
|
+
* **Attachment visibility:** a step only sees the upload when its template references the input — via ``{{input}}`` / ``{{agent.input}}`` / ``{{step.<id>.input|output}}`` (implicit, all attachments) or the ``{{attachments[…]}}`` family (explicit narrowing — e.g. ``{{attachments[0]}}``, ``{{attachments[*.pdf]}}``).
|
|
265
|
+
*
|
|
266
|
+
* **Per-batch validation:** every selector the agent's definition declares must be satisfied or the run is rejected with HTTP 400. Exact-name selectors require that filename to be present; indexed selectors require at least N+1 files; glob patterns require at least one matching filename.
|
|
181
267
|
*/
|
|
182
268
|
input_upload_id?: string | null;
|
|
269
|
+
/**
|
|
270
|
+
* Input Upload Ids
|
|
271
|
+
* @description IDs of multiple previously uploaded files. Each upload's extracted text is concatenated under a heading; each upload's binary is surfaced as a separate ``MediaAttachment`` so multi-modal prompt steps reason over all files at once. Steps narrow visibility via ``{{attachments[…]}}`` selectors (by index, filename, or fnmatch glob). The batch must satisfy every selector the agent declares — exact names, indexed references (length must exceed the highest index), and glob patterns (each pattern needs at least one match). Mismatches return HTTP 400 with the unmet requirements listed. Mutually exclusive with ``input`` and ``input_upload_id`` — pass exactly one of the three. Max 20 uploads per run.
|
|
272
|
+
*/
|
|
273
|
+
input_upload_ids?: string[] | null;
|
|
183
274
|
/**
|
|
184
275
|
* Metadata
|
|
185
276
|
* @description Metadata to make available for string substitution expressions in agent tasks.
|
|
@@ -193,6 +284,11 @@ interface components {
|
|
|
193
284
|
* @default false
|
|
194
285
|
*/
|
|
195
286
|
priority: boolean;
|
|
287
|
+
/**
|
|
288
|
+
* Replay Of Run Id
|
|
289
|
+
* @description Re-run this agent reusing a prior run's uploaded input files. The files are re-resolved server-side from the source run (which must belong to this account and agent) — you do not re-upload them. Combine with ``input`` to change the text while keeping the files. A fresh upload batch (``input_upload_id(s)``) takes precedence and disables replay. Binaries swept by retention fall back to their extracted text.
|
|
290
|
+
*/
|
|
291
|
+
replay_of_run_id?: string | null;
|
|
196
292
|
};
|
|
197
293
|
/** AgentRunResponse */
|
|
198
294
|
AgentRunResponse: {
|
|
@@ -231,6 +327,11 @@ interface components {
|
|
|
231
327
|
* @description Milliseconds spent waiting for governance input evaluation.
|
|
232
328
|
*/
|
|
233
329
|
governance_input_wait_ms?: number | null;
|
|
330
|
+
/**
|
|
331
|
+
* Hitl Wait Ms
|
|
332
|
+
* @description Cumulative milliseconds the run was parked waiting for a human decision on a human_in_the_loop step. Subtracted from active duration in run-detail and duration-stats responses.
|
|
333
|
+
*/
|
|
334
|
+
hitl_wait_ms?: number | null;
|
|
234
335
|
/**
|
|
235
336
|
* Input
|
|
236
337
|
* @description Input provided to the agent for this run.
|
|
@@ -246,6 +347,11 @@ interface components {
|
|
|
246
347
|
* @description Output produced by the agent run.
|
|
247
348
|
*/
|
|
248
349
|
output: string | null;
|
|
350
|
+
/**
|
|
351
|
+
* Output Content Type
|
|
352
|
+
* @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 /api/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.
|
|
353
|
+
*/
|
|
354
|
+
output_content_type?: string | null;
|
|
249
355
|
/**
|
|
250
356
|
* Priority
|
|
251
357
|
* @description Indicates if the run was treated as a priority execution.
|
|
@@ -268,6 +374,11 @@ interface components {
|
|
|
268
374
|
* @description Step outputs and per-step timing/credits. Only included when requested.
|
|
269
375
|
*/
|
|
270
376
|
steps?: components["schemas"]["AgentRunStepResponse"][] | null;
|
|
377
|
+
/**
|
|
378
|
+
* Wait Ms
|
|
379
|
+
* @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.
|
|
380
|
+
*/
|
|
381
|
+
wait_ms?: number | null;
|
|
271
382
|
};
|
|
272
383
|
/** AgentRunStepResponse */
|
|
273
384
|
AgentRunStepResponse: {
|
|
@@ -318,6 +429,11 @@ interface components {
|
|
|
318
429
|
* @description Type of the agent step.
|
|
319
430
|
*/
|
|
320
431
|
step_type: string;
|
|
432
|
+
/**
|
|
433
|
+
* Tool Calls
|
|
434
|
+
* @description LLM tool calls made during this step (prompt_call steps only), ordered by execution. Empty for steps that invoked no tools.
|
|
435
|
+
*/
|
|
436
|
+
tool_calls?: components["schemas"]["AgentRunToolCallResponse"][];
|
|
321
437
|
};
|
|
322
438
|
/** AgentRunStreamRequest */
|
|
323
439
|
AgentRunStreamRequest: {
|
|
@@ -328,9 +444,14 @@ interface components {
|
|
|
328
444
|
input?: string | null;
|
|
329
445
|
/**
|
|
330
446
|
* Input Upload Id
|
|
331
|
-
* @description ID of a previously uploaded file (via POST /{agent_id}/upload-input) to use as the run input for dynamic-input triggers. Mutually exclusive with the 'input' field.
|
|
447
|
+
* @description ID of a previously uploaded file (via POST /{agent_id}/upload-input) to use as the run input for dynamic-input triggers. Mutually exclusive with the 'input' field. Use ``input_upload_ids`` to attach multiple files. Subject to the same per-batch attachment-selector validation as the non-streaming endpoint.
|
|
332
448
|
*/
|
|
333
449
|
input_upload_id?: string | null;
|
|
450
|
+
/**
|
|
451
|
+
* Input Upload Ids
|
|
452
|
+
* @description IDs of multiple previously uploaded files. See the non-streaming endpoint for full semantics, including per-batch selector validation (exact names, indexed references, and glob patterns must all be satisfied or the run is rejected with HTTP 400). Max 20.
|
|
453
|
+
*/
|
|
454
|
+
input_upload_ids?: string[] | null;
|
|
334
455
|
/**
|
|
335
456
|
* Metadata
|
|
336
457
|
* @description Metadata to make available for string substitution expressions in agent tasks.
|
|
@@ -338,6 +459,81 @@ interface components {
|
|
|
338
459
|
metadata?: {
|
|
339
460
|
[key: string]: components["schemas"]["JsonValue"];
|
|
340
461
|
} | null;
|
|
462
|
+
/**
|
|
463
|
+
* Replay Of Run Id
|
|
464
|
+
* @description Re-run reusing a prior run's uploaded input files (re-resolved server-side from the source run, which must belong to this account and agent). A fresh upload batch takes precedence.
|
|
465
|
+
*/
|
|
466
|
+
replay_of_run_id?: string | null;
|
|
467
|
+
};
|
|
468
|
+
/**
|
|
469
|
+
* AgentRunToolCallResponse
|
|
470
|
+
* @description A single LLM tool call made during a prompt_call step.
|
|
471
|
+
*/
|
|
472
|
+
AgentRunToolCallResponse: {
|
|
473
|
+
/**
|
|
474
|
+
* Credits Used
|
|
475
|
+
* @description Credits consumed by this tool call (0 for tools that don't bill).
|
|
476
|
+
* @default 0
|
|
477
|
+
*/
|
|
478
|
+
credits_used: number;
|
|
479
|
+
/**
|
|
480
|
+
* Duration Seconds
|
|
481
|
+
* @description Duration of the tool call in seconds.
|
|
482
|
+
*/
|
|
483
|
+
duration_seconds?: number | null;
|
|
484
|
+
/**
|
|
485
|
+
* Ended At
|
|
486
|
+
* @description Timestamp when the tool call ended.
|
|
487
|
+
*/
|
|
488
|
+
ended_at?: string | null;
|
|
489
|
+
/**
|
|
490
|
+
* Error
|
|
491
|
+
* @description Error message when the tool call failed.
|
|
492
|
+
*/
|
|
493
|
+
error?: string | null;
|
|
494
|
+
/**
|
|
495
|
+
* Function Name
|
|
496
|
+
* @description Name of the tool/function invoked.
|
|
497
|
+
*/
|
|
498
|
+
function_name: string;
|
|
499
|
+
/**
|
|
500
|
+
* Id
|
|
501
|
+
* @description Tool call identifier.
|
|
502
|
+
*/
|
|
503
|
+
id: string;
|
|
504
|
+
/**
|
|
505
|
+
* Input
|
|
506
|
+
* @description JSON arguments the LLM passed to the tool, if persisted.
|
|
507
|
+
*/
|
|
508
|
+
input?: string | null;
|
|
509
|
+
/**
|
|
510
|
+
* Output
|
|
511
|
+
* @description JSON result the tool returned to the LLM, if persisted.
|
|
512
|
+
*/
|
|
513
|
+
output?: string | null;
|
|
514
|
+
/**
|
|
515
|
+
* Round Index
|
|
516
|
+
* @description 0-based tool-loop round this call belonged to.
|
|
517
|
+
* @default 0
|
|
518
|
+
*/
|
|
519
|
+
round_index: number;
|
|
520
|
+
/**
|
|
521
|
+
* Sequence
|
|
522
|
+
* @description 0-based ordinal of this call within its step run.
|
|
523
|
+
* @default 0
|
|
524
|
+
*/
|
|
525
|
+
sequence: number;
|
|
526
|
+
/**
|
|
527
|
+
* Started At
|
|
528
|
+
* @description Timestamp when the tool call started.
|
|
529
|
+
*/
|
|
530
|
+
started_at?: string | null;
|
|
531
|
+
/**
|
|
532
|
+
* Succeeded
|
|
533
|
+
* @description Whether the tool call completed without error.
|
|
534
|
+
* @default true
|
|
535
|
+
*/
|
|
536
|
+
succeeded: boolean;
|
|
341
537
|
};
|
|
342
538
|
/** AgentSummaryResponse */
|
|
343
539
|
AgentSummaryResponse: {
|
|
@@ -356,6 +552,22 @@ interface components {
|
|
|
356
552
|
* @description Agent description.
|
|
357
553
|
*/
|
|
358
554
|
description: string | null;
|
|
555
|
+
/**
|
|
556
|
+
* Disabled
|
|
557
|
+
* @description Whether the agent is paused (disabled).
|
|
558
|
+
* @default false
|
|
559
|
+
*/
|
|
560
|
+
disabled: boolean;
|
|
561
|
+
/**
|
|
562
|
+
* Disabled At
|
|
563
|
+
* @description ISO 8601 timestamp the agent was paused.
|
|
564
|
+
*/
|
|
565
|
+
disabled_at?: string | null;
|
|
566
|
+
/**
|
|
567
|
+
* Disabled Reason
|
|
568
|
+
* @description Why the agent is paused: 'manual' or 'email_overload'.
|
|
569
|
+
*/
|
|
570
|
+
disabled_reason?: string | null;
|
|
359
571
|
/**
|
|
360
572
|
* Evaluation Mode
|
|
361
573
|
* @description Evaluation mode: output_expectation, eval_and_retry, or sample_and_flag.
|
|
@@ -417,7 +629,7 @@ interface components {
|
|
|
417
629
|
* Trigger Type
|
|
418
630
|
* @description Trigger type for the agent.
|
|
419
631
|
*/
|
|
420
|
-
trigger_type
|
|
632
|
+
trigger_type?: string | null;
|
|
421
633
|
/**
|
|
422
634
|
* Updated At
|
|
423
635
|
* @description ISO 8601 last-updated timestamp.
|
|
@@ -533,17 +745,6 @@ interface components {
|
|
|
533
745
|
/** Flagged */
|
|
534
746
|
flagged: boolean;
|
|
535
747
|
};
|
|
536
|
-
/**
|
|
537
|
-
* AiAssistantGenerateRequest
|
|
538
|
-
* @description Request body for AI assistant generate endpoints.
|
|
539
|
-
*/
|
|
540
|
-
AiAssistantGenerateRequest: {
|
|
541
|
-
/**
|
|
542
|
-
* User Input
|
|
543
|
-
* @description User input describing what to do
|
|
544
|
-
*/
|
|
545
|
-
user_input: string;
|
|
546
|
-
};
|
|
547
748
|
/**
|
|
548
749
|
* AiAssistantGenerateResponse
|
|
549
750
|
* @description Response from an AI assistant generate endpoint.
|
|
@@ -667,6 +868,68 @@ interface components {
|
|
|
667
868
|
*/
|
|
668
869
|
success: boolean;
|
|
669
870
|
};
|
|
871
|
+
/**
|
|
872
|
+
* AttachmentRefsSourceApiSummary
|
|
873
|
+
* @description Per-source attachment-reference summary.
|
|
874
|
+
*/
|
|
875
|
+
AttachmentRefsSourceApiSummary: {
|
|
876
|
+
/** Exact Names */
|
|
877
|
+
exact_names?: string[];
|
|
878
|
+
/** Indexes Max */
|
|
879
|
+
indexes_max?: number | null;
|
|
880
|
+
/** Kinds */
|
|
881
|
+
kinds?: string[];
|
|
882
|
+
/** Patterns */
|
|
883
|
+
patterns?: string[];
|
|
884
|
+
};
|
|
885
|
+
/**
|
|
886
|
+
* BlockEmailSenderRequest
|
|
887
|
+
* @description Add one sender/domain to the account blocklist (shared REST request).
|
|
888
|
+
*/
|
|
889
|
+
BlockEmailSenderRequest: {
|
|
890
|
+
/**
|
|
891
|
+
* Match Type
|
|
892
|
+
* @default address
|
|
893
|
+
*/
|
|
894
|
+
match_type: string;
|
|
895
|
+
/** Note */
|
|
896
|
+
note?: string | null;
|
|
897
|
+
/** Sender Email */
|
|
898
|
+
sender_email: string;
|
|
899
|
+
};
|
|
900
|
+
/**
|
|
901
|
+
* BlockedEmailSenderListResponse
|
|
902
|
+
* @description A page of blocked senders + the account's auto-block mode.
|
|
903
|
+
*/
|
|
904
|
+
BlockedEmailSenderListResponse: {
|
|
905
|
+
/** Auto Block Mode */
|
|
906
|
+
auto_block_mode: string;
|
|
907
|
+
/** Items */
|
|
908
|
+
items: components["schemas"]["BlockedEmailSenderResponse"][];
|
|
909
|
+
/** Total */
|
|
910
|
+
total: number;
|
|
911
|
+
};
|
|
912
|
+
/**
|
|
913
|
+
* BlockedEmailSenderResponse
|
|
914
|
+
* @description A single blocked inbound email sender.
|
|
915
|
+
*/
|
|
916
|
+
BlockedEmailSenderResponse: {
|
|
917
|
+
/** Created At */
|
|
918
|
+
created_at: string;
|
|
919
|
+
/**
|
|
920
|
+
* Id
|
|
921
|
+
* Format: uuid
|
|
922
|
+
*/
|
|
923
|
+
id: string;
|
|
924
|
+
/** Match Type */
|
|
925
|
+
match_type: string;
|
|
926
|
+
/** Note */
|
|
927
|
+
note: string | null;
|
|
928
|
+
/** Sender Email */
|
|
929
|
+
sender_email: string;
|
|
930
|
+
/** Source */
|
|
931
|
+
source: string;
|
|
932
|
+
};
|
|
670
933
|
/** Body_upload_file_to_content_api_contents__source_connection_content_version__upload_post */
|
|
671
934
|
Body_upload_file_to_content_api_contents__source_connection_content_version__upload_post: {
|
|
672
935
|
/**
|
|
@@ -705,6 +968,11 @@ interface components {
|
|
|
705
968
|
*/
|
|
706
969
|
title?: string;
|
|
707
970
|
};
|
|
971
|
+
/** CancelQueuedRunsResponse */
|
|
972
|
+
CancelQueuedRunsResponse: {
|
|
973
|
+
/** Cancelled */
|
|
974
|
+
cancelled: number;
|
|
975
|
+
};
|
|
708
976
|
/** ChangeStatusRequest */
|
|
709
977
|
ChangeStatusRequest: {
|
|
710
978
|
/**
|
|
@@ -1104,6 +1372,11 @@ interface components {
|
|
|
1104
1372
|
embedding_model?: string | null;
|
|
1105
1373
|
/** @description Index mode for custom_index sources: fast_and_cheap (default), balanced, slow_and_thorough, or custom. */
|
|
1106
1374
|
index_mode?: components["schemas"]["SourceIndexMode"] | null;
|
|
1375
|
+
/**
|
|
1376
|
+
* Media Types
|
|
1377
|
+
* @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.
|
|
1378
|
+
*/
|
|
1379
|
+
media_types?: string[] | null;
|
|
1107
1380
|
/**
|
|
1108
1381
|
* Name
|
|
1109
1382
|
* @description Source name.
|
|
@@ -1140,6 +1413,196 @@ interface components {
|
|
|
1140
1413
|
*/
|
|
1141
1414
|
url_id?: string | null;
|
|
1142
1415
|
};
|
|
1416
|
+
/** DmarcFailingSourceResponse */
|
|
1417
|
+
DmarcFailingSourceResponse: {
|
|
1418
|
+
/** Failed Count */
|
|
1419
|
+
failed_count: number;
|
|
1420
|
+
/** Header From */
|
|
1421
|
+
header_from?: string | null;
|
|
1422
|
+
/** Source Ip */
|
|
1423
|
+
source_ip: string;
|
|
1424
|
+
};
|
|
1425
|
+
/** DmarcSummaryResponse */
|
|
1426
|
+
DmarcSummaryResponse: {
|
|
1427
|
+
/** Dispositions */
|
|
1428
|
+
dispositions?: {
|
|
1429
|
+
[key: string]: number;
|
|
1430
|
+
};
|
|
1431
|
+
/** Failed Messages */
|
|
1432
|
+
failed_messages: number;
|
|
1433
|
+
/**
|
|
1434
|
+
* Monitored
|
|
1435
|
+
* @default true
|
|
1436
|
+
*/
|
|
1437
|
+
monitored: boolean;
|
|
1438
|
+
/** Pass Rate */
|
|
1439
|
+
pass_rate?: number | null;
|
|
1440
|
+
/** Passed Messages */
|
|
1441
|
+
passed_messages: number;
|
|
1442
|
+
/** Report Count */
|
|
1443
|
+
report_count: number;
|
|
1444
|
+
/** Top Failing Sources */
|
|
1445
|
+
top_failing_sources?: components["schemas"]["DmarcFailingSourceResponse"][];
|
|
1446
|
+
/** Total Messages */
|
|
1447
|
+
total_messages: number;
|
|
1448
|
+
/** Window Days */
|
|
1449
|
+
window_days: number;
|
|
1450
|
+
};
|
|
1451
|
+
/** DnsProviderResponse */
|
|
1452
|
+
DnsProviderResponse: {
|
|
1453
|
+
/** Dashboard Url */
|
|
1454
|
+
dashboard_url?: string | null;
|
|
1455
|
+
/** Key */
|
|
1456
|
+
key: string;
|
|
1457
|
+
/**
|
|
1458
|
+
* Mx Priority Separate
|
|
1459
|
+
* @default true
|
|
1460
|
+
*/
|
|
1461
|
+
mx_priority_separate: boolean;
|
|
1462
|
+
/** Name */
|
|
1463
|
+
name: string;
|
|
1464
|
+
/** Tips */
|
|
1465
|
+
tips?: string[];
|
|
1466
|
+
/**
|
|
1467
|
+
* Txt Quotes
|
|
1468
|
+
* @default strip
|
|
1469
|
+
*/
|
|
1470
|
+
txt_quotes: string;
|
|
1471
|
+
};
|
|
1472
|
+
/** DnsRecordResponse */
|
|
1473
|
+
DnsRecordResponse: {
|
|
1474
|
+
/** Detail */
|
|
1475
|
+
detail?: string | null;
|
|
1476
|
+
/** Key */
|
|
1477
|
+
key: string;
|
|
1478
|
+
/** Mx Host */
|
|
1479
|
+
mx_host?: string | null;
|
|
1480
|
+
/** Mx Priority */
|
|
1481
|
+
mx_priority?: number | null;
|
|
1482
|
+
/** Name */
|
|
1483
|
+
name: string;
|
|
1484
|
+
/** Ok */
|
|
1485
|
+
ok: boolean;
|
|
1486
|
+
/** Relative Name */
|
|
1487
|
+
relative_name: string;
|
|
1488
|
+
/** Type */
|
|
1489
|
+
type: string;
|
|
1490
|
+
/** Value */
|
|
1491
|
+
value: string;
|
|
1492
|
+
};
|
|
1493
|
+
/** EmailDomainResponse */
|
|
1494
|
+
EmailDomainResponse: {
|
|
1495
|
+
/**
|
|
1496
|
+
* Delegated
|
|
1497
|
+
* @default false
|
|
1498
|
+
*/
|
|
1499
|
+
delegated: boolean;
|
|
1500
|
+
/** Dns Records */
|
|
1501
|
+
dns_records?: components["schemas"]["DnsRecordResponse"][];
|
|
1502
|
+
/** Domain */
|
|
1503
|
+
domain: string;
|
|
1504
|
+
/** Error Message */
|
|
1505
|
+
error_message?: string | null;
|
|
1506
|
+
/**
|
|
1507
|
+
* Id
|
|
1508
|
+
* Format: uuid
|
|
1509
|
+
*/
|
|
1510
|
+
id: string;
|
|
1511
|
+
/** Is Primary */
|
|
1512
|
+
is_primary: boolean;
|
|
1513
|
+
/** Kind */
|
|
1514
|
+
kind: string;
|
|
1515
|
+
/** Last Checked At */
|
|
1516
|
+
last_checked_at?: string | null;
|
|
1517
|
+
provider?: components["schemas"]["DnsProviderResponse"] | null;
|
|
1518
|
+
/**
|
|
1519
|
+
* Regressing
|
|
1520
|
+
* @default false
|
|
1521
|
+
*/
|
|
1522
|
+
regressing: boolean;
|
|
1523
|
+
/** Status */
|
|
1524
|
+
status: string;
|
|
1525
|
+
/**
|
|
1526
|
+
* Verified
|
|
1527
|
+
* @default false
|
|
1528
|
+
*/
|
|
1529
|
+
verified: boolean;
|
|
1530
|
+
/** Verified At */
|
|
1531
|
+
verified_at?: string | null;
|
|
1532
|
+
/**
|
|
1533
|
+
* Zone Apex
|
|
1534
|
+
* @default
|
|
1535
|
+
*/
|
|
1536
|
+
zone_apex: string;
|
|
1537
|
+
};
|
|
1538
|
+
/** EmailDomainsListResponse */
|
|
1539
|
+
EmailDomainsListResponse: {
|
|
1540
|
+
/**
|
|
1541
|
+
* Can Add Custom
|
|
1542
|
+
* @default false
|
|
1543
|
+
*/
|
|
1544
|
+
can_add_custom: boolean;
|
|
1545
|
+
/**
|
|
1546
|
+
* Can Add Vanity
|
|
1547
|
+
* @default false
|
|
1548
|
+
*/
|
|
1549
|
+
can_add_vanity: boolean;
|
|
1550
|
+
/** Custom Plan Names */
|
|
1551
|
+
custom_plan_names?: string[];
|
|
1552
|
+
/** Domains */
|
|
1553
|
+
domains?: components["schemas"]["EmailDomainResponse"][];
|
|
1554
|
+
/**
|
|
1555
|
+
* Has Custom
|
|
1556
|
+
* @default false
|
|
1557
|
+
*/
|
|
1558
|
+
has_custom: boolean;
|
|
1559
|
+
/**
|
|
1560
|
+
* Has Vanity
|
|
1561
|
+
* @default false
|
|
1562
|
+
*/
|
|
1563
|
+
has_vanity: boolean;
|
|
1564
|
+
/** Vanity Plan Names */
|
|
1565
|
+
vanity_plan_names?: string[];
|
|
1566
|
+
};
|
|
1567
|
+
/**
|
|
1568
|
+
* EmailTriggerConfigResponse
|
|
1569
|
+
* @description An EMAIL_RECEIVED trigger's resolved address(es) and config.
|
|
1570
|
+
*/
|
|
1571
|
+
EmailTriggerConfigResponse: {
|
|
1572
|
+
/**
|
|
1573
|
+
* Agent Id
|
|
1574
|
+
* Format: uuid
|
|
1575
|
+
*/
|
|
1576
|
+
agent_id: string;
|
|
1577
|
+
/** Email Addresses */
|
|
1578
|
+
email_addresses?: string[];
|
|
1579
|
+
/** Email Alias */
|
|
1580
|
+
email_alias?: string | null;
|
|
1581
|
+
/** Email Allowed Senders */
|
|
1582
|
+
email_allowed_senders?: string[] | null;
|
|
1583
|
+
/**
|
|
1584
|
+
* Email Ignore Auto Generated
|
|
1585
|
+
* @default true
|
|
1586
|
+
*/
|
|
1587
|
+
email_ignore_auto_generated: boolean;
|
|
1588
|
+
/**
|
|
1589
|
+
* Email Queue On Quota
|
|
1590
|
+
* @default false
|
|
1591
|
+
*/
|
|
1592
|
+
email_queue_on_quota: boolean;
|
|
1593
|
+
/**
|
|
1594
|
+
* Email Require Sender Auth
|
|
1595
|
+
* @default true
|
|
1596
|
+
*/
|
|
1597
|
+
email_require_sender_auth: boolean;
|
|
1598
|
+
/**
|
|
1599
|
+
* Trigger Id
|
|
1600
|
+
* Format: uuid
|
|
1601
|
+
*/
|
|
1602
|
+
trigger_id: string;
|
|
1603
|
+
/** Trigger Type */
|
|
1604
|
+
trigger_type: string;
|
|
1605
|
+
};
|
|
1143
1606
|
/**
|
|
1144
1607
|
* EvaluationCriteriaResponse
|
|
1145
1608
|
* @description Response schema for evaluation criteria.
|
|
@@ -1429,6 +1892,12 @@ interface components {
|
|
|
1429
1892
|
* @description Error message if failed.
|
|
1430
1893
|
*/
|
|
1431
1894
|
error?: string | null;
|
|
1895
|
+
/**
|
|
1896
|
+
* Needs Clarification
|
|
1897
|
+
* @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``.
|
|
1898
|
+
* @default false
|
|
1899
|
+
*/
|
|
1900
|
+
needs_clarification: boolean;
|
|
1432
1901
|
/**
|
|
1433
1902
|
* Resource Id
|
|
1434
1903
|
* @description ID of the affected resource.
|
|
@@ -1511,6 +1980,11 @@ interface components {
|
|
|
1511
1980
|
* @description Example natural-language prompts that demonstrate the capabilities of this AI assistant for the given mode.
|
|
1512
1981
|
*/
|
|
1513
1982
|
example_prompts?: components["schemas"]["ExamplePrompt"][];
|
|
1983
|
+
/**
|
|
1984
|
+
* Intent Assessment
|
|
1985
|
+
* @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.
|
|
1986
|
+
*/
|
|
1987
|
+
intent_assessment?: string | null;
|
|
1514
1988
|
/**
|
|
1515
1989
|
* Note
|
|
1516
1990
|
* @description AI explanation of the proposed workflow.
|
|
@@ -1695,8 +2169,8 @@ interface components {
|
|
|
1695
2169
|
*
|
|
1696
2170
|
* Used as the element type for ``import_warnings`` on every
|
|
1697
2171
|
* response model that accepts an ``agent_definition`` payload.
|
|
1698
|
-
* See
|
|
1699
|
-
*
|
|
2172
|
+
* See ``services.agent_definition_import.AgentImportSkip`` for the
|
|
2173
|
+
* full category list.
|
|
1700
2174
|
*
|
|
1701
2175
|
* Lives here (not on each router) so the authenticated and public
|
|
1702
2176
|
* API responses share one definition — keeping the shape that
|
|
@@ -1721,6 +2195,40 @@ interface components {
|
|
|
1721
2195
|
*/
|
|
1722
2196
|
message: string;
|
|
1723
2197
|
};
|
|
2198
|
+
/**
|
|
2199
|
+
* InboundEmailRejectionResponse
|
|
2200
|
+
* @description An inbound email that was discarded without running an agent.
|
|
2201
|
+
*/
|
|
2202
|
+
InboundEmailRejectionResponse: {
|
|
2203
|
+
/** Agent Id */
|
|
2204
|
+
agent_id: string | null;
|
|
2205
|
+
/** Created At */
|
|
2206
|
+
created_at: string;
|
|
2207
|
+
/**
|
|
2208
|
+
* Id
|
|
2209
|
+
* Format: uuid
|
|
2210
|
+
*/
|
|
2211
|
+
id: string;
|
|
2212
|
+
/** Message Id */
|
|
2213
|
+
message_id: string | null;
|
|
2214
|
+
/** Reason */
|
|
2215
|
+
reason: string;
|
|
2216
|
+
/** Recipient */
|
|
2217
|
+
recipient: string;
|
|
2218
|
+
/** Sender */
|
|
2219
|
+
sender: string;
|
|
2220
|
+
/** Sender Ip */
|
|
2221
|
+
sender_ip: string | null;
|
|
2222
|
+
/** Subject */
|
|
2223
|
+
subject: string | null;
|
|
2224
|
+
};
|
|
2225
|
+
/** InboundEmailStatusResponse */
|
|
2226
|
+
InboundEmailStatusResponse: {
|
|
2227
|
+
/** Paused */
|
|
2228
|
+
paused: boolean;
|
|
2229
|
+
/** Queued Backlog */
|
|
2230
|
+
queued_backlog: number;
|
|
2231
|
+
};
|
|
1724
2232
|
/**
|
|
1725
2233
|
* InlineTextReplaceRequest
|
|
1726
2234
|
* @description Request model for inline text content replacement.
|
|
@@ -1779,6 +2287,35 @@ interface components {
|
|
|
1779
2287
|
*/
|
|
1780
2288
|
title?: string | null;
|
|
1781
2289
|
};
|
|
2290
|
+
/**
|
|
2291
|
+
* InsufficientCreditsDetail
|
|
2292
|
+
* @description ``detail`` body for a 402 ``insufficient_credits`` response.
|
|
2293
|
+
*/
|
|
2294
|
+
InsufficientCreditsDetail: {
|
|
2295
|
+
/**
|
|
2296
|
+
* Account Id
|
|
2297
|
+
* @description UUID of the account that ran out of credits.
|
|
2298
|
+
*/
|
|
2299
|
+
account_id: string;
|
|
2300
|
+
/**
|
|
2301
|
+
* Error
|
|
2302
|
+
* @description Stable machine-readable error code.
|
|
2303
|
+
* @constant
|
|
2304
|
+
*/
|
|
2305
|
+
error: "insufficient_credits";
|
|
2306
|
+
/**
|
|
2307
|
+
* Message
|
|
2308
|
+
* @description Human-readable explanation.
|
|
2309
|
+
*/
|
|
2310
|
+
message: string;
|
|
2311
|
+
};
|
|
2312
|
+
/**
|
|
2313
|
+
* InsufficientCreditsResponse
|
|
2314
|
+
* @description 402 envelope returned when the account has exhausted its credits.
|
|
2315
|
+
*/
|
|
2316
|
+
InsufficientCreditsResponse: {
|
|
2317
|
+
detail: components["schemas"]["InsufficientCreditsDetail"];
|
|
2318
|
+
};
|
|
1782
2319
|
JsonValue: unknown;
|
|
1783
2320
|
/**
|
|
1784
2321
|
* KnowledgeBaseListResponseModel
|
|
@@ -2104,6 +2641,24 @@ interface components {
|
|
|
2104
2641
|
*/
|
|
2105
2642
|
updated_at: string;
|
|
2106
2643
|
};
|
|
2644
|
+
/**
|
|
2645
|
+
* ModalityRateResponse
|
|
2646
|
+
* @description Per-modality rate for an LLM that prices image/audio/video output
|
|
2647
|
+
* (or input) at a rate distinct from the default text rate.
|
|
2648
|
+
*
|
|
2649
|
+
* Example: Gemini 3.1 Flash Image charges $3/1M output tokens for
|
|
2650
|
+
* text but $60/1M output tokens for generated images. The image rate
|
|
2651
|
+
* surfaces here with ``modality="image"`` and ``output_credits_per_1000_tokens``
|
|
2652
|
+
* set; the default text rate stays on the parent model fields.
|
|
2653
|
+
*/
|
|
2654
|
+
ModalityRateResponse: {
|
|
2655
|
+
/** Input Credits Per 1000 Tokens */
|
|
2656
|
+
input_credits_per_1000_tokens?: number | null;
|
|
2657
|
+
/** Modality */
|
|
2658
|
+
modality: string;
|
|
2659
|
+
/** Output Credits Per 1000 Tokens */
|
|
2660
|
+
output_credits_per_1000_tokens?: number | null;
|
|
2661
|
+
};
|
|
2107
2662
|
/** OrganizationAlertPreferenceListResponse */
|
|
2108
2663
|
OrganizationAlertPreferenceListResponse: {
|
|
2109
2664
|
/** Preferences */
|
|
@@ -2148,7 +2703,7 @@ interface components {
|
|
|
2148
2703
|
* PendingProcessingCompletedFailedStatus
|
|
2149
2704
|
* @enum {string}
|
|
2150
2705
|
*/
|
|
2151
|
-
PendingProcessingCompletedFailedStatus: "pending" | "processing" | "completed" | "failed";
|
|
2706
|
+
PendingProcessingCompletedFailedStatus: "pending" | "processing" | "completed" | "failed" | "queued" | "waiting_human" | "waiting_scheduled";
|
|
2152
2707
|
/**
|
|
2153
2708
|
* PlaygroundCreateRequest
|
|
2154
2709
|
* @description Create a model playground experiment via the public API.
|
|
@@ -2298,6 +2853,37 @@ interface components {
|
|
|
2298
2853
|
[key: string]: unknown;
|
|
2299
2854
|
};
|
|
2300
2855
|
};
|
|
2856
|
+
/** RemoveEmailDomainResponse */
|
|
2857
|
+
RemoveEmailDomainResponse: {
|
|
2858
|
+
/** Cleanup Note */
|
|
2859
|
+
cleanup_note?: string | null;
|
|
2860
|
+
/**
|
|
2861
|
+
* Removed
|
|
2862
|
+
* @default true
|
|
2863
|
+
*/
|
|
2864
|
+
removed: boolean;
|
|
2865
|
+
};
|
|
2866
|
+
/** ResumeInboundResponse */
|
|
2867
|
+
ResumeInboundResponse: {
|
|
2868
|
+
/** Resumed */
|
|
2869
|
+
resumed: boolean;
|
|
2870
|
+
};
|
|
2871
|
+
/** SendTestEmailResponse */
|
|
2872
|
+
SendTestEmailResponse: {
|
|
2873
|
+
/**
|
|
2874
|
+
* Sent
|
|
2875
|
+
* @default true
|
|
2876
|
+
*/
|
|
2877
|
+
sent: boolean;
|
|
2878
|
+
};
|
|
2879
|
+
/**
|
|
2880
|
+
* SetAutoBlockModeRequest
|
|
2881
|
+
* @description Set the account's governance auto-block mode (shared REST request).
|
|
2882
|
+
*/
|
|
2883
|
+
SetAutoBlockModeRequest: {
|
|
2884
|
+
/** Mode */
|
|
2885
|
+
mode: string;
|
|
2886
|
+
};
|
|
2301
2887
|
/** SolutionSourceConnectionResponse */
|
|
2302
2888
|
SolutionSourceConnectionResponse: {
|
|
2303
2889
|
/**
|
|
@@ -2544,6 +3130,11 @@ interface components {
|
|
|
2544
3130
|
id: string;
|
|
2545
3131
|
/** @description Index mode for custom_index sources: fast_and_cheap, balanced, slow_and_thorough, or custom. */
|
|
2546
3132
|
index_mode?: components["schemas"]["SourceIndexMode"] | null;
|
|
3133
|
+
/**
|
|
3134
|
+
* Media Types
|
|
3135
|
+
* @description Media kinds extracted from indexed content and embedded as multi-modal KB chunks (subset of ['images', 'video']). Empty = text-only.
|
|
3136
|
+
*/
|
|
3137
|
+
media_types?: string[];
|
|
2547
3138
|
/**
|
|
2548
3139
|
* Name
|
|
2549
3140
|
* @description Name of the source connection.
|
|
@@ -2959,6 +3550,11 @@ interface components {
|
|
|
2959
3550
|
* @description Request body for updating a content source.
|
|
2960
3551
|
*/
|
|
2961
3552
|
UpdateSourceBody: {
|
|
3553
|
+
/**
|
|
3554
|
+
* Media Types
|
|
3555
|
+
* @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).
|
|
3556
|
+
*/
|
|
3557
|
+
media_types?: string[] | null;
|
|
2962
3558
|
/**
|
|
2963
3559
|
* Name
|
|
2964
3560
|
* @description New name.
|
|
@@ -3234,7 +3830,7 @@ interface components {
|
|
|
3234
3830
|
name: string;
|
|
3235
3831
|
/**
|
|
3236
3832
|
* Trigger Type
|
|
3237
|
-
* @description Trigger type: dynamic_input, template_input, schedule, new_content.
|
|
3833
|
+
* @description Trigger type: dynamic_input, template_input, schedule, new_content, email_received.
|
|
3238
3834
|
* @default dynamic_input
|
|
3239
3835
|
*/
|
|
3240
3836
|
trigger_type: string;
|
|
@@ -3255,6 +3851,40 @@ interface components {
|
|
|
3255
3851
|
*/
|
|
3256
3852
|
policy_name?: string | null;
|
|
3257
3853
|
};
|
|
3854
|
+
/**
|
|
3855
|
+
* SetEmailTriggerConfigRequest
|
|
3856
|
+
* @description Alias and/or sender allowlist for an EMAIL_RECEIVED trigger.
|
|
3857
|
+
*
|
|
3858
|
+
* A field omitted is left unchanged; passing ``null`` (or ``""`` for
|
|
3859
|
+
* ``alias``) clears it.
|
|
3860
|
+
*/
|
|
3861
|
+
routers__api__agents__SetEmailTriggerConfigRequest: {
|
|
3862
|
+
/**
|
|
3863
|
+
* Alias
|
|
3864
|
+
* @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.
|
|
3865
|
+
*/
|
|
3866
|
+
alias?: string | null;
|
|
3867
|
+
/**
|
|
3868
|
+
* Allowed Senders
|
|
3869
|
+
* @description Allowlist of full sender addresses and/or bare domains (a bare domain also matches sub-domains). Empty/null accepts any sender.
|
|
3870
|
+
*/
|
|
3871
|
+
allowed_senders?: string[] | null;
|
|
3872
|
+
/**
|
|
3873
|
+
* Ignore Auto Generated
|
|
3874
|
+
* @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.
|
|
3875
|
+
*/
|
|
3876
|
+
ignore_auto_generated?: boolean | null;
|
|
3877
|
+
/**
|
|
3878
|
+
* Queue On Quota
|
|
3879
|
+
* @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.
|
|
3880
|
+
*/
|
|
3881
|
+
queue_on_quota?: boolean | null;
|
|
3882
|
+
/**
|
|
3883
|
+
* Require Sender Auth
|
|
3884
|
+
* @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.
|
|
3885
|
+
*/
|
|
3886
|
+
require_sender_auth?: boolean | null;
|
|
3887
|
+
};
|
|
3258
3888
|
/** UpdateAgentRequest */
|
|
3259
3889
|
routers__api__agents__UpdateAgentRequest: {
|
|
3260
3890
|
/**
|
|
@@ -3627,11 +4257,6 @@ interface components {
|
|
|
3627
4257
|
* @description Request body for the memory bank AI assistant.
|
|
3628
4258
|
*/
|
|
3629
4259
|
routers__api__memory_banks__MemoryBankAiAssistantRequest: {
|
|
3630
|
-
/**
|
|
3631
|
-
* Conversation Id
|
|
3632
|
-
* @description Previous conversation ID to continue.
|
|
3633
|
-
*/
|
|
3634
|
-
conversation_id?: string | null;
|
|
3635
4260
|
/**
|
|
3636
4261
|
* Current Config
|
|
3637
4262
|
* @description Current configuration to refine, if any.
|
|
@@ -3639,6 +4264,11 @@ interface components {
|
|
|
3639
4264
|
current_config?: {
|
|
3640
4265
|
[key: string]: unknown;
|
|
3641
4266
|
} | null;
|
|
4267
|
+
/**
|
|
4268
|
+
* History Since
|
|
4269
|
+
* @description Optional ISO 8601 timestamp. When set, only conversation turns created at or after this timestamp are loaded as context, scoping history to the current session so the assistant remembers earlier turns in a multi-turn refinement.
|
|
4270
|
+
*/
|
|
4271
|
+
history_since?: string | null;
|
|
3642
4272
|
/**
|
|
3643
4273
|
* User Input
|
|
3644
4274
|
* @description Natural-language description of the memory bank.
|
|
@@ -3732,6 +4362,22 @@ interface components {
|
|
|
3732
4362
|
*/
|
|
3733
4363
|
solution_name?: string | null;
|
|
3734
4364
|
};
|
|
4365
|
+
/**
|
|
4366
|
+
* AiAssistantGenerateRequest
|
|
4367
|
+
* @description Request body for AI assistant generate endpoints.
|
|
4368
|
+
*/
|
|
4369
|
+
routers__api__solutions__AiAssistantGenerateRequest: {
|
|
4370
|
+
/**
|
|
4371
|
+
* History Since
|
|
4372
|
+
* @description Optional ISO 8601 timestamp. When set, only conversation turns created at or after this timestamp are loaded as context, scoping history to the current session so the assistant remembers earlier turns in a create flow.
|
|
4373
|
+
*/
|
|
4374
|
+
history_since?: string | null;
|
|
4375
|
+
/**
|
|
4376
|
+
* User Input
|
|
4377
|
+
* @description User input describing what to do
|
|
4378
|
+
*/
|
|
4379
|
+
user_input: string;
|
|
4380
|
+
};
|
|
3735
4381
|
/** SolutionAgentResponse */
|
|
3736
4382
|
routers__api__solutions__SolutionAgentResponse: {
|
|
3737
4383
|
/**
|
|
@@ -4071,6 +4717,11 @@ interface components {
|
|
|
4071
4717
|
* @description ID of the created content version
|
|
4072
4718
|
*/
|
|
4073
4719
|
content_version_id: string | null;
|
|
4720
|
+
/**
|
|
4721
|
+
* Embedder Warning
|
|
4722
|
+
* @description Set when the file is non-text but the source's embedder is text-only — indexing will rely on OCR / transcription and may produce a FAILED row if no text can be extracted.
|
|
4723
|
+
*/
|
|
4724
|
+
embedder_warning?: string | null;
|
|
4074
4725
|
/**
|
|
4075
4726
|
* Filename
|
|
4076
4727
|
* @description Original filename
|
|
@@ -4113,8 +4764,30 @@ interface components {
|
|
|
4113
4764
|
family?: string | null;
|
|
4114
4765
|
/** Family Generation */
|
|
4115
4766
|
family_generation?: number | null;
|
|
4767
|
+
/**
|
|
4768
|
+
* Generation Credits Per Unit
|
|
4769
|
+
* @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.
|
|
4770
|
+
*/
|
|
4771
|
+
generation_credits_per_unit?: number | null;
|
|
4772
|
+
/**
|
|
4773
|
+
* Generation Params
|
|
4774
|
+
* @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.
|
|
4775
|
+
*/
|
|
4776
|
+
generation_params?: {
|
|
4777
|
+
[key: string]: unknown;
|
|
4778
|
+
} | null;
|
|
4779
|
+
/**
|
|
4780
|
+
* Generation Unit Label
|
|
4781
|
+
* @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.
|
|
4782
|
+
*/
|
|
4783
|
+
generation_unit_label?: string | null;
|
|
4116
4784
|
/** Id */
|
|
4117
4785
|
id: string;
|
|
4786
|
+
/**
|
|
4787
|
+
* Image Generation Tool Credits Per Image
|
|
4788
|
+
* @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.
|
|
4789
|
+
*/
|
|
4790
|
+
image_generation_tool_credits_per_image?: number | null;
|
|
4118
4791
|
/** Input 1H Cache Write Credits Per 1000 Tokens */
|
|
4119
4792
|
input_1h_cache_write_credits_per_1000_tokens?: number | null;
|
|
4120
4793
|
/** Input 5M Cache Write Credits Per 1000 Tokens */
|
|
@@ -4157,6 +4830,8 @@ interface components {
|
|
|
4157
4830
|
* @description Source URL used to derive payload_schema guidance for this model.
|
|
4158
4831
|
*/
|
|
4159
4832
|
payload_schema_source_url?: string | null;
|
|
4833
|
+
/** Per Modality Rates */
|
|
4834
|
+
per_modality_rates?: components["schemas"]["ModalityRateResponse"][];
|
|
4160
4835
|
/** Provider */
|
|
4161
4836
|
provider: string;
|
|
4162
4837
|
/** Released At */
|
|
@@ -4179,6 +4854,8 @@ interface components {
|
|
|
4179
4854
|
supported_input_media?: string[] | null;
|
|
4180
4855
|
/** Supported Languages */
|
|
4181
4856
|
supported_languages?: string[] | null;
|
|
4857
|
+
/** Supported Output Media */
|
|
4858
|
+
supported_output_media?: string[] | null;
|
|
4182
4859
|
/**
|
|
4183
4860
|
* Supports Openai Arguments
|
|
4184
4861
|
* @default false
|
|
@@ -4296,6 +4973,10 @@ type HTTPValidationError = components["schemas"]["HTTPValidationError"];
|
|
|
4296
4973
|
type ValidationError = components["schemas"]["ValidationError"];
|
|
4297
4974
|
/** Pagination metadata included in list responses. */
|
|
4298
4975
|
type PaginationResponse = components["schemas"]["PaginationResponse"];
|
|
4976
|
+
/** The authenticated user's personal account ID and the organizations they belong to. */
|
|
4977
|
+
type MeResponse = components["schemas"]["MeResponse"];
|
|
4978
|
+
/** One organization the authenticated user belongs to, within a {@link MeResponse}. */
|
|
4979
|
+
type OrganizationInfoResponse = components["schemas"]["OrganizationInfoResponse"];
|
|
4299
4980
|
/** Paginated list of agents. */
|
|
4300
4981
|
type AgentListResponse = components["schemas"]["routers__api__agents__AgentListResponse"];
|
|
4301
4982
|
/** Full agent configuration including definition and metadata. */
|
|
@@ -4325,6 +5006,36 @@ type ImportFieldErrorModel = components["schemas"]["ImportFieldErrorModel"];
|
|
|
4325
5006
|
type ImportSkipResponse = components["schemas"]["ImportSkipResponse"];
|
|
4326
5007
|
/** Reference to a governance policy (id and optional display name). */
|
|
4327
5008
|
type GovernancePolicyRefResponse = components["schemas"]["routers__api__agents__GovernancePolicyRefResponse"];
|
|
5009
|
+
/** A live agent that calls another agent via a `call_agent` step (blocks disabling the callee). */
|
|
5010
|
+
type AgentCallerApiResponse = components["schemas"]["AgentCallerApiResponse"];
|
|
5011
|
+
/**
|
|
5012
|
+
* Request body for configuring an `EMAIL_RECEIVED` trigger.
|
|
5013
|
+
*
|
|
5014
|
+
* An omitted field is left unchanged; passing `null` (or `""` for `alias`) clears it.
|
|
5015
|
+
*/
|
|
5016
|
+
type SetEmailTriggerConfigRequest = components["schemas"]["routers__api__agents__SetEmailTriggerConfigRequest"];
|
|
5017
|
+
/** An `EMAIL_RECEIVED` trigger's resolved email address(es) and inbound-handling config. */
|
|
5018
|
+
type EmailTriggerConfigResponse = components["schemas"]["EmailTriggerConfigResponse"];
|
|
5019
|
+
/** A recipient's opt-out from an account's agent emails (one agent, or account-wide). */
|
|
5020
|
+
type AgentEmailOptOutResponse = components["schemas"]["AgentEmailOptOutResponse"];
|
|
5021
|
+
/** A page of agent-email opt-outs plus the total count. */
|
|
5022
|
+
type AgentEmailOptOutListResponse = components["schemas"]["AgentEmailOptOutListResponse"];
|
|
5023
|
+
/** Request body for blocking an inbound email sender or domain. */
|
|
5024
|
+
type BlockEmailSenderRequest = components["schemas"]["BlockEmailSenderRequest"];
|
|
5025
|
+
/** A single blocked inbound email sender. */
|
|
5026
|
+
type BlockedEmailSenderResponse = components["schemas"]["BlockedEmailSenderResponse"];
|
|
5027
|
+
/** A page of blocked senders plus the account's governance auto-block mode. */
|
|
5028
|
+
type BlockedEmailSenderListResponse = components["schemas"]["BlockedEmailSenderListResponse"];
|
|
5029
|
+
/** Request body for setting the governance auto-block mode. */
|
|
5030
|
+
type SetAutoBlockModeRequest = components["schemas"]["SetAutoBlockModeRequest"];
|
|
5031
|
+
/** An inbound email that was discarded before running an agent. */
|
|
5032
|
+
type InboundEmailRejectionResponse = components["schemas"]["InboundEmailRejectionResponse"];
|
|
5033
|
+
/** Account-wide inbound-email overload state (breaker paused + queued backlog size). */
|
|
5034
|
+
type InboundEmailStatusResponse = components["schemas"]["InboundEmailStatusResponse"];
|
|
5035
|
+
/** Number of queued inbound-email runs cancelled. */
|
|
5036
|
+
type CancelQueuedRunsResponse = components["schemas"]["CancelQueuedRunsResponse"];
|
|
5037
|
+
/** Result of manually lifting the inbound-email pause. */
|
|
5038
|
+
type ResumeInboundResponse = components["schemas"]["ResumeInboundResponse"];
|
|
4328
5039
|
/** Request body for starting an agent run. */
|
|
4329
5040
|
type AgentRunRequest = components["schemas"]["AgentRunRequest"];
|
|
4330
5041
|
/** Request body for starting an agent run in streaming mode (SSE). */
|
|
@@ -4337,6 +5048,8 @@ type AgentRunListResponse = components["schemas"]["routers__api__agents__AgentRu
|
|
|
4337
5048
|
type AgentRunStepResponse = components["schemas"]["AgentRunStepResponse"];
|
|
4338
5049
|
/** Details of a single attempt within an agent run step. */
|
|
4339
5050
|
type AgentRunAttemptResponse = components["schemas"]["AgentRunAttemptResponse"];
|
|
5051
|
+
/** A single LLM tool call made during a `prompt_call` step (within {@link AgentRunStepResponse}'s `tool_calls`). */
|
|
5052
|
+
type AgentRunToolCallResponse = components["schemas"]["AgentRunToolCallResponse"];
|
|
4340
5053
|
/** Search request for agent runs (traces). */
|
|
4341
5054
|
type AgentTraceSearchRequest = components["schemas"]["routers__api__agents__AgentTraceSearchRequest"];
|
|
4342
5055
|
/** Search response containing matching agent runs. */
|
|
@@ -4345,6 +5058,13 @@ type AgentTraceSearchResponse = components["schemas"]["AgentTraceSearchResponse"
|
|
|
4345
5058
|
type AgentTraceMatchResponse = components["schemas"]["AgentTraceMatchResponse"];
|
|
4346
5059
|
/** Response from uploading a file input for an agent run. */
|
|
4347
5060
|
type UploadAgentInputApiResponse = components["schemas"]["UploadAgentInputApiResponse"];
|
|
5061
|
+
/**
|
|
5062
|
+
* Static attachment-reference contract for an agent — what files (if any) its
|
|
5063
|
+
* templates expect on a run, so uploads can be staged before calling `runAgent`.
|
|
5064
|
+
*/
|
|
5065
|
+
type AgentAttachmentRefsApiResponse = components["schemas"]["AgentAttachmentRefsApiResponse"];
|
|
5066
|
+
/** Per-source attachment-reference summary (exact names, indexes, glob patterns) within an {@link AgentAttachmentRefsApiResponse}. */
|
|
5067
|
+
type AttachmentRefsSourceApiSummary = components["schemas"]["AttachmentRefsSourceApiSummary"];
|
|
4348
5068
|
/** Request body for generating agent workflow steps via AI. */
|
|
4349
5069
|
type GenerateAgentStepsRequest = components["schemas"]["GenerateAgentStepsRequest"];
|
|
4350
5070
|
/** Response containing AI-generated agent workflow steps. */
|
|
@@ -4498,7 +5218,7 @@ type AddConversationTurnRequest = components["schemas"]["AddConversationTurnRequ
|
|
|
4498
5218
|
/** Request body for marking a conversation turn. */
|
|
4499
5219
|
type MarkConversationTurnRequest = components["schemas"]["MarkConversationTurnRequest"];
|
|
4500
5220
|
/** AI assistant generate request for solutions. */
|
|
4501
|
-
type AiAssistantGenerateRequest = components["schemas"]["
|
|
5221
|
+
type AiAssistantGenerateRequest = components["schemas"]["routers__api__solutions__AiAssistantGenerateRequest"];
|
|
4502
5222
|
/** AI assistant generate response for solutions. */
|
|
4503
5223
|
type AiAssistantGenerateResponse = components["schemas"]["AiAssistantGenerateResponse"];
|
|
4504
5224
|
/** AI assistant accept request for solutions. */
|
|
@@ -4551,6 +5271,8 @@ type ProviderGroupResponse = components["schemas"]["schemas__model_responses__Pr
|
|
|
4551
5271
|
type PromptModelResponse = components["schemas"]["schemas__model_responses__PromptModelResponse"];
|
|
4552
5272
|
/** Prompt tool configuration within a model. */
|
|
4553
5273
|
type PromptToolResponse = components["schemas"]["PromptToolResponse"];
|
|
5274
|
+
/** Per-modality rate for a model that prices image/audio/video distinctly from its default text rate. */
|
|
5275
|
+
type ModalityRateResponse = components["schemas"]["ModalityRateResponse"];
|
|
4554
5276
|
/** Variant category for model pricing tiers. */
|
|
4555
5277
|
type VariantCategoryResponse = components["schemas"]["VariantCategoryResponse"];
|
|
4556
5278
|
/** Variant option with credit pricing and context limits. */
|
|
@@ -4564,6 +5286,36 @@ type PlaygroundCreateRequest = components["schemas"]["PlaygroundCreateRequest"];
|
|
|
4564
5286
|
* server-side default and can be omitted.
|
|
4565
5287
|
*/
|
|
4566
5288
|
type CreateExperimentInput = Pick<PlaygroundCreateRequest, "model_ids" | "prompt"> & Partial<Omit<PlaygroundCreateRequest, "model_ids" | "prompt">>;
|
|
5289
|
+
/** Request body for adding a vanity or custom agent-email domain. */
|
|
5290
|
+
type AddEmailDomainRequest = components["schemas"]["AddEmailDomainRequest"];
|
|
5291
|
+
/**
|
|
5292
|
+
* Input type for {@link Seclai.addEmailDomain}.
|
|
5293
|
+
*
|
|
5294
|
+
* Only `kind` and `value` are required. `delegated` has a server-side default
|
|
5295
|
+
* of `false` and can be omitted — the generated {@link AddEmailDomainRequest}
|
|
5296
|
+
* marks it required only because the schema declares a default.
|
|
5297
|
+
*/
|
|
5298
|
+
type AddEmailDomainInput = Pick<AddEmailDomainRequest, "kind" | "value"> & Partial<Omit<AddEmailDomainRequest, "kind" | "value">>;
|
|
5299
|
+
/** An agent-email domain with its verification status and required DNS records. */
|
|
5300
|
+
type EmailDomainResponse = components["schemas"]["EmailDomainResponse"];
|
|
5301
|
+
/** The account's email domains plus the plan capabilities for adding more. */
|
|
5302
|
+
type EmailDomainsListResponse = components["schemas"]["EmailDomainsListResponse"];
|
|
5303
|
+
/** Result of removing an email domain (with an optional registrar `cleanup_note`). */
|
|
5304
|
+
type RemoveEmailDomainResponse = components["schemas"]["RemoveEmailDomainResponse"];
|
|
5305
|
+
/** Result of sending a test email from a verified domain. */
|
|
5306
|
+
type SendTestEmailResponse = components["schemas"]["SendTestEmailResponse"];
|
|
5307
|
+
/** A DNS record the customer must publish for a domain, plus whether it currently resolves. */
|
|
5308
|
+
type DnsRecordResponse = components["schemas"]["DnsRecordResponse"];
|
|
5309
|
+
/** Detected DNS provider for a domain, with dashboard URL and provider-specific tips. */
|
|
5310
|
+
type DnsProviderResponse = components["schemas"]["DnsProviderResponse"];
|
|
5311
|
+
/** DMARC aggregate-report summary for a domain over a time window. */
|
|
5312
|
+
type DmarcSummaryResponse = components["schemas"]["DmarcSummaryResponse"];
|
|
5313
|
+
/** A top DMARC-failing source IP within a {@link DmarcSummaryResponse}. */
|
|
5314
|
+
type DmarcFailingSourceResponse = components["schemas"]["DmarcFailingSourceResponse"];
|
|
5315
|
+
/** 402 envelope returned when an account has exhausted its credits. */
|
|
5316
|
+
type InsufficientCreditsResponse = components["schemas"]["InsufficientCreditsResponse"];
|
|
5317
|
+
/** `detail` body of an {@link InsufficientCreditsResponse} (error code, message, and account id). */
|
|
5318
|
+
type InsufficientCreditsDetail = components["schemas"]["InsufficientCreditsDetail"];
|
|
4567
5319
|
/** Source index mode: fast_and_cheap, balanced, slow_and_thorough, or custom. */
|
|
4568
5320
|
type SourceIndexMode = components["schemas"]["SourceIndexMode"];
|
|
4569
5321
|
/** Processing status: pending, processing, completed, or failed. */
|
|
@@ -4721,6 +5473,17 @@ declare class Seclai {
|
|
|
4721
5473
|
}): Promise<Response>;
|
|
4722
5474
|
/** Shared multipart upload helper. */
|
|
4723
5475
|
private uploadFile;
|
|
5476
|
+
/**
|
|
5477
|
+
* Get the authenticated user's identity.
|
|
5478
|
+
*
|
|
5479
|
+
* Returns the personal `account_id` plus every organization the user belongs
|
|
5480
|
+
* to — each with its own `id`, display `name`, and `account_id`. Use it to
|
|
5481
|
+
* discover the account IDs that can be passed as the client's `accountId`
|
|
5482
|
+
* option (sent as the `X-Account-Id` header) to target an org context.
|
|
5483
|
+
*
|
|
5484
|
+
* @returns The current user's account ID and organization memberships.
|
|
5485
|
+
*/
|
|
5486
|
+
getMe(): Promise<MeResponse>;
|
|
4724
5487
|
/**
|
|
4725
5488
|
* List agents.
|
|
4726
5489
|
*
|
|
@@ -4756,6 +5519,39 @@ declare class Seclai {
|
|
|
4756
5519
|
* @param agentId - Agent identifier.
|
|
4757
5520
|
*/
|
|
4758
5521
|
deleteAgent(agentId: string): Promise<void>;
|
|
5522
|
+
/**
|
|
5523
|
+
* Pause (disable) an agent so it stops firing from every trigger path.
|
|
5524
|
+
*
|
|
5525
|
+
* API runs return HTTP 409, inbound email is turned away, and scheduled /
|
|
5526
|
+
* content triggers are skipped.
|
|
5527
|
+
*
|
|
5528
|
+
* Fails with HTTP 409 when other live agents still call this one via a
|
|
5529
|
+
* `call_agent` step — use {@link getAgentCallers} to list them, and disable
|
|
5530
|
+
* those first.
|
|
5531
|
+
*
|
|
5532
|
+
* @param agentId - Agent identifier.
|
|
5533
|
+
* @returns The updated agent summary.
|
|
5534
|
+
*/
|
|
5535
|
+
disableAgent(agentId: string): Promise<AgentSummaryResponse>;
|
|
5536
|
+
/**
|
|
5537
|
+
* Resume (enable) a paused agent.
|
|
5538
|
+
*
|
|
5539
|
+
* Clears the disable state whether the agent was paused manually or
|
|
5540
|
+
* auto-paused by the inbound-email overload safeguard.
|
|
5541
|
+
*
|
|
5542
|
+
* @param agentId - Agent identifier.
|
|
5543
|
+
* @returns The updated agent summary.
|
|
5544
|
+
*/
|
|
5545
|
+
enableAgent(agentId: string): Promise<AgentSummaryResponse>;
|
|
5546
|
+
/**
|
|
5547
|
+
* List the live agents that call this agent via a `call_agent` step.
|
|
5548
|
+
*
|
|
5549
|
+
* These must be disabled before this agent can be paused.
|
|
5550
|
+
*
|
|
5551
|
+
* @param agentId - Agent identifier.
|
|
5552
|
+
* @returns The calling agents.
|
|
5553
|
+
*/
|
|
5554
|
+
getAgentCallers(agentId: string): Promise<AgentCallerApiResponse[]>;
|
|
4759
5555
|
/**
|
|
4760
5556
|
* Export an agent definition as a portable JSON snapshot.
|
|
4761
5557
|
*
|
|
@@ -4938,6 +5734,33 @@ declare class Seclai {
|
|
|
4938
5734
|
* @returns Upload status and metadata.
|
|
4939
5735
|
*/
|
|
4940
5736
|
getAgentInputUploadStatus(agentId: string, uploadId: string): Promise<UploadAgentInputApiResponse>;
|
|
5737
|
+
/**
|
|
5738
|
+
* Get the static attachment-reference contract for an agent — what files (if
|
|
5739
|
+
* any) its definition expects on a run.
|
|
5740
|
+
*
|
|
5741
|
+
* Call this before staging uploads to learn whether the agent accepts files
|
|
5742
|
+
* at all (`requires_uploads`) and which specific filenames, indexes, or glob
|
|
5743
|
+
* patterns its templates reference. A run-time upload batch that doesn't
|
|
5744
|
+
* satisfy every declared selector is rejected with HTTP 400.
|
|
5745
|
+
*
|
|
5746
|
+
* @param agentId - Agent identifier.
|
|
5747
|
+
* @returns The agent's attachment-reference contract.
|
|
5748
|
+
*/
|
|
5749
|
+
getAgentAttachmentReferences(agentId: string): Promise<AgentAttachmentRefsApiResponse>;
|
|
5750
|
+
/**
|
|
5751
|
+
* Download a file attachment emitted by a step in an agent run.
|
|
5752
|
+
*
|
|
5753
|
+
* Returns the raw `Response` so you can stream or save the binary data.
|
|
5754
|
+
*
|
|
5755
|
+
* @param runId - Run identifier.
|
|
5756
|
+
* @param attachmentId - URL-safe-base64-encoded `storage_key` of the attachment
|
|
5757
|
+
* (as surfaced in run output manifests and webhook/email payloads).
|
|
5758
|
+
* @param opts - Optional `downloadName` filename hint for the download disposition.
|
|
5759
|
+
* @returns Raw response with the attachment bytes.
|
|
5760
|
+
*/
|
|
5761
|
+
downloadAgentRunAttachment(runId: string, attachmentId: string, opts?: {
|
|
5762
|
+
downloadName?: string;
|
|
5763
|
+
}): Promise<Response>;
|
|
4941
5764
|
/**
|
|
4942
5765
|
* Generate agent workflow steps from natural language using AI.
|
|
4943
5766
|
*
|
|
@@ -5062,6 +5885,115 @@ declare class Seclai {
|
|
|
5062
5885
|
* @param agentId - Agent identifier.
|
|
5063
5886
|
*/
|
|
5064
5887
|
getNonManualEvaluationSummary(agentId: string): Promise<NonManualEvaluationSummaryResponse>;
|
|
5888
|
+
/**
|
|
5889
|
+
* Configure an agent's `EMAIL_RECEIVED` trigger and return its computed
|
|
5890
|
+
* email address(es).
|
|
5891
|
+
*
|
|
5892
|
+
* Sets the custom alias, the sender allowlist, and the inbound-handling flags
|
|
5893
|
+
* (`ignore_auto_generated`, `require_sender_auth`, `queue_on_quota`). Omitted
|
|
5894
|
+
* fields are left unchanged; passing `null` (or `""` for `alias`) clears them.
|
|
5895
|
+
*
|
|
5896
|
+
* @param agentId - Agent identifier.
|
|
5897
|
+
* @param triggerId - Trigger identifier.
|
|
5898
|
+
* @param body - The fields to set.
|
|
5899
|
+
* @returns The trigger's resolved addresses and config.
|
|
5900
|
+
*/
|
|
5901
|
+
setEmailTriggerConfig(agentId: string, triggerId: string, body: SetEmailTriggerConfigRequest): Promise<EmailTriggerConfigResponse>;
|
|
5902
|
+
/**
|
|
5903
|
+
* List recipients who have opted out of this account's agent emails.
|
|
5904
|
+
*
|
|
5905
|
+
* @param opts - Optional agent filter and `limit`/`offset` pagination.
|
|
5906
|
+
* @param opts.agentId - Filter to one agent (account-wide opt-outs still apply).
|
|
5907
|
+
* @param opts.limit - Page size (1-200, default 50).
|
|
5908
|
+
* @param opts.offset - Rows to skip (default 0).
|
|
5909
|
+
* @returns The page of opt-outs plus the total count.
|
|
5910
|
+
*/
|
|
5911
|
+
listAgentEmailOptOuts(opts?: {
|
|
5912
|
+
agentId?: string;
|
|
5913
|
+
limit?: number;
|
|
5914
|
+
offset?: number;
|
|
5915
|
+
}): Promise<AgentEmailOptOutListResponse>;
|
|
5916
|
+
/**
|
|
5917
|
+
* Revoke an opt-out, opting the recipient back in to agent emails.
|
|
5918
|
+
*
|
|
5919
|
+
* @param optoutId - Opt-out identifier.
|
|
5920
|
+
*/
|
|
5921
|
+
removeAgentEmailOptOut(optoutId: string): Promise<void>;
|
|
5922
|
+
/**
|
|
5923
|
+
* List the account's blocked inbound email senders (newest first), plus the
|
|
5924
|
+
* governance `auto_block_mode`.
|
|
5925
|
+
*
|
|
5926
|
+
* @param opts - Optional `limit`/`offset` pagination.
|
|
5927
|
+
* @param opts.limit - Page size (1-200, default 50).
|
|
5928
|
+
* @param opts.offset - Rows to skip (default 0).
|
|
5929
|
+
*/
|
|
5930
|
+
listBlockedEmailSenders(opts?: {
|
|
5931
|
+
limit?: number;
|
|
5932
|
+
offset?: number;
|
|
5933
|
+
}): Promise<BlockedEmailSenderListResponse>;
|
|
5934
|
+
/**
|
|
5935
|
+
* Add a sender address or a whole domain to the account blocklist.
|
|
5936
|
+
*
|
|
5937
|
+
* Idempotent. `match_type` is `"address"` (default) or `"domain"`.
|
|
5938
|
+
* Requires an account owner/admin.
|
|
5939
|
+
*
|
|
5940
|
+
* @param body - The sender or domain to block.
|
|
5941
|
+
* @returns The blocked-sender entry.
|
|
5942
|
+
*/
|
|
5943
|
+
blockEmailSender(body: BlockEmailSenderRequest): Promise<BlockedEmailSenderResponse>;
|
|
5944
|
+
/**
|
|
5945
|
+
* Remove a blocked sender by id. Requires an account owner/admin.
|
|
5946
|
+
*
|
|
5947
|
+
* @param blockedId - Blocked-sender identifier.
|
|
5948
|
+
*/
|
|
5949
|
+
unblockEmailSender(blockedId: string): Promise<void>;
|
|
5950
|
+
/**
|
|
5951
|
+
* Set whether a governance BLOCK on an authenticated inbound sender
|
|
5952
|
+
* auto-adds them to the blocklist.
|
|
5953
|
+
*
|
|
5954
|
+
* `mode` is `"disabled"`, `"input"`, or `"input_and_output"`.
|
|
5955
|
+
* Requires an account owner/admin.
|
|
5956
|
+
*
|
|
5957
|
+
* @param body - The mode to set.
|
|
5958
|
+
* @returns The updated blocked-sender list.
|
|
5959
|
+
*/
|
|
5960
|
+
setAutoBlockMode(body: SetAutoBlockModeRequest): Promise<BlockedEmailSenderListResponse>;
|
|
5961
|
+
/**
|
|
5962
|
+
* List recent inbound emails that were quietly discarded before running an
|
|
5963
|
+
* agent (unauthorized sender, unknown alias, spam/virus, flood-shed).
|
|
5964
|
+
*
|
|
5965
|
+
* @param opts - Optional agent filter and result limit.
|
|
5966
|
+
* @param opts.agentId - Filter to a single agent's rejections.
|
|
5967
|
+
* @param opts.limit - Maximum results (1-200, default 50).
|
|
5968
|
+
*/
|
|
5969
|
+
listInboundEmailRejections(opts?: {
|
|
5970
|
+
agentId?: string;
|
|
5971
|
+
limit?: number;
|
|
5972
|
+
}): Promise<InboundEmailRejectionResponse[]>;
|
|
5973
|
+
/**
|
|
5974
|
+
* Get the account's inbound-email overload status — whether the circuit
|
|
5975
|
+
* breaker has paused new inbound email, and the size of the QUEUED
|
|
5976
|
+
* (over-quota parked) run backlog.
|
|
5977
|
+
*/
|
|
5978
|
+
getInboundEmailStatus(): Promise<InboundEmailStatusResponse>;
|
|
5979
|
+
/**
|
|
5980
|
+
* Fail all of the account's QUEUED (over-quota parked) inbound-email runs at
|
|
5981
|
+
* once.
|
|
5982
|
+
*
|
|
5983
|
+
* A queued run consumed no quota or credits at queue time, so this merely
|
|
5984
|
+
* fails them. Requires an account owner/admin.
|
|
5985
|
+
*
|
|
5986
|
+
* @returns The count cancelled.
|
|
5987
|
+
*/
|
|
5988
|
+
cancelQueuedEmailRuns(): Promise<CancelQueuedRunsResponse>;
|
|
5989
|
+
/**
|
|
5990
|
+
* Manually lift the account-wide inbound-email pause.
|
|
5991
|
+
*
|
|
5992
|
+
* If the queued backlog is still above the ceiling the breaker re-arms on the
|
|
5993
|
+
* next evaluation — this is a one-shot override, not a permanent disable.
|
|
5994
|
+
* Requires an account owner/admin.
|
|
5995
|
+
*/
|
|
5996
|
+
resumeInboundEmail(): Promise<ResumeInboundResponse>;
|
|
5065
5997
|
/**
|
|
5066
5998
|
* List knowledge bases.
|
|
5067
5999
|
*
|
|
@@ -5639,7 +6571,7 @@ declare class Seclai {
|
|
|
5639
6571
|
* @param alertType - Alert type.
|
|
5640
6572
|
* @param body - Preference update.
|
|
5641
6573
|
*/
|
|
5642
|
-
updateOrganizationAlertPreference(organizationId: string, alertType: string, body: UpdateOrganizationAlertPreferenceRequest): Promise<
|
|
6574
|
+
updateOrganizationAlertPreference(organizationId: string, alertType: string, body: UpdateOrganizationAlertPreferenceRequest): Promise<OrganizationAlertPreferenceResponse>;
|
|
5643
6575
|
/**
|
|
5644
6576
|
* List model alerts.
|
|
5645
6577
|
*
|
|
@@ -5675,6 +6607,8 @@ declare class Seclai {
|
|
|
5675
6607
|
provider?: string;
|
|
5676
6608
|
supportsToolUse?: boolean;
|
|
5677
6609
|
supportsThinking?: boolean;
|
|
6610
|
+
supportsInputMedia?: string;
|
|
6611
|
+
supportsOutputMedia?: string;
|
|
5678
6612
|
}): Promise<ProviderGroupResponse[]>;
|
|
5679
6613
|
/**
|
|
5680
6614
|
* Get full details for a specific model.
|
|
@@ -5682,6 +6616,18 @@ declare class Seclai {
|
|
|
5682
6616
|
* @param modelId - Model identifier.
|
|
5683
6617
|
*/
|
|
5684
6618
|
getModel(modelId: string): Promise<PromptModelResponse>;
|
|
6619
|
+
/**
|
|
6620
|
+
* List the media-generation quality tiers and the model + cost each resolves to.
|
|
6621
|
+
*
|
|
6622
|
+
* On a `prompt_call`'s `media_generation` tool — and the dedicated
|
|
6623
|
+
* `generate_*` steps via tier routing — the author/LLM picks a *tier*
|
|
6624
|
+
* (fast/balanced/thorough), never a model. This maps each
|
|
6625
|
+
* `(modality, tier)` to its concrete generator, raw `credits_per_unit`,
|
|
6626
|
+
* `unit_label`, and a human-readable scaled `price_label`.
|
|
6627
|
+
*
|
|
6628
|
+
* Global routing/pricing (the same for every account); read-only.
|
|
6629
|
+
*/
|
|
6630
|
+
getGenerationTiers(): Promise<Record<string, unknown>>;
|
|
5685
6631
|
/**
|
|
5686
6632
|
* List model playground experiments.
|
|
5687
6633
|
*
|
|
@@ -5712,6 +6658,15 @@ declare class Seclai {
|
|
|
5712
6658
|
* @param experimentId - Experiment identifier.
|
|
5713
6659
|
*/
|
|
5714
6660
|
cancelExperiment(experimentId: string): Promise<unknown>;
|
|
6661
|
+
/**
|
|
6662
|
+
* Soft-delete a model playground experiment.
|
|
6663
|
+
*
|
|
6664
|
+
* Removes the experiment from list/detail views while preserving audit
|
|
6665
|
+
* history. Returns HTTP 204 with no body.
|
|
6666
|
+
*
|
|
6667
|
+
* @param experimentId - Experiment identifier.
|
|
6668
|
+
*/
|
|
6669
|
+
deleteExperiment(experimentId: string): Promise<void>;
|
|
5715
6670
|
/**
|
|
5716
6671
|
* Search across all resource types in your account.
|
|
5717
6672
|
*
|
|
@@ -5729,6 +6684,125 @@ declare class Seclai {
|
|
|
5729
6684
|
limit?: number;
|
|
5730
6685
|
entityType?: string;
|
|
5731
6686
|
}): Promise<unknown>;
|
|
6687
|
+
/**
|
|
6688
|
+
* Search the Seclai documentation by content.
|
|
6689
|
+
*
|
|
6690
|
+
* `mode: "keyword"` matches page titles and summaries (fast, no AI cost);
|
|
6691
|
+
* `mode: "semantic"` matches page body content by meaning (uses an embedding).
|
|
6692
|
+
*
|
|
6693
|
+
* Each result carries a `doc_slug` and an optional section `anchor` for
|
|
6694
|
+
* building a `https://seclai.com/docs/<doc_slug>[#<anchor>]` link, a `score`
|
|
6695
|
+
* (not comparable across modes), and — in semantic mode — a `highlight`
|
|
6696
|
+
* (best matching verbatim sentence; `null` for keyword).
|
|
6697
|
+
*
|
|
6698
|
+
* Documentation is global, so results are not account-scoped.
|
|
6699
|
+
*
|
|
6700
|
+
* @param opts - Search options.
|
|
6701
|
+
* @param opts.query - Search query string (required, 1-200 chars).
|
|
6702
|
+
* @param opts.mode - Search strategy (default `"keyword"`).
|
|
6703
|
+
* @param opts.limit - Maximum results (1-20, default 8).
|
|
6704
|
+
*/
|
|
6705
|
+
searchDocs(opts: {
|
|
6706
|
+
query: string;
|
|
6707
|
+
mode?: "keyword" | "semantic";
|
|
6708
|
+
limit?: number;
|
|
6709
|
+
}): Promise<Record<string, unknown>>;
|
|
6710
|
+
/**
|
|
6711
|
+
* List the account's vanity (`<slug>.seclai.com`) and custom
|
|
6712
|
+
* (`agent.mycompany.com`) agent-email domains.
|
|
6713
|
+
*
|
|
6714
|
+
* Includes each domain's verification status and the DNS records the customer
|
|
6715
|
+
* must publish, plus the plan capabilities (`can_add_vanity` /
|
|
6716
|
+
* `can_add_custom`) and whether one of each kind already exists
|
|
6717
|
+
* (`has_vanity` / `has_custom` — the per-kind limit is 1).
|
|
6718
|
+
*
|
|
6719
|
+
* Requires a user-bound credential; an account-only API key is refused with 403.
|
|
6720
|
+
*/
|
|
6721
|
+
listEmailDomains(): Promise<EmailDomainsListResponse>;
|
|
6722
|
+
/**
|
|
6723
|
+
* Add and provision a new agent-email domain.
|
|
6724
|
+
*
|
|
6725
|
+
* Pass `kind: "vanity"` with `value: "<slug>"`, or `kind: "custom"` with
|
|
6726
|
+
* `value: "agent.mycompany.com"` (optionally `delegated: true` to let Seclai
|
|
6727
|
+
* manage a dedicated Route53 zone). Stands up the SES identity + DNS and
|
|
6728
|
+
* returns the records the customer must publish. Requires an account
|
|
6729
|
+
* owner/admin.
|
|
6730
|
+
*
|
|
6731
|
+
* @param body - The domain to add. `delegated` defaults to `false` server-side.
|
|
6732
|
+
*/
|
|
6733
|
+
addEmailDomain(body: AddEmailDomainInput): Promise<EmailDomainResponse>;
|
|
6734
|
+
/**
|
|
6735
|
+
* Remove a domain and tear down its SES identity + DNS / receipt-rule recipient.
|
|
6736
|
+
*
|
|
6737
|
+
* Returns a `cleanup_note` when the removed domain was Seclai-managed
|
|
6738
|
+
* (delegated), reminding you to delete the registrar NS delegation record
|
|
6739
|
+
* (dangling-delegation / subdomain-takeover guard). Requires an account
|
|
6740
|
+
* owner/admin.
|
|
6741
|
+
*
|
|
6742
|
+
* @param domainId - Domain identifier.
|
|
6743
|
+
*/
|
|
6744
|
+
removeEmailDomain(domainId: string): Promise<RemoveEmailDomainResponse>;
|
|
6745
|
+
/**
|
|
6746
|
+
* Run a verification check immediately ("Check now").
|
|
6747
|
+
*
|
|
6748
|
+
* Re-polls SES + DNS for this domain instead of waiting for the background
|
|
6749
|
+
* verification sweep, and returns its updated status + DNS-record check
|
|
6750
|
+
* results. Useful right after publishing the required records. Requires an
|
|
6751
|
+
* account owner/admin.
|
|
6752
|
+
*
|
|
6753
|
+
* @param domainId - Domain identifier.
|
|
6754
|
+
*/
|
|
6755
|
+
verifyEmailDomain(domainId: string): Promise<EmailDomainResponse>;
|
|
6756
|
+
/**
|
|
6757
|
+
* Promote a verified domain to the account's primary domain.
|
|
6758
|
+
*
|
|
6759
|
+
* Agent email then sends FROM and receives ON this domain
|
|
6760
|
+
* (`<agentID>@<domain>`, `<alias>@<domain>`) instead of the shared
|
|
6761
|
+
* `agent.seclai.com`. The domain must be verified. Requires an account
|
|
6762
|
+
* owner/admin.
|
|
6763
|
+
*
|
|
6764
|
+
* @param domainId - Domain identifier.
|
|
6765
|
+
*/
|
|
6766
|
+
setPrimaryEmailDomain(domainId: string): Promise<EmailDomainResponse>;
|
|
6767
|
+
/**
|
|
6768
|
+
* Revert to the shared `agent.seclai.com` sending/inbound domain.
|
|
6769
|
+
*
|
|
6770
|
+
* Clears the account's primary domain WITHOUT removing the configured
|
|
6771
|
+
* domain(s) — they stay verified and can be promoted again later. Requires an
|
|
6772
|
+
* account owner/admin.
|
|
6773
|
+
*/
|
|
6774
|
+
useSharedEmailDomain(): Promise<void>;
|
|
6775
|
+
/**
|
|
6776
|
+
* Send a test message FROM a verified domain (`noreply@<domain>`) TO the
|
|
6777
|
+
* account owner's email.
|
|
6778
|
+
*
|
|
6779
|
+
* Confirms end-to-end that the domain actually sends (SES verified, DKIM/SPF
|
|
6780
|
+
* aligned). Never sends to any other address, so it can't be used as an open
|
|
6781
|
+
* relay. Requires an account owner/admin.
|
|
6782
|
+
*
|
|
6783
|
+
* @param domainId - Domain identifier.
|
|
6784
|
+
*/
|
|
6785
|
+
sendEmailDomainTestEmail(domainId: string): Promise<SendTestEmailResponse>;
|
|
6786
|
+
/**
|
|
6787
|
+
* Get the DMARC aggregate-report summary for a domain.
|
|
6788
|
+
*
|
|
6789
|
+
* Pass rate, disposition breakdown (`none`/`quarantine`/`reject`), and top
|
|
6790
|
+
* failing source IPs from the DMARC `rua` reports over the last `days`
|
|
6791
|
+
* (clamped by the service).
|
|
6792
|
+
*
|
|
6793
|
+
* Populated for domains whose DNS zone Seclai controls (vanity + delegated
|
|
6794
|
+
* custom); a self-managed custom domain keeps its own DMARC reporting and
|
|
6795
|
+
* returns an all-zero summary.
|
|
6796
|
+
*
|
|
6797
|
+
* @param domainId - Domain identifier.
|
|
6798
|
+
* @param opts - Reporting window options.
|
|
6799
|
+
* @param opts.days - Window length in days (default 30).
|
|
6800
|
+
* @param opts.topSources - Number of top failing sources to return (default 10).
|
|
6801
|
+
*/
|
|
6802
|
+
getDmarcSummary(domainId: string, opts?: {
|
|
6803
|
+
days?: number;
|
|
6804
|
+
topSources?: number;
|
|
6805
|
+
}): Promise<DmarcSummaryResponse>;
|
|
5732
6806
|
/**
|
|
5733
6807
|
* Submit feedback on an AI assistant interaction.
|
|
5734
6808
|
*
|
|
@@ -5759,7 +6833,7 @@ declare class Seclai {
|
|
|
5759
6833
|
*
|
|
5760
6834
|
* @param body - Generation request.
|
|
5761
6835
|
*/
|
|
5762
|
-
aiAssistantMemoryBank(body:
|
|
6836
|
+
aiAssistantMemoryBank(body: MemoryBankAiAssistantRequest): Promise<MemoryBankAiAssistantResponse>;
|
|
5763
6837
|
/**
|
|
5764
6838
|
* Get AI assistant memory bank conversation history.
|
|
5765
6839
|
*/
|
|
@@ -5990,4 +7064,4 @@ declare class SeclaiStreamingError extends SeclaiError {
|
|
|
5990
7064
|
constructor(message: string, runId?: string);
|
|
5991
7065
|
}
|
|
5992
7066
|
|
|
5993
|
-
export { type AccessTokenProvider, type AddCommentRequest, type AddConversationTurnRequest, 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 AgentSummaryResponse, type AgentTraceMatchResponse, type AgentTraceSearchRequest, type AgentTraceSearchResponse, type AiAssistantAcceptRequest, type AiAssistantAcceptResponse, type AiAssistantFeedbackRequest, type AiAssistantFeedbackResponse, type AiAssistantGenerateRequest, type AiAssistantGenerateResponse, type AiConversationHistoryResponse, type AiConversationTurnResponse, 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 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 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 };
|
|
7067
|
+
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 AttachmentRefsSourceApiSummary, type AuthState, type BlockEmailSenderRequest, type BlockedEmailSenderListResponse, type BlockedEmailSenderResponse, 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 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 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 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 NonManualEvaluationModeStatResponse, type NonManualEvaluationSummaryResponse, 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, Seclai, SeclaiAPIStatusError, SeclaiAPIValidationError, 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 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 };
|