@gitbook/api 0.185.0 → 0.187.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
@@ -219,6 +219,7 @@ export declare enum SiteInsightsEventType {
219
219
  SearchOpenResult = "search_open_result",
220
220
  PagePostFeedback = "page_post_feedback",
221
221
  PagePostFeedbackComment = "page_post_feedback_comment",
222
+ AgentFeedback = "agent_feedback",
222
223
  AskQuestion = "ask_question",
223
224
  AskView = "ask_view",
224
225
  AskRateResponse = "ask_rate_response",
@@ -277,14 +278,6 @@ export declare enum AIModel {
277
278
  ReasoningMedium = "reasoning-medium",
278
279
  ReasoningHigh = "reasoning-high"
279
280
  }
280
- /**
281
- * The mode influences the response time and quality of the AI's answer. Fast mode will prioritize quicker responses with potentially less well reasoned answers and normal mode will allow for more comprehensive responses at the cost of longer response time.
282
- * @default "normal"
283
- */
284
- export declare enum AIMessageMode {
285
- Normal = "normal",
286
- Fast = "fast"
287
- }
288
281
  /** The phase of a step in a message from the AI agent. */
289
282
  export declare enum AIMessageStepPhase {
290
283
  Commentary = "commentary",
@@ -368,8 +361,15 @@ export declare enum SiteFindingType {
368
361
  ContentGap = "content-gap",
369
362
  Other = "other"
370
363
  }
371
- /** Status of a site finding. */
364
+ /**
365
+ * Status of a site finding.
366
+ * - `candidate` is a finding that has been raised but not yet confirmed. Typically these are not shown to users.
367
+ * - `open` is a finding that has been surfaced to users and is still under investigation.
368
+ * - `done` is a finding that has been resolved and is no longer under investigation.
369
+ * - `canceled` is a finding that has been canceled and is no longer under investigation.
370
+ */
372
371
  export declare enum SiteFindingStatus {
372
+ Candidate = "candidate",
373
373
  Open = "open",
374
374
  Done = "done",
375
375
  Canceled = "canceled"
@@ -1134,7 +1134,15 @@ export type ContentKitInlineElement = ContentKitText | ContentKitImage | Content
1134
1134
  export type ContentKitDescendantElement = ContentKitButton | ContentKitTextInput | ContentKitHStack | ContentKitVStack | ContentKitBox | ContentKitDivider | ContentKitWebFrame | ContentKitCodeBlock | ContentKitMarkdown | ContentKitCard | ContentKitImage | ContentKitInput | ContentKitSelect | ContentKitSwitch | ContentKitCheckbox | ContentKitRadio | ContentKitText | ContentKitHint | ContentKitLink | ContentKitStepperStep;
1135
1135
  /** Any event that can be received from GitBook. */
1136
1136
  export type Event = InstallationSetupEvent | InstallationDeletedEvent | SpaceInstallationSetupEvent | SpaceInstallationDeletedEvent | SiteInstallationSetupEvent | SiteInstallationDeletedEvent | SiteViewEvent | SpaceContentUpdatedEvent | SpaceGitSyncCompletedEvent | SpaceGitSyncStartedEvent | SpaceVisibilityUpdatedEvent | TaskEvent | FetchEvent | FetchPublishedScriptEvent | FetchVisitorAuthenticationEvent | UIRenderEvent | ContentComputeDocumentEvent | ContentComputeRevisionEvent | PageFeedbackEvent;
1137
- export type ChangeRequestContentChange = ChangeRequestContentChangeUpdatePage;
1137
+ export type ChangeRequestContentChange = ({
1138
+ operation: "update_page";
1139
+ } & ChangeRequestContentChangeUpdatePage) | ({
1140
+ operation: "insert_page";
1141
+ } & ChangeRequestContentChangeInsertPage) | ({
1142
+ operation: "delete_page";
1143
+ } & ChangeRequestContentChangeDeletePage) | ({
1144
+ operation: "revert_page";
1145
+ } & ChangeRequestContentChangeRevertPage);
1138
1146
  /** An absolute reference to content in GitBook. */
1139
1147
  export type ContentLocation = ContentLocationFile | ContentLocationURL | ContentLocationPage | ContentLocationUser | ContentLocationCollection | ContentLocationSpace | ContentLocationReusableContent | ContentLocationOpenAPI;
1140
1148
  export type Revision = RevisionTypeEdits | RevisionTypeMerge | RevisionTypeRollback | RevisionTypeUpdate | RevisionTypeComputed;
@@ -1324,6 +1332,8 @@ export interface Space {
1324
1332
  * * `locked`: All edits are locked for this space.
1325
1333
  */
1326
1334
  editMode?: SpaceEditMode;
1335
+ /** Kind of space. Only set to `styleguide` for spaces holding a team's writing styleguide; omitted for regular spaces. */
1336
+ type?: "styleguide";
1327
1337
  mergeRules: MergeRulesSpaceConfiguration;
1328
1338
  /** URLs associated with the object */
1329
1339
  urls: {
@@ -1636,7 +1646,13 @@ export interface RevisionPageBase {
1636
1646
  updatedAt?: Timestamp;
1637
1647
  }
1638
1648
  export interface MarkdownDocument {
1639
- /** Content of the document formatted as markdown */
1649
+ /**
1650
+ * Content of the document formatted as markdown
1651
+ * @example "# Hello World
1652
+ *
1653
+ * This is a markdown document linking to [another page](/pages/page_id).
1654
+ * "
1655
+ */
1640
1656
  markdown: string;
1641
1657
  }
1642
1658
  export interface DocumentMarkBold {
@@ -2024,6 +2040,8 @@ export interface DocumentBlockTable {
2024
2040
  definition: Record<string, DocumentTableDefinition>;
2025
2041
  /** Whether to render the block as a full width one */
2026
2042
  fullWidth?: boolean;
2043
+ /** Whether to show the search bar on the table. When unset, search is shown automatically on grid tables once they have enough rows. */
2044
+ search?: boolean;
2027
2045
  };
2028
2046
  fragments: DocumentFragment[];
2029
2047
  }
@@ -2471,6 +2489,7 @@ export interface DocumentInlineButton {
2471
2489
  });
2472
2490
  isVoid: true;
2473
2491
  }
2492
+ /** @example {"object":"document","data":{},"nodes":[{"object":"block","type":"paragraph","data":{},"nodes":[{"object":"text","leaves":[{"object":"leaf","text":"Hello world","marks":[]}]}]}]} */
2474
2493
  export interface JSONDocument {
2475
2494
  object: "document";
2476
2495
  data: {
@@ -3526,6 +3545,8 @@ export interface AgentConversation {
3526
3545
  id: string;
3527
3546
  /** The title of the conversation, generated from the first message. Absent until generated. */
3528
3547
  title?: string;
3548
+ /** Whether the conversation is shared with everyone who has access to the change request, rather than only its creator. Conversations are shared by default; a private conversation is only ever visible to its creator and stays private for good. */
3549
+ shared: boolean;
3529
3550
  createdAt: Timestamp;
3530
3551
  updatedAt: Timestamp;
3531
3552
  }
@@ -3587,13 +3608,55 @@ export interface PostCommentReplySchema {
3587
3608
  export type ChangeRequestUserContributor = UserContributor & {
3588
3609
  actionType: "edit" | "comment";
3589
3610
  };
3590
- /** Replace the document of an existing page with another document. */
3611
+ /**
3612
+ * Replace the document of an existing page with another document.
3613
+ * @example {"operation":"update_page","page":"page_id","document":{"markdown":"# Hello World\n\nThis is a markdown document linking to [another page](/pages/page_id).\n"}}
3614
+ */
3591
3615
  export interface ChangeRequestContentChangeUpdatePage {
3592
3616
  operation: "update_page";
3593
3617
  /** ID of the page whose content should be updated. */
3594
3618
  page: string;
3595
3619
  document: Document;
3596
3620
  }
3621
+ /**
3622
+ * Insert a new page into the change request.
3623
+ * @example {"operation":"insert_page","title":"New page","document":{"markdown":"# New page\n\nThis is a new page.\n"}}
3624
+ */
3625
+ export interface ChangeRequestContentChangeInsertPage {
3626
+ operation: "insert_page";
3627
+ /** Title of the new page. */
3628
+ title: string;
3629
+ /** ID of the parent page to insert the new page into. If omitted, the page is inserted as a root page. */
3630
+ into?: string;
3631
+ /**
3632
+ * Zero-based index to insert the page at among its siblings. If omitted, the page is appended at the end.
3633
+ * @min 0
3634
+ */
3635
+ at?: number;
3636
+ document: Document;
3637
+ }
3638
+ /**
3639
+ * Delete an existing page (and its subpages) from the change request.
3640
+ * @example {"operation":"delete_page","page":"page_id"}
3641
+ */
3642
+ export interface ChangeRequestContentChangeDeletePage {
3643
+ operation: "delete_page";
3644
+ /** ID of the page to delete. */
3645
+ page: string;
3646
+ }
3647
+ /**
3648
+ * Revert a page to the state it had in a given revision. If `revision` is omitted, the page is reverted to the change request's base revision. Without `block`, the whole page is reverted — added pages are removed, deleted pages are restored, and modified pages have their document reset. With `block`, only the listed block-level changes in the page's document are reverted (each block is removed if it was added, restored if it was deleted, or reset if it was modified or moved); other blocks and the page's properties/metadata are left untouched.
3649
+ * @example {"operation":"revert_page","page":"page_id"}
3650
+ */
3651
+ export interface ChangeRequestContentChangeRevertPage {
3652
+ operation: "revert_page";
3653
+ /** ID of the page to revert. */
3654
+ page: string;
3655
+ /** ID of the revision to revert the page to. If omitted, the change request's base revision is used. */
3656
+ revision?: string;
3657
+ /** Keys of the specific blocks to revert within the page's document, as they appear in the page's document. If omitted, the whole page is reverted. */
3658
+ block?: string[];
3659
+ }
3597
3660
  export interface ChangedRevisionPage {
3598
3661
  id: string;
3599
3662
  type: RevisionPageType;
@@ -4577,6 +4640,21 @@ export interface Site {
4577
4640
  permissionsModel: SitePermissionsModel;
4578
4641
  /** Default level for a piece of content */
4579
4642
  defaultLevel: DefaultLevel;
4643
+ /** The set of permissions for the site. */
4644
+ permissions: {
4645
+ /** Can the user view the site. */
4646
+ view: boolean;
4647
+ /** Can the user access the site in the application. */
4648
+ access: boolean;
4649
+ /** Can the user edit the site and manage its settings. */
4650
+ admin: boolean;
4651
+ /** Can the user install integrations on the site. */
4652
+ installIntegration: boolean;
4653
+ /** Can the user view the adaptive schema of the site. */
4654
+ viewAdaptiveSchema: boolean;
4655
+ /** Can the user edit the adaptive schema of the site. */
4656
+ editAdaptiveSchema: boolean;
4657
+ };
4580
4658
  /** Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting. */
4581
4659
  published: boolean;
4582
4660
  siteSpaces: number;
@@ -5138,6 +5216,31 @@ export interface OrganizationAllContent {
5138
5216
  /** List of soft-deleted spaces. */
5139
5217
  deletedSpaces: OrganizationAllSpace[];
5140
5218
  }
5219
+ /** A styleguide space and all the sites referencing it. */
5220
+ export interface OrganizationStyleguide {
5221
+ space: Space;
5222
+ /** Sites in the organization that reference this styleguide. */
5223
+ sites: Site[];
5224
+ }
5225
+ export interface OrganizationStyleguides {
5226
+ styleguides: OrganizationStyleguide[];
5227
+ }
5228
+ /** A built-in styleguide starter template used to seed and preview a styleguide. */
5229
+ export interface StyleguideTemplate {
5230
+ /** Identifier of the template, passed to createSiteStyleguideById to seed a styleguide from it. */
5231
+ id: string;
5232
+ /** Human-readable name of the template. */
5233
+ title: string;
5234
+ /** Short one-line description of the template. */
5235
+ subtitle?: string;
5236
+ /** Emoji illustrating the template. */
5237
+ emoji?: string;
5238
+ /** Markdown content of the template, rendered as a preview. */
5239
+ markdown: string;
5240
+ }
5241
+ export interface StyleguideTemplates {
5242
+ templates: StyleguideTemplate[];
5243
+ }
5141
5244
  /** Permission of a member in a content. */
5142
5245
  export interface MemberContentPermission {
5143
5246
  /**
@@ -6209,13 +6312,6 @@ export interface SiteCustomizationSettingsBase {
6209
6312
  /** Should the reader be able to switch between dark and light mode */
6210
6313
  toggeable: boolean;
6211
6314
  };
6212
- pdf: {
6213
- /**
6214
- * Deprecated: use `pageActions.items` instead. If true, PDF export is enabled for the published site. Kept in sync with the presence of `pdf` in `pageActions.items`.
6215
- * @deprecated
6216
- */
6217
- enabled: boolean;
6218
- };
6219
6315
  feedback: {
6220
6316
  /** If true, feedback gathering is enabled */
6221
6317
  enabled: boolean;
@@ -6229,38 +6325,16 @@ export interface SiteCustomizationSettingsBase {
6229
6325
  /** If true, Advanced customization is enabled */
6230
6326
  enabled: boolean;
6231
6327
  };
6232
- git: {
6233
- /**
6234
- * Deprecated: use `pageActions.items` instead. Whether the published site should show a link to edit the content on the git provider set up in the Git Sync. Kept in sync with the presence of `git` in `pageActions.items`.
6235
- * @deprecated
6236
- */
6237
- showEditLink: boolean;
6238
- };
6239
6328
  pageActions: {
6240
- /**
6241
- * Deprecated: use `items` instead. Whether actions to open ChatGPT, Anthropic, etc. should be available in the page menu. Kept in sync with the presence of `external-ai` in `items`.
6242
- * @deprecated
6243
- */
6244
- externalAI: boolean;
6245
- /**
6246
- * Deprecated: use `items` instead. Whether the copy and open the markdown version of the page should be available in the page menu. Kept in sync with the presence of `markdown` in `items`.
6247
- * @deprecated
6248
- */
6249
- markdown: boolean;
6250
- /**
6251
- * Deprecated: use `items` instead. Whether an action to connect to the docs using the MCP server should be available in the page menu. Kept in sync with the presence of `mcp` in `items`.
6252
- * @deprecated
6253
- */
6254
- mcp: boolean;
6255
6329
  /**
6256
6330
  * Ordered list of the page actions enabled in the page menu. This is the source of truth for
6257
6331
  * which actions are enabled and in which order: the position defines the display order, the
6258
6332
  * first action is the default one, surfaced as the main button on the page, and actions not
6259
- * present in the list are disabled. When omitted on input, the deprecated `externalAI`,
6260
- * `markdown`, `mcp`, `pdf` and `git` flags are used to derive the list. The `assistant` action
6261
- * is governed by the `ai.mode` setting rather than this list: it is always present (prepended
6262
- * by default if missing, otherwise keeping its position) when the assistant is enabled, and
6263
- * always absent when it is disabled.
6333
+ * present in the list are disabled. An empty list turns the page menu off entirely: no action
6334
+ * is shown, not even the `assistant`. On a non-empty list the `assistant` action follows the
6335
+ * `ai.mode` setting rather than its own presence: it is kept (prepended by default if missing,
6336
+ * otherwise keeping its position) when the assistant is enabled and absent when it is disabled.
6337
+ * When the menu is off, the assistant stays reachable from the header via `ai.mode`.
6264
6338
  */
6265
6339
  items: CustomizationPageActionType[];
6266
6340
  };
@@ -6445,7 +6519,7 @@ export interface SiteInsightsSession {
6445
6519
  sessionId: string;
6446
6520
  }
6447
6521
  /** Integration source */
6448
- export type ContextConnector = string | "builtin:email" | "builtin:api" | "builtin:website" | "builtin:youtube" | "builtin:github-discussions" | "builtin:github-issues" | "builtin:intercom" | "builtin:zendesk";
6522
+ export type ContextConnector = string | "builtin:email" | "builtin:api" | "builtin:website" | "builtin:youtube" | "builtin:github-discussions" | "builtin:github-issues" | "builtin:intercom" | "builtin:zendesk" | "builtin:pylon" | "builtin:linear";
6449
6523
  /**
6450
6524
  * Title for the context record
6451
6525
  * @minLength 1
@@ -6561,7 +6635,13 @@ export interface SiteFinding {
6561
6635
  records: number;
6562
6636
  /** Number of questions linked to the finding */
6563
6637
  questions: number;
6564
- /** Status of a site finding. */
6638
+ /**
6639
+ * Status of a site finding.
6640
+ * - `candidate` is a finding that has been raised but not yet confirmed. Typically these are not shown to users.
6641
+ * - `open` is a finding that has been surfaced to users and is still under investigation.
6642
+ * - `done` is a finding that has been resolved and is no longer under investigation.
6643
+ * - `canceled` is a finding that has been canceled and is no longer under investigation.
6644
+ */
6565
6645
  status: SiteFindingStatus;
6566
6646
  /**
6567
6647
  * Classification of a site finding:
@@ -6678,6 +6758,12 @@ export interface SiteQuestion {
6678
6758
  * @maxLength 128
6679
6759
  */
6680
6760
  export type ContextConnectionLabel = string;
6761
+ /**
6762
+ * Optional filter used to restrict which items are ingested from the source. Its meaning depends on the connector: it can be a tag, label, or an expression. When empty or omitted, all resolved items are ingested.
6763
+ * @minLength 0
6764
+ * @maxLength 1024
6765
+ */
6766
+ export type ContextConnectionFilter = string;
6681
6767
  export interface ContextUsageSettings {
6682
6768
  /** Whether to use context to propose change requests */
6683
6769
  changeRequests: boolean;
@@ -6749,6 +6835,18 @@ export type ContextConnectorSetup = {
6749
6835
  /** @minLength 1 */
6750
6836
  apiToken: string;
6751
6837
  };
6838
+ } | {
6839
+ connector: "builtin:pylon";
6840
+ setupSettings: {
6841
+ /** @minLength 1 */
6842
+ token: string;
6843
+ };
6844
+ } | {
6845
+ connector: "builtin:linear";
6846
+ setupSettings: {
6847
+ /** @minLength 1 */
6848
+ token: string;
6849
+ };
6752
6850
  };
6753
6851
  export type ContextConnection = {
6754
6852
  object: "context-connection";
@@ -6758,6 +6856,8 @@ export type ContextConnection = {
6758
6856
  syncedAt?: Timestamp;
6759
6857
  /** Optional label for the connection */
6760
6858
  label?: ContextConnectionLabel;
6859
+ /** Optional filter used to restrict which items are ingested from the source. Its meaning depends on the connector: it can be a tag, label, or an expression. When empty or omitted, all resolved items are ingested. */
6860
+ filter?: ContextConnectionFilter;
6761
6861
  status: ContextConnectionStatus;
6762
6862
  /** Number of records ingested from this connection */
6763
6863
  records: number;
@@ -7131,6 +7231,20 @@ export interface AIToolCallCreateChangeRequest {
7131
7231
  subject: string;
7132
7232
  };
7133
7233
  }
7234
+ export interface AIToolCallGetChangeRequestDetails {
7235
+ tool: "getChangeRequestDetails";
7236
+ /** The ID of the space the change request belongs to. */
7237
+ spaceId: string;
7238
+ /** The ID of the change request. */
7239
+ changeRequestId: string;
7240
+ }
7241
+ export interface AIToolCallSetChangeRequestDetails {
7242
+ tool: "setChangeRequestDetails";
7243
+ /** The ID of the space the change request belongs to. */
7244
+ spaceId: string;
7245
+ /** The ID of the change request. */
7246
+ changeRequestId: string;
7247
+ }
7134
7248
  export interface AIToolCallComment {
7135
7249
  tool: "comment";
7136
7250
  /** The ID of the space being commented. */
@@ -7187,7 +7301,7 @@ export interface AIToolCallOther {
7187
7301
  /** Summary of a generic tool call. */
7188
7302
  summary: AIToolCallOtherSummary;
7189
7303
  }
7190
- export type AIToolCall = AIToolCallGetPageContent | AIToolCallGetRecordContent | AIToolCallGetPages | AIToolCallGetReusableContents | AIToolCallSearch | AIToolCallEditPage | AIToolCallCreatePage | AIToolCallDeletePage | AIToolCallRenamePage | AIToolCallMovePage | AIToolCallListModifiedPages | AIToolCallGetPageDiff | AIToolCallCreateReusableContent | AIToolCallEditReusableContent | AIToolCallGetReusableContent | AIToolCallGetVariables | AIToolCallUpdateVariables | AIToolCallGetTags | AIToolCallUpdateTags | AIToolCallCreateChangeRequest | AIToolCallComment | AIToolCallReplyToComment | AIToolCallSubmitChangeRequestReview | AIToolCallMCP | AIToolCallOther;
7304
+ export type AIToolCall = AIToolCallGetPageContent | AIToolCallGetRecordContent | AIToolCallGetPages | AIToolCallGetReusableContents | AIToolCallSearch | AIToolCallEditPage | AIToolCallCreatePage | AIToolCallDeletePage | AIToolCallRenamePage | AIToolCallMovePage | AIToolCallListModifiedPages | AIToolCallGetPageDiff | AIToolCallCreateReusableContent | AIToolCallEditReusableContent | AIToolCallGetReusableContent | AIToolCallGetVariables | AIToolCallUpdateVariables | AIToolCallGetTags | AIToolCallUpdateTags | AIToolCallCreateChangeRequest | AIToolCallGetChangeRequestDetails | AIToolCallSetChangeRequestDetails | AIToolCallComment | AIToolCallReplyToComment | AIToolCallSubmitChangeRequestReview | AIToolCallMCP | AIToolCallOther;
7191
7305
  export interface Timerange {
7192
7306
  start: Timestamp;
7193
7307
  end: Timestamp;
@@ -7352,6 +7466,10 @@ export interface UserSitePermission {
7352
7466
  user: User;
7353
7467
  /** The origin that enforced the effective permission level for a user in a site. */
7354
7468
  origin: UserSitePermissionOrigin;
7469
+ /** Whether the user is disabled */
7470
+ disabled: boolean;
7471
+ /** Date at which the user was last seen */
7472
+ lastSeenAt?: Timestamp;
7355
7473
  }
7356
7474
  /** Permission override of a user in a site. */
7357
7475
  export interface UserSitePermissionOverride {
@@ -7372,8 +7490,6 @@ export interface AIMessageInput {
7372
7490
  /** Context about the current user sending a message. */
7373
7491
  context?: AIMessageContext;
7374
7492
  attachments?: AIAttachment[];
7375
- /** The mode influences the response time and quality of the AI's answer. Fast mode will prioritize quicker responses with potentially less well reasoned answers and normal mode will allow for more comprehensive responses at the cost of longer response time. */
7376
- mode?: AIMessageMode;
7377
7493
  }
7378
7494
  /** Description of a tool that can be called from an AI agent. */
7379
7495
  export interface AIToolDefinition {
@@ -7637,10 +7753,30 @@ export type SiteInsightsEventPagePostFeedbackComment = SiteInsightsEventBase & {
7637
7753
  comment: string;
7638
7754
  };
7639
7755
  };
7756
+ export type SiteInsightsEventAgentFeedback = SiteInsightsEventBase & {
7757
+ type: "agent_feedback";
7758
+ feedback: {
7759
+ /**
7760
+ * @minLength 1
7761
+ * @maxLength 2048
7762
+ */
7763
+ content: string;
7764
+ /**
7765
+ * Classification of a site finding:
7766
+ * - Outdated content: The content is no longer up to date with external context and may be misleading or incorrect.
7767
+ * - Incoherent content: The content contains information that is inconsistent or contradictory.
7768
+ * - Content gap: The content is missing important information that should be present to answer user questions effectively.
7769
+ * - Other: Any other type of finding not covered by the above categories.
7770
+ */
7771
+ category: SiteFindingType;
7772
+ };
7773
+ };
7640
7774
  export type SiteInsightsEventAskQuestion = SiteInsightsEventBase & {
7641
7775
  type: "ask_question";
7642
7776
  /** Question being asked. */
7643
7777
  query: string;
7778
+ /** The end goal the calling agent is trying to accomplish on behalf of the user, when provided alongside the question. Used to measure the goal→completion lifecycle per agent. */
7779
+ goal?: string;
7644
7780
  };
7645
7781
  /** Event when a user views the ask UI. */
7646
7782
  export type SiteInsightsEventAskView = SiteInsightsEventBase & {
@@ -7699,7 +7835,7 @@ export type SiteInsightsEventMCPRequest = SiteInsightsEventBase & {
7699
7835
  export type SiteInsightsEventRSSRequest = SiteInsightsEventBase & {
7700
7836
  type: "rss_request";
7701
7837
  };
7702
- export type SiteInsightsEvent = SiteInsightsEventPageView | SiteInsightsEventPageMarkdownRequest | SiteInsightsEventSearchOpen | SiteInsightsEventSearchTypeQuery | SiteInsightsEventSearchOpenResult | SiteInsightsEventPagePostFeedback | SiteInsightsEventPagePostFeedbackComment | SiteInsightsEventAskQuestion | SiteInsightsEventAskView | SiteInsightsEventAskRateResponse | SiteInsightsEventLinkClick | SiteInsightsEventAPIClientOpen | SiteInsightsEventAPIClientRequest | SiteInsightsEventTrademarkClick | SiteInsightsEventAdClick | SiteInsightsEventAdDisplay | SiteInsightsEventLLMSRequest | SiteInsightsEventMCPRequest | SiteInsightsEventRSSRequest;
7838
+ export type SiteInsightsEvent = SiteInsightsEventPageView | SiteInsightsEventPageMarkdownRequest | SiteInsightsEventSearchOpen | SiteInsightsEventSearchTypeQuery | SiteInsightsEventSearchOpenResult | SiteInsightsEventPagePostFeedback | SiteInsightsEventPagePostFeedbackComment | SiteInsightsEventAgentFeedback | SiteInsightsEventAskQuestion | SiteInsightsEventAskView | SiteInsightsEventAskRateResponse | SiteInsightsEventLinkClick | SiteInsightsEventAPIClientOpen | SiteInsightsEventAPIClientRequest | SiteInsightsEventTrademarkClick | SiteInsightsEventAdClick | SiteInsightsEventAdDisplay | SiteInsightsEventLLMSRequest | SiteInsightsEventMCPRequest | SiteInsightsEventRSSRequest;
7703
7839
  export interface SiteInsightsQueryDateTimeColumn {
7704
7840
  column: "datetime";
7705
7841
  interval?: "hour" | "day" | "week" | "month";
@@ -8234,7 +8370,6 @@ export interface BlockContext {
8234
8370
  block: boolean;
8235
8371
  /** A short description giving context on the reason for the block. */
8236
8372
  reason?: BlockReason;
8237
- blockPaidOrg?: boolean;
8238
8373
  }
8239
8374
  /** The GitBook User impersonation info. */
8240
8375
  export interface UserImpersonationInfo {
@@ -9695,6 +9830,22 @@ export interface AgentActivity {
9695
9830
  /** When `type` is `tool`, the name of the tool being called (matches `AIToolCall.tool`). */
9696
9831
  tool?: string;
9697
9832
  }
9833
+ /** An option the user can pick when answering a question asked by the agent. */
9834
+ export interface AgentQuestionOption {
9835
+ /** Short label for the option, displayed as a button and used as the answer. */
9836
+ label: string;
9837
+ /** Optional longer description to clarify what the option means. */
9838
+ description?: string;
9839
+ }
9840
+ /** A question the agent is waiting for the user to answer. While set, the client replaces the prompt with a choice control. The user can pick one of the options or answer with a custom free-text message; either way the answer resolves the pending tool call. */
9841
+ export interface AgentPendingQuestion {
9842
+ /** ID of the tool call this question resolves, used to continue the conversation. */
9843
+ toolCallId: string;
9844
+ /** The question to display to the user. */
9845
+ question: string;
9846
+ /** The options the user can choose from. */
9847
+ options: AgentQuestionOption[];
9848
+ }
9698
9849
  export interface AgentState {
9699
9850
  status: AgentStatus;
9700
9851
  /** List of response suggestions for the user to select from. */
@@ -9703,6 +9854,8 @@ export interface AgentState {
9703
9854
  queuedMessages: AIMessageInput[];
9704
9855
  /** What the agent is currently doing. Only set while the agent is processing. */
9705
9856
  activity?: AgentActivity;
9857
+ /** A question the agent is waiting for the user to answer. While set, the client replaces the prompt with a choice control. */
9858
+ pendingQuestion?: AgentPendingQuestion;
9706
9859
  }
9707
9860
  /** Payload emitted by the agent with its current state. */
9708
9861
  export interface AgentStreamState {
@@ -9902,11 +10055,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9902
10055
  };
9903
10056
  spaces: {
9904
10057
  /**
9905
- * No description
10058
+ * @description Returns the full metadata for a space. Use this to resolve a spaceId into a complete Space object. If you only need content, use the content endpoint instead.
9906
10059
  *
9907
10060
  * @tags spaces, critical
9908
10061
  * @name GetSpaceById
9909
- * @summary Get a space by its ID
10062
+ * @summary Get full details of a space by its ID
9910
10063
  * @request GET:/spaces/{spaceId}
9911
10064
  * @secure
9912
10065
  */
@@ -9915,11 +10068,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9915
10068
  shareKey?: string;
9916
10069
  }, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
9917
10070
  /**
9918
- * No description
10071
+ * @description Updates a space's metadata and settings. To update page content, use the change-request workflow instead.
9919
10072
  *
9920
10073
  * @tags spaces
9921
10074
  * @name UpdateSpaceById
9922
- * @summary Update a space
10075
+ * @summary Update a space's title, icon, or settings
9923
10076
  * @request PATCH:/spaces/{spaceId}
9924
10077
  * @secure
9925
10078
  */
@@ -9956,31 +10109,31 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9956
10109
  */
9957
10110
  deleteSpaceById: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
9958
10111
  /**
9959
- * No description
10112
+ * @description Creates a new space that is a complete copy of the specified space, including all pages and their content. The duplicate is created in the same organization. Returns the newly created space. Use this to create a template-based copy or to snapshot a space before making large changes.
9960
10113
  *
9961
10114
  * @tags spaces
9962
10115
  * @name DuplicateSpace
9963
- * @summary Duplicate a space
10116
+ * @summary Create a full copy of a space
9964
10117
  * @request POST:/spaces/{spaceId}/duplicate
9965
10118
  * @secure
9966
10119
  */
9967
10120
  duplicateSpace: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
9968
10121
  /**
9969
- * @description Only spaces deleted in the last 7 days can be restored.
10122
+ * @description Restores a previously deleted space, making it active again. Only spaces deleted within the last 7 days can be restored; after that they are permanently removed. Returns the restored space object. To delete a space, use the space delete endpoint.
9970
10123
  *
9971
10124
  * @tags spaces
9972
10125
  * @name RestoreSpace
9973
- * @summary Restore a deleted space
10126
+ * @summary Restore a recently deleted space from the trash
9974
10127
  * @request POST:/spaces/{spaceId}/restore
9975
10128
  * @secure
9976
10129
  */
9977
10130
  restoreSpace: (spaceId: EntityId, params?: RequestParams) => Promise<HttpResponse<Space, any>>;
9978
10131
  /**
9979
- * No description
10132
+ * @description Moves a space to a new parent collection and/or a new position within the hierarchy.
9980
10133
  *
9981
10134
  * @tags spaces
9982
10135
  * @name MoveSpace
9983
- * @summary Move a space to a new position
10136
+ * @summary Move a space to a different collection or position
9984
10137
  * @request POST:/spaces/{spaceId}/move
9985
10138
  * @secure
9986
10139
  */
@@ -10009,11 +10162,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10009
10162
  };
10010
10163
  }>>;
10011
10164
  /**
10012
- * No description
10165
+ * @description Resolves an external URL to an oEmbed representation (title, thumbnail, HTML snippet) within the context of a space. Use this to preview or embed third-party content referenced in a space's pages. Requires the URL as a query parameter.
10013
10166
  *
10014
10167
  * @tags space-embeds
10015
10168
  * @name GetEmbedByUrlInSpace
10016
- * @summary Resolve a URL to an embed in a given space
10169
+ * @summary Resolve a URL to an oEmbed object within a space
10017
10170
  * @request GET:/spaces/{spaceId}/embed
10018
10171
  * @secure
10019
10172
  */
@@ -10022,11 +10175,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10022
10175
  url: string;
10023
10176
  }, params?: RequestParams) => Promise<HttpResponse<Embed, any>>;
10024
10177
  /**
10025
- * No description
10178
+ * @description Searches the full text of all published pages in a space and returns matching pages with ranked excerpts. Use this to find pages by topic or keyword within a specific space. For site-wide search across all spaces in a site, use the site search endpoint instead.
10026
10179
  *
10027
10180
  * @tags space-content
10028
10181
  * @name SearchSpaceContent
10029
- * @summary Search content in a space
10182
+ * @summary Full-text search across all pages in a space
10030
10183
  * @request GET:/spaces/{spaceId}/search
10031
10184
  * @secure
10032
10185
  */
@@ -10045,31 +10198,31 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10045
10198
  items: SearchPageResult[];
10046
10199
  }, any>>;
10047
10200
  /**
10048
- * No description
10201
+ * @description Triggers an import from the linked Git repository into the space, updating the space's content to match the repository. This is an async operation — it runs in the background after the request returns 204. Use getSpaceGitInfo to check sync status. The space must already have a Git provider configured.
10049
10202
  *
10050
10203
  * @tags space-git
10051
10204
  * @name ImportGitRepository
10052
- * @summary Import a Git repository
10205
+ * @summary Pull content into a space from a connected Git repository
10053
10206
  * @request POST:/spaces/{spaceId}/git/import
10054
10207
  * @secure
10055
10208
  */
10056
10209
  importGitRepository: (spaceId: EntityId, data: ImportGitRepository, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10057
10210
  /**
10058
- * No description
10211
+ * @description Triggers an export of the space's current content to the linked Git repository. This is an async operation — the export runs in the background after the request returns 204. Use getSpaceGitInfo to check the current git sync status. The space must already have a Git provider configured.
10059
10212
  *
10060
10213
  * @tags space-git
10061
10214
  * @name ExportToGitRepository
10062
- * @summary Export the to a Git repository
10215
+ * @summary Push space content to a connected Git repository
10063
10216
  * @request POST:/spaces/{spaceId}/git/export
10064
10217
  * @secure
10065
10218
  */
10066
10219
  exportToGitRepository: (spaceId: EntityId, data: ExportToGitRepository, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10067
10220
  /**
10068
- * @description Get metadata about the Git Sync provider currently set up on the space.
10221
+ * @description Returns metadata about the Git Sync provider connected to the space. Returns 404 if no Git provider is configured. Use this to check sync state before triggering an import or export.
10069
10222
  *
10070
10223
  * @tags space-git
10071
10224
  * @name GetSpaceGitInfo
10072
- * @summary Get space Git info
10225
+ * @summary Get the Git Sync configuration and status for a space
10073
10226
  * @request GET:/spaces/{spaceId}/git/info
10074
10227
  * @secure
10075
10228
  */
@@ -10237,11 +10390,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10237
10390
  };
10238
10391
  }>>;
10239
10392
  /**
10240
- * No description
10393
+ * @description Retrieves the live published revision of a space, which includes the full page tree structure and associated files. Use this to inspect the currently published content state of a space. For in-progress edits, use the change-request content endpoint instead.
10241
10394
  *
10242
10395
  * @tags space-content
10243
10396
  * @name GetCurrentRevision
10244
- * @summary Get a space current revision
10397
+ * @summary Get the current published content revision of a space
10245
10398
  * @request GET:/spaces/{spaceId}/content
10246
10399
  * @secure
10247
10400
  */
@@ -10258,11 +10411,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10258
10411
  computed?: boolean;
10259
10412
  }, params?: RequestParams) => Promise<HttpResponse<Revision, any>>;
10260
10413
  /**
10261
- * No description
10414
+ * @description Populates a space with pages and structure from a specified template, bootstrapping it with a standard documentation layout. Use this to initialise a new space rather than creating pages manually. Optionally apply the template to a specific change request instead of main content by providing the changeRequestId field.
10262
10415
  *
10263
10416
  * @tags space-content
10264
10417
  * @name ApplyTemplateToSpace
10265
- * @summary Apply a template to a space.
10418
+ * @summary Apply a content template to populate a space with initial pages
10266
10419
  * @request POST:/spaces/{spaceId}/content/template
10267
10420
  * @secure
10268
10421
  */
@@ -10271,11 +10424,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10271
10424
  changeRequestId?: string;
10272
10425
  }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10273
10426
  /**
10274
- * No description
10427
+ * @description Returns the complete list of all pages in a space's current revision, including their titles, URL paths, and parent-child relationships. Use this to understand the full content structure of a space or build navigation. For the content of a single page, use getPageById or getPageByPath instead.
10275
10428
  *
10276
10429
  * @tags space-content
10277
10430
  * @name ListPages
10278
- * @summary List all space pages
10431
+ * @summary List all pages in a space with their hierarchy and metadata
10279
10432
  * @request GET:/spaces/{spaceId}/content/pages
10280
10433
  * @secure
10281
10434
  */
@@ -10294,11 +10447,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10294
10447
  pages: RevisionPage[];
10295
10448
  }, any>>;
10296
10449
  /**
10297
- * No description
10450
+ * @description Returns a paginated list of all files (images, attachments, and other assets) uploaded to a space's current revision. Use this to discover available assets or audit file usage across a space.
10298
10451
  *
10299
10452
  * @tags space-content
10300
10453
  * @name ListFiles
10301
- * @summary List all space files
10454
+ * @summary List all uploaded files and assets in a space
10302
10455
  * @request GET:/spaces/{spaceId}/content/files
10303
10456
  * @secure
10304
10457
  */
@@ -10325,11 +10478,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10325
10478
  items: RevisionFile[];
10326
10479
  }, any>>;
10327
10480
  /**
10328
- * No description
10481
+ * @description Retrieves metadata and download URL for a single file (image, attachment, or other asset) in a space's current revision by its file ID. Use this when you have a specific file ID and need its URL, MIME type, or other metadata.
10329
10482
  *
10330
10483
  * @tags space-content
10331
10484
  * @name GetFileById
10332
- * @summary Get a space file by its ID
10485
+ * @summary Get a specific uploaded file from a space by its ID
10333
10486
  * @request GET:/spaces/{spaceId}/content/files/{fileId}
10334
10487
  * @secure
10335
10488
  */
@@ -10346,11 +10499,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10346
10499
  computed?: boolean;
10347
10500
  }, params?: RequestParams) => Promise<HttpResponse<RevisionFile, any>>;
10348
10501
  /**
10349
- * No description
10502
+ * @description Returns the content locations (pages and inline positions) within the space that link to or embed the specified file. Use this to find where an asset is used before deleting or replacing it.
10350
10503
  *
10351
10504
  * @tags space-content
10352
10505
  * @name ListSpaceFileBacklinks
10353
- * @summary List all space file backlink locations
10506
+ * @summary List all pages in a space that reference a specific file
10354
10507
  * @request GET:/spaces/{spaceId}/content/files/{fileId}/backlinks
10355
10508
  * @secure
10356
10509
  */
@@ -10367,11 +10520,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10367
10520
  items: ContentLocation[];
10368
10521
  }, any>>;
10369
10522
  /**
10370
- * No description
10523
+ * @description Retrieves a page's metadata, content, and document structure from a space's current revision by its page ID. Use this when you know the exact page ID and need its content or path. For lookup by URL path, use the content/path endpoint instead.
10371
10524
  *
10372
10525
  * @tags space-content
10373
10526
  * @name GetPageById
10374
- * @summary Get a space page by its ID
10527
+ * @summary Get a single page from a space by its ID
10375
10528
  * @request GET:/spaces/{spaceId}/content/page/{pageId}
10376
10529
  * @secure
10377
10530
  */
@@ -10413,11 +10566,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10413
10566
  computed?: boolean;
10414
10567
  }, params?: RequestParams) => Promise<HttpResponse<RevisionPage, any>>;
10415
10568
  /**
10416
- * No description
10569
+ * @description Returns all content references (internal links, cross-space links, and external URLs) originating from the specified page. Use this to audit link health or detect broken references on a page.
10417
10570
  *
10418
10571
  * @tags space-content, links, critical
10419
10572
  * @name ListPageLinksInSpace
10420
- * @summary List all space page links
10573
+ * @summary List all outbound links from a specific page in a space
10421
10574
  * @request GET:/spaces/{spaceId}/content/page/{pageId}/links
10422
10575
  * @secure
10423
10576
  */
@@ -10442,11 +10595,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10442
10595
  items: ContentReferenceUsage[];
10443
10596
  }, any>>;
10444
10597
  /**
10445
- * No description
10598
+ * @description Returns the content locations (pages and inline positions) within the space that contain links pointing to the specified page. Use this to understand a page's incoming references before moving, deleting, or renaming it.
10446
10599
  *
10447
10600
  * @tags space-content
10448
10601
  * @name ListSpacePageBacklinks
10449
- * @summary List all space page backlink locations
10602
+ * @summary List all pages in a space that link to a specific page
10450
10603
  * @request GET:/spaces/{spaceId}/content/page/{pageId}/backlinks
10451
10604
  * @secure
10452
10605
  */
@@ -10463,21 +10616,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10463
10616
  items: ContentLocation[];
10464
10617
  }, any>>;
10465
10618
  /**
10466
- * No description
10619
+ * @description Returns structural navigation metadata for a page, including references to the previous page, next page, and parent page within the space's hierarchy. Use this to implement or inspect linear navigation flows in a docs site without fetching the full page tree.
10467
10620
  *
10468
10621
  * @tags space-content
10469
10622
  * @name ListSpacePageMetaLinks
10470
- * @summary List all meta links for a space page
10623
+ * @summary Get navigation metadata links for a page (previous, next, parent)
10471
10624
  * @request GET:/spaces/{spaceId}/content/page/{pageId}/meta-links
10472
10625
  * @secure
10473
10626
  */
10474
10627
  listSpacePageMetaLinks: (spaceId: EntityId, pageId: EntityId, params?: RequestParams) => Promise<HttpResponse<RevisionPageMetaLinks, any>>;
10475
10628
  /**
10476
- * No description
10629
+ * @description Retrieves a page by its URL path (e.g. /guides/getting-started) from the space's current revision. Use this when you have a page's path rather than its ID. Returns either a document page or a group/section page depending on the path.
10477
10630
  *
10478
10631
  * @tags space-content
10479
10632
  * @name GetPageByPath
10480
- * @summary Get a space page by its path
10633
+ * @summary Get a page from a space by its URL path
10481
10634
  * @request GET:/spaces/{spaceId}/content/path/{pagePath}
10482
10635
  * @secure
10483
10636
  */
@@ -10519,11 +10672,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10519
10672
  computed?: boolean;
10520
10673
  }, params?: RequestParams) => Promise<HttpResponse<RevisionPageDocument | RevisionPageGroup, any>>;
10521
10674
  /**
10522
- * No description
10675
+ * @description Retrieves a reusable content block (a shared snippet that can be embedded across multiple pages) from a space's current revision by its ID. Use this to read the content of a reusable block when you have its ID. To find which pages reference it, check the page backlinks endpoint.
10523
10676
  *
10524
10677
  * @tags space-content
10525
10678
  * @name GetReusableContentById
10526
- * @summary Get a space reusable content by its ID
10679
+ * @summary Get a reusable content block from a space by its ID
10527
10680
  * @request GET:/spaces/{spaceId}/content/reusable-contents/{reusableContentId}
10528
10681
  * @secure
10529
10682
  */
@@ -10540,11 +10693,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10540
10693
  computed?: boolean;
10541
10694
  }, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent, any>>;
10542
10695
  /**
10543
- * No description
10696
+ * @description Server-renders a document from a provided content source definition, evaluating template expressions and resolving variables to produce a fully computed document. Use this to preview how dynamic content will look without publishing a full revision.
10544
10697
  *
10545
10698
  * @tags space-content
10546
10699
  * @name GetComputedDocument
10547
- * @summary Get a space computed document
10700
+ * @summary Compute and render a document from a structured content source
10548
10701
  * @request POST:/spaces/{spaceId}/content/computed/document
10549
10702
  * @secure
10550
10703
  */
@@ -10557,11 +10710,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10557
10710
  schema?: "current" | "next";
10558
10711
  }, params?: RequestParams) => Promise<HttpResponse<JSONDocument, any>>;
10559
10712
  /**
10560
- * No description
10713
+ * @description Server-renders an entire revision — pages, files, and reusable contents — from a provided content source definition, resolving all template expressions and variables. Use this to evaluate and preview computed content before publishing. Returns the full set of pages and files with all dynamic content fully resolved.
10561
10714
  *
10562
10715
  * @tags space-content
10563
10716
  * @name GetComputedRevision
10564
- * @summary Get a space computed revision
10717
+ * @summary Compute and render a full revision from a structured content source
10565
10718
  * @request POST:/spaces/{spaceId}/content/computed/revision
10566
10719
  * @secure
10567
10720
  */
@@ -10575,11 +10728,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10575
10728
  reusableContents: RevisionReusableContent[];
10576
10729
  }, any>>;
10577
10730
  /**
10578
- * No description
10731
+ * @description Returns the structured JSON document for a specific document ID within a space. Documents are the low-level block-based representation of page content. Use this when you have a documentId and need the raw block structure. To retrieve a page's document by pageId, use the page document endpoint instead.
10579
10732
  *
10580
10733
  * @tags space-content
10581
10734
  * @name GetDocumentById
10582
- * @summary Get a space document by its ID
10735
+ * @summary Get a raw document from a space by its document ID
10583
10736
  * @request GET:/spaces/{spaceId}/documents/{documentId}
10584
10737
  * @secure
10585
10738
  */
@@ -10588,27 +10741,27 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10588
10741
  schema?: "current" | "next";
10589
10742
  }, params?: RequestParams) => Promise<HttpResponse<JSONDocument, any>>;
10590
10743
  /**
10591
- * No description
10744
+ * @description Creates a new change request, which is a draft working copy of the space's content — similar to a Git branch or pull request. Use this before making content edits to avoid modifying the live published content directly. Optionally supply a subject and a template to pre-populate the change request with content. Once created, use the change-request content endpoints to read and modify pages within the draft, then merge it when ready.
10592
10745
  *
10593
10746
  * @tags change-requests
10594
10747
  * @name CreateChangeRequest
10595
- * @summary Create a change request
10748
+ * @summary Create a new change request in a space
10596
10749
  * @request POST:/spaces/{spaceId}/change-requests
10597
10750
  * @secure
10598
10751
  */
10599
10752
  createChangeRequest: (spaceId: EntityId, data: {
10600
- /** Subject of the change-request */
10753
+ /** Subject of the change request */
10601
10754
  subject?: string;
10602
10755
  /** Template to apply to the change request */
10603
10756
  template?: ApplySpaceTemplate;
10604
10757
  [key: string]: any;
10605
10758
  }, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, any>>;
10606
10759
  /**
10607
- * No description
10760
+ * @description Returns a paginated list of change requests for the given space. Use this to discover existing change requests before creating a new one, or to find change requests assigned to a specific user for review.
10608
10761
  *
10609
10762
  * @tags change-requests
10610
10763
  * @name ListChangeRequestsForSpace
10611
- * @summary List all change requests
10764
+ * @summary List all change requests for a space
10612
10765
  * @request GET:/spaces/{spaceId}/change-requests
10613
10766
  * @secure
10614
10767
  */
@@ -10640,7 +10793,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10640
10793
  items: ChangeRequest[];
10641
10794
  }, any>>;
10642
10795
  /**
10643
- * No description
10796
+ * @description Retrieves the full details of a single change request, including its status, subject, description, and metadata. Use this to check the current state of a change request before deciding to merge, update, or request a review.
10644
10797
  *
10645
10798
  * @tags change-requests
10646
10799
  * @name GetChangeRequestById
@@ -10656,11 +10809,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10656
10809
  };
10657
10810
  }>>;
10658
10811
  /**
10659
- * No description
10812
+ * @description Updates the metadata of a change request. Use this to rename a change request, add context before requesting a review, or change the workflow status without merging. To update page content within the change request, use the content endpoint instead.
10660
10813
  *
10661
10814
  * @tags change-requests
10662
10815
  * @name UpdateChangeRequestById
10663
- * @summary Update a change request
10816
+ * @summary Update a change request's subject, description, or status
10664
10817
  * @request PATCH:/spaces/{spaceId}/change-requests/{changeRequestId}
10665
10818
  * @secure
10666
10819
  */
@@ -10673,11 +10826,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10673
10826
  status?: "draft" | "open" | "archived";
10674
10827
  }, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, any>>;
10675
10828
  /**
10676
- * No description
10829
+ * @description Merges the change request's draft content into the space's primary (published) content, making all changes live. If the result is "conflicts", the merge was still applied but the space may need manual conflict resolution. Consider running updateChangeRequest first to sync with the latest live content and reduce conflicts.
10677
10830
  *
10678
10831
  * @tags change-requests
10679
10832
  * @name MergeChangeRequest
10680
- * @summary Merge a change request
10833
+ * @summary Merge a change request into the space's live content
10681
10834
  * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/merge
10682
10835
  * @secure
10683
10836
  */
@@ -10687,11 +10840,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10687
10840
  result: "merge" | "conflicts";
10688
10841
  }, any>>;
10689
10842
  /**
10690
- * No description
10843
+ * @description Rebases the change request onto the latest primary revision of the space, pulling in any changes that were merged to the live space since this change request was created. Run this before merging to minimise conflicts, especially if the change request has been open for a while.
10691
10844
  *
10692
10845
  * @tags change-requests
10693
10846
  * @name UpdateChangeRequest
10694
- * @summary Pull primary content into the change request
10847
+ * @summary Sync a change request with the latest live space content
10695
10848
  * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/update
10696
10849
  * @secure
10697
10850
  */
@@ -10701,11 +10854,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10701
10854
  result: "update" | "conflicts";
10702
10855
  }, any>>;
10703
10856
  /**
10704
- * No description
10857
+ * @description Returns a paginated list of reviews submitted for the change request. Use this to check the current review status and whether all requested reviewers have responded before merging.
10705
10858
  *
10706
10859
  * @tags change-requests-reviews
10707
10860
  * @name GetReviewsByChangeRequestId
10708
- * @summary List all change request reviews
10861
+ * @summary List all formal reviews submitted for a change request
10709
10862
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews
10710
10863
  * @secure
10711
10864
  */
@@ -10732,11 +10885,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10732
10885
  };
10733
10886
  }>>;
10734
10887
  /**
10735
- * No description
10888
+ * @description Submits a formal review decision (approved or changes-requested) on the change request, optionally with a rich-text comment. Use this to complete a review you were requested to perform. Only users who are requested reviewers or have space review permissions can submit a review.
10736
10889
  *
10737
10890
  * @tags change-requests-reviews
10738
10891
  * @name SubmitChangeRequestReview
10739
- * @summary Submit a change request review
10892
+ * @summary Submit an approve or request-changes review for a change request
10740
10893
  * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews
10741
10894
  * @secure
10742
10895
  */
@@ -10747,11 +10900,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10747
10900
  comment?: Document;
10748
10901
  }, params?: RequestParams) => Promise<HttpResponse<ChangeRequestReview, any>>;
10749
10902
  /**
10750
- * No description
10903
+ * @description Retrieves the full details of a single review submission on a change request, including the decision status (approved/changes-requested), reviewer, and any attached comment. Use this when you have a review ID and need its full details.
10751
10904
  *
10752
10905
  * @tags change-requests-reviews
10753
10906
  * @name GetChangeRequestReviewById
10754
- * @summary Get a change request review by its ID
10907
+ * @summary Get a specific review on a change request by its ID
10755
10908
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/reviews/{reviewId}
10756
10909
  * @secure
10757
10910
  */
@@ -10766,11 +10919,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10766
10919
  };
10767
10920
  }>>;
10768
10921
  /**
10769
- * No description
10922
+ * @description Returns a paginated list of users who have been explicitly requested to review the change request. Use this to check who is currently assigned as a reviewer before adding or removing reviewer requests.
10770
10923
  *
10771
10924
  * @tags change-request-reviewers
10772
10925
  * @name GetRequestedReviewersByChangeRequestId
10773
- * @summary Get all change request reviewers
10926
+ * @summary List all users requested to review a change request
10774
10927
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers
10775
10928
  * @secure
10776
10929
  */
@@ -10787,11 +10940,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10787
10940
  items: ChangeRequestRequestedReviewer[];
10788
10941
  }, any>>;
10789
10942
  /**
10790
- * No description
10943
+ * @description Sends review request notifications to one or more users, asking them to review the change request. Optionally updates the change request subject and description at the same time. Use this to move the change request into the review workflow after finishing edits. The users array must contain at least one valid user ID.
10791
10944
  *
10792
10945
  * @tags change-request-reviewers
10793
10946
  * @name RequestReviewersForChangeRequest
10794
- * @summary Request change request reviewers
10947
+ * @summary Send review requests to users for a change request
10795
10948
  * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers
10796
10949
  * @secure
10797
10950
  */
@@ -10817,11 +10970,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10817
10970
  */
10818
10971
  removeRequestedReviewerFromChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10819
10972
  /**
10820
- * No description
10973
+ * @description Returns a paginated list of AI agent conversations that were created in the context of this change request. These conversations capture the AI-assisted editing sessions that contributed to the draft. Use this to review the history of AI interactions on a change request before merging.
10821
10974
  *
10822
10975
  * @tags change-request-conversations
10823
10976
  * @name ListChangeRequestConversations
10824
- * @summary List the agent conversations of a change request
10977
+ * @summary List AI agent conversations associated with a change request
10825
10978
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/conversations
10826
10979
  * @secure
10827
10980
  */
@@ -10838,11 +10991,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10838
10991
  items: AgentConversation[];
10839
10992
  }, any>>;
10840
10993
  /**
10841
- * No description
10994
+ * @description Updates a specific AI agent conversation associated with a change request. Use this to rename the conversation.
10842
10995
  *
10843
10996
  * @tags change-request-conversations
10844
10997
  * @name UpdateChangeRequestConversation
10845
- * @summary Update an agent conversation
10998
+ * @summary Update an AI agent conversation on a change request
10846
10999
  * @request PATCH:/spaces/{spaceId}/change-requests/{changeRequestId}/conversations/{conversationId}
10847
11000
  * @secure
10848
11001
  */
@@ -10861,11 +11014,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10861
11014
  */
10862
11015
  deleteChangeRequestConversation: (spaceId: EntityId, changeRequestId: EntityId, conversationId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10863
11016
  /**
10864
- * No description
11017
+ * @description Returns a paginated list of all outbound content references (links) across all pages in the change request. Use this to audit link health across the entire draft before merging.
10865
11018
  *
10866
11019
  * @tags change-requests-links, links, critical
10867
11020
  * @name ListChangeRequestLinks
10868
- * @summary List all change request links
11021
+ * @summary List all content references across an entire change request
10869
11022
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/links
10870
11023
  * @secure
10871
11024
  */
@@ -10897,11 +11050,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10897
11050
  };
10898
11051
  }>>;
10899
11052
  /**
10900
- * No description
11053
+ * @description Returns a paginated list of comments posted on the change request, optionally filtered by status, target page, or author. Comments can be anchored to a specific page or be general change-request-level comments. Use this to read the review discussion before responding. To fetch replies to a comment, use the comment replies endpoint.
10901
11054
  *
10902
11055
  * @tags change-request-comments
10903
11056
  * @name ListCommentsInChangeRequest
10904
- * @summary List all change request comments
11057
+ * @summary List all top-level comments in a change request
10905
11058
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments
10906
11059
  * @secure
10907
11060
  */
@@ -10934,21 +11087,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10934
11087
  items: Comment[];
10935
11088
  }, any>>;
10936
11089
  /**
10937
- * No description
11090
+ * @description Posts a new top-level comment on the change request. Comments can be general or anchored to a specific page and inline location within the change request content. Use this to provide review feedback, ask questions, or flag issues. To reply to an existing comment, use the comment replies endpoint instead.
10938
11091
  *
10939
11092
  * @tags change-request-comments
10940
11093
  * @name PostCommentInChangeRequest
10941
- * @summary Create a change request comment
11094
+ * @summary Post a new comment on a change request
10942
11095
  * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/comments
10943
11096
  * @secure
10944
11097
  */
10945
11098
  postCommentInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
10946
11099
  /**
10947
- * No description
11100
+ * @description Retrieves a specific comment from a change request, including its content, author, and anchor location. Use this when you have a comment ID (e.g., from a notification or list) and need its full details.
10948
11101
  *
10949
11102
  * @tags change-request-comments
10950
11103
  * @name GetCommentInChangeRequest
10951
- * @summary Get a change request comment
11104
+ * @summary Get a single comment from a change request by its ID
10952
11105
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
10953
11106
  * @secure
10954
11107
  */
@@ -10967,21 +11120,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10967
11120
  */
10968
11121
  deleteCommentInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
10969
11122
  /**
10970
- * No description
11123
+ * @description Replaces the body or status of an existing change request comment. Use this to edit the text of a comment you previously posted, or to resolve/reopen a comment thread. Only the comment author or space admins can update a comment.
10971
11124
  *
10972
11125
  * @tags change-request-comments
10973
11126
  * @name UpdateCommentInChangeRequest
10974
- * @summary Update a change request comment
11127
+ * @summary Update the content or status of a change request comment
10975
11128
  * @request PUT:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}
10976
11129
  * @secure
10977
11130
  */
10978
11131
  updateCommentInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
10979
11132
  /**
10980
- * No description
11133
+ * @description Returns a paginated list of replies to a specific top-level comment in a change request. Use this to read the full thread of a review discussion on a particular comment before adding a reply.
10981
11134
  *
10982
11135
  * @tags change-request-comments
10983
11136
  * @name ListCommentRepliesInChangeRequest
10984
- * @summary List all change request comment replies
11137
+ * @summary List all replies to a change request comment
10985
11138
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
10986
11139
  * @secure
10987
11140
  */
@@ -11000,11 +11153,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11000
11153
  items: CommentReply[];
11001
11154
  }, any>>;
11002
11155
  /**
11003
- * No description
11156
+ * @description Adds a reply to an existing comment thread on a change request. Use this to respond to review feedback or continue a discussion on a specific comment. To start a new top-level comment rather than replying, use the change request comments endpoint.
11004
11157
  *
11005
11158
  * @tags change-request-comments
11006
11159
  * @name PostCommentReplyInChangeRequest
11007
- * @summary Create a change request comment reply
11160
+ * @summary Post a reply to a change request comment
11008
11161
  * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies
11009
11162
  * @secure
11010
11163
  */
@@ -11013,11 +11166,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11013
11166
  format?: "document" | "markdown";
11014
11167
  }, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
11015
11168
  /**
11016
- * No description
11169
+ * @description Retrieves a specific reply within a change request comment thread. Use this when you have a reply ID and need its full content and author details.
11017
11170
  *
11018
11171
  * @tags change-request-comments
11019
11172
  * @name GetCommentReplyInChangeRequest
11020
- * @summary Get a change request comment reply
11173
+ * @summary Get a single reply to a change request comment
11021
11174
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
11022
11175
  * @secure
11023
11176
  */
@@ -11026,11 +11179,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11026
11179
  format?: "document" | "markdown";
11027
11180
  }, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
11028
11181
  /**
11029
- * No description
11182
+ * @description Replaces the body of an existing reply in a change request comment thread. Use this to correct or amend a reply you previously posted. Only the reply author or space admins can update a reply.
11030
11183
  *
11031
11184
  * @tags change-request-comments
11032
11185
  * @name UpdateCommentReplyInChangeRequest
11033
- * @summary Update a change request comment reply
11186
+ * @summary Update the content of a change request comment reply
11034
11187
  * @request PUT:/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}
11035
11188
  * @secure
11036
11189
  */
@@ -11046,11 +11199,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11046
11199
  */
11047
11200
  deleteCommentReplyInChangeRequest: (spaceId: EntityId, changeRequestId: EntityId, commentId: EntityId, commentReplyId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11048
11201
  /**
11049
- * No description
11202
+ * @description Returns a list of users who have contributed content edits to the change request. Use this to identify who has been actively editing the draft, for example when deciding who to notify before merging.
11050
11203
  *
11051
11204
  * @tags change-request-contributors
11052
11205
  * @name GetContributorsByChangeRequestId
11053
- * @summary Get all contribors of a change request
11206
+ * @summary List all users who have made edits to a change request
11054
11207
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/contributors
11055
11208
  * @secure
11056
11209
  */
@@ -11064,11 +11217,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11064
11217
  };
11065
11218
  }>>;
11066
11219
  /**
11067
- * No description
11220
+ * @description Returns the current revision snapshot of the change request, including the full page tree structure and metadata. Use this to inspect the overall state of the change request's content, such as the list of pages and their hierarchy, without fetching each page individually. For page content (body text), use the individual page endpoints.
11068
11221
  *
11069
11222
  * @tags change-request-content
11070
11223
  * @name GetRevisionOfChangeRequestById
11071
- * @summary Get a change request the latest content revision
11224
+ * @summary Get the latest content revision of a change request
11072
11225
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content
11073
11226
  * @secure
11074
11227
  */
@@ -11085,16 +11238,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11085
11238
  computed?: boolean;
11086
11239
  }, params?: RequestParams) => Promise<HttpResponse<Revision, any>>;
11087
11240
  /**
11088
- * No description
11089
- *
11090
- * @tags change-request-content
11091
- * @name UpdateChangeRequestContent
11092
- * @summary Update the content of a change request. This endpoint allows you to update the content of a change request by providing an array of changes.
11093
- Each change is ran sequentially. This operation will create a single new revision in the change request, apply all changes, and then point the change request to the new revision.
11094
- This endpoint will only run if all changes in the request are valid. If any change fails, the entire request will fail and no changes will be applied.
11095
- * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/content
11096
- * @secure
11097
- */
11241
+ * @description Applies an ordered array of content changes (up to 50) to the change request atomically, creating a single new revision. Changes are applied sequentially; if any single change is invalid the entire batch is rejected and no revision is created. Use this to create, update, move, or delete pages within a change request before merging to live. This is the primary way to programmatically author content in a change request.
11242
+ *
11243
+ * @tags change-request-content
11244
+ * @name UpdateChangeRequestContent
11245
+ * @summary Apply a batch of content changes to a change request
11246
+ * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/content
11247
+ * @secure
11248
+ */
11098
11249
  updateChangeRequestContent: (spaceId: EntityId, changeRequestId: EntityId, data: {
11099
11250
  /**
11100
11251
  * @maxItems 50
@@ -11109,11 +11260,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11109
11260
  };
11110
11261
  }>>;
11111
11262
  /**
11112
- * No description
11263
+ * @description Returns the full flat list of all pages in the change request's current draft revision, including page groups. Does not include page body content — use the individual page endpoint to fetch content. Use this to get an overview of the draft's page structure before reading or modifying specific pages.
11113
11264
  *
11114
11265
  * @tags change-request-content
11115
11266
  * @name ListPagesInChangeRequest
11116
- * @summary List all change request pages
11267
+ * @summary List all pages in a change request as a flat list
11117
11268
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages
11118
11269
  * @secure
11119
11270
  */
@@ -11132,11 +11283,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11132
11283
  pages: RevisionPage[];
11133
11284
  }, any>>;
11134
11285
  /**
11135
- * No description
11286
+ * @description Returns a paginated list of files (images and other attachments) stored in the change request's current revision. Use this to inspect uploaded assets within a draft before merging. For files in the live published space, use the space content files endpoint.
11136
11287
  *
11137
11288
  * @tags change-request-content
11138
11289
  * @name ListFilesInChangeRequestById
11139
- * @summary List all change request files
11290
+ * @summary List all files (images/attachments) in a change request
11140
11291
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files
11141
11292
  * @secure
11142
11293
  */
@@ -11163,11 +11314,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11163
11314
  items: RevisionFile[];
11164
11315
  }, any>>;
11165
11316
  /**
11166
- * No description
11317
+ * @description Retrieves metadata for a single file (image or attachment) stored in the change request's current revision. Use this to get the download URL or details of a specific asset referenced by a page in the change request.
11167
11318
  *
11168
11319
  * @tags change-request-content
11169
11320
  * @name GetFileInChangeRequestById
11170
- * @summary Get a change request file by its ID
11321
+ * @summary Get a specific file in a change request by its ID
11171
11322
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}
11172
11323
  * @secure
11173
11324
  */
@@ -11184,11 +11335,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11184
11335
  computed?: boolean;
11185
11336
  }, params?: RequestParams) => Promise<HttpResponse<RevisionFile, any>>;
11186
11337
  /**
11187
- * No description
11338
+ * @description Returns a paginated list of content locations (pages and inline positions) within the change request that link to or embed the specified file. Use this to find all usages of an asset before renaming or removing it.
11188
11339
  *
11189
11340
  * @tags change-request-content
11190
11341
  * @name ListChangeRequestFileBacklinks
11191
- * @summary List all backlink locations of a change request file
11342
+ * @summary List all pages in a change request that reference a file
11192
11343
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}/backlinks
11193
11344
  * @secure
11194
11345
  */
@@ -11205,11 +11356,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11205
11356
  items: ContentLocation[];
11206
11357
  }, any>>;
11207
11358
  /**
11208
- * No description
11359
+ * @description Retrieves a specific page from a change request's draft content, including its title, metadata, and body document. Use the documentFormat parameter to control the format of the returned document (e.g., markdown). This reflects the draft state of the page, not the live published version — use the space content page endpoint for live content.
11209
11360
  *
11210
11361
  * @tags change-request-content
11211
11362
  * @name GetPageInChangeRequestById
11212
- * @summary Get a change request page by its ID
11363
+ * @summary Get a page in a change request by its ID
11213
11364
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}
11214
11365
  * @secure
11215
11366
  */
@@ -11251,11 +11402,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11251
11402
  computed?: boolean;
11252
11403
  }, params?: RequestParams) => Promise<HttpResponse<RevisionPage, any>>;
11253
11404
  /**
11254
- * No description
11405
+ * @description Returns all outbound content references from a specific page within the change request, including their status (valid, broken) and usage context. Use this to audit link health on a draft page before merging. Also returns aggregate stats about broken vs healthy references on the page.
11255
11406
  *
11256
11407
  * @tags change-request-content, critical
11257
11408
  * @name ListPageLinksInChangeRequest
11258
- * @summary List all change request links
11409
+ * @summary List all content references (links) on a change request page
11259
11410
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/links
11260
11411
  * @secure
11261
11412
  */
@@ -11273,11 +11424,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11273
11424
  items: ContentReferenceUsage[];
11274
11425
  }, any>>;
11275
11426
  /**
11276
- * No description
11427
+ * @description Returns a paginated list of content locations within the change request that contain links pointing to the specified page. Use this to check what pages would be affected by renaming or removing a page before applying the change.
11277
11428
  *
11278
11429
  * @tags change-request-content
11279
11430
  * @name ListChangeRequestPageBacklinks
11280
- * @summary List all backlink locations of a change request page
11431
+ * @summary List all pages in a change request that link to a specific page
11281
11432
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/backlinks
11282
11433
  * @secure
11283
11434
  */
@@ -11294,21 +11445,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11294
11445
  items: ContentLocation[];
11295
11446
  }, any>>;
11296
11447
  /**
11297
- * No description
11448
+ * @description Returns the structural navigation links for a specific page within a change request, such as its parent page, previous sibling, and next sibling in the page tree. Use this to understand a page's position within the content hierarchy of the draft.
11298
11449
  *
11299
11450
  * @tags change-request-content
11300
11451
  * @name ListChangeRequestPageMetaLinks
11301
- * @summary List all meta links of a change request page
11452
+ * @summary Get navigation meta-links (prev/next/parent) for a change request page
11302
11453
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/meta-links
11303
11454
  * @secure
11304
11455
  */
11305
11456
  listChangeRequestPageMetaLinks: (spaceId: EntityId, changeRequestId: EntityId, pageId: EntityId, params?: RequestParams) => Promise<HttpResponse<RevisionPageMetaLinks, any>>;
11306
11457
  /**
11307
- * No description
11458
+ * @description Retrieves a specific reusable content block (a shared snippet that can be embedded across multiple pages) from the change request's draft revision. Use this to inspect the current draft state of a shared content block before merging.
11308
11459
  *
11309
11460
  * @tags change-request-content
11310
11461
  * @name GetReusableContentInChangeRequestById
11311
- * @summary Get a change request reusable content by its ID
11462
+ * @summary Get a reusable content block in a change request by its ID
11312
11463
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}
11313
11464
  * @secure
11314
11465
  */
@@ -11325,11 +11476,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11325
11476
  computed?: boolean;
11326
11477
  }, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent, any>>;
11327
11478
  /**
11328
- * @description Return the semantic changes between a change request and its base revision.
11479
+ * @description Returns the semantic diff between the change request's current content and the base revision it branched from. Each item describes a logical change such as a page added, removed, or modified. Use this to summarise what a change request changes before merging or reviewing. The default limit is 10 — increase it if the change request is large.
11329
11480
  *
11330
11481
  * @tags change-request-content
11331
11482
  * @name GetChangeRequestChanges
11332
- * @summary Get change request semantic changes
11483
+ * @summary List semantic content changes in a change request vs its base
11333
11484
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/changes
11334
11485
  * @secure
11335
11486
  */
@@ -11347,11 +11498,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11347
11498
  };
11348
11499
  }>>;
11349
11500
  /**
11350
- * No description
11501
+ * @description Generates a temporary URL (valid for 1 hour) to download the change request's draft content as a PDF. Optionally scope the export to a single page using the page and only parameters. Use this to share or archive the draft content before merging.
11351
11502
  *
11352
11503
  * @tags change-requests
11353
11504
  * @name GetChangeRequestPdf
11354
- * @summary Get a URL of the content of a change request as PDF
11505
+ * @summary Get a temporary URL to download a change request's content as PDF
11355
11506
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/pdf
11356
11507
  * @secure
11357
11508
  */
@@ -11365,11 +11516,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11365
11516
  url: URL;
11366
11517
  }, any>>;
11367
11518
  /**
11368
- * No description
11519
+ * @description Returns a specific revision snapshot of a space by its revision ID, including the page tree structure and revision metadata. Use this to inspect a historical state of a space. To access the current live content, use the space content endpoint instead.
11369
11520
  *
11370
11521
  * @tags space-content
11371
11522
  * @name GetRevisionById
11372
- * @summary Get a space revision
11523
+ * @summary Get a specific historical revision of a space
11373
11524
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}
11374
11525
  * @secure
11375
11526
  */
@@ -11386,11 +11537,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11386
11537
  computed?: boolean;
11387
11538
  }, params?: RequestParams) => Promise<HttpResponse<Revision, any>>;
11388
11539
  /**
11389
- * @description Return the semantic changes between a revision and its parent.
11540
+ * @description Returns a structured diff of the semantic changes introduced by a revision compared to its parent revision, such as added, removed, or updated pages and blocks. Use this to understand what changed in a specific revision.
11390
11541
  *
11391
11542
  * @tags space-content
11392
11543
  * @name GetRevisionSemanticChanges
11393
- * @summary Get space revision semantic changes
11544
+ * @summary Get semantic content changes introduced by a revision
11394
11545
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/changes
11395
11546
  * @secure
11396
11547
  */
@@ -11412,11 +11563,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11412
11563
  limit?: number;
11413
11564
  }, params?: RequestParams) => Promise<HttpResponse<RevisionSemanticChanges, any>>;
11414
11565
  /**
11415
- * No description
11566
+ * @description Returns the full flat list of all pages (document pages and group pages) in a specific historical revision of a space. Use this to inspect the complete page tree of a past snapshot. For the current live content pages, use the space content pages endpoint.
11416
11567
  *
11417
11568
  * @tags space-content
11418
11569
  * @name ListPagesInRevisionById
11419
- * @summary List all pages in a space revision
11570
+ * @summary List all pages in a specific historical revision of a space
11420
11571
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/pages
11421
11572
  * @secure
11422
11573
  */
@@ -11435,11 +11586,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11435
11586
  pages: RevisionPage[];
11436
11587
  }, any>>;
11437
11588
  /**
11438
- * No description
11589
+ * @description Returns a paginated list of files (images and other binary assets) attached to a specific revision of a space. Use this to enumerate all media assets present in a historical snapshot. To get a single file, use the revision file by ID endpoint.
11439
11590
  *
11440
11591
  * @tags space-content
11441
11592
  * @name ListFilesInRevisionById
11442
- * @summary List all space revision files
11593
+ * @summary List all files (images, assets) in a specific space revision
11443
11594
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/files
11444
11595
  * @secure
11445
11596
  */
@@ -11466,11 +11617,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11466
11617
  items: RevisionFile[];
11467
11618
  }, any>>;
11468
11619
  /**
11469
- * No description
11620
+ * @description Returns the metadata for a single file (image or binary asset) within a specific revision of a space. Use this to retrieve download URL, MIME type, and dimensions for a known file ID. To list all files in a revision, use the revision files list endpoint.
11470
11621
  *
11471
11622
  * @tags space-content
11472
11623
  * @name GetFileInRevisionById
11473
- * @summary Get a space revision file by its ID
11624
+ * @summary Get a specific file from a space revision by its file ID
11474
11625
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}
11475
11626
  * @secure
11476
11627
  */
@@ -11487,11 +11638,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11487
11638
  computed?: boolean;
11488
11639
  }, params?: RequestParams) => Promise<HttpResponse<RevisionFile, any>>;
11489
11640
  /**
11490
- * No description
11641
+ * @description Returns the full page object (metadata and optionally document content) for a specific page within a historical revision. Use documentFormat to control whether content is returned as blocks or markdown. To get a page from the current live revision, use the space content page endpoint.
11491
11642
  *
11492
11643
  * @tags space-content
11493
11644
  * @name GetPageInRevisionById
11494
- * @summary Get a space revision page by its ID
11645
+ * @summary Get a page from a specific historical revision by its page ID
11495
11646
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}
11496
11647
  * @secure
11497
11648
  */
@@ -11533,11 +11684,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11533
11684
  computed?: boolean;
11534
11685
  }, params?: RequestParams) => Promise<HttpResponse<RevisionPage, any>>;
11535
11686
  /**
11536
- * No description
11687
+ * @description Returns the structured JSON document (block tree) for a specific page within a historical revision of a space. Use this when you need the low-level block representation of historical page content. For the current live content, use the space content page document endpoint.
11537
11688
  *
11538
11689
  * @tags space-content
11539
11690
  * @name GetPageDocumentInRevisionById
11540
- * @summary Get the document of a page in a revision
11691
+ * @summary Get the raw document body of a page in a historical revision
11541
11692
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/document
11542
11693
  * @secure
11543
11694
  */
@@ -11559,11 +11710,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11559
11710
  dereferenced?: boolean | "reusable-contents";
11560
11711
  }, params?: RequestParams) => Promise<HttpResponse<JSONDocument, any>>;
11561
11712
  /**
11562
- * No description
11713
+ * @description Returns a page from a historical revision looked up by its URL path (e.g. "getting-started/installation") rather than its ID. Useful when you know the page path but not the ID. Use documentFormat to control whether content is returned as blocks or markdown. For the current live revision, use the content path endpoint.
11563
11714
  *
11564
11715
  * @tags space-content
11565
11716
  * @name GetPageInRevisionByPath
11566
- * @summary Get a space revision page by its path
11717
+ * @summary Get a page from a specific historical revision by its URL path
11567
11718
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}
11568
11719
  * @secure
11569
11720
  */
@@ -11605,21 +11756,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11605
11756
  computed?: boolean;
11606
11757
  }, params?: RequestParams) => Promise<HttpResponse<RevisionPageDocument | RevisionPageGroup, any>>;
11607
11758
  /**
11608
- * No description
11759
+ * @description Returns the meta navigation links for a specific page within a historical revision, including the previous and next page in the space's reading order. Use this to implement sequential navigation across historical content or to build a reading flow for a specific revision.
11609
11760
  *
11610
11761
  * @tags space-content
11611
11762
  * @name ListRevisionPageMetaLinks
11612
- * @summary List all meta links for a revision page
11763
+ * @summary List all meta links (prev/next navigation) for a page in a revision
11613
11764
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/meta-links
11614
11765
  * @secure
11615
11766
  */
11616
11767
  listRevisionPageMetaLinks: (spaceId: EntityId, revisionId: EntityId, pageId: EntityId, params?: RequestParams) => Promise<HttpResponse<RevisionPageMetaLinks, any>>;
11617
11768
  /**
11618
- * No description
11769
+ * @description Retrieves a specific page from a change request's draft content using its URL path (e.g., "getting-started/installation") rather than its ID. Use this when you know the path of a page but not its ID. Returns either a document page or a page group, depending on the path. Supports the same format and evaluation options as the ID-based endpoint.
11619
11770
  *
11620
11771
  * @tags change-request-content
11621
11772
  * @name GetPageInChangeRequestByPath
11622
- * @summary Get a change request page by its path
11773
+ * @summary Get a page in a change request by its URL path
11623
11774
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}
11624
11775
  * @secure
11625
11776
  */
@@ -11661,11 +11812,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11661
11812
  computed?: boolean;
11662
11813
  }, params?: RequestParams) => Promise<HttpResponse<RevisionPageDocument | RevisionPageGroup, any>>;
11663
11814
  /**
11664
- * No description
11815
+ * @description Returns metadata for a specific reusable content block within a historical revision of a space. Reusable content blocks are shared content snippets referenced across multiple pages. To get the actual document body of the reusable content, use the reusable content document endpoint.
11665
11816
  *
11666
11817
  * @tags space-content
11667
11818
  * @name GetReusableContentInRevisionById
11668
- * @summary Get a space revision reusable content by its ID
11819
+ * @summary Get a reusable content block from a historical revision by its ID
11669
11820
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}
11670
11821
  * @secure
11671
11822
  */
@@ -11682,11 +11833,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11682
11833
  computed?: boolean;
11683
11834
  }, params?: RequestParams) => Promise<HttpResponse<RevisionReusableContent, any>>;
11684
11835
  /**
11685
- * No description
11836
+ * @description Returns the structured JSON document (block tree) for a reusable content block within a specific historical revision of a space. Use this to read the actual content of a shared snippet at a point in time. For the metadata, use the reusable content by ID endpoint.
11686
11837
  *
11687
11838
  * @tags space-content
11688
11839
  * @name GetReusableContentDocumentInRevisionById
11689
- * @summary Get the document of a reusable content in a revision
11840
+ * @summary Get the document body of a reusable content block in a historical revision
11690
11841
  * @request GET:/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}/document
11691
11842
  * @secure
11692
11843
  */
@@ -11708,11 +11859,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11708
11859
  dereferenced?: boolean | "reusable-contents";
11709
11860
  }, params?: RequestParams) => Promise<HttpResponse<JSONDocument, any>>;
11710
11861
  /**
11711
- * No description
11862
+ * @description Returns a paginated list of comments posted directly on the space (not inside a change request). To read replies to a specific comment, use the comment replies endpoint.
11712
11863
  *
11713
11864
  * @tags space-comments, critical
11714
11865
  * @name ListCommentsInSpace
11715
- * @summary List all space comments
11866
+ * @summary List all top-level comments posted on a space
11716
11867
  * @request GET:/spaces/{spaceId}/comments
11717
11868
  * @secure
11718
11869
  */
@@ -11745,21 +11896,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11745
11896
  items: Comment[];
11746
11897
  }, any>>;
11747
11898
  /**
11748
- * No description
11899
+ * @description Creates a new top-level comment on the space, optionally anchored to a specific page or a text selection within a page. Use this to leave feedback, start a review thread, or annotate content. To reply to an existing comment, use the comment replies endpoint.
11749
11900
  *
11750
11901
  * @tags space-comments
11751
11902
  * @name PostCommentInSpace
11752
- * @summary Create a space comment
11903
+ * @summary Post a new comment on a space or a specific page
11753
11904
  * @request POST:/spaces/{spaceId}/comments
11754
11905
  * @secure
11755
11906
  */
11756
11907
  postCommentInSpace: (spaceId: EntityId, data: PostCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
11757
11908
  /**
11758
- * No description
11909
+ * @description Returns a specific comment posted on a space. To list all comments in a space, use the space comments list endpoint.
11759
11910
  *
11760
11911
  * @tags space-comments
11761
11912
  * @name GetCommentInSpace
11762
- * @summary Get a space comment
11913
+ * @summary Get a single comment from a space by its ID
11763
11914
  * @request GET:/spaces/{spaceId}/comments/{commentId}
11764
11915
  * @secure
11765
11916
  */
@@ -11778,21 +11929,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11778
11929
  */
11779
11930
  deleteCommentInSpace: (spaceId: EntityId, commentId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11780
11931
  /**
11781
- * No description
11932
+ * @description Updates the content or resolution status of an existing comment on a space. Only the comment author or a space admin can update a comment. Use this to edit a comment's text, mark it as resolved, or reopen it.
11782
11933
  *
11783
11934
  * @tags space-comments
11784
11935
  * @name UpdateCommentInSpace
11785
- * @summary Update a space comment
11936
+ * @summary Update the body or status of a space comment
11786
11937
  * @request PUT:/spaces/{spaceId}/comments/{commentId}
11787
11938
  * @secure
11788
11939
  */
11789
11940
  updateCommentInSpace: (spaceId: EntityId, commentId: EntityId, data: UpdateCommentSchema, params?: RequestParams) => Promise<HttpResponse<Comment, any>>;
11790
11941
  /**
11791
- * No description
11942
+ * @description Returns a paginated list of replies posted under a specific comment in a space. Use this to read the full conversation thread for a comment. To get the parent comment itself, use the space comment by ID endpoint.
11792
11943
  *
11793
11944
  * @tags space-comment
11794
11945
  * @name ListCommentRepliesInSpace
11795
- * @summary List all space comment replies
11946
+ * @summary List all replies to a comment in a space
11796
11947
  * @request GET:/spaces/{spaceId}/comments/{commentId}/replies
11797
11948
  * @secure
11798
11949
  */
@@ -11811,21 +11962,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11811
11962
  items: CommentReply[];
11812
11963
  }, any>>;
11813
11964
  /**
11814
- * No description
11965
+ * @description Creates a reply to an existing comment on a space. Use this to continue a discussion thread started by a top-level comment. To start a new thread, use the space comment creation endpoint instead.
11815
11966
  *
11816
11967
  * @tags space-comments
11817
11968
  * @name PostCommentReplyInSpace
11818
- * @summary Create a space comment reply
11969
+ * @summary Post a reply to an existing space comment
11819
11970
  * @request POST:/spaces/{spaceId}/comments/{commentId}/replies
11820
11971
  * @secure
11821
11972
  */
11822
11973
  postCommentReplyInSpace: (spaceId: EntityId, commentId: EntityId, data: PostCommentReplySchema, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
11823
11974
  /**
11824
- * No description
11975
+ * @description Returns a specific reply to a comment in a space. To list all replies for a comment, use the comment replies list endpoint.
11825
11976
  *
11826
11977
  * @tags space-comments
11827
11978
  * @name GetCommentReplyInSpace
11828
- * @summary Get a space comment reply
11979
+ * @summary Get a single reply to a space comment by its ID
11829
11980
  * @request GET:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
11830
11981
  * @secure
11831
11982
  */
@@ -11834,11 +11985,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11834
11985
  format?: "document" | "markdown";
11835
11986
  }, params?: RequestParams) => Promise<HttpResponse<CommentReply, any>>;
11836
11987
  /**
11837
- * No description
11988
+ * @description Updates the content of an existing reply to a comment in a space. Only the reply author or a space admin can update the reply. To update the parent comment, use the space comment update endpoint.
11838
11989
  *
11839
11990
  * @tags space-comments
11840
11991
  * @name UpdateCommentReplyInSpace
11841
- * @summary Update a space comment reply
11992
+ * @summary Update the body of a reply to a space comment
11842
11993
  * @request PUT:/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}
11843
11994
  * @secure
11844
11995
  */
@@ -11854,11 +12005,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11854
12005
  */
11855
12006
  deleteCommentReplyInSpace: (spaceId: EntityId, commentId: EntityId, commentReplyId: EntityId, params?: RequestParams) => Promise<HttpResponse<void, any>>;
11856
12007
  /**
11857
- * No description
12008
+ * @description Returns a paginated list of organization members who have posted at least one comment in the space. Use this to identify participants in a space's review or annotation workflow. For the actual comment content, use the space comments endpoint.
11858
12009
  *
11859
12010
  * @tags space-comments, critical
11860
12011
  * @name ListCommentersInSpace
11861
- * @summary List all users who commented in a space
12012
+ * @summary List all users who have posted comments in a space
11862
12013
  * @request GET:/spaces/{spaceId}/commenters
11863
12014
  * @secure
11864
12015
  */
@@ -11875,11 +12026,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11875
12026
  items: OrganizationMember[];
11876
12027
  }, any>>;
11877
12028
  /**
11878
- * No description
12029
+ * @description Returns a paginated list of organization members who have posted at least one comment in the change request. Use this to identify who is actively engaged in the review discussion before adding or directing comments.
11879
12030
  *
11880
12031
  * @tags change-request-comments, critical
11881
12032
  * @name ListCommentersInChangeRequest
11882
- * @summary List all users who commented in a CR
12033
+ * @summary List all users who have commented in a change request
11883
12034
  * @request GET:/spaces/{spaceId}/change-requests/{changeRequestId}/commenters
11884
12035
  * @secure
11885
12036
  */
@@ -11919,11 +12070,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11919
12070
  items: UserContentPermission[];
11920
12071
  }, any>>;
11921
12072
  /**
11922
- * No description
12073
+ * @description Returns a paginated list of integrations that are currently installed and enabled on the space. Use the query parameter to filter by integration name. Use this to check which integrations are active before interacting with integration-specific features or blocks.
11923
12074
  *
11924
12075
  * @tags space-integrations
11925
12076
  * @name ListSpaceIntegrations
11926
- * @summary List integrations enabled in a space
12077
+ * @summary List all third-party integrations enabled on a space
11927
12078
  * @request GET:/spaces/{spaceId}/integrations
11928
12079
  * @secure
11929
12080
  */
@@ -11934,11 +12085,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11934
12085
  items: Integration[];
11935
12086
  }, any>>;
11936
12087
  /**
11937
- * No description
12088
+ * @description Returns all custom block types contributed by integrations installed on the space. Integration blocks are custom content elements (e.g. embedded widgets, code runners) that integrations register for use in pages. Use this to discover what custom block types are available in a given space.
11938
12089
  *
11939
12090
  * @tags space-integrations
11940
12091
  * @name ListSpaceIntegrationsBlocks
11941
- * @summary List all space integrations blocks
12092
+ * @summary List all custom content blocks provided by integrations in a space
11942
12093
  * @request GET:/spaces/{spaceId}/integration-blocks
11943
12094
  * @secure
11944
12095
  */
@@ -11950,11 +12101,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11950
12101
  };
11951
12102
  }>>;
11952
12103
  /**
11953
- * No description
12104
+ * @description Returns a short-lived URL (valid for 1 hour) to download the space's content as a PDF file.
11954
12105
  *
11955
12106
  * @tags space-content
11956
12107
  * @name GetSpacePdf
11957
- * @summary Get a URL of the content of a space as PDF
12108
+ * @summary Get a temporary URL to download a space or page as PDF
11958
12109
  * @request GET:/spaces/{spaceId}/pdf
11959
12110
  * @secure
11960
12111
  */
@@ -11968,11 +12119,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11968
12119
  url: URL;
11969
12120
  }, any>>;
11970
12121
  /**
11971
- * No description
12122
+ * @description Returns a paginated list of all internal and external links found in the space's content. Use this to audit link health across an entire space.
11972
12123
  *
11973
12124
  * @tags spaces, links, critical
11974
12125
  * @name ListSpaceLinks
11975
- * @summary Get all links in a space including their status and location where they appear.
12126
+ * @summary List all links in a space with their status and location
11976
12127
  * @request GET:/spaces/{spaceId}/links
11977
12128
  * @secure
11978
12129
  */
@@ -12930,15 +13081,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12930
13081
  * @default "desc"
12931
13082
  */
12932
13083
  order?: "asc" | "desc";
12933
- /** The Role to filter the member list by */
13084
+ /** The role to filter the list by */
12934
13085
  role?: MemberRole | "guest";
12935
- /** A query to filter the member list (displayName and email) */
13086
+ /** A query to filter the list by display name and email */
12936
13087
  search?: string;
12937
13088
  /**
12938
- * The property to sort the results by. When sorting by lastSeenAt, only active members will be listed.
13089
+ * The property to sort the list by
12939
13090
  * @default "joinedAt"
12940
13091
  */
12941
- sort?: "joinedAt" | "lastSeenAt";
13092
+ sort?: "joinedAt" | "lastSeenAt" | "name";
12942
13093
  }, params?: RequestParams) => Promise<HttpResponse<List & {
12943
13094
  items: OrganizationMember[];
12944
13095
  }, any>>;
@@ -13325,11 +13476,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13325
13476
  items: SearchSpaceResult[];
13326
13477
  }, any>>;
13327
13478
  /**
13328
- * No description
13479
+ * @description Returns a paginated list of change requests across all spaces in the organization. Use this for an organization-wide view of open drafts — for example, to find all change requests needing a specific reviewer's attention. For a single space's change requests, use the space-scoped endpoint instead.
13329
13480
  *
13330
13481
  * @tags change-requests
13331
13482
  * @name ListChangeRequestsForOrganization
13332
- * @summary List all change requests in an organization
13483
+ * @summary List all change requests across an entire organization
13333
13484
  * @request GET:/orgs/{organizationId}/change-requests
13334
13485
  * @secure
13335
13486
  */
@@ -13367,11 +13518,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13367
13518
  items: ChangeRequest[];
13368
13519
  }, any>>;
13369
13520
  /**
13370
- * No description
13521
+ * @description Returns a paginated list of all spaces belonging to the organization. A space is a collection of documentation pages with its own content tree and revision history. Use this to discover spaces before reading their content, adding them to a site, or performing operations on specific spaces.
13371
13522
  *
13372
13523
  * @tags spaces
13373
13524
  * @name ListSpacesInOrganizationById
13374
- * @summary List all spaces
13525
+ * @summary List all spaces in an organization
13375
13526
  * @request GET:/orgs/{organizationId}/spaces
13376
13527
  * @secure
13377
13528
  */
@@ -13388,11 +13539,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13388
13539
  items: Space[];
13389
13540
  }, any>>;
13390
13541
  /**
13391
- * No description
13542
+ * @description Creates a new space within the organization. A space is the primary container for documentation content, holding pages, files, and revisions. After creation, add the space to a site to make it publicly accessible, or start adding content directly via the space content endpoints.
13392
13543
  *
13393
13544
  * @tags spaces
13394
13545
  * @name CreateSpace
13395
- * @summary Create a space
13546
+ * @summary Create a new documentation space in an organization
13396
13547
  * @request POST:/orgs/{organizationId}/spaces
13397
13548
  * @secure
13398
13549
  */
@@ -14218,11 +14369,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14218
14369
  */
14219
14370
  deleteCustomFont: (organizationId: EntityId, fontId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14220
14371
  /**
14221
- * No description
14372
+ * @description Returns a paginated list of all documentation sites belonging to the organization. Use this to discover available sites before fetching their content, settings, or structure.
14222
14373
  *
14223
14374
  * @tags sites, critical
14224
14375
  * @name ListSites
14225
- * @summary List all sites
14376
+ * @summary List all documentation sites in an organization
14226
14377
  * @request GET:/orgs/{organizationId}/sites
14227
14378
  * @secure
14228
14379
  */
@@ -14247,16 +14398,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14247
14398
  items: Site[];
14248
14399
  }, any>>;
14249
14400
  /**
14250
- * No description
14401
+ * @description Creates a new documentation site within the organization. Optionally links one or more existing spaces as content sources at creation time. The site is created in an unpublished state; call the publish endpoint separately to make it publicly accessible.
14251
14402
  *
14252
14403
  * @tags sites
14253
14404
  * @name CreateSite
14254
- * @summary Create a site
14405
+ * @summary Create a new documentation site in an organization
14255
14406
  * @request POST:/orgs/{organizationId}/sites
14256
14407
  * @secure
14257
14408
  */
14258
14409
  createSite: (organizationId: EntityId, data: {
14259
- /** The type of the site, defaults to Basic */
14410
+ /**
14411
+ * The type of the site. Defaults to:
14412
+ * - Sponsored for community organizations
14413
+ * - Ultimate for all other organizations
14414
+ */
14260
14415
  type?: SiteType;
14261
14416
  /** Title of the site */
14262
14417
  title?: SiteTitle;
@@ -14272,11 +14427,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14272
14427
  spaces?: string[];
14273
14428
  }, params?: RequestParams) => Promise<HttpResponse<Site, any>>;
14274
14429
  /**
14275
- * No description
14430
+ * @description Retrieves full details for a single documentation site. Use this to inspect a specific site's metadata before reading or modifying its settings, structure, or content.
14276
14431
  *
14277
14432
  * @tags sites
14278
14433
  * @name GetSiteById
14279
- * @summary Get a site by its ID
14434
+ * @summary Get a documentation site by its ID
14280
14435
  * @request GET:/orgs/{organizationId}/sites/{siteId}
14281
14436
  * @secure
14282
14437
  */
@@ -14288,11 +14443,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14288
14443
  };
14289
14444
  }>>;
14290
14445
  /**
14291
- * No description
14446
+ * @description Updates a documentation site's configuration. Use this to rename a site, change its access level, or point it at a reverse-proxy path such as https://company.com/docs.
14292
14447
  *
14293
14448
  * @tags sites
14294
14449
  * @name UpdateSiteById
14295
- * @summary Update a site
14450
+ * @summary Update the properties of a documentation site
14296
14451
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}
14297
14452
  * @secure
14298
14453
  */
@@ -14323,6 +14478,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14323
14478
  * Use `null` to remove the proxy.
14324
14479
  */
14325
14480
  proxy?: SiteProxyOrigin | null;
14481
+ /** Attach an existing styleguide to the site by the ID of the styleguide space, or `null` to detach the current one. The space must be a styleguide owned by the same organization. */
14482
+ styleguide?: string | null;
14326
14483
  }, params?: RequestParams) => Promise<HttpResponse<Site, any>>;
14327
14484
  /**
14328
14485
  * No description
@@ -14365,11 +14522,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14365
14522
  };
14366
14523
  }>>;
14367
14524
  /**
14368
- * No description
14525
+ * @description Returns the JSON schema that defines the visitor attributes expected by an adaptive content site. Adaptive content uses these attributes (e.g., user role, plan tier) to conditionally show or hide content sections. Use this to understand what visitor data must be provided when rendering adaptive content.
14369
14526
  *
14370
14527
  * @tags sites
14371
14528
  * @name GetSiteAdaptiveSchema
14372
- * @summary Get the JSON schema describing the attributes expected for an Adaptive content site visitor.
14529
+ * @summary Get the visitor attributes JSON schema for an adaptive content site
14373
14530
  * @request GET:/orgs/{organizationId}/sites/{siteId}/adaptive-schema
14374
14531
  * @secure
14375
14532
  */
@@ -14381,11 +14538,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14381
14538
  };
14382
14539
  }>>;
14383
14540
  /**
14384
- * No description
14541
+ * @description Replaces the JSON schema that defines expected visitor attributes for adaptive content. The schema controls which attributes (e.g., role, subscription tier) can be used in conditional expressions to show or hide content for specific visitors. After updating, existing conditional expressions are evaluated against the new schema.
14385
14542
  *
14386
14543
  * @tags sites
14387
14544
  * @name UpdateSiteAdaptiveSchema
14388
- * @summary Update the JSON schema of the attributes expected for an Adaptive content site visitor.
14545
+ * @summary Update the visitor attributes JSON schema for an adaptive content site
14389
14546
  * @request PUT:/orgs/{organizationId}/sites/{siteId}/adaptive-schema
14390
14547
  * @secure
14391
14548
  */
@@ -14400,11 +14557,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14400
14557
  };
14401
14558
  }>>;
14402
14559
  /**
14403
- * No description
14560
+ * @description Returns pre-generated condition templates derived from the site's visitor attributes schema. These templates can be used as building blocks when writing adaptive content expressions to conditionally show or hide content for different visitor types. Use this to discover available conditions before authoring adaptive rules.
14404
14561
  *
14405
14562
  * @tags sites
14406
14563
  * @name ListSiteAdaptiveTemplateConditions
14407
- * @summary List templates of conditions generated based on the site visitor schema that can be used in adaptive content expressions.
14564
+ * @summary List condition templates for adaptive content expressions in a site
14408
14565
  * @request GET:/orgs/{organizationId}/sites/{siteId}/adaptive-schema/template-conditions
14409
14566
  * @secure
14410
14567
  */
@@ -14412,11 +14569,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14412
14569
  items: SiteAdaptiveTemplateCondition[];
14413
14570
  }, any>>;
14414
14571
  /**
14415
- * @description Get the complete profile of a site in an organization to provide the published experience. It includes site, customization, structure, integration scripts etc.
14572
+ * @description Returns the complete profile needed to render the published experience of a site. Use this when building a site renderer or preview rather than fetching each resource individually.
14416
14573
  *
14417
14574
  * @tags sites
14418
14575
  * @name GetPublishedContentSite
14419
- * @summary Get a published site
14576
+ * @summary Get the full published profile of a site including structure and customization
14420
14577
  * @request GET:/orgs/{organizationId}/sites/{siteId}/published
14421
14578
  * @secure
14422
14579
  */
@@ -14431,11 +14588,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14431
14588
  };
14432
14589
  }>>;
14433
14590
  /**
14434
- * No description
14591
+ * @description Makes the site publicly accessible at its configured URL by publishing it. If the organization's plan requires an upgrade, the response includes a Stripe checkout session ID instead of the site object. Use unpublish to take the site offline again.
14435
14592
  *
14436
14593
  * @tags sites
14437
14594
  * @name PublishSite
14438
- * @summary Publish a site
14595
+ * @summary Publish a site to make it publicly accessible
14439
14596
  * @request POST:/orgs/{organizationId}/sites/{siteId}/publish
14440
14597
  * @secure
14441
14598
  */
@@ -14445,21 +14602,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14445
14602
  sessionId: string;
14446
14603
  }, any>>;
14447
14604
  /**
14448
- * No description
14605
+ * @description Removes the site from public access by unpublishing it. The site's configuration and content are preserved; use the publish endpoint to make it accessible again. Use this when you need to temporarily hide a site or take it down for maintenance.
14449
14606
  *
14450
14607
  * @tags sites
14451
14608
  * @name UnpublishSite
14452
- * @summary Unpublish a site
14609
+ * @summary Take a site offline by unpublishing it
14453
14610
  * @request POST:/orgs/{organizationId}/sites/{siteId}/unpublish
14454
14611
  * @secure
14455
14612
  */
14456
14613
  unpublishSite: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<Site, any>>;
14457
14614
  /**
14458
- * No description
14615
+ * @description Returns a paginated list of share links configured for the site. Share links grant access to a private site without requiring full authentication. Use this to audit existing share links, check their active status, or find a link ID before updating or revoking it.
14459
14616
  *
14460
14617
  * @tags site-share-links
14461
14618
  * @name ListSiteShareLinks
14462
- * @summary List all share links
14619
+ * @summary List all private share links for a site
14463
14620
  * @request GET:/orgs/{organizationId}/sites/{siteId}/share-links
14464
14621
  * @secure
14465
14622
  */
@@ -14478,11 +14635,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14478
14635
  items: ShareLink[];
14479
14636
  }, any>>;
14480
14637
  /**
14481
- * No description
14638
+ * @description Creates a new named share link that grants access to the private site without requiring full user authentication. Share links are useful for sharing pre-publication content with reviewers or stakeholders. Each link has a unique key and can be activated or deactivated independently.
14482
14639
  *
14483
14640
  * @tags site-share-links
14484
14641
  * @name CreateSiteShareLink
14485
- * @summary Create a share link
14642
+ * @summary Create a private share link for a site
14486
14643
  * @request POST:/orgs/{organizationId}/sites/{siteId}/share-links
14487
14644
  * @secure
14488
14645
  */
@@ -14491,11 +14648,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14491
14648
  name: ShareLinkName;
14492
14649
  }, params?: RequestParams) => Promise<HttpResponse<ShareLink, any>>;
14493
14650
  /**
14494
- * No description
14651
+ * @description Updates a share link's properties. Use this to temporarily disable a share link without losing its configuration.
14495
14652
  *
14496
14653
  * @tags site-share-links
14497
14654
  * @name UpdateSiteShareLinkById
14498
- * @summary Update a share link
14655
+ * @summary Update a private share link for a site
14499
14656
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}
14500
14657
  * @secure
14501
14658
  */
@@ -14515,11 +14672,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14515
14672
  */
14516
14673
  deleteSiteShareLinkById: (organizationId: EntityId, siteId: string, shareLinkId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14517
14674
  /**
14518
- * @description Get the complete structure of a site that includes all its site-sections and site-spaces.
14675
+ * @description Returns the complete hierarchical structure of a site, including all sections, section groups, and site spaces in their current order. Use this to understand how a site's navigation is organized before making structural changes, or to render the full navigation tree of a site.
14519
14676
  *
14520
14677
  * @tags site-structure
14521
14678
  * @name GetSiteStructure
14522
- * @summary Get a site structure
14679
+ * @summary Get the full navigation structure of a site
14523
14680
  * @request GET:/orgs/{organizationId}/sites/{siteId}/structure
14524
14681
  * @secure
14525
14682
  */
@@ -14534,11 +14691,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14534
14691
  };
14535
14692
  }>>;
14536
14693
  /**
14537
- * No description
14694
+ * @description Reorders an item in the site's navigation structure by moving a site space, section, or section group to a specified position relative to another item. Use this to reorganize the navigation order after adding new sections or to reflect a new content hierarchy.
14538
14695
  *
14539
14696
  * @tags sites
14540
14697
  * @name SortSiteStructure
14541
- * @summary Move a site space, site section or site section group to a new position in the site structure.
14698
+ * @summary Move a site space, section, or section group to a new position
14542
14699
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/structure/sort
14543
14700
  * @secure
14544
14701
  */
@@ -14561,11 +14718,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14561
14718
  };
14562
14719
  }>>;
14563
14720
  /**
14564
- * No description
14721
+ * @description Retrieves the authentication settings that protect a site's published content. Use this to review the current auth method before making changes or troubleshooting access issues.
14565
14722
  *
14566
14723
  * @tags site-publishing-auth
14567
14724
  * @name GetSitePublishingAuthById
14568
- * @summary Get a site auth config
14725
+ * @summary Get the published content authentication configuration for a site
14569
14726
  * @request GET:/orgs/{organizationId}/sites/{siteId}/publishing/auth
14570
14727
  * @secure
14571
14728
  */
@@ -14577,11 +14734,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14577
14734
  };
14578
14735
  }>>;
14579
14736
  /**
14580
- * No description
14737
+ * @description Modifies the authentication method used to protect a site's published content. Use this to enable, disable, or change the auth method for a published site.
14581
14738
  *
14582
14739
  * @tags site-publishing-auth
14583
14740
  * @name UpdateSitePublishingAuthById
14584
- * @summary Update a site auth config
14741
+ * @summary Update the published content authentication configuration for a site
14585
14742
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/publishing/auth
14586
14743
  * @secure
14587
14744
  */
@@ -14593,11 +14750,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14593
14750
  };
14594
14751
  }>>;
14595
14752
  /**
14596
- * @description Regenerate the publishing authentication settings for a site. This will re-generate the private key.
14753
+ * @description Re-generates the private key used for the site's publishing authentication (e.g., JWT signing key for SSO). Existing tokens signed with the old key will become invalid immediately. Use this to rotate credentials after a security incident or as part of a regular key rotation policy.
14597
14754
  *
14598
14755
  * @tags site-publishing-auth
14599
14756
  * @name RegenerateSitePublishingAuthById
14600
- * @summary Regenerate a site auth
14757
+ * @summary Regenerate the private key for a site's published content authentication
14601
14758
  * @request POST:/orgs/{organizationId}/sites/{siteId}/publishing/auth/regenerate
14602
14759
  * @secure
14603
14760
  */
@@ -14609,11 +14766,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14609
14766
  };
14610
14767
  }>>;
14611
14768
  /**
14612
- * @description Generate a URL to preview the published content of a site. The URL will be valid for 1 hour.
14769
+ * @description Generates a time-limited URL (valid for 1 hour) to preview how a site will look when published. Use this to verify changes before making the site publicly accessible.
14613
14770
  *
14614
14771
  * @tags site-preview
14615
14772
  * @name GetSitePublishingPreviewById
14616
- * @summary Get a site preview URL
14773
+ * @summary Generate a temporary preview URL for a site's published content
14617
14774
  * @request GET:/orgs/{organizationId}/sites/{siteId}/publishing/preview
14618
14775
  * @secure
14619
14776
  */
@@ -14639,11 +14796,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14639
14796
  };
14640
14797
  }>>;
14641
14798
  /**
14642
- * No description
14799
+ * @description Retrieves the full customization configuration for a site. Use this before making updates to read the current state, or to audit branding settings.
14643
14800
  *
14644
14801
  * @tags site-customization
14645
14802
  * @name GetSiteCustomizationById
14646
- * @summary Get a site customization settings
14803
+ * @summary Get the branding and visual customization settings for a site
14647
14804
  * @request GET:/orgs/{organizationId}/sites/{siteId}/customization
14648
14805
  * @secure
14649
14806
  */
@@ -14662,11 +14819,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14662
14819
  };
14663
14820
  }>>;
14664
14821
  /**
14665
- * No description
14822
+ * @description Replaces the full customization configuration for a site. This is a full replacement — unset fields revert to defaults. Use the GET endpoint first to read the current settings before making targeted changes.
14666
14823
  *
14667
14824
  * @tags site-customization
14668
14825
  * @name UpdateSiteCustomizationById
14669
- * @summary Update a site customization settings
14826
+ * @summary Update the branding and visual customization settings for a site
14670
14827
  * @request PUT:/orgs/{organizationId}/sites/{siteId}/customization
14671
14828
  * @secure
14672
14829
  */
@@ -14678,11 +14835,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14678
14835
  };
14679
14836
  }>>;
14680
14837
  /**
14681
- * No description
14838
+ * @description Returns all integration scripts configured to be injected into the published pages of a site, such as analytics trackers, chat widgets, or custom JavaScript. Use this to audit which third-party scripts are active on the site.
14682
14839
  *
14683
14840
  * @tags integrations, sites
14684
14841
  * @name ListSiteIntegrationScripts
14685
- * @summary List the scripts to embed in published content for a site.
14842
+ * @summary List custom scripts injected into a site's published pages
14686
14843
  * @request GET:/orgs/{organizationId}/sites/{siteId}/integration-scripts
14687
14844
  * @secure
14688
14845
  */
@@ -14694,11 +14851,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14694
14851
  };
14695
14852
  }>>;
14696
14853
  /**
14697
- * No description
14854
+ * @description Returns a paginated list of integrations currently enabled on the site. Integrations extend site functionality with third-party services such as analytics, support, or authentication providers. Use this to audit which integrations are active, or to find an integration before updating its settings.
14698
14855
  *
14699
14856
  * @tags integrations, sites
14700
14857
  * @name ListSiteIntegrations
14701
- * @summary List integrations enabled in a site.
14858
+ * @summary List third-party integrations enabled on a site
14702
14859
  * @request GET:/orgs/{organizationId}/sites/{siteId}/integrations
14703
14860
  * @secure
14704
14861
  */
@@ -14709,11 +14866,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14709
14866
  items: Integration[];
14710
14867
  }, any>>;
14711
14868
  /**
14712
- * No description
14869
+ * @description Links an existing space to the site by creating a site space relationship.
14713
14870
  *
14714
14871
  * @tags site-spaces
14715
14872
  * @name AddSpaceToSite
14716
- * @summary Add a space to a site
14873
+ * @summary Add a space to a site as a content source
14717
14874
  * @request POST:/orgs/{organizationId}/sites/{siteId}/site-spaces
14718
14875
  * @secure
14719
14876
  */
@@ -14729,11 +14886,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14729
14886
  draft?: boolean;
14730
14887
  }, params?: RequestParams) => Promise<HttpResponse<SiteSpace, any>>;
14731
14888
  /**
14732
- * No description
14889
+ * @description Returns a paginated list of site spaces — the links between a site and its content source spaces. Each site space can be a language variant or content version within a section. Use the default filter to retrieve only the primary site space, or omit it to get all linked spaces including drafts.
14733
14890
  *
14734
14891
  * @tags site-spaces, critical
14735
14892
  * @name ListSiteSpaces
14736
- * @summary List all the site spaces
14893
+ * @summary List all spaces linked to a site as content sources
14737
14894
  * @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces
14738
14895
  * @secure
14739
14896
  */
@@ -14754,11 +14911,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14754
14911
  items: SiteSpace[];
14755
14912
  }, any>>;
14756
14913
  /**
14757
- * No description
14914
+ * @description Returns a paginated list of section groups for the site. Section groups are containers that organize multiple sections into a hierarchical navigation structure. Use this to inspect the current grouping before adding, updating, or reordering items in the site structure.
14758
14915
  *
14759
14916
  * @tags site-section-groups
14760
14917
  * @name ListSiteSectionGroups
14761
- * @summary List all site section groups
14918
+ * @summary List all section groups in a site's navigation structure
14762
14919
  * @request GET:/orgs/{organizationId}/sites/{siteId}/section-groups
14763
14920
  * @secure
14764
14921
  */
@@ -14775,11 +14932,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14775
14932
  items: SiteSectionGroup[];
14776
14933
  }, any>>;
14777
14934
  /**
14778
- * No description
14935
+ * @description Creates a new section group to organize multiple sections under a shared navigation label. Section groups can be nested by providing a parent group ID. Existing sections can be assigned to the group at creation time via their IDs. Create the group in draft mode to stage it before publishing.
14779
14936
  *
14780
14937
  * @tags site-section-groups
14781
14938
  * @name AddSectionGroupToSite
14782
- * @summary Add a section group to a site
14939
+ * @summary Add a section group to a site's navigation structure
14783
14940
  * @request POST:/orgs/{organizationId}/sites/{siteId}/section-groups
14784
14941
  * @secure
14785
14942
  */
@@ -14795,11 +14952,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14795
14952
  draft?: boolean;
14796
14953
  }, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, any>>;
14797
14954
  /**
14798
- * No description
14955
+ * @description Updates a section group's properties in the site's navigation structure.
14799
14956
  *
14800
14957
  * @tags site-section-groups
14801
14958
  * @name UpdateSiteSectionGroupById
14802
- * @summary Update a site section group
14959
+ * @summary Update a section group in a site's navigation structure
14803
14960
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}
14804
14961
  * @secure
14805
14962
  */
@@ -14823,11 +14980,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14823
14980
  */
14824
14981
  deleteSiteSectionGroupById: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14825
14982
  /**
14826
- * No description
14983
+ * @description Creates a new top-level navigation section in the site by linking a space as its primary content source. The section appears as a tab or sidebar entry in the site navigation.
14827
14984
  *
14828
14985
  * @tags site-sections
14829
14986
  * @name AddSectionToSite
14830
- * @summary Add a section to a site
14987
+ * @summary Add a new navigation section to a site backed by a space
14831
14988
  * @request POST:/orgs/{organizationId}/sites/{siteId}/sections
14832
14989
  * @secure
14833
14990
  */
@@ -14842,11 +14999,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14842
14999
  siteSectionGroupId?: string;
14843
15000
  }, params?: RequestParams) => Promise<HttpResponse<SiteSection, any>>;
14844
15001
  /**
14845
- * No description
15002
+ * @description Returns a paginated list of sections in the site. Each section is a top-level navigation item backed by one or more site spaces. Use this to inspect the current navigation structure, find a section ID before updating it, or check whether sections are in draft or live state.
14846
15003
  *
14847
15004
  * @tags site-sections
14848
15005
  * @name ListSiteSections
14849
- * @summary List all site sections
15006
+ * @summary List all navigation sections in a site
14850
15007
  * @request GET:/orgs/{organizationId}/sites/{siteId}/sections
14851
15008
  * @secure
14852
15009
  */
@@ -14865,11 +15022,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14865
15022
  items: SiteSection[];
14866
15023
  }, any>>;
14867
15024
  /**
14868
- * No description
15025
+ * @description Updates a navigation section's configuration in the site structure.
14869
15026
  *
14870
15027
  * @tags site-sections
14871
15028
  * @name UpdateSiteSectionById
14872
- * @summary Update a site section
15029
+ * @summary Update a navigation section in a site
14873
15030
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}
14874
15031
  * @secure
14875
15032
  */
@@ -14904,11 +15061,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14904
15061
  */
14905
15062
  deleteSiteSectionById: (organizationId: EntityId, siteId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
14906
15063
  /**
14907
- * No description
15064
+ * @description Performs a full-text search across all published spaces in the site and returns matching pages with relevant excerpts. Use the scope parameter to restrict the search to specific site spaces or sections. Prefer this over the space-level search when you need to search across a multi-section site in one call.
14908
15065
  *
14909
15066
  * @tags sites
14910
15067
  * @name SearchSiteContent
14911
- * @summary Search in a site
15068
+ * @summary Full-text search across all content in a site
14912
15069
  * @request POST:/orgs/{organizationId}/sites/{siteId}/search
14913
15070
  * @secure
14914
15071
  */
@@ -15145,7 +15302,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15145
15302
  * @secure
15146
15303
  */
15147
15304
  updateSiteFindingById: (organizationId: EntityId, siteId: string, siteFindingId: string, data: {
15148
- status: "open" | "canceled";
15305
+ /**
15306
+ * Status of a site finding.
15307
+ * - `candidate` is a finding that has been raised but not yet confirmed. Typically these are not shown to users.
15308
+ * - `open` is a finding that has been surfaced to users and is still under investigation.
15309
+ * - `done` is a finding that has been resolved and is no longer under investigation.
15310
+ * - `canceled` is a finding that has been canceled and is no longer under investigation.
15311
+ */
15312
+ status: SiteFindingStatus;
15149
15313
  }, params?: RequestParams) => Promise<HttpResponse<SiteFinding, any>>;
15150
15314
  /**
15151
15315
  * No description
@@ -15273,6 +15437,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15273
15437
  */
15274
15438
  createSiteContextConnection: (organizationId: EntityId, siteId: string, data: ContextConnectorSetup & {
15275
15439
  usageSettings?: ContextUsageSettings;
15440
+ /** Optional filter used to restrict which items are ingested from the source. Its meaning depends on the connector: it can be a tag, label, or an expression. When empty or omitted, all resolved items are ingested. */
15441
+ filter?: ContextConnectionFilter;
15276
15442
  }, params?: RequestParams) => Promise<HttpResponse<ContextConnection, any>>;
15277
15443
  /**
15278
15444
  * No description
@@ -15297,6 +15463,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15297
15463
  usageSettings?: ContextUsageSettings;
15298
15464
  /** Optional label for the connection */
15299
15465
  label?: ContextConnectionLabel;
15466
+ /** Optional filter used to restrict which items are ingested from the source. Its meaning depends on the connector: it can be a tag, label, or an expression. When empty or omitted, all resolved items are ingested. */
15467
+ filter?: ContextConnectionFilter;
15300
15468
  }, params?: RequestParams) => Promise<HttpResponse<ContextConnection, any>>;
15301
15469
  /**
15302
15470
  * No description
@@ -15374,11 +15542,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15374
15542
  */
15375
15543
  deleteSiteTopicFindings: (organizationId: EntityId, siteId: string, siteTopicId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
15376
15544
  /**
15377
- * No description
15545
+ * @description Returns a paginated list of the questions visitors asked a site's Ask AI assistant, each with usage stats. Use it to discover what users are looking for and where the documentation has gaps.
15378
15546
  *
15379
15547
  * @tags site-questions
15380
15548
  * @name ListSiteQuestions
15381
- * @summary List all questions in a site
15549
+ * @summary List the questions visitors asked a site's Ask AI assistant
15382
15550
  * @request GET:/orgs/{organizationId}/sites/{siteId}/questions
15383
15551
  * @secure
15384
15552
  */
@@ -15416,11 +15584,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15416
15584
  items: SiteQuestion[];
15417
15585
  }, any>>;
15418
15586
  /**
15419
- * No description
15587
+ * @description Retrieves one question asked to a site's Ask AI assistant, including its canonical text and aggregate stats. Use it to inspect a specific question discovered via listSiteQuestions.
15420
15588
  *
15421
15589
  * @tags site-questions
15422
15590
  * @name GetSiteQuestionById
15423
- * @summary Get a site question by ID
15591
+ * @summary Get a single Ask AI question by ID
15424
15592
  * @request GET:/orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}
15425
15593
  * @secure
15426
15594
  */
@@ -15437,11 +15605,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15437
15605
  answered?: SiteQuestionAnswerResolution[];
15438
15606
  }, params?: RequestParams) => Promise<HttpResponse<SiteQuestion, any>>;
15439
15607
  /**
15440
- * No description
15608
+ * @description Returns the documentation pages the Ask AI assistant used to answer a given question. Use it to see which content grounded the AI's responses to that question.
15441
15609
  *
15442
15610
  * @tags site-questions
15443
15611
  * @name ListSiteQuestionSources
15444
- * @summary List sources for a question
15612
+ * @summary List the documentation sources used to answer a question
15445
15613
  * @request GET:/orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}/sources
15446
15614
  * @secure
15447
15615
  */
@@ -15468,11 +15636,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15468
15636
  items: SiteQuestionAnswerSource[];
15469
15637
  }, any>>;
15470
15638
  /**
15471
- * No description
15639
+ * @description Returns aggregate statistics about the questions visitors asked a site's Ask AI assistant over a time range, optionally filtered by topic, relevance, or channel. Use it for a high-level view of AI-assistant usage before drilling into individual questions.
15472
15640
  *
15473
15641
  * @tags site-questions
15474
15642
  * @name GetSiteQuestionStats
15475
- * @summary Get question stats for a site
15643
+ * @summary Get aggregate Ask AI question statistics for a site
15476
15644
  * @request GET:/orgs/{organizationId}/sites/{siteId}/question-stats
15477
15645
  * @secure
15478
15646
  */
@@ -15491,11 +15659,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15491
15659
  answered?: SiteQuestionAnswerResolution[];
15492
15660
  }, params?: RequestParams) => Promise<HttpResponse<SiteQuestionStats, any>>;
15493
15661
  /**
15494
- * No description
15662
+ * @description Returns a paginated list of individual Ask AI answers generated for a site. Each is the assistant's response to a specific asked question, with the raw question text, channel, and feedback. Use it to review answer quality and what users asked across the site.
15495
15663
  *
15496
15664
  * @tags site-questions
15497
15665
  * @name ListSiteQuestionAnswers
15498
- * @summary List all answers for a site
15666
+ * @summary List the answers a site's Ask AI assistant generated
15499
15667
  * @request GET:/orgs/{organizationId}/sites/{siteId}/answers
15500
15668
  * @secure
15501
15669
  */
@@ -15534,31 +15702,31 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15534
15702
  items: SiteQuestionAnswer[];
15535
15703
  }, any>>;
15536
15704
  /**
15537
- * No description
15705
+ * @description Retrieves one Ask AI answer, including the question that prompted it, the response, and its feedback. Use it to inspect a specific answer discovered via listSiteQuestionAnswers.
15538
15706
  *
15539
15707
  * @tags site-questions
15540
15708
  * @name GetSiteQuestionAnswerById
15541
- * @summary Get a site answer by ID
15709
+ * @summary Get a single Ask AI answer by ID
15542
15710
  * @request GET:/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}
15543
15711
  * @secure
15544
15712
  */
15545
15713
  getSiteQuestionAnswerById: (organizationId: EntityId, siteId: string, siteQuestionAnswerId: string, params?: RequestParams) => Promise<HttpResponse<SiteQuestionAnswerWithResponse, any>>;
15546
15714
  /**
15547
- * No description
15715
+ * @description Returns the full conversation thread for a given Ask AI answer: the sequence of follow-up questions and responses in that exchange.
15548
15716
  *
15549
15717
  * @tags site-questions
15550
15718
  * @name GetSiteQuestionAnswerThreadById
15551
- * @summary Get a site answer thread by answer ID
15719
+ * @summary Get the conversation thread for an Ask AI answer
15552
15720
  * @request GET:/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}/thread
15553
15721
  * @secure
15554
15722
  */
15555
15723
  getSiteQuestionAnswerThreadById: (organizationId: EntityId, siteId: string, siteQuestionAnswerId: string, params?: RequestParams) => Promise<HttpResponse<SiteQuestionAnswerWithResponse[], any>>;
15556
15724
  /**
15557
- * No description
15725
+ * @description Returns the documentation pages the Ask AI assistant cited to produce a given answer. Use it to see exactly which content grounded that specific answer.
15558
15726
  *
15559
15727
  * @tags site-questions
15560
15728
  * @name ListSiteQuestionAnswerSources
15561
- * @summary List the sources for an answer
15729
+ * @summary List the documentation sources cited for an answer
15562
15730
  * @request GET:/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}/sources
15563
15731
  * @secure
15564
15732
  */
@@ -15575,11 +15743,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15575
15743
  items: SiteQuestionAnswerSource[];
15576
15744
  }, any>>;
15577
15745
  /**
15578
- * No description
15746
+ * @description Updates the configuration of a site space. Use this to remap a site space to a different space, hide it from navigation, or promote it from draft to live.
15579
15747
  *
15580
15748
  * @tags site-spaces
15581
15749
  * @name UpdateSiteSpaceById
15582
- * @summary Update a site space
15750
+ * @summary Update a space linked to a site
15583
15751
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}
15584
15752
  * @secure
15585
15753
  */
@@ -15606,11 +15774,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15606
15774
  */
15607
15775
  deleteSiteSpaceById: (organizationId: EntityId, siteId: string, siteSpaceId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
15608
15776
  /**
15609
- * No description
15777
+ * @description Retrieves the customization settings that override the site-level branding for a specific site space, such as a language variant or content version. Returns the effective settings with site-level defaults where no override is set. Use this before applying or removing overrides.
15610
15778
  *
15611
15779
  * @tags site-customization
15612
15780
  * @name GetSiteSpaceCustomizationById
15613
- * @summary Get a site space customization settings
15781
+ * @summary Get the customization overrides for a site space
15614
15782
  * @request GET:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
15615
15783
  * @secure
15616
15784
  */
@@ -15629,11 +15797,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15629
15797
  };
15630
15798
  }>>;
15631
15799
  /**
15632
- * No description
15800
+ * @description Applies customization overrides to a specific site space, such as a language variant or content version, that take precedence over the site-level settings. Only provided fields are overridden; set a field to null to clear its override and fall back to the site-level value.
15633
15801
  *
15634
15802
  * @tags site-customization
15635
15803
  * @name OverrideSiteSpaceCustomizationById
15636
- * @summary Override a site space customization settings
15804
+ * @summary Override branding and customization settings for a specific site space
15637
15805
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization
15638
15806
  * @secure
15639
15807
  */
@@ -15719,18 +15887,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15719
15887
  /** Should the reader be able to switch between dark and light mode. Set to null to reset the override. */
15720
15888
  toggeable?: boolean | null;
15721
15889
  };
15722
- pdf?: {
15723
- /** If true, PDF export is enabled for the published site. Set to null to reset the override. */
15724
- enabled: boolean | null;
15725
- };
15726
15890
  feedback?: {
15727
15891
  /** If true, feedback gathering is enabled. Set to null to reset the override. */
15728
15892
  enabled: boolean | null;
15729
15893
  };
15730
- git?: {
15731
- /** Whether the published site should show a link to edit the content on the git provider set up in the Git Sync. Set to null to reset the override. */
15732
- showEditLink: boolean | null;
15733
- };
15734
15894
  externalLinks?: {
15735
15895
  /** How external links should open. Set to null to reset the override. */
15736
15896
  target: SiteExternalLinksTarget | null;
@@ -15886,6 +16046,22 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15886
16046
  * @max 1000
15887
16047
  */
15888
16048
  limit?: number;
16049
+ /**
16050
+ * An order for the items in the list
16051
+ * @default "desc"
16052
+ */
16053
+ order?: "asc" | "desc";
16054
+ /** The role to filter the list by */
16055
+ role?: MemberRole | "guest";
16056
+ /** A query to filter the list by display name and email */
16057
+ search?: string;
16058
+ /**
16059
+ * The property to sort the list by
16060
+ * @default "joinedAt"
16061
+ */
16062
+ sort?: "joinedAt" | "lastSeenAt" | "name";
16063
+ /** Team identifier. Filter the list to members of a specific team. */
16064
+ team?: string;
15889
16065
  }, params?: RequestParams) => Promise<HttpResponse<List & {
15890
16066
  items: UserSitePermission[];
15891
16067
  }, any>>;
@@ -16044,11 +16220,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16044
16220
  };
16045
16221
  }, params?: RequestParams) => EventIterator<AIStreamResponse>;
16046
16222
  /**
16047
- * No description
16223
+ * @description Retrieves the configuration for the AI built into the GitBook editor that assists authors with drafting and refining content changes. Use this before updating agent settings to understand the current configuration.
16048
16224
  *
16049
16225
  * @tags site-agent-settings
16050
16226
  * @name GetSiteAgentSettingsById
16051
- * @summary Get site agent settings
16227
+ * @summary Get the AI agent configuration for a site
16052
16228
  * @request GET:/orgs/{organizationId}/sites/{siteId}/agent-settings
16053
16229
  * @secure
16054
16230
  */
@@ -16060,11 +16236,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16060
16236
  };
16061
16237
  }>>;
16062
16238
  /**
16063
- * No description
16239
+ * @description Replaces the configuration for the AI built into the GitBook editor that helps authors draft, review, and refine content changes. Use this to customize how the AI behaves when assisting authors working on content for this site.
16064
16240
  *
16065
16241
  * @tags site-agent-settings
16066
16242
  * @name UpdateSiteAgentSettingsById
16067
- * @summary Update site agent settings
16243
+ * @summary Update the AI agent configuration for a site
16068
16244
  * @request PUT:/orgs/{organizationId}/sites/{siteId}/agent-settings
16069
16245
  * @secure
16070
16246
  */
@@ -16076,31 +16252,18 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16076
16252
  };
16077
16253
  }>>;
16078
16254
  /**
16079
- * @description Ensures the site has a site-owned styleguide backing space and returns a reference to it.
16255
+ * @description Ensures the site has a dedicated styleguide space and returns it. The styleguide defines writing style and tone guidelines that the AI editor agent references when generating or refining content for the site. If a styleguide already exists, this is idempotent and returns the existing space.
16080
16256
  *
16081
16257
  * @tags sites
16082
16258
  * @name CreateSiteStyleguideById
16083
- * @summary Create or return a site's styleguide
16259
+ * @summary Create or retrieve the styleguide space for a site
16084
16260
  * @request POST:/orgs/{organizationId}/sites/{siteId}/styleguide
16085
16261
  * @secure
16086
16262
  */
16087
- createSiteStyleguideById: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<ContentRefSpace, {
16088
- error: {
16089
- /** @format int32 */
16090
- code: 404;
16091
- message: string;
16092
- };
16093
- }>>;
16094
- /**
16095
- * @description Clears the site's styleguide reference and soft-deletes the space.
16096
- *
16097
- * @tags sites
16098
- * @name DeleteSiteStyleguideById
16099
- * @summary Delete a site's styleguide
16100
- * @request DELETE:/orgs/{organizationId}/sites/{siteId}/styleguide
16101
- * @secure
16102
- */
16103
- deleteSiteStyleguideById: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<void, {
16263
+ createSiteStyleguideById: (organizationId: EntityId, siteId: string, data?: {
16264
+ /** Built-in template id to seed the styleguide content with. Omit (or send no body) to create a blank styleguide. */
16265
+ template?: string;
16266
+ }, params?: RequestParams) => Promise<HttpResponse<Space, {
16104
16267
  error: {
16105
16268
  /** @format int32 */
16106
16269
  code: 404;
@@ -16120,11 +16283,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16120
16283
  events: SiteInsightsEvent[];
16121
16284
  }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
16122
16285
  /**
16123
- * No description
16286
+ * @description Runs an aggregation query over a published site's Insights events, grouped and filtered over a time range. Use it to answer analytics questions about how visitors engage with a site's documentation.
16124
16287
  *
16125
16288
  * @tags site-insights
16126
16289
  * @name AggregateSiteEvents
16127
- * @summary Query site events
16290
+ * @summary Query a site's analytics events
16128
16291
  * @request POST:/orgs/{organizationId}/sites/{siteId}/insights/events/aggregate
16129
16292
  * @secure
16130
16293
  */
@@ -16142,11 +16305,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16142
16305
  items: SiteInsightsVisitorSegment[];
16143
16306
  }, any>>;
16144
16307
  /**
16145
- * No description
16308
+ * @description Updates the advertising configuration for a site, including the review status and topic category used to select relevant ads. This controls GitBook's monetization feature for sites opted into the ads program.
16146
16309
  *
16147
16310
  * @tags site-ads
16148
16311
  * @name UpdateSiteAdsById
16149
- * @summary Update a site ads settings
16312
+ * @summary Update the advertising settings for a site
16150
16313
  * @request POST:/orgs/{organizationId}/sites/{siteId}/ads
16151
16314
  * @secure
16152
16315
  */
@@ -16156,11 +16319,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16156
16319
  topic?: SiteAdsTopic;
16157
16320
  }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
16158
16321
  /**
16159
- * No description
16322
+ * @description Creates a new redirect rule mapping a source path to a destination URL or content reference. Use the bulk upsert endpoint instead when creating many redirects at once.
16160
16323
  *
16161
16324
  * @tags site-redirects
16162
16325
  * @name CreateSiteRedirect
16163
- * @summary Create a site redirect
16326
+ * @summary Create a URL redirect rule for a site
16164
16327
  * @request POST:/orgs/{organizationId}/sites/{siteId}/redirects
16165
16328
  * @secure
16166
16329
  */
@@ -16180,11 +16343,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16180
16343
  destination: SiteRedirectInputDestination;
16181
16344
  }, params?: RequestParams) => Promise<HttpResponse<SiteRedirect, any>>;
16182
16345
  /**
16183
- * No description
16346
+ * @description Processes up to 500 redirect operations in a single request. Each redirect in the array is processed independently and the response includes per-item status. Prefer this over individual create/update calls when managing large sets of redirects.
16184
16347
  *
16185
16348
  * @tags site-redirects
16186
16349
  * @name BulkUpsertSiteRedirects
16187
- * @summary Create or update site redirects in bulk
16350
+ * @summary Create, update, delete, or publish site redirect rules in bulk
16188
16351
  * @request PUT:/orgs/{organizationId}/sites/{siteId}/redirects
16189
16352
  * @secure
16190
16353
  */
@@ -16263,11 +16426,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16263
16426
  })[];
16264
16427
  }, any>>;
16265
16428
  /**
16266
- * No description
16429
+ * @description Returns a paginated list of redirect rules for the site. Supports filtering by draft status and searching by path. Use this to audit redirects, find a specific rule before updating it, or check whether draft redirects are pending publication.
16267
16430
  *
16268
16431
  * @tags site-redirects
16269
16432
  * @name ListSiteRedirects
16270
- * @summary List all site redirects
16433
+ * @summary List all URL redirect rules configured for a site
16271
16434
  * @request GET:/orgs/{organizationId}/sites/{siteId}/redirects
16272
16435
  * @secure
16273
16436
  */
@@ -16291,11 +16454,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16291
16454
  items: SiteRedirect[];
16292
16455
  }, any>>;
16293
16456
  /**
16294
- * No description
16457
+ * @description Updates an existing redirect rule for a site. Only provided fields are updated.
16295
16458
  *
16296
16459
  * @tags site-redirects
16297
16460
  * @name UpdateSiteRedirectById
16298
- * @summary Update a site redirect
16461
+ * @summary Update a URL redirect rule for a site
16299
16462
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}
16300
16463
  * @secure
16301
16464
  */
@@ -16319,11 +16482,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16319
16482
  */
16320
16483
  deleteSiteRedirectById: (organizationId: EntityId, siteId: string, siteRedirectId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
16321
16484
  /**
16322
- * No description
16485
+ * @description Looks up a redirect rule by its source URL path and returns both the redirect configuration and the resolved destination URL. Use this to check whether a specific path has a redirect configured, or to resolve where a path currently points before updating or removing the redirect.
16323
16486
  *
16324
16487
  * @tags site-redirects
16325
16488
  * @name GetSiteRedirectBySource
16326
- * @summary Get a site redirect by its source
16489
+ * @summary Resolve a site redirect rule by its source path
16327
16490
  * @request GET:/orgs/{organizationId}/sites/{siteId}/redirect
16328
16491
  * @secure
16329
16492
  */
@@ -16344,11 +16507,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16344
16507
  };
16345
16508
  }>>;
16346
16509
  /**
16347
- * No description
16510
+ * @description Returns a paginated list of Model Context Protocol (MCP) server configurations attached to the site. MCP servers expose tools and resources that the AI Assistant can call when helping site visitors find information. Use this to audit or manage the AI tool integrations available on a site.
16348
16511
  *
16349
16512
  * @tags site-mcp-servers
16350
16513
  * @name ListSiteMcpServers
16351
- * @summary List all MCP servers for a site
16514
+ * @summary List all MCP servers configured for a site
16352
16515
  * @request GET:/orgs/{organizationId}/sites/{siteId}/mcp-servers
16353
16516
  * @secure
16354
16517
  */
@@ -16365,11 +16528,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16365
16528
  items: SiteMcpServer[];
16366
16529
  }, any>>;
16367
16530
  /**
16368
- * No description
16531
+ * @description Registers a new Model Context Protocol (MCP) server with the site, providing its URL, transport type, request headers, and an optional conditional expression to control visibility per visitor. Once added, the MCP server's tools become available to the AI Assistant when helping visitors of this site.
16369
16532
  *
16370
16533
  * @tags site-mcp-servers
16371
16534
  * @name CreateSiteMcpServer
16372
- * @summary Create a new MCP server
16535
+ * @summary Add a new MCP server configuration to a site
16373
16536
  * @request POST:/orgs/{organizationId}/sites/{siteId}/mcp-servers
16374
16537
  * @secure
16375
16538
  */
@@ -16385,21 +16548,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16385
16548
  condition?: Expression | null;
16386
16549
  }, params?: RequestParams) => Promise<HttpResponse<SiteMcpServer, any>>;
16387
16550
  /**
16388
- * No description
16551
+ * @description Retrieves the configuration of a specific MCP server registered with the site. Use this to inspect an MCP server's details before updating or removing it.
16389
16552
  *
16390
16553
  * @tags site-mcp-servers
16391
16554
  * @name GetSiteMcpServerById
16392
- * @summary Get a site MCP server
16555
+ * @summary Get an MCP server configuration for a site by its ID
16393
16556
  * @request GET:/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}
16394
16557
  * @secure
16395
16558
  */
16396
16559
  getSiteMcpServerById: (organizationId: EntityId, siteId: string, siteMcpServerId: string, params?: RequestParams) => Promise<HttpResponse<SiteMcpServer, any>>;
16397
16560
  /**
16398
- * No description
16561
+ * @description Modifies an existing MCP server's configuration. Only provided fields are updated; omitting a field leaves it unchanged. Set condition to null to remove it and make the MCP server available to all visitors.
16399
16562
  *
16400
16563
  * @tags site-mcp-servers
16401
16564
  * @name UpdateSiteMcpServerById
16402
- * @summary Update a site MCP server
16565
+ * @summary Update an MCP server configuration for a site
16403
16566
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}
16404
16567
  * @secure
16405
16568
  */
@@ -16429,11 +16592,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16429
16592
  */
16430
16593
  deleteSiteMcpServerById: (organizationId: EntityId, siteId: string, siteMcpServerId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
16431
16594
  /**
16432
- * No description
16595
+ * @description Returns a paginated list of channels configured for the site. Channels are integrations that allow GitBook Agent to operate within external tools your team already uses, bringing documentation assistance directly into existing workflows. Each channel has a role that determines whether the Agent answers questions from the site's documentation or actively collaborates by opening and managing content changes. Use this to inspect or manage the Agent channel integrations for a site.
16433
16596
  *
16434
16597
  * @tags site-channels
16435
16598
  * @name ListSiteChannels
16436
- * @summary List all site channels for a site
16599
+ * @summary List all GitBook Agent channels for a site
16437
16600
  * @request GET:/orgs/{organizationId}/sites/{siteId}/channels
16438
16601
  * @secure
16439
16602
  */
@@ -16450,11 +16613,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16450
16613
  items: SiteChannel[];
16451
16614
  }, any>>;
16452
16615
  /**
16453
- * No description
16616
+ * @description Configures a new channel integration that allows GitBook Agent to operate within an external tool connected to this site. The channel role determines whether the Agent acts as a support assistant — answering questions sourced from the site's documentation — or as a collaborator that can open change requests and sync documentation updates directly from the connected platform.
16454
16617
  *
16455
16618
  * @tags site-channels
16456
16619
  * @name CreateSiteChannel
16457
- * @summary Create a site channel
16620
+ * @summary Create a new GitBook Agent channel for a site
16458
16621
  * @request POST:/orgs/{organizationId}/sites/{siteId}/channels
16459
16622
  * @secure
16460
16623
  */
@@ -16462,21 +16625,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16462
16625
  role?: SiteChannelRole;
16463
16626
  }, params?: RequestParams) => Promise<HttpResponse<SiteChannel, any>>;
16464
16627
  /**
16465
- * No description
16628
+ * @description Retrieves the configuration of a specific GitBook Agent channel integration, including its connected platform type and role. Use this to inspect or verify the channel's setup before updating it.
16466
16629
  *
16467
16630
  * @tags site-channels
16468
16631
  * @name GetSiteChannelById
16469
- * @summary Get a site channel
16632
+ * @summary Get a GitBook Agent channel for a site by its ID
16470
16633
  * @request GET:/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}
16471
16634
  * @secure
16472
16635
  */
16473
16636
  getSiteChannelById: (organizationId: EntityId, siteId: string, siteChannelId: string, params?: RequestParams) => Promise<HttpResponse<SiteChannel, any>>;
16474
16637
  /**
16475
- * No description
16638
+ * @description Modifies the configuration of a specific GitBook Agent channel integration, including its role. Use this to change whether the Agent answers documentation questions or actively collaborates on content changes through the connected platform.
16476
16639
  *
16477
16640
  * @tags site-channels
16478
16641
  * @name UpdateSiteChannelById
16479
- * @summary Update a site channel
16642
+ * @summary Update a GitBook Agent channel for a site
16480
16643
  * @request PATCH:/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}
16481
16644
  * @secure
16482
16645
  */
@@ -16488,7 +16651,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16488
16651
  *
16489
16652
  * @tags site-channels
16490
16653
  * @name DeleteSiteChannelById
16491
- * @summary Delete a site channel
16654
+ * @summary Delete a GitBook Agent channel from a site
16492
16655
  * @request DELETE:/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}
16493
16656
  * @secure
16494
16657
  */