@seclai/sdk 1.7.0 → 1.8.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/dist/index.d.ts CHANGED
@@ -22,10 +22,11 @@ declare const SeclaiApiVersion: {
22
22
  readonly V2026_10_18: "2026-10-18";
23
23
  readonly V2026_10_19: "2026-10-19";
24
24
  readonly V2026_10_21: "2026-10-21";
25
+ readonly V2026_10_28: "2026-10-28";
25
26
  /** Baseline applied to an unpinned, header-less caller. */
26
27
  readonly Default: "2026-07-01";
27
28
  /** Newest version known to this SDK release. May lag the server. */
28
- readonly Latest: "2026-10-21";
29
+ readonly Latest: "2026-10-28";
29
30
  };
30
31
  /**
31
32
  * A dated API version. Known values autocomplete; any `YYYY-MM-DD` string still
@@ -251,6 +252,12 @@ interface components {
251
252
  * @enum {string}
252
253
  */
253
254
  AgentEvaluationTier: "fast" | "balanced" | "thorough";
255
+ /** AgentExampleListResponse */
256
+ AgentExampleListResponse: {
257
+ /** Data */
258
+ data: unknown[];
259
+ pagination: components["schemas"]["PaginationResponse"];
260
+ };
254
261
  /**
255
262
  * AgentExportResponse
256
263
  * @description Portable JSON snapshot of an agent definition.
@@ -258,7 +265,7 @@ interface components {
258
265
  AgentExportResponse: {
259
266
  /**
260
267
  * Agent
261
- * @description Agent metadata and full definition. Keys: name, description, schema_version, definition, default_evaluation_tier, evaluation_mode, sampling_config, max_retries, retry_on_failure, prompt_model_auto_upgrade_strategy, prompt_model_auto_rollback_enabled, prompt_model_auto_rollback_triggers, created_at, updated_at.
268
+ * @description Agent metadata and full definition. Keys: name, description, schema_version, definition, default_evaluation_tier, evaluation_mode, sampling_config, max_retries, retry_on_failure, prompt_model_auto_upgrade_strategy, prompt_model_auto_rollback_enabled, prompt_model_auto_rollback_triggers, max_credits_per_run, max_credits_per_period, max_runs_per_hour, max_runs_per_day, max_runs_total, created_at, updated_at.
262
269
  */
263
270
  agent: {
264
271
  [key: string]: unknown;
@@ -528,6 +535,11 @@ interface components {
528
535
  * @description Credits consumed by this step across every attempt it made. Some charges made outside any step, such as governance screening of the run's input, count toward the run's total but no step's. The timestamps above and the tool calls below describe the latest attempt only.
529
536
  */
530
537
  credits_used: number;
538
+ /**
539
+ * Decision
540
+ * @description The arm an `if_else` or `switch` step took: `then` or `else`, or the case name or `else`. Null for other step types, until the step has decided, and when a `switch` took no arm.
541
+ */
542
+ decision?: string | null;
531
543
  /**
532
544
  * Duration Seconds
533
545
  * @description Duration of the step attempt in seconds.
@@ -545,7 +557,7 @@ interface components {
545
557
  input: string | null;
546
558
  /**
547
559
  * Output
548
- * @description Output text produced by the step, if any; its files are in `attachments`. Below `Seclai-Version: 2026-09-30`, the manifest JSON when the step output files and is not a `for_each`.
560
+ * @description Output text produced by the step, if any; its files are in `attachments`. Below `Seclai-Version: 2026-09-30`, the manifest JSON when the step output files and is not a `for_each`. For an `if_else` or `switch`, the result of the arm it took (its input when that arm is empty or it took none); below `Seclai-Version: 2026-10-28`, the `{"branch": ...}` marker naming that arm, with no `attachments`.
549
561
  */
550
562
  output: string | null;
551
563
  /**
@@ -689,6 +701,13 @@ interface components {
689
701
  * @description ISO 8601 creation timestamp.
690
702
  */
691
703
  created_at: string;
704
+ /**
705
+ * Created Resources
706
+ * @description On a create from an `agent_template`: {slot: resource_id} for each resource `create_missing_resources` created.
707
+ */
708
+ created_resources?: {
709
+ [key: string]: string;
710
+ } | null;
692
711
  /**
693
712
  * Default Evaluation Tier
694
713
  * @description Default evaluation tier: fast, balanced, or thorough.
@@ -731,12 +750,37 @@ interface components {
731
750
  * @description One entry per item dropped or substituted during import. Present only on endpoints that accept agent_definition; null on non-import calls; [] when the import had no skips.
732
751
  */
733
752
  import_warnings?: components["schemas"]["ImportSkipResponse"][] | null;
753
+ /**
754
+ * Max Credits Per Period
755
+ * @description Credit limit per billing period; null when none.
756
+ */
757
+ max_credits_per_period?: number | null;
758
+ /**
759
+ * Max Credits Per Run
760
+ * @description Credit limit per run; null when none.
761
+ */
762
+ max_credits_per_run?: number | null;
734
763
  /**
735
764
  * Max Retries
736
765
  * @description Max retries for eval_and_retry mode.
737
766
  * @default 3
738
767
  */
739
768
  max_retries: number;
769
+ /**
770
+ * Max Runs Per Day
771
+ * @description Runs per day limit; null when none.
772
+ */
773
+ max_runs_per_day?: number | null;
774
+ /**
775
+ * Max Runs Per Hour
776
+ * @description Runs per hour limit; null when none.
777
+ */
778
+ max_runs_per_hour?: number | null;
779
+ /**
780
+ * Max Runs Total
781
+ * @description Limit on runs in total; null when none.
782
+ */
783
+ max_runs_total?: number | null;
740
784
  /**
741
785
  * Name
742
786
  * @description Agent name.
@@ -772,6 +816,11 @@ interface components {
772
816
  sampling_config?: {
773
817
  [key: string]: unknown;
774
818
  } | null;
819
+ /**
820
+ * Solution Id
821
+ * @description On a create from an `agent_template` that created resources: the solution grouping the agent with them.
822
+ */
823
+ solution_id?: string | null;
775
824
  /**
776
825
  * Trigger Id
777
826
  * @description ID of the agent's trigger, for the `/agents/{agent_id}/triggers/{trigger_id}/…` endpoints such as `accepted-attachments` and `email-config`.
@@ -2255,7 +2304,7 @@ interface components {
2255
2304
  id: string;
2256
2305
  /**
2257
2306
  * Reason
2258
- * @description Why it was refused: sender_not_allowed, unauthenticated_sender, unreadable_from, sender_blocked, spam, virus, unsafe_content, rate_limited, account_not_chargeable or empty_message; or, for a message the source received before, what became of the earlier one: repeat_stored, repeat_held, repeat_deleted or repeat_in_progress.
2307
+ * @description Why it was refused: sender_not_allowed, unauthenticated_sender, unreadable_from, sender_blocked, spam, virus, unsafe_content, rate_limited, account_not_chargeable, spend_limit_reached or empty_message; or, for a message the source received before, what became of the earlier one: repeat_stored, repeat_held, repeat_deleted or repeat_in_progress.
2259
2308
  */
2260
2309
  reason: string;
2261
2310
  /**
@@ -3964,7 +4013,7 @@ interface components {
3964
4013
  SetAcceptedAttachmentsRequest: {
3965
4014
  /**
3966
4015
  * Accepted Attachments
3967
- * @description The input attachments the trigger accepts; ``null`` accepts any files (one attachment named ``files``). Only ``dynamic_input`` and ``email_received`` triggers take files.
4016
+ * @description The input attachments the trigger accepts; ``null`` accepts any files (one attachment named ``files``). Only ``dynamic_input``, ``email_received`` and ``slack_command`` triggers take files.
3968
4017
  */
3969
4018
  accepted_attachments: components["schemas"]["AcceptedAttachmentSlot"][] | null;
3970
4019
  };
@@ -3976,6 +4025,54 @@ interface components {
3976
4025
  /** Mode */
3977
4026
  mode: string;
3978
4027
  };
4028
+ /**
4029
+ * SetSlackTriggerConfigApiRequest
4030
+ * @description Omitted fields are left unchanged.
4031
+ */
4032
+ SetSlackTriggerConfigApiRequest: {
4033
+ /** @description `everywhere` in scope, or `channel_opt_in`. */
4034
+ activation?: components["schemas"]["SlackTriggerActivation"] | null;
4035
+ /**
4036
+ * Allow Dms
4037
+ * @description Runnable in the app's own DMs.
4038
+ */
4039
+ allow_dms?: boolean | null;
4040
+ /** Channel Ids */
4041
+ channel_ids?: string[] | null;
4042
+ /**
4043
+ * Form
4044
+ * @description Form fields `{key, label, type, required, hint, choices, max_length}`. `type`: short_text, long_text, number, single_choice, multi_choice, yes_no, date, slack_user or slack_channel. Each value reaches the run as `{{metadata.<key>}}`.
4045
+ */
4046
+ form?: {
4047
+ [key: string]: unknown;
4048
+ }[] | null;
4049
+ /** Include Invoker Email */
4050
+ include_invoker_email?: boolean | null;
4051
+ /**
4052
+ * Input
4053
+ * @description The trigger's input template. Each `{{metadata.<key>}}` in it must be a form field key or a platform key; it is checked together with `form`.
4054
+ */
4055
+ input?: string | null;
4056
+ /** Max Turns */
4057
+ max_turns?: number | null;
4058
+ /**
4059
+ * Mcp Client Id
4060
+ * @description The account's connected Slack (Bot) MCP client.
4061
+ */
4062
+ mcp_client_id?: string | null;
4063
+ /** Notify Failure After Answer */
4064
+ notify_failure_after_answer?: boolean | null;
4065
+ /** @description `selected_channels` (see `channel_ids`) or `bot_channels`. */
4066
+ scope?: components["schemas"]["SlackTriggerScope"] | null;
4067
+ /** Start Without Form */
4068
+ start_without_form?: boolean | null;
4069
+ /** Turns Anyone */
4070
+ turns_anyone?: boolean | null;
4071
+ /** Turns Enabled */
4072
+ turns_enabled?: boolean | null;
4073
+ /** @description `channel`, or `private` (replies in the person's DM). */
4074
+ visibility?: components["schemas"]["SlackReplyVisibility"] | null;
4075
+ };
3979
4076
  /**
3980
4077
  * SkippedAttachmentReason
3981
4078
  * @enum {string}
@@ -4004,6 +4101,69 @@ interface components {
4004
4101
  */
4005
4102
  size_bytes: number | null;
4006
4103
  };
4104
+ /**
4105
+ * SlackReplyVisibility
4106
+ * @enum {string}
4107
+ */
4108
+ SlackReplyVisibility: "channel" | "private";
4109
+ /**
4110
+ * SlackTriggerActivation
4111
+ * @enum {string}
4112
+ */
4113
+ SlackTriggerActivation: "everywhere" | "channel_opt_in";
4114
+ /** SlackTriggerConfigApiResponse */
4115
+ SlackTriggerConfigApiResponse: {
4116
+ /** Activation */
4117
+ activation: string;
4118
+ /**
4119
+ * Agent Id
4120
+ * Format: uuid
4121
+ */
4122
+ agent_id: string;
4123
+ /** Allow Dms */
4124
+ allow_dms: boolean;
4125
+ /** Channel Ids */
4126
+ channel_ids: string[];
4127
+ /** Form */
4128
+ form: {
4129
+ [key: string]: unknown;
4130
+ }[];
4131
+ /** Include Invoker Email */
4132
+ include_invoker_email: boolean;
4133
+ /** Max Turns */
4134
+ max_turns: number | null;
4135
+ /** Mcp Client Id */
4136
+ mcp_client_id: string | null;
4137
+ /**
4138
+ * Missing Scopes
4139
+ * @description Scopes the Slack connection lacks for optional features.
4140
+ */
4141
+ missing_scopes: string[];
4142
+ /** Notify Failure After Answer */
4143
+ notify_failure_after_answer: boolean;
4144
+ /** Scope */
4145
+ scope: string;
4146
+ /** Slack Team Id */
4147
+ slack_team_id: string | null;
4148
+ /** Start Without Form */
4149
+ start_without_form: boolean;
4150
+ /**
4151
+ * Trigger Id
4152
+ * Format: uuid
4153
+ */
4154
+ trigger_id: string;
4155
+ /** Turns Anyone */
4156
+ turns_anyone: boolean;
4157
+ /** Turns Enabled */
4158
+ turns_enabled: boolean;
4159
+ /** Visibility */
4160
+ visibility: string;
4161
+ };
4162
+ /**
4163
+ * SlackTriggerScope
4164
+ * @enum {string}
4165
+ */
4166
+ SlackTriggerScope: "selected_channels" | "bot_channels";
4007
4167
  /** SolutionSourceConnectionResponse */
4008
4168
  SolutionSourceConnectionResponse: {
4009
4169
  /**
@@ -4170,7 +4330,7 @@ interface components {
4170
4330
  extracted_media_limit?: number | null;
4171
4331
  /**
4172
4332
  * Held For Review
4173
- * @description An ENFORCE governance policy blocked this item at import. It is held for review and is not retrievable: resolving its blocking evaluations releases it into the source, and it is purged when the hold window ends.
4333
+ * @description An ENFORCE governance policy blocked this item at import. It is held for review and is not retrievable: resolving its blocking evaluations releases it into the source; left unresolved, it is purged when the hold window ends.
4174
4334
  * @default false
4175
4335
  */
4176
4336
  held_for_review: boolean;
@@ -4194,9 +4354,14 @@ interface components {
4194
4354
  * @description Timestamp when the item was uploaded or pulled.
4195
4355
  */
4196
4356
  pulled_at: string;
4357
+ /**
4358
+ * Release Waiting Reason
4359
+ * @description Set on a held item review approved whose release was refused: why it waits, the account being unable to pay for it or the source's spend limit having no room for it. Its release is retried; null until one is refused.
4360
+ */
4361
+ release_waiting_reason?: string | null;
4197
4362
  /**
4198
4363
  * Source Connection Content Version Id
4199
- * @description ID to pass to `GET /contents/{id}`. `null` until the item has finished indexing — an item that is still processing, or that failed, has no retrievable content and keeps this `null`.
4364
+ * @description ID to pass to `GET /contents/{id}`. `null` while the item has no retrievable content.
4200
4365
  */
4201
4366
  source_connection_content_version_id: string | null;
4202
4367
  /**
@@ -4404,6 +4569,11 @@ interface components {
4404
4569
  id: string;
4405
4570
  /** @description Index mode for custom_index sources: fast_and_cheap, balanced, slow_and_thorough, or custom. */
4406
4571
  index_mode?: components["schemas"]["SourceIndexMode"] | null;
4572
+ /**
4573
+ * Max Credits Per Period
4574
+ * @description The source's spend limit: credits it may commit per billing period. Null when it has none.
4575
+ */
4576
+ max_credits_per_period?: number | null;
4407
4577
  /**
4408
4578
  * Media Types
4409
4579
  * @description Media kinds in a web page's main content that are attached to the page's item and indexed (subset of ['images', 'video']). On a website or RSS source 'images' also covers the images inside PDF, DOCX, PPTX and XLSX files.
@@ -4455,6 +4625,22 @@ interface components {
4455
4625
  * @description Type of the source connection.
4456
4626
  */
4457
4627
  source_type: string;
4628
+ /**
4629
+ * @description What the source does once it reaches its spend limit.
4630
+ * @default stop
4631
+ */
4632
+ spend_cap_action: components["schemas"]["SpendCapAction"];
4633
+ /**
4634
+ * @description Which entries a `delete` spend limit removes first.
4635
+ * @default oldest_added
4636
+ */
4637
+ spend_cap_delete_order: components["schemas"]["SpendCapDeleteOrder"];
4638
+ /**
4639
+ * Spend Cap Reached
4640
+ * @description True while the spend limit refuses uploads and email to this source.
4641
+ * @default false
4642
+ */
4643
+ spend_cap_reached: boolean;
4458
4644
  /**
4459
4645
  * System Managed
4460
4646
  * @description Indicates if this source is automatically managed by the system (e.g., agent traces).
@@ -4472,6 +4658,17 @@ interface components {
4472
4658
  */
4473
4659
  url: string | null;
4474
4660
  };
4661
+ /**
4662
+ * SpendCapAction
4663
+ * @enum {string}
4664
+ */
4665
+ SpendCapAction: "stop" | "delete";
4666
+ /**
4667
+ * SpendCapDeleteOrder
4668
+ * @description Which entries a DELETE cap removes first.
4669
+ * @enum {string}
4670
+ */
4671
+ SpendCapDeleteOrder: "oldest_added" | "oldest_published" | "largest_first";
4475
4672
  /**
4476
4673
  * StandaloneTestCompactionRequest
4477
4674
  * @description Request body for testing a compaction prompt *without* an existing bank.
@@ -4884,6 +5081,11 @@ interface components {
4884
5081
  * @description Kinds of file listed beside a feed item's content to attach to the item and index, on an RSS source. Subset of ['enclosures', 'item_image', 'media_rss']; any other value is refused. [] attaches none. Applies to items added after it changes. Omit the field to leave it unchanged.
4885
5082
  */
4886
5083
  feed_attachments?: string[] | null;
5084
+ /**
5085
+ * Max Credits Per Period
5086
+ * @description Spend limit: the credits this source may commit per billing period — what the account was charged for it this period plus the storage of what it holds until the period ends. Send null to remove the limit; omit to leave it unchanged.
5087
+ */
5088
+ max_credits_per_period?: number | null;
4887
5089
  /**
4888
5090
  * Media Types
4889
5091
  * @description Media kinds in a web page's main content to attach to the page's item and index, on a website or RSS source. Subset of ['images', 'video']. From `Seclai-Version: 2026-10-13` any other value, and any kind on another source type, is refused with a 400; older versions drop an unknown value and store the rest. A kind the source's embedder cannot index is stored and not indexed (see `supported_input_media` on GET /models/embedders). [] attaches no media from web pages. 'images' also covers the images inside PDF, DOCX, PPTX and XLSX files. Applies to pages and documents added after it changes.
@@ -4904,6 +5106,10 @@ interface components {
4904
5106
  * @description New retention period in days — content older than this is deleted permanently. Send null to clear the window: content is then kept indefinitely. Omit the field to leave it unchanged.
4905
5107
  */
4906
5108
  retention_days?: number | null;
5109
+ /** @description Once the limit is reached: `stop` refuses new content; `delete` deletes entries, in `spend_cap_delete_order`, to make room, and refuses new content as `stop` does once spend already fills the limit. Deleting does not return credits already spent. */
5110
+ spend_cap_action?: components["schemas"]["SpendCapAction"] | null;
5111
+ /** @description Which entries `delete` removes first: `oldest_added`, `oldest_published` or `largest_first`. */
5112
+ spend_cap_delete_order?: components["schemas"]["SpendCapDeleteOrder"] | null;
4907
5113
  };
4908
5114
  /** UploadAgentInputApiResponse */
4909
5115
  UploadAgentInputApiResponse: {
@@ -5163,9 +5369,15 @@ interface components {
5163
5369
  } | null;
5164
5370
  /**
5165
5371
  * Agent Template
5166
- * @description Template to initialize the agent from. Values: blank, retrieval_example, simple_qa, summarizer, json_extractor, content_change_notifier, scheduled_report, webhook_pipeline.
5372
+ * @description Agent gallery entry to start from: a `key` from GET /agents/examples, or `blank`. The keys retrieval_example and simple_qa remain accepted for their gallery entries.
5167
5373
  */
5168
5374
  agent_template?: string | null;
5375
+ /**
5376
+ * Create Missing Resources
5377
+ * @description For an `agent_template`: create each creatable resource slot left out of `resource_bindings`, and group the agent with them in a new solution. When false, an unbound slot the template needs is an error.
5378
+ * @default false
5379
+ */
5380
+ create_missing_resources: boolean;
5169
5381
  /**
5170
5382
  * Description
5171
5383
  * @description Optional description.
@@ -5183,12 +5395,18 @@ interface components {
5183
5395
  * @description Name for the new agent.
5184
5396
  */
5185
5397
  name: string;
5398
+ /**
5399
+ * Resource Bindings
5400
+ * @description For an `agent_template`: the existing resource to use for each of the template's resource slots, as {slot: resource_id}. GET /agents/examples lists each template's slots.
5401
+ */
5402
+ resource_bindings?: {
5403
+ [key: string]: string;
5404
+ } | null;
5186
5405
  /**
5187
5406
  * Trigger Type
5188
- * @description Trigger type: dynamic_input, template_input, schedule, new_content, email_received.
5189
- * @default dynamic_input
5407
+ * @description Defaults to dynamic_input, or to the template's own trigger type for an `agent_template` without `agent_definition`.
5190
5408
  */
5191
- trigger_type: string;
5409
+ trigger_type?: string | null;
5192
5410
  };
5193
5411
  /**
5194
5412
  * GovernancePolicyRefResponse
@@ -5254,6 +5472,12 @@ interface components {
5254
5472
  agent_definition?: {
5255
5473
  [key: string]: unknown;
5256
5474
  } | null;
5475
+ /**
5476
+ * Apply Import Run Limits
5477
+ * @description With `agent_definition`, also replace the agent's run limits with the payload's (a null there removes a limit). Off by default: the agent keeps its limits.
5478
+ * @default false
5479
+ */
5480
+ apply_import_run_limits: boolean;
5257
5481
  /**
5258
5482
  * Default Evaluation Tier
5259
5483
  * @description Default evaluation tier: 'fast', 'balanced', or 'thorough'.
@@ -5276,11 +5500,36 @@ interface components {
5276
5500
  * @description Evaluation mode: 'output_expectation', 'eval_and_retry', or 'sample_and_flag'.
5277
5501
  */
5278
5502
  evaluation_mode?: string | null;
5503
+ /**
5504
+ * Max Credits Per Period
5505
+ * @description Credit limit per billing period of the paying account: once reached, runs stop at their next step and new runs are refused.
5506
+ */
5507
+ max_credits_per_period?: number | null;
5508
+ /**
5509
+ * Max Credits Per Run
5510
+ * @description Credit limit per run: a run that reaches it is stopped before its next step.
5511
+ */
5512
+ max_credits_per_run?: number | null;
5279
5513
  /**
5280
5514
  * Max Retries
5281
5515
  * @description Max retries for eval_and_retry mode (1-10).
5282
5516
  */
5283
5517
  max_retries?: number | null;
5518
+ /**
5519
+ * Max Runs Per Day
5520
+ * @description Runs per day; at most the plan's run quota.
5521
+ */
5522
+ max_runs_per_day?: number | null;
5523
+ /**
5524
+ * Max Runs Per Hour
5525
+ * @description Runs per hour; at most the plan's run quota.
5526
+ */
5527
+ max_runs_per_hour?: number | null;
5528
+ /**
5529
+ * Max Runs Total
5530
+ * @description Runs in total; once reached, new runs are refused.
5531
+ */
5532
+ max_runs_total?: number | null;
5284
5533
  /**
5285
5534
  * Name
5286
5535
  * @description New name for the agent.
@@ -5316,6 +5565,36 @@ interface components {
5316
5565
  * @default false
5317
5566
  */
5318
5567
  set_default_evaluation_tier: boolean;
5568
+ /**
5569
+ * Set Max Credits Per Period
5570
+ * @description When true and max_credits_per_period is omitted, removes the limit.
5571
+ * @default false
5572
+ */
5573
+ set_max_credits_per_period: boolean;
5574
+ /**
5575
+ * Set Max Credits Per Run
5576
+ * @description When true and max_credits_per_run is omitted, removes the limit.
5577
+ * @default false
5578
+ */
5579
+ set_max_credits_per_run: boolean;
5580
+ /**
5581
+ * Set Max Runs Per Day
5582
+ * @description When true and max_runs_per_day is omitted, removes the limit.
5583
+ * @default false
5584
+ */
5585
+ set_max_runs_per_day: boolean;
5586
+ /**
5587
+ * Set Max Runs Per Hour
5588
+ * @description When true and max_runs_per_hour is omitted, removes the limit.
5589
+ * @default false
5590
+ */
5591
+ set_max_runs_per_hour: boolean;
5592
+ /**
5593
+ * Set Max Runs Total
5594
+ * @description When true and max_runs_total is omitted, removes the limit.
5595
+ * @default false
5596
+ */
5597
+ set_max_runs_total: boolean;
5319
5598
  /**
5320
5599
  * Set Prompt Model Auto Rollback Triggers
5321
5600
  * @description When true and prompt_model_auto_rollback_triggers is omitted, clears the list to null (revert to system defaults).
@@ -6679,6 +6958,14 @@ interface components {
6679
6958
  * are regenerated.
6680
6959
  */
6681
6960
 
6961
+ /**
6962
+ * `T` with the keys `K` optional. openapi-typescript marks every property that
6963
+ * declares a `default` as required, which is right for a response (the server
6964
+ * always sends it) and wrong for a request body (the server fills it in). Apply
6965
+ * this to a request type's server-defaulted keys only; the test
6966
+ * "request types leave server-defaulted fields optional" lists them from the spec.
6967
+ */
6968
+ type WithServerDefaults<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
6682
6969
  /** JSON-serializable values accepted/returned by the SDK's low-level `request()` method. */
6683
6970
  type JSONValue = {
6684
6971
  [key: string]: JSONValue;
@@ -6704,6 +6991,70 @@ type MeResponse = components["schemas"]["MeResponse"];
6704
6991
  type OrganizationInfoResponse = components["schemas"]["OrganizationInfoResponse"];
6705
6992
  /** Paginated list of agents. */
6706
6993
  type AgentListResponse = components["schemas"]["routers__api__agents__AgentListResponse"];
6994
+ /**
6995
+ * A page of the agent gallery. Each entry's `key` goes in `agent_template` on
6996
+ * {@link CreateAgentRequest}, with `resource_bindings` for the resources it needs.
6997
+ */
6998
+ type AgentExampleListResponse = Omit<components["schemas"]["AgentExampleListResponse"], "data"> & {
6999
+ data: AgentExample[];
7000
+ };
7001
+ /**
7002
+ * A resource an {@link AgentExample} needs: bind it in `resource_bindings` under
7003
+ * `slot`, or let `create_missing_resources` create it when `creatable`.
7004
+ */
7005
+ interface AgentExampleResource {
7006
+ /** Slot name, the key in `resource_bindings`. */
7007
+ slot: string;
7008
+ /** Resource kind: knowledge_base, memory_bank, source_connection, mcp_client or cloud_drive_connection. */
7009
+ kind: string;
7010
+ /** Display name of the slot. */
7011
+ label: string;
7012
+ /** What the slot is used for. */
7013
+ description: string;
7014
+ /** The id that stands for this resource in `definition`. */
7015
+ placeholder: string;
7016
+ /** Whether `create_missing_resources` can create it. When false it must be bound to an existing resource. */
7017
+ creatable: boolean;
7018
+ /** For a memory_bank slot, the bank type a bound bank must have. */
7019
+ memory_bank_type: string | null;
7020
+ /** Whether the steps in `definition` name this slot. */
7021
+ named_in_definition: boolean;
7022
+ /** Whether the entry's trigger names this slot; it applies only when the agent keeps the entry's trigger type. */
7023
+ named_in_trigger: boolean;
7024
+ /** Slots whose creation uses this one. */
7025
+ named_in_create_of: string[];
7026
+ }
7027
+ /**
7028
+ * One agent gallery entry from {@link Seclai.listAgentExamples}. Pass `key` as
7029
+ * `agent_template` on {@link CreateAgentRequest}.
7030
+ *
7031
+ * Typed by hand: the spec declares the list's items without a schema.
7032
+ */
7033
+ interface AgentExample {
7034
+ /** Pass as `agent_template` when creating an agent. */
7035
+ key: string;
7036
+ title: string;
7037
+ summary: string;
7038
+ use_cases: string[];
7039
+ tags: string[];
7040
+ /** Other `agent_template` values that create this entry. */
7041
+ aliases: string[];
7042
+ /** A request to the AI assistant that describes this agent. */
7043
+ prompt: string;
7044
+ /** The trigger type the entry is built for. */
7045
+ trigger_type: string;
7046
+ /** The date the entry was added to the gallery, `YYYY-MM-DD`. */
7047
+ created_at: string;
7048
+ /** The template_input trigger's input, when the entry sets one. */
7049
+ trigger_input: string | null;
7050
+ /** The template_input trigger's schedules, applied on create when the trigger type is the entry's own. */
7051
+ schedules: Record<string, unknown>[];
7052
+ /** The trigger's declared attachment slots. Empty when the entry declares none. */
7053
+ accepted_attachments: Record<string, unknown>[];
7054
+ resources: AgentExampleResource[];
7055
+ /** The agent definition, naming each resource by its placeholder. */
7056
+ definition: Record<string, unknown>;
7057
+ }
6707
7058
  /** Full agent configuration including definition and metadata. */
6708
7059
  type AgentDefinitionResponse = components["schemas"]["AgentDefinitionResponse"];
6709
7060
  /** Portable JSON snapshot of an agent definition. */
@@ -6716,11 +7067,18 @@ type AgentSummaryResponse = components["schemas"]["AgentSummaryResponse"];
6716
7067
  * `accepted_attachments` takes {@link AcceptedAttachmentSlotInput}, so a slot's
6717
7068
  * server-defaulted `min` can be omitted.
6718
7069
  */
6719
- type CreateAgentRequest = Omit<components["schemas"]["routers__api__agents__CreateAgentRequest"], "accepted_attachments"> & {
7070
+ type CreateAgentRequest = Omit<WithServerDefaults<components["schemas"]["routers__api__agents__CreateAgentRequest"], "create_missing_resources">, "accepted_attachments"> & {
6720
7071
  accepted_attachments?: AcceptedAttachmentSlotInput[] | null;
6721
7072
  };
6722
- /** Request body for updating an agent. */
6723
- type UpdateAgentRequest = components["schemas"]["routers__api__agents__UpdateAgentRequest"];
7073
+ /**
7074
+ * Request body for updating an agent. Every field is optional.
7075
+ *
7076
+ * To remove a run or credit limit, send its `set_max_*` flag as `true` and omit
7077
+ * the matching `max_*` field. The `set_*` flags and `apply_import_run_limits`
7078
+ * default to `false` on the server; the generated schema marks them required
7079
+ * only because they declare a default.
7080
+ */
7081
+ type UpdateAgentRequest = Partial<components["schemas"]["routers__api__agents__UpdateAgentRequest"]>;
6724
7082
  /**
6725
7083
  * Request body for updating an agent definition (steps, model, etc.).
6726
7084
  *
@@ -6783,12 +7141,26 @@ type AgentCallerApiResponse = components["schemas"]["AgentCallerApiResponse"];
6783
7141
  type SetEmailTriggerConfigRequest = components["schemas"]["routers__api__agents__SetEmailTriggerConfigRequest"];
6784
7142
  /** An `EMAIL_RECEIVED` trigger's resolved email address(es) and inbound-handling config. */
6785
7143
  type EmailTriggerConfigResponse = components["schemas"]["EmailTriggerConfigResponse"];
7144
+ /**
7145
+ * Request body for configuring a `SLACK_COMMAND` trigger.
7146
+ *
7147
+ * Every field is optional, and an omitted field is left unchanged.
7148
+ */
7149
+ type SetSlackTriggerConfigRequest = components["schemas"]["SetSlackTriggerConfigApiRequest"];
7150
+ /** A `SLACK_COMMAND` trigger's Slack connection, form, channels and conversation settings. */
7151
+ type SlackTriggerConfigResponse = components["schemas"]["SlackTriggerConfigApiResponse"];
7152
+ /** Where a Slack trigger runs within its scope: `everywhere` or `channel_opt_in`. */
7153
+ type SlackTriggerActivation = components["schemas"]["SlackTriggerActivation"];
7154
+ /** Which channels a Slack trigger covers: `selected_channels` or `bot_channels`. */
7155
+ type SlackTriggerScope = components["schemas"]["SlackTriggerScope"];
7156
+ /** Who sees a Slack trigger's reply: `channel` or `private`. */
7157
+ type SlackReplyVisibility = components["schemas"]["SlackReplyVisibility"];
6786
7158
  /** A recipient's opt-out from an account's agent emails (one agent, or account-wide). */
6787
7159
  type AgentEmailOptOutResponse = components["schemas"]["AgentEmailOptOutResponse"];
6788
7160
  /** A page of agent-email opt-outs plus the total count. */
6789
7161
  type AgentEmailOptOutListResponse = VersionedList<components["schemas"]["AgentEmailOptOutListResponse"], "items">;
6790
7162
  /** Request body for blocking an inbound email sender or domain. */
6791
- type BlockEmailSenderRequest = components["schemas"]["BlockEmailSenderRequest"];
7163
+ type BlockEmailSenderRequest = WithServerDefaults<components["schemas"]["BlockEmailSenderRequest"], "match_type">;
6792
7164
  /** A single blocked inbound email sender. */
6793
7165
  type BlockedEmailSenderResponse = components["schemas"]["BlockedEmailSenderResponse"];
6794
7166
  /** A page of blocked senders plus the account's governance auto-block mode. */
@@ -6808,14 +7180,9 @@ type CancelQueuedRunsResponse = components["schemas"]["CancelQueuedRunsResponse"
6808
7180
  /** Result of manually lifting the inbound-email pause. */
6809
7181
  type ResumeInboundResponse = components["schemas"]["ResumeInboundResponse"];
6810
7182
  /** Request body for starting an agent run. */
6811
- type AgentRunRequest = components["schemas"]["AgentRunRequest"];
6812
- /**
6813
- * Request body for starting an agent run in streaming mode (SSE).
6814
- *
6815
- * `include_reasoning` has a server-side default of `false` and stays optional —
6816
- * the generated type marks it required only because the schema declares a default.
6817
- */
6818
- type AgentRunStreamRequest = Omit<components["schemas"]["AgentRunStreamRequest"], "include_reasoning"> & Partial<Pick<components["schemas"]["AgentRunStreamRequest"], "include_reasoning">>;
7183
+ type AgentRunRequest = WithServerDefaults<components["schemas"]["AgentRunRequest"], "priority">;
7184
+ /** Request body for starting an agent run in streaming mode (SSE). `include_reasoning` defaults to `false`. */
7185
+ type AgentRunStreamRequest = WithServerDefaults<components["schemas"]["AgentRunStreamRequest"], "include_reasoning">;
6819
7186
  /** Response body describing an agent run. */
6820
7187
  type AgentRunResponse = components["schemas"]["AgentRunResponse"];
6821
7188
  /** Paginated list of agent runs. */
@@ -6829,7 +7196,7 @@ type AgentRunFileResponse = components["schemas"]["AgentRunFileResponse"];
6829
7196
  /** A single LLM tool call made during a `prompt_call` step (within {@link AgentRunStepResponse}'s `tool_calls`). */
6830
7197
  type AgentRunToolCallResponse = components["schemas"]["AgentRunToolCallResponse"];
6831
7198
  /** Search request for agent runs (traces). */
6832
- type AgentTraceSearchRequest = components["schemas"]["routers__api__agents__AgentTraceSearchRequest"];
7199
+ type AgentTraceSearchRequest = WithServerDefaults<components["schemas"]["routers__api__agents__AgentTraceSearchRequest"], "top_n">;
6833
7200
  /** Search response containing matching agent runs. */
6834
7201
  type AgentTraceSearchResponse = components["schemas"]["AgentTraceSearchResponse"];
6835
7202
  /** Individual match within an agent trace search. */
@@ -6844,7 +7211,7 @@ type AgentAttachmentRefsApiResponse = components["schemas"]["AgentAttachmentRefs
6844
7211
  /** Per-source attachment-reference summary (exact names, indexes, glob patterns) within an {@link AgentAttachmentRefsApiResponse}. */
6845
7212
  type AttachmentRefsSourceApiSummary = components["schemas"]["AttachmentRefsSourceApiSummary"];
6846
7213
  /** Request body for generating agent workflow steps via AI. */
6847
- type GenerateAgentStepsRequest = components["schemas"]["GenerateAgentStepsRequest"];
7214
+ type GenerateAgentStepsRequest = WithServerDefaults<components["schemas"]["GenerateAgentStepsRequest"], "mode">;
6848
7215
  /** Response containing AI-generated agent workflow steps. */
6849
7216
  type GenerateAgentStepsResponse = components["schemas"]["GenerateAgentStepsResponse"];
6850
7217
  /** Request body for generating a single step config via AI. */
@@ -6938,7 +7305,7 @@ type EvaluationCriteriaListResponse = {
6938
7305
  pagination?: PaginationResponse;
6939
7306
  };
6940
7307
  /** Request body for creating evaluation criteria. */
6941
- type CreateEvaluationCriteriaRequest = components["schemas"]["CreateEvaluationCriteriaRequest"];
7308
+ type CreateEvaluationCriteriaRequest = WithServerDefaults<components["schemas"]["CreateEvaluationCriteriaRequest"], "enabled" | "pass_threshold">;
6942
7309
  /** Request body for updating evaluation criteria. */
6943
7310
  type UpdateEvaluationCriteriaRequest = components["schemas"]["UpdateEvaluationCriteriaRequest"];
6944
7311
  /** Individual evaluation result. */
@@ -6946,7 +7313,7 @@ type EvaluationResultResponse = components["schemas"]["EvaluationResultResponse"
6946
7313
  /** Paginated list of evaluation results. */
6947
7314
  type EvaluationResultListResponse = VersionedList<components["schemas"]["EvaluationResultListResponse"], "data">;
6948
7315
  /** Request body for creating a manual evaluation result. */
6949
- type CreateEvaluationResultRequest = components["schemas"]["CreateEvaluationResultRequest"];
7316
+ type CreateEvaluationResultRequest = WithServerDefaults<components["schemas"]["CreateEvaluationResultRequest"], "flagged" | "retry_count" | "retry_triggered">;
6950
7317
  /** Summary of evaluation results for a criteria. */
6951
7318
  type EvaluationResultSummaryResponse = components["schemas"]["EvaluationResultSummaryResponse"];
6952
7319
  /** Evaluation result with its associated criteria. */
@@ -6982,7 +7349,7 @@ type NonManualEvaluationSummaryResponse = components["schemas"]["schemas__v1__ag
6982
7349
  /** Per-mode stats within a non-manual evaluation summary. */
6983
7350
  type NonManualEvaluationModeStatResponse = components["schemas"]["schemas__v1__agent_evaluations__NonManualEvaluationModeStatResponse"];
6984
7351
  /** Request for testing a draft evaluation. */
6985
- type TestDraftEvaluationRequest = components["schemas"]["TestDraftEvaluationRequest"];
7352
+ type TestDraftEvaluationRequest = WithServerDefaults<components["schemas"]["TestDraftEvaluationRequest"], "pass_threshold">;
6986
7353
  /**
6987
7354
  * Response from testing a draft evaluation. When `status` is `error` (no
6988
7355
  * verdict), `score` and `passed` are `null` with `apiVersion` `2026-10-21` or
@@ -7014,7 +7381,7 @@ type MemoryBankListResponse = VersionedList<components["schemas"]["MemoryBankLis
7014
7381
  /** Full memory bank configuration and metadata. */
7015
7382
  type MemoryBankResponse = components["schemas"]["MemoryBankResponseModel"];
7016
7383
  /** Request body for creating a memory bank. */
7017
- type CreateMemoryBankBody = components["schemas"]["CreateMemoryBankBody"];
7384
+ type CreateMemoryBankBody = WithServerDefaults<components["schemas"]["CreateMemoryBankBody"], "mode" | "strip_quoted_reply_chains" | "type">;
7018
7385
  /** Request body for updating a memory bank. */
7019
7386
  type UpdateMemoryBankBody = components["schemas"]["UpdateMemoryBankBody"];
7020
7387
  /** Memory bank AI assistant request. */
@@ -7030,11 +7397,11 @@ type MemoryBankLastConversationResponse = components["schemas"]["routers__api__m
7030
7397
  /** Individual turn in a memory bank AI conversation. */
7031
7398
  type MemoryBankConversationTurnResponse = components["schemas"]["routers__api__memory_banks__MemoryBankConversationTurnResponse"];
7032
7399
  /** Compaction test request for memory banks. */
7033
- type TestCompactionRequest = components["schemas"]["TestCompactionRequest"];
7400
+ type TestCompactionRequest = WithServerDefaults<components["schemas"]["TestCompactionRequest"], "entry_count">;
7034
7401
  /** Compaction test response. */
7035
7402
  type CompactionTestResponse = components["schemas"]["CompactionTestResponseModel"];
7036
7403
  /** Standalone compaction test request. */
7037
- type StandaloneTestCompactionRequest = components["schemas"]["StandaloneTestCompactionRequest"];
7404
+ type StandaloneTestCompactionRequest = WithServerDefaults<components["schemas"]["StandaloneTestCompactionRequest"], "bank_type" | "entry_count">;
7038
7405
  /** Compaction evaluation model result. */
7039
7406
  type CompactionEvaluationModel = components["schemas"]["CompactionEvaluationModel"];
7040
7407
  /** Paginated list of sources. */
@@ -7047,12 +7414,19 @@ type SourceConnectionResponse = components["schemas"]["SourceConnectionResponseM
7047
7414
  type CreateSourceBody = components["schemas"]["CreateSourceBody"];
7048
7415
  /** Request body for updating a source. */
7049
7416
  type UpdateSourceBody = components["schemas"]["UpdateSourceBody"];
7417
+ /** What a source does when it reaches `max_credits_per_period`: `stop` or `delete`. */
7418
+ type SpendCapAction = components["schemas"]["SpendCapAction"];
7419
+ /**
7420
+ * Which entries a `delete` spend cap removes first: `oldest_added`,
7421
+ * `oldest_published` or `largest_first`.
7422
+ */
7423
+ type SpendCapDeleteOrder = components["schemas"]["SpendCapDeleteOrder"];
7050
7424
  /** Upload response for file uploads to a source. */
7051
7425
  type FileUploadResponse = components["schemas"]["routers__api__sources__FileUploadResponse"];
7052
7426
  /** Request body for uploading inline text to a source. */
7053
- type InlineTextUploadRequest = components["schemas"]["InlineTextUploadRequest"];
7427
+ type InlineTextUploadRequest = WithServerDefaults<components["schemas"]["InlineTextUploadRequest"], "content_type">;
7054
7428
  /** Request body for replacing content with inline text. */
7055
- type InlineTextReplaceRequest = components["schemas"]["InlineTextReplaceRequest"];
7429
+ type InlineTextReplaceRequest = WithServerDefaults<components["schemas"]["InlineTextReplaceRequest"], "content_type">;
7056
7430
  /** One content item's indexing status within a source. */
7057
7431
  type SourceContentStatusResponse = components["schemas"]["SourceContentStatusResponse"];
7058
7432
  /** Paginated list of a source's content items and their indexing status. */
@@ -7123,7 +7497,7 @@ type SolutionResponse = components["schemas"]["routers__api__solutions__Solution
7123
7497
  /** Summary of a solution. */
7124
7498
  type SolutionSummaryResponse = components["schemas"]["SolutionSummaryResponse"];
7125
7499
  /** Request body for creating a solution. */
7126
- type CreateSolutionRequest = components["schemas"]["CreateSolutionRequest"];
7500
+ type CreateSolutionRequest = WithServerDefaults<components["schemas"]["CreateSolutionRequest"], "description">;
7127
7501
  /** Request body for updating a solution. */
7128
7502
  type UpdateSolutionRequest = components["schemas"]["UpdateSolutionRequest"];
7129
7503
  /** Agent within a solution. */
@@ -7143,7 +7517,7 @@ type AiAssistantGenerateRequest = components["schemas"]["routers__api__solutions
7143
7517
  /** AI assistant generate response for solutions. */
7144
7518
  type AiAssistantGenerateResponse = components["schemas"]["AiAssistantGenerateResponse"];
7145
7519
  /** AI assistant accept request for solutions. */
7146
- type AiAssistantAcceptRequest = components["schemas"]["routers__api__solutions__AiAssistantAcceptRequest"];
7520
+ type AiAssistantAcceptRequest = WithServerDefaults<components["schemas"]["routers__api__solutions__AiAssistantAcceptRequest"], "confirm_deletions">;
7147
7521
  /** AI assistant accept response for solutions. */
7148
7522
  type AiAssistantAcceptResponse = components["schemas"]["AiAssistantAcceptResponse"];
7149
7523
  /** Proposed action in a solution AI plan. */
@@ -7167,7 +7541,7 @@ type GovernanceProposedPolicyActionResponse = components["schemas"]["ProposedPol
7167
7541
  /** Applied policy action from governance AI. */
7168
7542
  type GovernanceAppliedActionResponse = components["schemas"]["AppliedActionResponse"];
7169
7543
  /** Request body for creating an alert config. */
7170
- type CreateAlertConfigRequest = components["schemas"]["CreateAlertConfigRequest"];
7544
+ type CreateAlertConfigRequest = WithServerDefaults<components["schemas"]["CreateAlertConfigRequest"], "distribution_type" | "enabled">;
7171
7545
  /** Request body for updating an alert config. */
7172
7546
  type UpdateAlertConfigRequest = components["schemas"]["UpdateAlertConfigRequest"];
7173
7547
  /** Request body to change alert status. */
@@ -7213,7 +7587,7 @@ type VariantCategoryResponse = components["schemas"]["VariantCategoryResponse"];
7213
7587
  /** Variant option with credit pricing and context limits. */
7214
7588
  type VariantOptionResponse = components["schemas"]["VariantOptionResponse"];
7215
7589
  /** Request body for creating a model playground experiment. */
7216
- type PlaygroundCreateRequest = components["schemas"]["PlaygroundCreateRequest"];
7590
+ type PlaygroundCreateRequest = WithServerDefaults<components["schemas"]["PlaygroundCreateRequest"], "evaluation_complexity" | "evaluation_mode" | "include_step_output_in_evaluation" | "system_prompt">;
7217
7591
  /**
7218
7592
  * Input type for {@link SeclaiClient.createExperiment}.
7219
7593
  *
@@ -7222,7 +7596,7 @@ type PlaygroundCreateRequest = components["schemas"]["PlaygroundCreateRequest"];
7222
7596
  */
7223
7597
  type CreateExperimentInput = Pick<PlaygroundCreateRequest, "model_ids" | "prompt"> & Partial<Omit<PlaygroundCreateRequest, "model_ids" | "prompt">>;
7224
7598
  /** Request body for adding a vanity or custom agent-email domain. */
7225
- type AddEmailDomainRequest = components["schemas"]["AddEmailDomainRequest"];
7599
+ type AddEmailDomainRequest = WithServerDefaults<components["schemas"]["AddEmailDomainRequest"], "delegated">;
7226
7600
  /**
7227
7601
  * Input type for {@link Seclai.addEmailDomain}.
7228
7602
  *
@@ -7276,6 +7650,122 @@ interface SortableListOptions extends ListOptions {
7276
7650
  /** Sort order. */
7277
7651
  order?: "asc" | "desc";
7278
7652
  }
7653
+ /** Filters for {@link Seclai.listAgentExamples}. */
7654
+ interface ListAgentExamplesOptions extends ListOptions {
7655
+ /** Words every matching example must contain. */
7656
+ query?: string;
7657
+ /** Only examples for this use case. */
7658
+ useCase?: string;
7659
+ }
7660
+ /** Filters for {@link Seclai.listSolutions}. */
7661
+ interface ListSolutionsOptions extends SortableListOptions {
7662
+ /** Keep solutions whose name contains this text (case-insensitive). */
7663
+ search?: string;
7664
+ }
7665
+ /** Filters for {@link Seclai.listMemoryBanks}. */
7666
+ interface ListMemoryBanksOptions extends SortableListOptions {
7667
+ /** Keep only one bank type. */
7668
+ type?: "conversation" | "general" | (string & {});
7669
+ }
7670
+ /** Filters for {@link Seclai.listEvaluationResults}. */
7671
+ interface ListEvaluationResultsOptions extends ListOptions {
7672
+ /** Keep only one result status. */
7673
+ status?: string;
7674
+ /** Keep only flagged results. Defaults to `false`. */
7675
+ flaggedOnly?: boolean;
7676
+ /** Earliest result time, ISO 8601. */
7677
+ timeFrom?: string;
7678
+ /** Latest result time, ISO 8601. */
7679
+ timeTo?: string;
7680
+ }
7681
+ /** Filters for {@link Seclai.listAgentEvaluationResults}. */
7682
+ interface ListAgentEvaluationResultsOptions extends ListEvaluationResultsOptions {
7683
+ /** Keep only results for this agent step. */
7684
+ step?: string;
7685
+ }
7686
+ /** Filters for {@link Seclai.listEvaluationRuns}: those of {@link ListAgentEvaluationResultsOptions} except `flaggedOnly`. */
7687
+ type ListEvaluationRunsOptions = Omit<ListAgentEvaluationResultsOptions, "flaggedOnly">;
7688
+ /** Filters for {@link Seclai.listCompatibleRuns}. */
7689
+ interface ListCompatibleRunsOptions extends ListOptions {
7690
+ /** Only runs started after this time, ISO 8601. */
7691
+ startedAfter?: string;
7692
+ }
7693
+ /**
7694
+ * Date range for {@link Seclai.getNonManualEvaluationSummary},
7695
+ * {@link Seclai.getMemoryBankStats} and {@link Seclai.listExperiments}. Each
7696
+ * endpoint combines the dates with `days` its own way; see the method.
7697
+ */
7698
+ interface DateRangeOptions {
7699
+ /** Days back from today. The server defaults to 30. */
7700
+ days?: number;
7701
+ /** First day, `YYYY-MM-DD`. */
7702
+ startDate?: string;
7703
+ /** Last day, `YYYY-MM-DD`. */
7704
+ endDate?: string;
7705
+ }
7706
+ /** Offset paging. Each method documents its server defaults and bounds. */
7707
+ interface OffsetPageOptions {
7708
+ /** Most items to return. */
7709
+ limit?: number;
7710
+ /** Items to skip. */
7711
+ offset?: number;
7712
+ }
7713
+ /** Filters for {@link Seclai.listAlerts}. */
7714
+ interface ListAlertsOptions extends ListOptions {
7715
+ /** Keep only one alert status. */
7716
+ status?: string;
7717
+ /**
7718
+ * Accepted for compatibility and never sent: `GET /alerts` has no severity
7719
+ * filter.
7720
+ *
7721
+ * @deprecated The API has no severity filter; this never filtered anything.
7722
+ */
7723
+ severity?: string;
7724
+ /** Keep only alerts for this agent. */
7725
+ agentId?: string;
7726
+ /** Keep only alerts for this source connection. */
7727
+ sourceConnectionId?: string;
7728
+ /** Earliest alert time, ISO 8601. */
7729
+ timeFrom?: string;
7730
+ /** Latest alert time, ISO 8601. */
7731
+ timeTo?: string;
7732
+ }
7733
+ /** Filters for {@link Seclai.listAlertConfigs}. */
7734
+ interface ListAlertConfigsOptions extends ListOptions {
7735
+ /** Keep only configs for this agent. */
7736
+ agentId?: string;
7737
+ /** Keep only configs for this source connection. */
7738
+ sourceConnectionId?: string;
7739
+ /** `source` lists the account-level source alert configs. */
7740
+ scope?: "source" | (string & {});
7741
+ }
7742
+ /** Filters for {@link Seclai.listOrganizationAlertPreferences}. */
7743
+ interface ListOrganizationAlertPreferencesOptions {
7744
+ /** Keep only one organization's preferences. */
7745
+ organizationId?: string;
7746
+ /** Also list the default subscription for every alert type. Defaults to `false`. */
7747
+ includeDefaults?: boolean;
7748
+ }
7749
+ /** Filters for {@link Seclai.listModelAlerts}. */
7750
+ interface ListModelAlertsOptions extends ListOptions {
7751
+ /** Keep only alerts for this agent. */
7752
+ agentId?: string;
7753
+ /** Keep only unread alerts. Defaults to `false`. */
7754
+ unreadOnly?: boolean;
7755
+ }
7756
+ /** Requirements for {@link Seclai.getModelRecommendations}. */
7757
+ interface ModelRecommendationsOptions {
7758
+ /** Only models that support tool use. */
7759
+ requireToolUse?: boolean;
7760
+ /** Only models that support structured output. */
7761
+ requireStructuredOutput?: boolean;
7762
+ /** Only models that support thinking. */
7763
+ requireThinking?: boolean;
7764
+ /** Smallest acceptable context window, in tokens. */
7765
+ minContextTokens?: number;
7766
+ /** Smallest acceptable output limit, in tokens. */
7767
+ minOutputTokens?: number;
7768
+ }
7279
7769
 
7280
7770
  /** Default API base URL (can be overridden with `baseUrl` or `SECLAI_API_URL`). */
7281
7771
  declare const SECLAI_API_URL = "https://api.seclai.com";
@@ -7500,6 +7990,16 @@ declare class Seclai {
7500
7990
  * @returns Paginated list of agents.
7501
7991
  */
7502
7992
  listAgents(opts?: ListOptions): Promise<AgentListResponse>;
7993
+ /**
7994
+ * List the agent gallery: example agents to start from.
7995
+ *
7996
+ * Pass an entry's `key` as `agent_template` to {@link createAgent}, with
7997
+ * `resource_bindings` for the resources it needs.
7998
+ *
7999
+ * @param opts - Text search, use-case filter and pagination.
8000
+ * @returns A page of gallery entries.
8001
+ */
8002
+ listAgentExamples(opts?: ListAgentExamplesOptions): Promise<AgentExampleListResponse>;
7503
8003
  /**
7504
8004
  * Create a new agent.
7505
8005
  *
@@ -7883,9 +8383,9 @@ declare class Seclai {
7883
8383
  * List evaluation results for a specific criteria.
7884
8384
  *
7885
8385
  * @param criteriaId - Criteria identifier.
7886
- * @param opts - Pagination options.
8386
+ * @param opts - Pagination, status, flag and time-range filters.
7887
8387
  */
7888
- listEvaluationResults(criteriaId: string, opts?: ListOptions): Promise<EvaluationResultListResponse>;
8388
+ listEvaluationResults(criteriaId: string, opts?: ListEvaluationResultsOptions): Promise<EvaluationResultListResponse>;
7889
8389
  /**
7890
8390
  * Create a manual evaluation result for a criteria.
7891
8391
  *
@@ -7898,9 +8398,9 @@ declare class Seclai {
7898
8398
  * List runs compatible with a specific evaluation criteria.
7899
8399
  *
7900
8400
  * @param criteriaId - Criteria identifier.
7901
- * @param opts - Pagination options.
8401
+ * @param opts - Pagination and a `startedAfter` filter.
7902
8402
  */
7903
- listCompatibleRuns(criteriaId: string, opts?: ListOptions): Promise<CompatibleRunListResponse>;
8403
+ listCompatibleRuns(criteriaId: string, opts?: ListCompatibleRunsOptions): Promise<CompatibleRunListResponse>;
7904
8404
  /**
7905
8405
  * Test a draft evaluation criteria without persisting it.
7906
8406
  *
@@ -7913,22 +8413,25 @@ declare class Seclai {
7913
8413
  * List all evaluation results for an agent.
7914
8414
  *
7915
8415
  * @param agentId - Agent identifier.
7916
- * @param opts - Pagination options.
8416
+ * @param opts - Pagination, status, step, flag and time-range filters.
7917
8417
  */
7918
- listAgentEvaluationResults(agentId: string, opts?: ListOptions): Promise<EvaluationResultWithCriteriaListResponse>;
8418
+ listAgentEvaluationResults(agentId: string, opts?: ListAgentEvaluationResultsOptions): Promise<EvaluationResultWithCriteriaListResponse>;
7919
8419
  /**
7920
8420
  * List evaluation run summaries for an agent.
7921
8421
  *
7922
8422
  * @param agentId - Agent identifier.
7923
- * @param opts - Pagination options.
8423
+ * @param opts - Pagination, status, step and time-range filters.
7924
8424
  */
7925
- listEvaluationRuns(agentId: string, opts?: ListOptions): Promise<EvaluationRunSummaryListResponse>;
8425
+ listEvaluationRuns(agentId: string, opts?: ListEvaluationRunsOptions): Promise<EvaluationRunSummaryListResponse>;
7926
8426
  /**
7927
- * Get a summary of non-manual evaluations across an agent's runs.
8427
+ * Get a summary of non-manual evaluations, for one agent or the whole account.
7928
8428
  *
7929
- * @param agentId - Agent identifier.
8429
+ * @param agentId - Agent identifier. Omit (pass `undefined`) for the account-wide summary.
8430
+ * @param opts - Date range. `startDate` and `endDate` together set the range;
8431
+ * `startDate` alone runs from it through today; otherwise the last `days`
8432
+ * days apply (server default 30), and an `endDate` without `startDate` is ignored.
7930
8433
  */
7931
- getNonManualEvaluationSummary(agentId: string): Promise<NonManualEvaluationSummaryResponse>;
8434
+ getNonManualEvaluationSummary(agentId?: string, opts?: DateRangeOptions): Promise<NonManualEvaluationSummaryResponse>;
7932
8435
  /**
7933
8436
  * Configure an agent's `EMAIL_RECEIVED` trigger and return its computed
7934
8437
  * email address(es).
@@ -7943,6 +8446,19 @@ declare class Seclai {
7943
8446
  * @returns The trigger's resolved addresses and config.
7944
8447
  */
7945
8448
  setEmailTriggerConfig(agentId: string, triggerId: string, body: SetEmailTriggerConfigRequest): Promise<EmailTriggerConfigResponse>;
8449
+ /**
8450
+ * Configure an agent's `SLACK_COMMAND` trigger, which people run from Slack
8451
+ * with `/seclai` or the message shortcut.
8452
+ *
8453
+ * Sets the Slack connection, form, channels, reply visibility and conversation
8454
+ * settings. Omitted fields are left unchanged.
8455
+ *
8456
+ * @param agentId - Agent identifier.
8457
+ * @param triggerId - Trigger identifier.
8458
+ * @param body - The fields to set.
8459
+ * @returns The trigger's full Slack config, including any `missing_scopes`.
8460
+ */
8461
+ setSlackTriggerConfig(agentId: string, triggerId: string, body: SetSlackTriggerConfigRequest): Promise<SlackTriggerConfigResponse>;
7946
8462
  /**
7947
8463
  * Replace the input attachments a trigger accepts.
7948
8464
  *
@@ -7985,10 +8501,7 @@ declare class Seclai {
7985
8501
  * @param opts.limit - Page size (1-200, default 50).
7986
8502
  * @param opts.offset - Rows to skip (default 0).
7987
8503
  */
7988
- listBlockedEmailSenders(opts?: {
7989
- limit?: number;
7990
- offset?: number;
7991
- }): Promise<BlockedEmailSenderListResponse>;
8504
+ listBlockedEmailSenders(opts?: OffsetPageOptions): Promise<BlockedEmailSenderListResponse>;
7992
8505
  /**
7993
8506
  * Add a sender address or a whole domain to the account blocklist.
7994
8507
  *
@@ -8090,10 +8603,10 @@ declare class Seclai {
8090
8603
  /**
8091
8604
  * List memory banks.
8092
8605
  *
8093
- * @param opts - Pagination and sorting options.
8606
+ * @param opts - Pagination, sorting and a `type` filter.
8094
8607
  * @returns Paginated list of memory banks.
8095
8608
  */
8096
- listMemoryBanks(opts?: SortableListOptions): Promise<MemoryBankListResponse>;
8609
+ listMemoryBanks(opts?: ListMemoryBanksOptions): Promise<MemoryBankListResponse>;
8097
8610
  /**
8098
8611
  * Create a new memory bank.
8099
8612
  *
@@ -8135,8 +8648,10 @@ declare class Seclai {
8135
8648
  * Get stats for a memory bank.
8136
8649
  *
8137
8650
  * @param memoryBankId - Memory bank identifier.
8651
+ * @param opts - Date range. Only `startDate` and `endDate` together replace
8652
+ * `days`; either one alone is ignored and the last `days` days apply (server default 30).
8138
8653
  */
8139
- getMemoryBankStats(memoryBankId: string): Promise<unknown>;
8654
+ getMemoryBankStats(memoryBankId: string, opts?: DateRangeOptions): Promise<unknown>;
8140
8655
  /**
8141
8656
  * Compact a memory bank (trigger compaction).
8142
8657
  *
@@ -8175,8 +8690,10 @@ declare class Seclai {
8175
8690
  generateMemoryBankConfig(body: MemoryBankAiAssistantRequest): Promise<MemoryBankAiAssistantResponse>;
8176
8691
  /**
8177
8692
  * Get the last AI conversation for memory banks.
8693
+ *
8694
+ * @param opts - Turns to return (server default 5) and most-recent turns to skip (default 0).
8178
8695
  */
8179
- getMemoryBankAiLastConversation(): Promise<MemoryBankLastConversationResponse>;
8696
+ getMemoryBankAiLastConversation(opts?: OffsetPageOptions): Promise<MemoryBankLastConversationResponse>;
8180
8697
  /**
8181
8698
  * Accept a memory bank AI suggestion.
8182
8699
  *
@@ -8474,10 +8991,10 @@ declare class Seclai {
8474
8991
  /**
8475
8992
  * List solutions.
8476
8993
  *
8477
- * @param opts - Pagination and sorting options.
8994
+ * @param opts - Pagination, sorting and a name `search`.
8478
8995
  * @returns Paginated list of solutions.
8479
8996
  */
8480
- listSolutions(opts?: SortableListOptions): Promise<SolutionListResponse>;
8997
+ listSolutions(opts?: ListSolutionsOptions): Promise<SolutionListResponse>;
8481
8998
  /**
8482
8999
  * Create a new solution.
8483
9000
  *
@@ -8626,8 +9143,12 @@ declare class Seclai {
8626
9143
  generateGovernanceAiPlan(body: GovernanceAiAssistantRequest): Promise<GovernanceAiAssistantResponse>;
8627
9144
  /**
8628
9145
  * List governance AI conversations.
9146
+ *
9147
+ * @param opts - `limit`: how many conversations (the server defaults to 20).
8629
9148
  */
8630
- listGovernanceAiConversations(): Promise<GovernanceConversationResponse[]>;
9149
+ listGovernanceAiConversations(opts?: {
9150
+ limit?: number;
9151
+ }): Promise<GovernanceConversationResponse[]>;
8631
9152
  /**
8632
9153
  * Accept a governance AI plan.
8633
9154
  *
@@ -8647,10 +9168,7 @@ declare class Seclai {
8647
9168
  * @param opts - Pagination and filter options.
8648
9169
  * @returns Paginated list of alerts.
8649
9170
  */
8650
- listAlerts(opts?: ListOptions & {
8651
- status?: string;
8652
- severity?: string;
8653
- }): Promise<AlertListResponse>;
9171
+ listAlerts(opts?: ListAlertsOptions): Promise<AlertListResponse>;
8654
9172
  /**
8655
9173
  * Get alert details by ID.
8656
9174
  *
@@ -8694,7 +9212,7 @@ declare class Seclai {
8694
9212
  * `configs` and `total` are populated on every API version; `data` and
8695
9213
  * `pagination` are also present once `apiVersion` is 2026-07-27 or later.
8696
9214
  */
8697
- listAlertConfigs(opts?: ListOptions): Promise<AlertConfigListResponse>;
9215
+ listAlertConfigs(opts?: ListAlertConfigsOptions): Promise<AlertConfigListResponse>;
8698
9216
  /**
8699
9217
  * Create an alert configuration.
8700
9218
  *
@@ -8725,8 +9243,10 @@ declare class Seclai {
8725
9243
  deleteAlertConfig(configId: string): Promise<void>;
8726
9244
  /**
8727
9245
  * List organization alert preferences.
9246
+ *
9247
+ * @param opts - Organization filter, and whether to include default subscriptions.
8728
9248
  */
8729
- listOrganizationAlertPreferences(): Promise<OrganizationAlertPreferenceListResponse>;
9249
+ listOrganizationAlertPreferences(opts?: ListOrganizationAlertPreferencesOptions): Promise<OrganizationAlertPreferenceListResponse>;
8730
9250
  /**
8731
9251
  * Update an organization alert preference.
8732
9252
  *
@@ -8738,9 +9258,9 @@ declare class Seclai {
8738
9258
  /**
8739
9259
  * List model alerts.
8740
9260
  *
8741
- * @param opts - Pagination options.
9261
+ * @param opts - Pagination, an agent filter and `unreadOnly`.
8742
9262
  */
8743
- listModelAlerts(opts?: ListOptions): Promise<ModelAlertListResponse>;
9263
+ listModelAlerts(opts?: ListModelAlertsOptions): Promise<ModelAlertListResponse>;
8744
9264
  /**
8745
9265
  * Mark all model alerts as read.
8746
9266
  */
@@ -8759,8 +9279,9 @@ declare class Seclai {
8759
9279
  * Get model recommendations.
8760
9280
  *
8761
9281
  * @param modelId - Model identifier.
9282
+ * @param opts - Capabilities and limits a recommended model must have.
8762
9283
  */
8763
- getModelRecommendations(modelId: string): Promise<ModelRecommendationsResponse>;
9284
+ getModelRecommendations(modelId: string, opts?: ModelRecommendationsOptions): Promise<ModelRecommendationsResponse>;
8764
9285
  /**
8765
9286
  * List all enabled LLM models grouped by provider.
8766
9287
  *
@@ -8813,15 +9334,11 @@ declare class Seclai {
8813
9334
  /**
8814
9335
  * List model playground experiments.
8815
9336
  *
8816
- * @param opts - Optional filters and pagination.
9337
+ * @param opts - Date range and offset paging. Only `startDate` and `endDate`
9338
+ * together replace `days`; either one alone is ignored and the last `days`
9339
+ * days apply (server default 30).
8817
9340
  */
8818
- listExperiments(opts?: {
8819
- days?: number;
8820
- startDate?: string;
8821
- endDate?: string;
8822
- limit?: number;
8823
- offset?: number;
8824
- }): Promise<ExperimentListResponse>;
9341
+ listExperiments(opts?: DateRangeOptions & OffsetPageOptions): Promise<ExperimentListResponse>;
8825
9342
  /**
8826
9343
  * Create a model playground experiment.
8827
9344
  *
@@ -9077,8 +9594,10 @@ declare class Seclai {
9077
9594
  aiAssistantMemoryBank(body: MemoryBankAiAssistantRequest): Promise<MemoryBankAiAssistantResponse>;
9078
9595
  /**
9079
9596
  * Get AI assistant memory bank conversation history.
9597
+ *
9598
+ * @param opts - Turns to return (server default 5) and most-recent turns to skip (default 0).
9080
9599
  */
9081
- getAiAssistantMemoryBankHistory(): Promise<MemoryBankLastConversationResponse>;
9600
+ getAiAssistantMemoryBankHistory(opts?: OffsetPageOptions): Promise<MemoryBankLastConversationResponse>;
9082
9601
  /**
9083
9602
  * Accept an AI assistant suggestion.
9084
9603
  *
@@ -9301,4 +9820,4 @@ declare class SeclaiStreamingError extends SeclaiError {
9301
9820
  constructor(message: string, runId?: string);
9302
9821
  }
9303
9822
 
9304
- export { type AcceptedAttachmentSlot, type AcceptedAttachmentSlotInput, type AcceptedAttachmentsResponse, type AccessTokenProvider, type AddCommentRequest, type AddConversationTurnRequest, type AddEmailDomainInput, type AddEmailDomainRequest, type AgentAttachmentRefsApiResponse, type AgentCallerApiResponse, type AgentDefinitionImportErrorResponse, type AgentDefinitionResponse, type AgentEmailOptOutListResponse, type AgentEmailOptOutResponse, type AgentEvaluationTier, type AgentExportResponse, type AgentImportPreviewRequest, type AgentImportPreviewResponse, type AgentListResponse, type AgentRunAttemptResponse, type AgentRunEvent, type AgentRunFileResponse, type AgentRunListResponse, type AgentRunRequest, type AgentRunResponse, type AgentRunStepResponse, type AgentRunStreamRequest, type AgentRunToolCallResponse, type AgentSummaryResponse, type AgentTraceMatchResponse, type AgentTraceSearchRequest, type AgentTraceSearchResponse, type AgentUsingCloudDriveResponse, type AiAssistantAcceptRequest, type AiAssistantAcceptResponse, type AiAssistantFeedbackRequest, type AiAssistantFeedbackResponse, type AiAssistantGenerateRequest, type AiAssistantGenerateResponse, type AiConversationHistoryResponse, type AiConversationTurnResponse, type AlertCommentResponse, type AlertConfigListResponse, type AlertConfigResponse, type AlertDetailResponse, type AlertListResponse, type AlertResponse, type AlertSubscriberResponse, type ApiVersion, type ApiVersionResponse, type AttachmentRefsSourceApiSummary, type AuthState, type BlockEmailSenderRequest, type BlockedEmailSenderListResponse, type BlockedEmailSenderResponse, type CancelExperimentResponse, type CancelQueuedRunsResponse, type ChangeStatusRequest, type CloudDriveAccessLevelResponse, type CloudDriveProviderResponse, type CloudDriveRejectionResponse, type CloudDriveResponse, type CloudDriveScopeResponse, type CloudDriveUpdateRequest, type CompactionEvaluationModel, type CompactionTestResponse, type CompatibleRunListResponse, type CompatibleRunResponse, type ContentAttachmentDetailResponse, type ContentAttachmentResponse, type ContentAttachmentsListResponse, type ContentDetailResponse, type ContentEmbeddingResponse, type ContentEmbeddingsListResponse, type ContentFileUploadResponse, type CreateAgentRequest, type CreateAlertConfigRequest, type CreateEvaluationCriteriaRequest, type CreateEvaluationResultRequest, type CreateExperimentInput, type CreateExperimentResponse, type CreateExportRequest, type CreateKnowledgeBaseBody, type CreateMemoryBankBody, type CreateSolutionRequest, type CreateSourceBody, type CredentialChainOptions, DEFAULT_SSO_CLIENT_ID, DEFAULT_SSO_DOMAIN, DEFAULT_SSO_REGION, type DmarcFailingSourceResponse, type DmarcSummaryResponse, type DnsProviderResponse, type DnsRecordResponse, type EffortOptionsResponse, type EmailDomainResponse, type EmailDomainsListResponse, type EmailSourceRejectionListResponse, type EmailSourceRejectionResponse, type EmailTriggerConfigResponse, type EmbeddingModalityRateResponse, type EmbeddingModelListResponse, type EmbeddingModelResponse, type EmbeddingStorageCreditsResponse, type EstimateExportRequest, type EstimateExportResponse, type EvaluationCriteriaListResponse, type EvaluationCriteriaResponse, type EvaluationResultListResponse, type EvaluationResultResponse, type EvaluationResultSummaryResponse, type EvaluationResultWithCriteriaListResponse, type EvaluationResultWithCriteriaResponse, type EvaluationRunSummaryListResponse, type EvaluationRunSummaryResponse, type EvaluationStatus, type ExamplePrompt, type ExecutedActionResponse, type ExperimentDetailResponse, type ExperimentListResponse, type ExperimentSummaryResponse, type ExportFormat, type ExportListResponse, type ExportResponse, type FetchLike, type FileUploadResponse, type GenerateAgentStepsRequest, type GenerateAgentStepsResponse, type GenerateStepConfigRequest, type GenerateStepConfigResponse, type GovernanceAiAcceptResponse, type GovernanceAiAssistantRequest, type GovernanceAiAssistantResponse, type GovernanceAppliedActionResponse, type GovernanceConversationResponse, type GovernancePolicyRefResponse, type GovernanceProposedPolicyActionResponse, type HTTPValidationError, type ImportFieldErrorModel, type ImportSkipResponse, type InboundEmailRejectionResponse, type InboundEmailStatusResponse, type InlineTextReplaceRequest, type InlineTextUploadRequest, type InsufficientCreditsDetail, type InsufficientCreditsResponse, type JSONValue, type KnowledgeBaseListResponse, type KnowledgeBaseResponse, type LinkResourcesRequest, type ListOptions, type ListSourceContentsOptions, type MarkAiSuggestionRequest, type MarkConversationTurnRequest, type MeResponse, type MemoryBankAcceptRequest, type MemoryBankAiAssistantRequest, type MemoryBankAiAssistantResponse, type MemoryBankConfigResponse, type MemoryBankConversationTurnResponse, type MemoryBankLastConversationResponse, type MemoryBankListResponse, type MemoryBankResponse, type ModalityRateResponse, type ModelAlertListResponse, type ModelAlertResponse, type ModelRecommendationResponse, type ModelRecommendationsResponse, type NonManualEvaluationModeStatResponse, type NonManualEvaluationSummaryResponse, type OkResponse, type OrganizationAlertPreferenceListResponse, type OrganizationAlertPreferenceResponse, type OrganizationInfoResponse, type PaginatedPage, type PaginationResponse, type PendingProcessingCompletedFailedStatus, type PlaygroundCreateRequest, type PromptModelAutoUpgradeStrategy, type PromptModelResponse, type PromptToolResponse, type ProposedActionResponse, type ProviderGroupResponse, type RemoveEmailDomainResponse, type RerankerModelListResponse, type RerankerModelResponse, type ResumeInboundResponse, SECLAI_API_URL, type SearchResponse, type SearchResultResponse, Seclai, SeclaiAPIStatusError, SeclaiAPIValidationError, SeclaiApiVersion, SeclaiConfigurationError, SeclaiError, type SeclaiOptions, SeclaiStreamingError, type SendTestEmailResponse, type SetAcceptedAttachmentsInput, type SetAcceptedAttachmentsRequest, type SetAutoBlockModeRequest, type SetEmailTriggerConfigRequest, type SkippedAttachmentReason, type SkippedAttachmentResponse, type SolutionAgentResponse, type SolutionConversationResponse, type SolutionKnowledgeBaseResponse, type SolutionListResponse, type SolutionResponse, type SolutionSourceConnectionResponse, type SolutionSummaryResponse, type SortableListOptions, type SourceConnectionResponse, type SourceContentStatusListResponse, type SourceContentStatusResponse, type SourceEmbeddingMigrationResponse, type SourceIndexMode, type SourceListResponse, type SourceResponse, type SsoCacheEntry, type SsoProfile, type StandaloneTestCompactionRequest, type StartSourceEmbeddingMigrationRequest, type TestCompactionRequest, type TestDraftEvaluationRequest, type TestDraftEvaluationResponse, type UnlinkResourcesRequest, type UnreadCountResponse, type UpdateAgentDefinitionRequest, type UpdateAgentRequest, type UpdateAlertConfigRequest, type UpdateEvaluationCriteriaRequest, type UpdateKnowledgeBaseBody, type UpdateMemoryBankBody, type UpdateOrganizationAlertPreferenceRequest, type UpdateSolutionRequest, type UpdateSourceBody, type UploadAgentInputApiResponse, type ValidationError, type VariantCategoryResponse, type VariantOptionResponse, deleteSsoCache, isTokenValid, loadSsoProfile, readSsoCache, writeSsoCache };
9823
+ export { type AcceptedAttachmentSlot, type AcceptedAttachmentSlotInput, type AcceptedAttachmentsResponse, type AccessTokenProvider, type AddCommentRequest, type AddConversationTurnRequest, type AddEmailDomainInput, type AddEmailDomainRequest, type AgentAttachmentRefsApiResponse, type AgentCallerApiResponse, type AgentDefinitionImportErrorResponse, type AgentDefinitionResponse, type AgentEmailOptOutListResponse, type AgentEmailOptOutResponse, type AgentEvaluationTier, type AgentExample, type AgentExampleListResponse, type AgentExampleResource, type AgentExportResponse, type AgentImportPreviewRequest, type AgentImportPreviewResponse, type AgentListResponse, type AgentRunAttemptResponse, type AgentRunEvent, type AgentRunFileResponse, type AgentRunListResponse, type AgentRunRequest, type AgentRunResponse, type AgentRunStepResponse, type AgentRunStreamRequest, type AgentRunToolCallResponse, type AgentSummaryResponse, type AgentTraceMatchResponse, type AgentTraceSearchRequest, type AgentTraceSearchResponse, type AgentUsingCloudDriveResponse, type AiAssistantAcceptRequest, type AiAssistantAcceptResponse, type AiAssistantFeedbackRequest, type AiAssistantFeedbackResponse, type AiAssistantGenerateRequest, type AiAssistantGenerateResponse, type AiConversationHistoryResponse, type AiConversationTurnResponse, type AlertCommentResponse, type AlertConfigListResponse, type AlertConfigResponse, type AlertDetailResponse, type AlertListResponse, type AlertResponse, type AlertSubscriberResponse, type ApiVersion, type ApiVersionResponse, type AttachmentRefsSourceApiSummary, type AuthState, type BlockEmailSenderRequest, type BlockedEmailSenderListResponse, type BlockedEmailSenderResponse, type CancelExperimentResponse, type CancelQueuedRunsResponse, type ChangeStatusRequest, type CloudDriveAccessLevelResponse, type CloudDriveProviderResponse, type CloudDriveRejectionResponse, type CloudDriveResponse, type CloudDriveScopeResponse, type CloudDriveUpdateRequest, type CompactionEvaluationModel, type CompactionTestResponse, type CompatibleRunListResponse, type CompatibleRunResponse, type ContentAttachmentDetailResponse, type ContentAttachmentResponse, type ContentAttachmentsListResponse, type ContentDetailResponse, type ContentEmbeddingResponse, type ContentEmbeddingsListResponse, type ContentFileUploadResponse, type CreateAgentRequest, type CreateAlertConfigRequest, type CreateEvaluationCriteriaRequest, type CreateEvaluationResultRequest, type CreateExperimentInput, type CreateExperimentResponse, type CreateExportRequest, type CreateKnowledgeBaseBody, type CreateMemoryBankBody, type CreateSolutionRequest, type CreateSourceBody, type CredentialChainOptions, DEFAULT_SSO_CLIENT_ID, DEFAULT_SSO_DOMAIN, DEFAULT_SSO_REGION, type DateRangeOptions, type DmarcFailingSourceResponse, type DmarcSummaryResponse, type DnsProviderResponse, type DnsRecordResponse, type EffortOptionsResponse, type EmailDomainResponse, type EmailDomainsListResponse, type EmailSourceRejectionListResponse, type EmailSourceRejectionResponse, type EmailTriggerConfigResponse, type EmbeddingModalityRateResponse, type EmbeddingModelListResponse, type EmbeddingModelResponse, type EmbeddingStorageCreditsResponse, type EstimateExportRequest, type EstimateExportResponse, type EvaluationCriteriaListResponse, type EvaluationCriteriaResponse, type EvaluationResultListResponse, type EvaluationResultResponse, type EvaluationResultSummaryResponse, type EvaluationResultWithCriteriaListResponse, type EvaluationResultWithCriteriaResponse, type EvaluationRunSummaryListResponse, type EvaluationRunSummaryResponse, type EvaluationStatus, type ExamplePrompt, type ExecutedActionResponse, type ExperimentDetailResponse, type ExperimentListResponse, type ExperimentSummaryResponse, type ExportFormat, type ExportListResponse, type ExportResponse, type FetchLike, type FileUploadResponse, type GenerateAgentStepsRequest, type GenerateAgentStepsResponse, type GenerateStepConfigRequest, type GenerateStepConfigResponse, type GovernanceAiAcceptResponse, type GovernanceAiAssistantRequest, type GovernanceAiAssistantResponse, type GovernanceAppliedActionResponse, type GovernanceConversationResponse, type GovernancePolicyRefResponse, type GovernanceProposedPolicyActionResponse, type HTTPValidationError, type ImportFieldErrorModel, type ImportSkipResponse, type InboundEmailRejectionResponse, type InboundEmailStatusResponse, type InlineTextReplaceRequest, type InlineTextUploadRequest, type InsufficientCreditsDetail, type InsufficientCreditsResponse, type JSONValue, type KnowledgeBaseListResponse, type KnowledgeBaseResponse, type LinkResourcesRequest, type ListAgentEvaluationResultsOptions, type ListAgentExamplesOptions, type ListAlertConfigsOptions, type ListAlertsOptions, type ListCompatibleRunsOptions, type ListEvaluationResultsOptions, type ListEvaluationRunsOptions, type ListMemoryBanksOptions, type ListModelAlertsOptions, type ListOptions, type ListOrganizationAlertPreferencesOptions, type ListSolutionsOptions, type ListSourceContentsOptions, type MarkAiSuggestionRequest, type MarkConversationTurnRequest, type MeResponse, type MemoryBankAcceptRequest, type MemoryBankAiAssistantRequest, type MemoryBankAiAssistantResponse, type MemoryBankConfigResponse, type MemoryBankConversationTurnResponse, type MemoryBankLastConversationResponse, type MemoryBankListResponse, type MemoryBankResponse, type ModalityRateResponse, type ModelAlertListResponse, type ModelAlertResponse, type ModelRecommendationResponse, type ModelRecommendationsOptions, type ModelRecommendationsResponse, type NonManualEvaluationModeStatResponse, type NonManualEvaluationSummaryResponse, type OffsetPageOptions, type OkResponse, type OrganizationAlertPreferenceListResponse, type OrganizationAlertPreferenceResponse, type OrganizationInfoResponse, type PaginatedPage, type PaginationResponse, type PendingProcessingCompletedFailedStatus, type PlaygroundCreateRequest, type PromptModelAutoUpgradeStrategy, type PromptModelResponse, type PromptToolResponse, type ProposedActionResponse, type ProviderGroupResponse, type RemoveEmailDomainResponse, type RerankerModelListResponse, type RerankerModelResponse, type ResumeInboundResponse, SECLAI_API_URL, type SearchResponse, type SearchResultResponse, Seclai, SeclaiAPIStatusError, SeclaiAPIValidationError, SeclaiApiVersion, SeclaiConfigurationError, SeclaiError, type SeclaiOptions, SeclaiStreamingError, type SendTestEmailResponse, type SetAcceptedAttachmentsInput, type SetAcceptedAttachmentsRequest, type SetAutoBlockModeRequest, type SetEmailTriggerConfigRequest, type SetSlackTriggerConfigRequest, type SkippedAttachmentReason, type SkippedAttachmentResponse, type SlackReplyVisibility, type SlackTriggerActivation, type SlackTriggerConfigResponse, type SlackTriggerScope, type SolutionAgentResponse, type SolutionConversationResponse, type SolutionKnowledgeBaseResponse, type SolutionListResponse, type SolutionResponse, type SolutionSourceConnectionResponse, type SolutionSummaryResponse, type SortableListOptions, type SourceConnectionResponse, type SourceContentStatusListResponse, type SourceContentStatusResponse, type SourceEmbeddingMigrationResponse, type SourceIndexMode, type SourceListResponse, type SourceResponse, type SpendCapAction, type SpendCapDeleteOrder, 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 };