@gitbook/api 0.203.0 → 0.204.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/client.d.ts CHANGED
@@ -236,7 +236,15 @@ export declare enum SiteInsightsVisitorBot {
236
236
  MetaAds = "meta-ads",
237
237
  Duckassist = "duckassist",
238
238
  AmznSearchbot = "amzn-searchbot",
239
- AmznUser = "amzn-user"
239
+ AmznUser = "amzn-user",
240
+ OtherBot = "other-bot",
241
+ Parallel = "parallel",
242
+ Exa = "exa",
243
+ Linkup = "linkup",
244
+ VertexAi = "vertex-ai",
245
+ Atlassian = "atlassian",
246
+ Kapa = "kapa",
247
+ Bedrock = "bedrock"
240
248
  }
241
249
  export declare enum SiteInsightsVisitorOS {
242
250
  Windows = "windows",
@@ -272,6 +280,7 @@ export declare enum SiteInsightsEventType {
272
280
  AgentFeedback = "agent_feedback",
273
281
  AskQuestion = "ask_question",
274
282
  AskView = "ask_view",
283
+ AskTriggerClick = "ask_trigger_click",
275
284
  AskRateResponse = "ask_rate_response",
276
285
  LinkClick = "link_click",
277
286
  ApiClientOpen = "api_client_open",
@@ -382,6 +391,25 @@ export declare enum ContextSearchBoost {
382
391
  X10 = "x1.0",
383
392
  X12 = "x1.2"
384
393
  }
394
+ /**
395
+ * Why an AI task was skipped before execution.
396
+ *
397
+ * - `ai_unavailable_for_organization`: The organization's effective plan does not include AI or a
398
+ * required feature. Takes precedence when both the organization and site plans block the task.
399
+ * - `ai_unavailable_for_site`: The site's effective plan does not include the required feature.
400
+ * The site's applied plan takes precedence over its own plan.
401
+ * - `ai_paused`: AI usage is temporarily paused by automatic usage controls.
402
+ * - `ai_disabled`: AI or a required AI feature has been turned off in the organization's settings.
403
+ * - `ai_restricted`: AI is blocked by GitBook or a contractual restriction and cannot be enabled
404
+ * through organization settings.
405
+ */
406
+ export declare enum AISkipReason {
407
+ AiUnavailableForOrganization = "ai_unavailable_for_organization",
408
+ AiUnavailableForSite = "ai_unavailable_for_site",
409
+ AiDisabled = "ai_disabled",
410
+ AiRestricted = "ai_restricted",
411
+ AiPaused = "ai_paused"
412
+ }
385
413
  /** Why a synchronization failed, indicating who can resolve it. `authentication` and `misconfigured` need the connection to be reconfigured; `rate_limited` and `upstream_unavailable` are the source's own limits or downtime and are retried; `unknown` could not be attributed to the source's response. */
386
414
  export declare enum ContextConnectionFailureReason {
387
415
  Authentication = "authentication",
@@ -394,7 +422,8 @@ export declare enum ContextConnectionStatus {
394
422
  Pending = "pending",
395
423
  Syncing = "syncing",
396
424
  Succeeded = "succeeded",
397
- Failed = "failed"
425
+ Failed = "failed",
426
+ Skipped = "skipped"
398
427
  }
399
428
  /** Type classification of the user question. */
400
429
  export declare enum SiteQuestionType {
@@ -2876,6 +2905,11 @@ export type RevisionPageDocument = RevisionPageBase & Document & {
2876
2905
  /** Complete path to access the page in the revision. */
2877
2906
  path: string;
2878
2907
  description?: string;
2908
+ /**
2909
+ * Optional title for the page's HTML `<title>` tag. When set, it replaces the page title in the composed `<title>` (`<tagTitle || title> | <section> | <site>`), while the page's visible heading and navigation title remain unchanged. Use this when the search result or browser tab should use a different title from the page itself.
2910
+ * @maxLength 100
2911
+ */
2912
+ tagTitle?: string;
2879
2913
  pages: (RevisionPageDocument | RevisionPageLink | RevisionPageComputed)[];
2880
2914
  git?: GitSyncBlob;
2881
2915
  layout: RevisionPageLayoutOptions;
@@ -3639,6 +3673,16 @@ export interface RevisionPageUpdate {
3639
3673
  icon?: Icon;
3640
3674
  /** Description of the page. */
3641
3675
  description?: string;
3676
+ /**
3677
+ * Optional custom title used for the page in the table of contents and mentions instead of its page title. Set to an empty string to remove it.
3678
+ * @maxLength 100
3679
+ */
3680
+ linkTitle?: string;
3681
+ /**
3682
+ * Optional title for the page's HTML `<title>` tag. When set, it replaces the page title in the composed `<title>` (`<tagTitle || title> | <section> | <site>`), while the page's visible heading and navigation title remain unchanged. Use this when the search result or browser tab should use a different title from the page itself. Set to an empty string to remove it.
3683
+ * @maxLength 100
3684
+ */
3685
+ tagTitle?: string;
3642
3686
  /** If true, the page is not displayed in the navigation, while still being accessible. */
3643
3687
  hidden?: boolean;
3644
3688
  /** If true, the page is not indexable in the search and ask features. */
@@ -4186,6 +4230,8 @@ export interface OrganizationBilling {
4186
4230
  canChangeInterval: boolean;
4187
4231
  /** Whether configuring SAML is allowed */
4188
4232
  canUseSAML: boolean;
4233
+ /** Whether AI can be enabled for the organization */
4234
+ canUseAI: boolean;
4189
4235
  /** The AI credit bundle the organization tops up every month, or null when the organization is not billed for AI usage. `none` means pay as you go. */
4190
4236
  creditsBundle: BillingCreditsBundle | null;
4191
4237
  /** The yearly AI credit allowance agreed in the organization's contract, or null when none is set. */
@@ -8245,6 +8291,19 @@ export type ContextConnection = {
8245
8291
  failureMessage?: string;
8246
8292
  /** Why a synchronization failed, indicating who can resolve it. `authentication` and `misconfigured` need the connection to be reconfigured; `rate_limited` and `upstream_unavailable` are the source's own limits or downtime and are retried; `unknown` could not be attributed to the source's response. */
8247
8293
  failureReason?: ContextConnectionFailureReason;
8294
+ /**
8295
+ * Why an AI task was skipped before execution.
8296
+ *
8297
+ * - `ai_unavailable_for_organization`: The organization's effective plan does not include AI or a
8298
+ * required feature. Takes precedence when both the organization and site plans block the task.
8299
+ * - `ai_unavailable_for_site`: The site's effective plan does not include the required feature.
8300
+ * The site's applied plan takes precedence over its own plan.
8301
+ * - `ai_paused`: AI usage is temporarily paused by automatic usage controls.
8302
+ * - `ai_disabled`: AI or a required AI feature has been turned off in the organization's settings.
8303
+ * - `ai_restricted`: AI is blocked by GitBook or a contractual restriction and cannot be enabled
8304
+ * through organization settings.
8305
+ */
8306
+ skipReason?: AISkipReason;
8248
8307
  /** Parameters associated with the connection when it is an email connection */
8249
8308
  email?: {
8250
8309
  /**
@@ -9267,7 +9326,12 @@ export type SiteInsightsEventAskQuestion = SiteInsightsEventBase & {
9267
9326
  /** Event when a user views the ask UI. */
9268
9327
  export type SiteInsightsEventAskView = SiteInsightsEventBase & {
9269
9328
  type: "ask_view";
9270
- trigger?: "hover" | "selection" | "site" | "page" | "embed";
9329
+ trigger?: "hover" | "selection" | "site" | "page" | "code" | "embed";
9330
+ };
9331
+ /** Event when a user clicks an entry point that opens the ask UI. */
9332
+ export type SiteInsightsEventAskTriggerClick = SiteInsightsEventBase & {
9333
+ type: "ask_trigger_click";
9334
+ trigger: "hover" | "selection" | "site" | "page" | "code";
9271
9335
  };
9272
9336
  export type SiteInsightsEventAskRateResponse = SiteInsightsEventBase & {
9273
9337
  type: "ask_rate_response";
@@ -9322,7 +9386,7 @@ export type SiteInsightsEventMCPRequest = SiteInsightsEventBase & {
9322
9386
  export type SiteInsightsEventRSSRequest = SiteInsightsEventBase & {
9323
9387
  type: "rss_request";
9324
9388
  };
9325
- export type SiteInsightsEvent = SiteInsightsEventPageView | SiteInsightsEventPageMarkdownRequest | SiteInsightsEventSearchOpen | SiteInsightsEventSearchTypeQuery | SiteInsightsEventSearchOpenResult | SiteInsightsEventPagePostFeedback | SiteInsightsEventPagePostFeedbackComment | SiteInsightsEventAgentFeedback | SiteInsightsEventAskQuestion | SiteInsightsEventAskView | SiteInsightsEventAskRateResponse | SiteInsightsEventLinkClick | SiteInsightsEventAPIClientOpen | SiteInsightsEventAPIClientRequest | SiteInsightsEventTrademarkClick | SiteInsightsEventAdClick | SiteInsightsEventAdDisplay | SiteInsightsEventLLMSRequest | SiteInsightsEventMCPRequest | SiteInsightsEventRSSRequest;
9389
+ export type SiteInsightsEvent = SiteInsightsEventPageView | SiteInsightsEventPageMarkdownRequest | SiteInsightsEventSearchOpen | SiteInsightsEventSearchTypeQuery | SiteInsightsEventSearchOpenResult | SiteInsightsEventPagePostFeedback | SiteInsightsEventPagePostFeedbackComment | SiteInsightsEventAgentFeedback | SiteInsightsEventAskQuestion | SiteInsightsEventAskView | SiteInsightsEventAskTriggerClick | SiteInsightsEventAskRateResponse | SiteInsightsEventLinkClick | SiteInsightsEventAPIClientOpen | SiteInsightsEventAPIClientRequest | SiteInsightsEventTrademarkClick | SiteInsightsEventAdClick | SiteInsightsEventAdDisplay | SiteInsightsEventLLMSRequest | SiteInsightsEventMCPRequest | SiteInsightsEventRSSRequest;
9326
9390
  export interface SiteInsightsQueryDateTimeColumn {
9327
9391
  column: "datetime";
9328
9392
  interval?: "hour" | "day" | "week" | "month";
@@ -9979,6 +10043,8 @@ export interface OrganizationBillingOverrides {
9979
10043
  aiCreditAlertThreshold?: Percentage;
9980
10044
  /** Whether AI features pause automatically once all AI credits are used, before usage is billed as overage. */
9981
10045
  aiCreditPauseEnabled?: boolean;
10046
+ /** False when the organization's contract requires AI to stay off, regardless of the admin setting. */
10047
+ hasAI?: false;
9982
10048
  /** Current minimum users override, when set. */
9983
10049
  minUsers?: OrganizationBillingNumericOverride;
9984
10050
  /** Current maximum users override, when set. */
@@ -10270,6 +10336,12 @@ export type InputPageDocument = InputPageBase & {
10270
10336
  * @maxLength 300
10271
10337
  */
10272
10338
  description?: string;
10339
+ /**
10340
+ * Optional custom title overriding only the page-title segment of the composed `<title>` tag (`<tagTitle || title> | <section> | <site>`).
10341
+ * @minLength 0
10342
+ * @maxLength 100
10343
+ */
10344
+ tagTitle?: string;
10273
10345
  /** Page's slug in its direct parent */
10274
10346
  slug?: string;
10275
10347
  pages?: (InputPageDocument | InputPageLink | InputPageComputed)[];
@@ -16812,7 +16884,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16812
16884
  */
16813
16885
  deleteSiteSectionById: (organizationId: EntityId, siteId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
16814
16886
  /**
16815
- * @description Creates an external navigation link at the site root or in a section group. External links require a section-based site structure and cannot be placed inside a section. The destination must be an absolute HTTP or HTTPS URL. Draft links and links whose adaptive condition does not match are omitted from published structure responses. Use the generic structure sort operation after creation to change sibling order.
16887
+ * @description Creates an external navigation link at the site root or in a section group. On a site with root variants and no sections, creating the first external link enables sections and moves those variants into a default section. Links cannot be placed inside a section. The destination must be an absolute HTTP or HTTPS URL. Draft links and links whose adaptive condition does not match are omitted from published structure responses. Use the generic structure sort operation after creation to change sibling order.
16816
16888
  *
16817
16889
  * @tags site-external-links
16818
16890
  * @name AddExternalLinkToSite
@@ -173,8 +173,9 @@ export declare const CONTEXT_CONNECTION_LABEL_MAX_LENGTH = 128;
173
173
  export declare const CONTEXT_CONNECTION_LABEL_MIN_LENGTH = 0;
174
174
  export declare const CONTEXT_CONNECTION_FILTER_MAX_LENGTH = 1024;
175
175
  export declare const CONTEXT_CONNECTION_FILTER_MIN_LENGTH = 0;
176
- export declare const CONTEXT_CONNECTION_STATUS_ENUM: ["pending", "syncing", "succeeded", "failed"];
176
+ export declare const CONTEXT_CONNECTION_STATUS_ENUM: ["pending", "syncing", "succeeded", "failed", "skipped"];
177
177
  export declare const CONTEXT_CONNECTION_FAILURE_REASON_ENUM: ["authentication", "misconfigured", "rate_limited", "upstream_unavailable", "unknown"];
178
+ export declare const AISKIP_REASON_ENUM: ["ai_unavailable_for_organization", "ai_unavailable_for_site", "ai_disabled", "ai_restricted", "ai_paused"];
178
179
  export declare const CONTEXT_SEARCH_BOOST_ENUM: ["x0.8", "x1.0", "x1.2"];
179
180
  export declare const YOUTUBE_CHANNEL_ID_PATTERN = "^UC[A-Za-z0-9_-]{22}$";
180
181
  export declare const YOUTUBE_CHANNEL_NAME_PATTERN = "^@[A-Za-z0-9._-]{3,100}$";
@@ -195,7 +196,7 @@ export declare const SITE_INSIGHTS_LINK_POSITION_ENUM: ["announcement", "header"
195
196
  export declare const SITE_INSIGHTS_TRADEMARK_PLACEMENT_ENUM: ["sidebar", "ad", "footer", "pdf", "embed"];
196
197
  export declare const SITE_INSIGHTS_AD_PLACEMENT_ENUM: ["aside"];
197
198
  export declare const SITE_INSIGHTS_LLMSVARIANT_ENUM: ["standard", "full"];
198
- export declare const SITE_INSIGHTS_EVENT_TYPE_ENUM: ["page_view", "page_markdown_request", "search_open", "search_type_query", "search_open_result", "page_post_feedback", "page_post_feedback_comment", "agent_feedback", "ask_question", "ask_view", "ask_rate_response", "link_click", "api_client_open", "api_client_request", "ad_click", "ad_display", "trademark_click", "llms_request", "mcp_request", "rss_request"];
199
+ export declare const SITE_INSIGHTS_EVENT_TYPE_ENUM: ["page_view", "page_markdown_request", "search_open", "search_type_query", "search_open_result", "page_post_feedback", "page_post_feedback_comment", "agent_feedback", "ask_question", "ask_view", "ask_trigger_click", "ask_rate_response", "link_click", "api_client_open", "api_client_request", "ad_click", "ad_display", "trademark_click", "llms_request", "mcp_request", "rss_request"];
199
200
  export declare const SITE_INSIGHTS_VISITOR_BROWSER_ENUM: ["chrome", "firefox", "safari", "edge", "ie", "opera", "unknown"];
200
201
  export declare const SITE_INSIGHTS_VISITOR_DEVICE_ENUM: ["desktop", "tablet", "mobile", "unknown"];
201
202
  export declare const SITE_INSIGHTS_VISITOR_OS_ENUM: ["windows", "macos", "linux", "android", "ios", "unknown"];
package/dist/index.cjs CHANGED
@@ -192,6 +192,8 @@ __export(src_exports, {
192
192
  AIMessageStepPhase: () => AIMessageStepPhase,
193
193
  AIMessageStepStartCondition: () => AIMessageStepStartCondition,
194
194
  AIModel: () => AIModel,
195
+ AISKIP_REASON_ENUM: () => AISKIP_REASON_ENUM,
196
+ AISkipReason: () => AISkipReason,
195
197
  AIUSAGE_INTERVAL_ENUM: () => AIUSAGE_INTERVAL_ENUM,
196
198
  AIUsageInterval: () => AIUsageInterval,
197
199
  APIINTEGRATION_SCOPE_ENUM: () => APIINTEGRATION_SCOPE_ENUM,
@@ -568,7 +570,7 @@ module.exports = __toCommonJS(src_exports);
568
570
 
569
571
  // package.json
570
572
  var name = "@gitbook/api";
571
- var version = "0.203.0";
573
+ var version = "0.204.0";
572
574
 
573
575
  // src/client.ts
574
576
  var import_event_iterator = __toESM(require_node(), 1);
@@ -904,6 +906,14 @@ var SiteInsightsVisitorBot = /* @__PURE__ */ ((SiteInsightsVisitorBot2) => {
904
906
  SiteInsightsVisitorBot2["Duckassist"] = "duckassist";
905
907
  SiteInsightsVisitorBot2["AmznSearchbot"] = "amzn-searchbot";
906
908
  SiteInsightsVisitorBot2["AmznUser"] = "amzn-user";
909
+ SiteInsightsVisitorBot2["OtherBot"] = "other-bot";
910
+ SiteInsightsVisitorBot2["Parallel"] = "parallel";
911
+ SiteInsightsVisitorBot2["Exa"] = "exa";
912
+ SiteInsightsVisitorBot2["Linkup"] = "linkup";
913
+ SiteInsightsVisitorBot2["VertexAi"] = "vertex-ai";
914
+ SiteInsightsVisitorBot2["Atlassian"] = "atlassian";
915
+ SiteInsightsVisitorBot2["Kapa"] = "kapa";
916
+ SiteInsightsVisitorBot2["Bedrock"] = "bedrock";
907
917
  return SiteInsightsVisitorBot2;
908
918
  })(SiteInsightsVisitorBot || {});
909
919
  var SiteInsightsVisitorOS = /* @__PURE__ */ ((SiteInsightsVisitorOS2) => {
@@ -943,6 +953,7 @@ var SiteInsightsEventType = /* @__PURE__ */ ((SiteInsightsEventType2) => {
943
953
  SiteInsightsEventType2["AgentFeedback"] = "agent_feedback";
944
954
  SiteInsightsEventType2["AskQuestion"] = "ask_question";
945
955
  SiteInsightsEventType2["AskView"] = "ask_view";
956
+ SiteInsightsEventType2["AskTriggerClick"] = "ask_trigger_click";
946
957
  SiteInsightsEventType2["AskRateResponse"] = "ask_rate_response";
947
958
  SiteInsightsEventType2["LinkClick"] = "link_click";
948
959
  SiteInsightsEventType2["ApiClientOpen"] = "api_client_open";
@@ -1062,6 +1073,14 @@ var ContextSearchBoost = /* @__PURE__ */ ((ContextSearchBoost2) => {
1062
1073
  ContextSearchBoost2["X12"] = "x1.2";
1063
1074
  return ContextSearchBoost2;
1064
1075
  })(ContextSearchBoost || {});
1076
+ var AISkipReason = /* @__PURE__ */ ((AISkipReason2) => {
1077
+ AISkipReason2["AiUnavailableForOrganization"] = "ai_unavailable_for_organization";
1078
+ AISkipReason2["AiUnavailableForSite"] = "ai_unavailable_for_site";
1079
+ AISkipReason2["AiDisabled"] = "ai_disabled";
1080
+ AISkipReason2["AiRestricted"] = "ai_restricted";
1081
+ AISkipReason2["AiPaused"] = "ai_paused";
1082
+ return AISkipReason2;
1083
+ })(AISkipReason || {});
1065
1084
  var ContextConnectionFailureReason = /* @__PURE__ */ ((ContextConnectionFailureReason2) => {
1066
1085
  ContextConnectionFailureReason2["Authentication"] = "authentication";
1067
1086
  ContextConnectionFailureReason2["Misconfigured"] = "misconfigured";
@@ -1075,6 +1094,7 @@ var ContextConnectionStatus = /* @__PURE__ */ ((ContextConnectionStatus2) => {
1075
1094
  ContextConnectionStatus2["Syncing"] = "syncing";
1076
1095
  ContextConnectionStatus2["Succeeded"] = "succeeded";
1077
1096
  ContextConnectionStatus2["Failed"] = "failed";
1097
+ ContextConnectionStatus2["Skipped"] = "skipped";
1078
1098
  return ContextConnectionStatus2;
1079
1099
  })(ContextConnectionStatus || {});
1080
1100
  var SiteQuestionType = /* @__PURE__ */ ((SiteQuestionType2) => {
@@ -5291,8 +5311,9 @@ var CONTEXT_CONNECTION_LABEL_MAX_LENGTH = 128;
5291
5311
  var CONTEXT_CONNECTION_LABEL_MIN_LENGTH = 0;
5292
5312
  var CONTEXT_CONNECTION_FILTER_MAX_LENGTH = 1024;
5293
5313
  var CONTEXT_CONNECTION_FILTER_MIN_LENGTH = 0;
5294
- var CONTEXT_CONNECTION_STATUS_ENUM = ["pending", "syncing", "succeeded", "failed"];
5314
+ var CONTEXT_CONNECTION_STATUS_ENUM = ["pending", "syncing", "succeeded", "failed", "skipped"];
5295
5315
  var CONTEXT_CONNECTION_FAILURE_REASON_ENUM = ["authentication", "misconfigured", "rate_limited", "upstream_unavailable", "unknown"];
5316
+ var AISKIP_REASON_ENUM = ["ai_unavailable_for_organization", "ai_unavailable_for_site", "ai_disabled", "ai_restricted", "ai_paused"];
5296
5317
  var CONTEXT_SEARCH_BOOST_ENUM = ["x0.8", "x1.0", "x1.2"];
5297
5318
  var YOUTUBE_CHANNEL_ID_PATTERN = "^UC[A-Za-z0-9_-]{22}$";
5298
5319
  var YOUTUBE_CHANNEL_NAME_PATTERN = "^@[A-Za-z0-9._-]{3,100}$";
@@ -5313,7 +5334,7 @@ var SITE_INSIGHTS_LINK_POSITION_ENUM = ["announcement", "header", "footer", "sid
5313
5334
  var SITE_INSIGHTS_TRADEMARK_PLACEMENT_ENUM = ["sidebar", "ad", "footer", "pdf", "embed"];
5314
5335
  var SITE_INSIGHTS_AD_PLACEMENT_ENUM = ["aside"];
5315
5336
  var SITE_INSIGHTS_LLMSVARIANT_ENUM = ["standard", "full"];
5316
- var SITE_INSIGHTS_EVENT_TYPE_ENUM = ["page_view", "page_markdown_request", "search_open", "search_type_query", "search_open_result", "page_post_feedback", "page_post_feedback_comment", "agent_feedback", "ask_question", "ask_view", "ask_rate_response", "link_click", "api_client_open", "api_client_request", "ad_click", "ad_display", "trademark_click", "llms_request", "mcp_request", "rss_request"];
5337
+ var SITE_INSIGHTS_EVENT_TYPE_ENUM = ["page_view", "page_markdown_request", "search_open", "search_type_query", "search_open_result", "page_post_feedback", "page_post_feedback_comment", "agent_feedback", "ask_question", "ask_view", "ask_trigger_click", "ask_rate_response", "link_click", "api_client_open", "api_client_request", "ad_click", "ad_display", "trademark_click", "llms_request", "mcp_request", "rss_request"];
5317
5338
  var SITE_INSIGHTS_VISITOR_BROWSER_ENUM = ["chrome", "firefox", "safari", "edge", "ie", "opera", "unknown"];
5318
5339
  var SITE_INSIGHTS_VISITOR_DEVICE_ENUM = ["desktop", "tablet", "mobile", "unknown"];
5319
5340
  var SITE_INSIGHTS_VISITOR_OS_ENUM = ["windows", "macos", "linux", "android", "ios", "unknown"];
@@ -5437,6 +5458,8 @@ var GitBookAPI = class extends Api {
5437
5458
  AIMessageStepPhase,
5438
5459
  AIMessageStepStartCondition,
5439
5460
  AIModel,
5461
+ AISKIP_REASON_ENUM,
5462
+ AISkipReason,
5440
5463
  AIUSAGE_INTERVAL_ENUM,
5441
5464
  AIUsageInterval,
5442
5465
  APIINTEGRATION_SCOPE_ENUM,
package/dist/index.js CHANGED
@@ -172,7 +172,7 @@ var require_node = __commonJS({
172
172
 
173
173
  // package.json
174
174
  var name = "@gitbook/api";
175
- var version = "0.203.0";
175
+ var version = "0.204.0";
176
176
 
177
177
  // src/client.ts
178
178
  var import_event_iterator = __toESM(require_node(), 1);
@@ -508,6 +508,14 @@ var SiteInsightsVisitorBot = /* @__PURE__ */ ((SiteInsightsVisitorBot2) => {
508
508
  SiteInsightsVisitorBot2["Duckassist"] = "duckassist";
509
509
  SiteInsightsVisitorBot2["AmznSearchbot"] = "amzn-searchbot";
510
510
  SiteInsightsVisitorBot2["AmznUser"] = "amzn-user";
511
+ SiteInsightsVisitorBot2["OtherBot"] = "other-bot";
512
+ SiteInsightsVisitorBot2["Parallel"] = "parallel";
513
+ SiteInsightsVisitorBot2["Exa"] = "exa";
514
+ SiteInsightsVisitorBot2["Linkup"] = "linkup";
515
+ SiteInsightsVisitorBot2["VertexAi"] = "vertex-ai";
516
+ SiteInsightsVisitorBot2["Atlassian"] = "atlassian";
517
+ SiteInsightsVisitorBot2["Kapa"] = "kapa";
518
+ SiteInsightsVisitorBot2["Bedrock"] = "bedrock";
511
519
  return SiteInsightsVisitorBot2;
512
520
  })(SiteInsightsVisitorBot || {});
513
521
  var SiteInsightsVisitorOS = /* @__PURE__ */ ((SiteInsightsVisitorOS2) => {
@@ -547,6 +555,7 @@ var SiteInsightsEventType = /* @__PURE__ */ ((SiteInsightsEventType2) => {
547
555
  SiteInsightsEventType2["AgentFeedback"] = "agent_feedback";
548
556
  SiteInsightsEventType2["AskQuestion"] = "ask_question";
549
557
  SiteInsightsEventType2["AskView"] = "ask_view";
558
+ SiteInsightsEventType2["AskTriggerClick"] = "ask_trigger_click";
550
559
  SiteInsightsEventType2["AskRateResponse"] = "ask_rate_response";
551
560
  SiteInsightsEventType2["LinkClick"] = "link_click";
552
561
  SiteInsightsEventType2["ApiClientOpen"] = "api_client_open";
@@ -666,6 +675,14 @@ var ContextSearchBoost = /* @__PURE__ */ ((ContextSearchBoost2) => {
666
675
  ContextSearchBoost2["X12"] = "x1.2";
667
676
  return ContextSearchBoost2;
668
677
  })(ContextSearchBoost || {});
678
+ var AISkipReason = /* @__PURE__ */ ((AISkipReason2) => {
679
+ AISkipReason2["AiUnavailableForOrganization"] = "ai_unavailable_for_organization";
680
+ AISkipReason2["AiUnavailableForSite"] = "ai_unavailable_for_site";
681
+ AISkipReason2["AiDisabled"] = "ai_disabled";
682
+ AISkipReason2["AiRestricted"] = "ai_restricted";
683
+ AISkipReason2["AiPaused"] = "ai_paused";
684
+ return AISkipReason2;
685
+ })(AISkipReason || {});
669
686
  var ContextConnectionFailureReason = /* @__PURE__ */ ((ContextConnectionFailureReason2) => {
670
687
  ContextConnectionFailureReason2["Authentication"] = "authentication";
671
688
  ContextConnectionFailureReason2["Misconfigured"] = "misconfigured";
@@ -679,6 +696,7 @@ var ContextConnectionStatus = /* @__PURE__ */ ((ContextConnectionStatus2) => {
679
696
  ContextConnectionStatus2["Syncing"] = "syncing";
680
697
  ContextConnectionStatus2["Succeeded"] = "succeeded";
681
698
  ContextConnectionStatus2["Failed"] = "failed";
699
+ ContextConnectionStatus2["Skipped"] = "skipped";
682
700
  return ContextConnectionStatus2;
683
701
  })(ContextConnectionStatus || {});
684
702
  var SiteQuestionType = /* @__PURE__ */ ((SiteQuestionType2) => {
@@ -4895,8 +4913,9 @@ var CONTEXT_CONNECTION_LABEL_MAX_LENGTH = 128;
4895
4913
  var CONTEXT_CONNECTION_LABEL_MIN_LENGTH = 0;
4896
4914
  var CONTEXT_CONNECTION_FILTER_MAX_LENGTH = 1024;
4897
4915
  var CONTEXT_CONNECTION_FILTER_MIN_LENGTH = 0;
4898
- var CONTEXT_CONNECTION_STATUS_ENUM = ["pending", "syncing", "succeeded", "failed"];
4916
+ var CONTEXT_CONNECTION_STATUS_ENUM = ["pending", "syncing", "succeeded", "failed", "skipped"];
4899
4917
  var CONTEXT_CONNECTION_FAILURE_REASON_ENUM = ["authentication", "misconfigured", "rate_limited", "upstream_unavailable", "unknown"];
4918
+ var AISKIP_REASON_ENUM = ["ai_unavailable_for_organization", "ai_unavailable_for_site", "ai_disabled", "ai_restricted", "ai_paused"];
4900
4919
  var CONTEXT_SEARCH_BOOST_ENUM = ["x0.8", "x1.0", "x1.2"];
4901
4920
  var YOUTUBE_CHANNEL_ID_PATTERN = "^UC[A-Za-z0-9_-]{22}$";
4902
4921
  var YOUTUBE_CHANNEL_NAME_PATTERN = "^@[A-Za-z0-9._-]{3,100}$";
@@ -4917,7 +4936,7 @@ var SITE_INSIGHTS_LINK_POSITION_ENUM = ["announcement", "header", "footer", "sid
4917
4936
  var SITE_INSIGHTS_TRADEMARK_PLACEMENT_ENUM = ["sidebar", "ad", "footer", "pdf", "embed"];
4918
4937
  var SITE_INSIGHTS_AD_PLACEMENT_ENUM = ["aside"];
4919
4938
  var SITE_INSIGHTS_LLMSVARIANT_ENUM = ["standard", "full"];
4920
- var SITE_INSIGHTS_EVENT_TYPE_ENUM = ["page_view", "page_markdown_request", "search_open", "search_type_query", "search_open_result", "page_post_feedback", "page_post_feedback_comment", "agent_feedback", "ask_question", "ask_view", "ask_rate_response", "link_click", "api_client_open", "api_client_request", "ad_click", "ad_display", "trademark_click", "llms_request", "mcp_request", "rss_request"];
4939
+ var SITE_INSIGHTS_EVENT_TYPE_ENUM = ["page_view", "page_markdown_request", "search_open", "search_type_query", "search_open_result", "page_post_feedback", "page_post_feedback_comment", "agent_feedback", "ask_question", "ask_view", "ask_trigger_click", "ask_rate_response", "link_click", "api_client_open", "api_client_request", "ad_click", "ad_display", "trademark_click", "llms_request", "mcp_request", "rss_request"];
4921
4940
  var SITE_INSIGHTS_VISITOR_BROWSER_ENUM = ["chrome", "firefox", "safari", "edge", "ie", "opera", "unknown"];
4922
4941
  var SITE_INSIGHTS_VISITOR_DEVICE_ENUM = ["desktop", "tablet", "mobile", "unknown"];
4923
4942
  var SITE_INSIGHTS_VISITOR_OS_ENUM = ["windows", "macos", "linux", "android", "ios", "unknown"];
@@ -5040,6 +5059,8 @@ export {
5040
5059
  AIMessageStepPhase,
5041
5060
  AIMessageStepStartCondition,
5042
5061
  AIModel,
5062
+ AISKIP_REASON_ENUM,
5063
+ AISkipReason,
5043
5064
  AIUSAGE_INTERVAL_ENUM,
5044
5065
  AIUsageInterval,
5045
5066
  APIINTEGRATION_SCOPE_ENUM,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
- "version": "0.203.0",
7
+ "version": "0.204.0",
8
8
  "sideEffects": false,
9
9
  "files": [
10
10
  "README.md",
package/spec/openapi.json CHANGED
@@ -16259,7 +16259,7 @@
16259
16259
  "post": {
16260
16260
  "operationId": "addExternalLinkToSite",
16261
16261
  "summary": "Add an external link to a site's navigation",
16262
- "description": "Creates an external navigation link at the site root or in a section group. External links require a section-based site structure and cannot be placed inside a section. The destination must be an absolute HTTP or HTTPS URL. Draft links and links whose adaptive condition does not match are omitted from published structure responses. Use the generic structure sort operation after creation to change sibling order.",
16262
+ "description": "Creates an external navigation link at the site root or in a section group. On a site with root variants and no sections, creating the first external link enables sections and moves those variants into a default section. Links cannot be placed inside a section. The destination must be an absolute HTTP or HTTPS URL. Draft links and links whose adaptive condition does not match are omitted from published structure responses. Use the generic structure sort operation after creation to change sibling order.",
16263
16263
  "x-gitbook-mcp": true,
16264
16264
  "tags": [
16265
16265
  "site-external-links"
@@ -16377,7 +16377,7 @@
16377
16377
  }
16378
16378
  },
16379
16379
  "400": {
16380
- "description": "The site has a simple structure or the parent group is invalid",
16380
+ "description": "The parent group is invalid, or the site has no sections or root variants",
16381
16381
  "$ref": "#/components/responses/BadRequestError"
16382
16382
  },
16383
16383
  "default": {
@@ -31391,6 +31391,11 @@
31391
31391
  "description": {
31392
31392
  "type": "string"
31393
31393
  },
31394
+ "tagTitle": {
31395
+ "description": "Optional title for the page's HTML `<title>` tag. When set, it replaces the page title in the composed `<title>` (`<tagTitle || title> | <section> | <site>`), while the page's visible heading and navigation title remain unchanged. Use this when the search result or browser tab should use a different title from the page itself.",
31396
+ "type": "string",
31397
+ "maxLength": 100
31398
+ },
31394
31399
  "pages": {
31395
31400
  "type": "array",
31396
31401
  "items": {
@@ -33943,6 +33948,16 @@
33943
33948
  "type": "string",
33944
33949
  "description": "Description of the page."
33945
33950
  },
33951
+ "linkTitle": {
33952
+ "description": "Optional custom title used for the page in the table of contents and mentions instead of its page title. Set to an empty string to remove it.",
33953
+ "type": "string",
33954
+ "maxLength": 100
33955
+ },
33956
+ "tagTitle": {
33957
+ "description": "Optional title for the page's HTML `<title>` tag. When set, it replaces the page title in the composed `<title>` (`<tagTitle || title> | <section> | <site>`), while the page's visible heading and navigation title remain unchanged. Use this when the search result or browser tab should use a different title from the page itself. Set to an empty string to remove it.",
33958
+ "type": "string",
33959
+ "maxLength": 100
33960
+ },
33946
33961
  "hidden": {
33947
33962
  "type": "boolean",
33948
33963
  "description": "If true, the page is not displayed in the navigation, while still being accessible."
@@ -35805,6 +35820,10 @@
35805
35820
  "description": "Whether configuring SAML is allowed",
35806
35821
  "type": "boolean"
35807
35822
  },
35823
+ "canUseAI": {
35824
+ "description": "Whether AI can be enabled for the organization",
35825
+ "type": "boolean"
35826
+ },
35808
35827
  "creditsBundle": {
35809
35828
  "description": "The AI credit bundle the organization tops up every month, or null when the organization is not billed for AI usage. `none` means pay as you go.",
35810
35829
  "oneOf": [
@@ -35844,6 +35863,7 @@
35844
35863
  "usageAddons",
35845
35864
  "canChangeInterval",
35846
35865
  "canUseSAML",
35866
+ "canUseAI",
35847
35867
  "creditsBundle",
35848
35868
  "aiCreditAllowance",
35849
35869
  "aiCreditRollover"
@@ -47940,7 +47960,8 @@
47940
47960
  "pending",
47941
47961
  "syncing",
47942
47962
  "succeeded",
47943
- "failed"
47963
+ "failed",
47964
+ "skipped"
47944
47965
  ]
47945
47966
  },
47946
47967
  "ContextConnectionFailureReason": {
@@ -47954,6 +47975,17 @@
47954
47975
  "unknown"
47955
47976
  ]
47956
47977
  },
47978
+ "AISkipReason": {
47979
+ "type": "string",
47980
+ "description": "Why an AI task was skipped before execution.\n\n- `ai_unavailable_for_organization`: The organization's effective plan does not include AI or a\n required feature. Takes precedence when both the organization and site plans block the task.\n- `ai_unavailable_for_site`: The site's effective plan does not include the required feature.\n The site's applied plan takes precedence over its own plan.\n- `ai_paused`: AI usage is temporarily paused by automatic usage controls.\n- `ai_disabled`: AI or a required AI feature has been turned off in the organization's settings.\n- `ai_restricted`: AI is blocked by GitBook or a contractual restriction and cannot be enabled\n through organization settings.",
47981
+ "enum": [
47982
+ "ai_unavailable_for_organization",
47983
+ "ai_unavailable_for_site",
47984
+ "ai_disabled",
47985
+ "ai_restricted",
47986
+ "ai_paused"
47987
+ ]
47988
+ },
47957
47989
  "ContextSearchBoost": {
47958
47990
  "type": "string",
47959
47991
  "description": "Relative score adjustment applied to records from a connection when searching.",
@@ -48535,6 +48567,9 @@
48535
48567
  "failureReason": {
48536
48568
  "$ref": "#/components/schemas/ContextConnectionFailureReason"
48537
48569
  },
48570
+ "skipReason": {
48571
+ "$ref": "#/components/schemas/AISkipReason"
48572
+ },
48538
48573
  "email": {
48539
48574
  "type": "object",
48540
48575
  "description": "Parameters associated with the connection when it is an email connection",
@@ -52086,6 +52121,7 @@
52086
52121
  "selection",
52087
52122
  "site",
52088
52123
  "page",
52124
+ "code",
52089
52125
  "embed"
52090
52126
  ]
52091
52127
  }
@@ -52096,6 +52132,39 @@
52096
52132
  }
52097
52133
  ]
52098
52134
  },
52135
+ "SiteInsightsEventAskTriggerClick": {
52136
+ "description": "Event when a user clicks an entry point that opens the ask UI.",
52137
+ "allOf": [
52138
+ {
52139
+ "$ref": "#/components/schemas/SiteInsightsEventBase"
52140
+ },
52141
+ {
52142
+ "type": "object",
52143
+ "properties": {
52144
+ "type": {
52145
+ "type": "string",
52146
+ "enum": [
52147
+ "ask_trigger_click"
52148
+ ]
52149
+ },
52150
+ "trigger": {
52151
+ "type": "string",
52152
+ "enum": [
52153
+ "hover",
52154
+ "selection",
52155
+ "site",
52156
+ "page",
52157
+ "code"
52158
+ ]
52159
+ }
52160
+ },
52161
+ "required": [
52162
+ "type",
52163
+ "trigger"
52164
+ ]
52165
+ }
52166
+ ]
52167
+ },
52099
52168
  "SiteInsightsEventAskRateResponse": {
52100
52169
  "allOf": [
52101
52170
  {
@@ -52448,6 +52517,9 @@
52448
52517
  {
52449
52518
  "$ref": "#/components/schemas/SiteInsightsEventAskView"
52450
52519
  },
52520
+ {
52521
+ "$ref": "#/components/schemas/SiteInsightsEventAskTriggerClick"
52522
+ },
52451
52523
  {
52452
52524
  "$ref": "#/components/schemas/SiteInsightsEventAskRateResponse"
52453
52525
  },
@@ -53237,6 +53309,7 @@
53237
53309
  "agent_feedback",
53238
53310
  "ask_question",
53239
53311
  "ask_view",
53312
+ "ask_trigger_click",
53240
53313
  "ask_rate_response",
53241
53314
  "link_click",
53242
53315
  "api_client_open",
@@ -53322,7 +53395,15 @@
53322
53395
  "meta-ads",
53323
53396
  "duckassist",
53324
53397
  "amzn-searchbot",
53325
- "amzn-user"
53398
+ "amzn-user",
53399
+ "other-bot",
53400
+ "parallel",
53401
+ "exa",
53402
+ "linkup",
53403
+ "vertex-ai",
53404
+ "atlassian",
53405
+ "kapa",
53406
+ "bedrock"
53326
53407
  ]
53327
53408
  },
53328
53409
  "SiteInsightsPageNotFoundType": {
@@ -55834,6 +55915,13 @@
55834
55915
  "description": "Whether AI features pause automatically once all AI credits are used, before usage is billed as overage.",
55835
55916
  "type": "boolean"
55836
55917
  },
55918
+ "hasAI": {
55919
+ "description": "False when the organization's contract requires AI to stay off, regardless of the admin setting.",
55920
+ "type": "boolean",
55921
+ "enum": [
55922
+ false
55923
+ ]
55924
+ },
55837
55925
  "minUsers": {
55838
55926
  "description": "Current minimum users override, when set.",
55839
55927
  "$ref": "#/components/schemas/OrganizationBillingNumericOverride"
@@ -56824,6 +56912,12 @@
56824
56912
  "maxLength": 300,
56825
56913
  "minLength": 0
56826
56914
  },
56915
+ "tagTitle": {
56916
+ "description": "Optional custom title overriding only the page-title segment of the composed `<title>` tag (`<tagTitle || title> | <section> | <site>`).",
56917
+ "type": "string",
56918
+ "maxLength": 100,
56919
+ "minLength": 0
56920
+ },
56827
56921
  "slug": {
56828
56922
  "description": "Page's slug in its direct parent",
56829
56923
  "type": "string"
package/spec/openapi.yaml CHANGED
@@ -9203,7 +9203,7 @@ paths:
9203
9203
  post:
9204
9204
  operationId: addExternalLinkToSite
9205
9205
  summary: Add an external link to a site's navigation
9206
- description: Creates an external navigation link at the site root or in a section group. External links require a section-based site structure and cannot be placed inside a section. The destination must be an absolute HTTP or HTTPS URL. Draft links and links whose adaptive condition does not match are omitted from published structure responses. Use the generic structure sort operation after creation to change sibling order.
9206
+ description: Creates an external navigation link at the site root or in a section group. On a site with root variants and no sections, creating the first external link enables sections and moves those variants into a default section. Links cannot be placed inside a section. The destination must be an absolute HTTP or HTTPS URL. Draft links and links whose adaptive condition does not match are omitted from published structure responses. Use the generic structure sort operation after creation to change sibling order.
9207
9207
  x-gitbook-mcp: true
9208
9208
  tags:
9209
9209
  - site-external-links
@@ -9267,7 +9267,7 @@ paths:
9267
9267
  schema:
9268
9268
  $ref: "#/components/schemas/SiteExternalLink"
9269
9269
  "400":
9270
- description: The site has a simple structure or the parent group is invalid
9270
+ description: The parent group is invalid, or the site has no sections or root variants
9271
9271
  $ref: "#/components/responses/BadRequestError"
9272
9272
  default:
9273
9273
  $ref: "#/components/responses/UnexpectedError"
@@ -18385,6 +18385,10 @@ components:
18385
18385
  type: string
18386
18386
  description:
18387
18387
  type: string
18388
+ tagTitle:
18389
+ description: Optional title for the page's HTML `<title>` tag. When set, it replaces the page title in the composed `<title>` (`<tagTitle || title> | <section> | <site>`), while the page's visible heading and navigation title remain unchanged. Use this when the search result or browser tab should use a different title from the page itself.
18390
+ type: string
18391
+ maxLength: 100
18388
18392
  pages:
18389
18393
  type: array
18390
18394
  items:
@@ -20086,6 +20090,14 @@ components:
20086
20090
  description:
20087
20091
  type: string
20088
20092
  description: Description of the page.
20093
+ linkTitle:
20094
+ description: Optional custom title used for the page in the table of contents and mentions instead of its page title. Set to an empty string to remove it.
20095
+ type: string
20096
+ maxLength: 100
20097
+ tagTitle:
20098
+ description: Optional title for the page's HTML `<title>` tag. When set, it replaces the page title in the composed `<title>` (`<tagTitle || title> | <section> | <site>`), while the page's visible heading and navigation title remain unchanged. Use this when the search result or browser tab should use a different title from the page itself. Set to an empty string to remove it.
20099
+ type: string
20100
+ maxLength: 100
20089
20101
  hidden:
20090
20102
  type: boolean
20091
20103
  description: If true, the page is not displayed in the navigation, while still being accessible.
@@ -21345,6 +21357,9 @@ components:
21345
21357
  canUseSAML:
21346
21358
  description: Whether configuring SAML is allowed
21347
21359
  type: boolean
21360
+ canUseAI:
21361
+ description: Whether AI can be enabled for the organization
21362
+ type: boolean
21348
21363
  creditsBundle:
21349
21364
  description: The AI credit bundle the organization tops up every month, or null when the organization is not billed for AI usage. `none` means pay as you go.
21350
21365
  oneOf:
@@ -21370,6 +21385,7 @@ components:
21370
21385
  - usageAddons
21371
21386
  - canChangeInterval
21372
21387
  - canUseSAML
21388
+ - canUseAI
21373
21389
  - creditsBundle
21374
21390
  - aiCreditAllowance
21375
21391
  - aiCreditRollover
@@ -29868,6 +29884,7 @@ components:
29868
29884
  - syncing
29869
29885
  - succeeded
29870
29886
  - failed
29887
+ - skipped
29871
29888
  ContextConnectionFailureReason:
29872
29889
  type: string
29873
29890
  description: Why a synchronization failed, indicating who can resolve it. `authentication` and `misconfigured` need the connection to be reconfigured; `rate_limited` and `upstream_unavailable` are the source's own limits or downtime and are retried; `unknown` could not be attributed to the source's response.
@@ -29877,6 +29894,25 @@ components:
29877
29894
  - rate_limited
29878
29895
  - upstream_unavailable
29879
29896
  - unknown
29897
+ AISkipReason:
29898
+ type: string
29899
+ description: |-
29900
+ Why an AI task was skipped before execution.
29901
+
29902
+ - `ai_unavailable_for_organization`: The organization's effective plan does not include AI or a
29903
+ required feature. Takes precedence when both the organization and site plans block the task.
29904
+ - `ai_unavailable_for_site`: The site's effective plan does not include the required feature.
29905
+ The site's applied plan takes precedence over its own plan.
29906
+ - `ai_paused`: AI usage is temporarily paused by automatic usage controls.
29907
+ - `ai_disabled`: AI or a required AI feature has been turned off in the organization's settings.
29908
+ - `ai_restricted`: AI is blocked by GitBook or a contractual restriction and cannot be enabled
29909
+ through organization settings.
29910
+ enum:
29911
+ - ai_unavailable_for_organization
29912
+ - ai_unavailable_for_site
29913
+ - ai_disabled
29914
+ - ai_restricted
29915
+ - ai_paused
29880
29916
  ContextSearchBoost:
29881
29917
  type: string
29882
29918
  description: Relative score adjustment applied to records from a connection when searching.
@@ -30264,6 +30300,8 @@ components:
30264
30300
  description: Failure message when synchronization fails
30265
30301
  failureReason:
30266
30302
  $ref: "#/components/schemas/ContextConnectionFailureReason"
30303
+ skipReason:
30304
+ $ref: "#/components/schemas/AISkipReason"
30267
30305
  email:
30268
30306
  type: object
30269
30307
  description: Parameters associated with the connection when it is an email connection
@@ -32708,9 +32746,31 @@ components:
32708
32746
  - selection
32709
32747
  - site
32710
32748
  - page
32749
+ - code
32711
32750
  - embed
32712
32751
  required:
32713
32752
  - type
32753
+ SiteInsightsEventAskTriggerClick:
32754
+ description: Event when a user clicks an entry point that opens the ask UI.
32755
+ allOf:
32756
+ - $ref: "#/components/schemas/SiteInsightsEventBase"
32757
+ - type: object
32758
+ properties:
32759
+ type:
32760
+ type: string
32761
+ enum:
32762
+ - ask_trigger_click
32763
+ trigger:
32764
+ type: string
32765
+ enum:
32766
+ - hover
32767
+ - selection
32768
+ - site
32769
+ - page
32770
+ - code
32771
+ required:
32772
+ - type
32773
+ - trigger
32714
32774
  SiteInsightsEventAskRateResponse:
32715
32775
  allOf:
32716
32776
  - $ref: "#/components/schemas/SiteInsightsEventBase"
@@ -32914,6 +32974,7 @@ components:
32914
32974
  - $ref: "#/components/schemas/SiteInsightsEventAgentFeedback"
32915
32975
  - $ref: "#/components/schemas/SiteInsightsEventAskQuestion"
32916
32976
  - $ref: "#/components/schemas/SiteInsightsEventAskView"
32977
+ - $ref: "#/components/schemas/SiteInsightsEventAskTriggerClick"
32917
32978
  - $ref: "#/components/schemas/SiteInsightsEventAskRateResponse"
32918
32979
  - $ref: "#/components/schemas/SiteInsightsEventLinkClick"
32919
32980
  - $ref: "#/components/schemas/SiteInsightsEventAPIClientOpen"
@@ -33371,6 +33432,7 @@ components:
33371
33432
  - agent_feedback
33372
33433
  - ask_question
33373
33434
  - ask_view
33435
+ - ask_trigger_click
33374
33436
  - ask_rate_response
33375
33437
  - link_click
33376
33438
  - api_client_open
@@ -33448,6 +33510,14 @@ components:
33448
33510
  - duckassist
33449
33511
  - amzn-searchbot
33450
33512
  - amzn-user
33513
+ - other-bot
33514
+ - parallel
33515
+ - exa
33516
+ - linkup
33517
+ - vertex-ai
33518
+ - atlassian
33519
+ - kapa
33520
+ - bedrock
33451
33521
  SiteInsightsPageNotFoundType:
33452
33522
  description: Why a site URL returned a 404. `conditional` means the URL targets content gated by an adaptive-content condition, so the visitor lacked access to a page that exists. Computed by GitBook when the event is ingested; 404s recorded before this existed, and those on genuinely missing pages, carry no value.
33453
33523
  type: string
@@ -35085,6 +35155,11 @@ components:
35085
35155
  aiCreditPauseEnabled:
35086
35156
  description: Whether AI features pause automatically once all AI credits are used, before usage is billed as overage.
35087
35157
  type: boolean
35158
+ hasAI:
35159
+ description: False when the organization's contract requires AI to stay off, regardless of the admin setting.
35160
+ type: boolean
35161
+ enum:
35162
+ - false
35088
35163
  minUsers:
35089
35164
  description: Current minimum users override, when set.
35090
35165
  $ref: "#/components/schemas/OrganizationBillingNumericOverride"
@@ -35750,6 +35825,11 @@ components:
35750
35825
  type: string
35751
35826
  maxLength: 300
35752
35827
  minLength: 0
35828
+ tagTitle:
35829
+ description: Optional custom title overriding only the page-title segment of the composed `<title>` tag (`<tagTitle || title> | <section> | <site>`).
35830
+ type: string
35831
+ maxLength: 100
35832
+ minLength: 0
35753
35833
  slug:
35754
35834
  description: Page's slug in its direct parent
35755
35835
  type: string