@gitbook/api 0.179.0 → 0.181.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/spec/openapi.yaml CHANGED
@@ -1256,6 +1256,7 @@ paths:
1256
1256
  - $ref: "#/components/parameters/spaceId"
1257
1257
  - $ref: "#/components/parameters/pageId"
1258
1258
  - $ref: "#/components/parameters/documentFormat"
1259
+ - $ref: "#/components/parameters/documentMarkdownRefsFormat"
1259
1260
  - $ref: "#/components/parameters/documentEvaluated"
1260
1261
  - $ref: "#/components/parameters/documentDereferenced"
1261
1262
  - $ref: "#/components/parameters/revisionMetadata"
@@ -1364,6 +1365,7 @@ paths:
1364
1365
  - $ref: "#/components/parameters/spaceId"
1365
1366
  - $ref: "#/components/parameters/pagePath"
1366
1367
  - $ref: "#/components/parameters/documentFormat"
1368
+ - $ref: "#/components/parameters/documentMarkdownRefsFormat"
1367
1369
  - $ref: "#/components/parameters/documentEvaluated"
1368
1370
  - $ref: "#/components/parameters/documentDereferenced"
1369
1371
  - $ref: "#/components/parameters/revisionMetadata"
@@ -2364,6 +2366,7 @@ paths:
2364
2366
  - $ref: "#/components/parameters/changeRequestId"
2365
2367
  - $ref: "#/components/parameters/pageId"
2366
2368
  - $ref: "#/components/parameters/documentFormat"
2369
+ - $ref: "#/components/parameters/documentMarkdownRefsFormat"
2367
2370
  - $ref: "#/components/parameters/documentEvaluated"
2368
2371
  - $ref: "#/components/parameters/documentDereferenced"
2369
2372
  - $ref: "#/components/parameters/revisionMetadata"
@@ -2680,6 +2683,7 @@ paths:
2680
2683
  - $ref: "#/components/parameters/revisionId"
2681
2684
  - $ref: "#/components/parameters/pageId"
2682
2685
  - $ref: "#/components/parameters/documentFormat"
2686
+ - $ref: "#/components/parameters/documentMarkdownRefsFormat"
2683
2687
  - $ref: "#/components/parameters/documentEvaluated"
2684
2688
  - $ref: "#/components/parameters/documentDereferenced"
2685
2689
  - $ref: "#/components/parameters/revisionMetadata"
@@ -2725,6 +2729,7 @@ paths:
2725
2729
  - $ref: "#/components/parameters/revisionId"
2726
2730
  - $ref: "#/components/parameters/pagePath"
2727
2731
  - $ref: "#/components/parameters/documentFormat"
2732
+ - $ref: "#/components/parameters/documentMarkdownRefsFormat"
2728
2733
  - $ref: "#/components/parameters/documentEvaluated"
2729
2734
  - $ref: "#/components/parameters/documentDereferenced"
2730
2735
  - $ref: "#/components/parameters/revisionMetadata"
@@ -2770,6 +2775,7 @@ paths:
2770
2775
  - $ref: "#/components/parameters/changeRequestId"
2771
2776
  - $ref: "#/components/parameters/pagePath"
2772
2777
  - $ref: "#/components/parameters/documentFormat"
2778
+ - $ref: "#/components/parameters/documentMarkdownRefsFormat"
2773
2779
  - $ref: "#/components/parameters/documentEvaluated"
2774
2780
  - $ref: "#/components/parameters/documentDereferenced"
2775
2781
  - $ref: "#/components/parameters/revisionMetadata"
@@ -8516,6 +8522,13 @@ paths:
8516
8522
  type: array
8517
8523
  items:
8518
8524
  $ref: "#/components/schemas/SiteQuestionAnswerRelevance"
8525
+ - name: channelType
8526
+ in: query
8527
+ description: Filter questions by answer channel type.
8528
+ schema:
8529
+ type: array
8530
+ items:
8531
+ $ref: "#/components/schemas/SiteChannelType"
8519
8532
  - name: answered
8520
8533
  in: query
8521
8534
  description: Filter questions by answer resolution.
@@ -8588,6 +8601,13 @@ paths:
8588
8601
  type: array
8589
8602
  items:
8590
8603
  $ref: "#/components/schemas/SiteQuestionAnswerRelevance"
8604
+ - name: channelType
8605
+ in: query
8606
+ description: Filter stats by answer channel type.
8607
+ schema:
8608
+ type: array
8609
+ items:
8610
+ $ref: "#/components/schemas/SiteChannelType"
8591
8611
  - name: answered
8592
8612
  in: query
8593
8613
  description: Filter stats by answer resolution.
@@ -8633,6 +8653,13 @@ paths:
8633
8653
  type: array
8634
8654
  items:
8635
8655
  $ref: "#/components/schemas/SiteQuestionAnswerRelevance"
8656
+ - name: channelType
8657
+ in: query
8658
+ description: Filter answer sources by answer channel type.
8659
+ schema:
8660
+ type: array
8661
+ items:
8662
+ $ref: "#/components/schemas/SiteChannelType"
8636
8663
  - name: answered
8637
8664
  in: query
8638
8665
  description: Filter answer sources by answer resolution.
@@ -8691,6 +8718,13 @@ paths:
8691
8718
  type: array
8692
8719
  items:
8693
8720
  $ref: "#/components/schemas/SiteQuestionAnswerRelevance"
8721
+ - name: channelType
8722
+ in: query
8723
+ description: Filter stats by answer channel type.
8724
+ schema:
8725
+ type: array
8726
+ items:
8727
+ $ref: "#/components/schemas/SiteChannelType"
8694
8728
  - name: answered
8695
8729
  in: query
8696
8730
  description: Filter stats by answer resolution.
@@ -8755,6 +8789,13 @@ paths:
8755
8789
  type: array
8756
8790
  items:
8757
8791
  $ref: "#/components/schemas/SiteQuestionAnswerRelevance"
8792
+ - name: channelType
8793
+ in: query
8794
+ description: Filter answers by answer channel type.
8795
+ schema:
8796
+ type: array
8797
+ items:
8798
+ $ref: "#/components/schemas/SiteChannelType"
8758
8799
  - name: question.type
8759
8800
  in: query
8760
8801
  description: Filter answers by question type.
@@ -10150,6 +10191,8 @@ paths:
10150
10191
  $ref: "#/components/schemas/SiteMcpServerName"
10151
10192
  url:
10152
10193
  $ref: "#/components/schemas/URL"
10194
+ transport:
10195
+ $ref: "#/components/schemas/SiteMcpServerTransport"
10153
10196
  headers:
10154
10197
  $ref: "#/components/schemas/SiteMcpServerHeaders"
10155
10198
  condition:
@@ -10211,6 +10254,8 @@ paths:
10211
10254
  type: string
10212
10255
  format: uri
10213
10256
  maxLength: 2048
10257
+ transport:
10258
+ $ref: "#/components/schemas/SiteMcpServerTransport"
10214
10259
  headers:
10215
10260
  $ref: "#/components/schemas/SiteMcpServerHeaders"
10216
10261
  condition:
@@ -10758,6 +10803,26 @@ paths:
10758
10803
  "409":
10759
10804
  $ref: "#/components/responses/ConflictError"
10760
10805
  "/git/installations/{installationId}":
10806
+ get:
10807
+ operationId: getGitSyncInstallationById
10808
+ summary: Get a Git Sync installation
10809
+ tags:
10810
+ - git
10811
+ security:
10812
+ - user: []
10813
+ parameters:
10814
+ - $ref: "#/components/parameters/installationId"
10815
+ responses:
10816
+ "200":
10817
+ description: Git Sync installation was found successfully
10818
+ content:
10819
+ application/json:
10820
+ schema:
10821
+ $ref: "#/components/schemas/GitSyncInstallation"
10822
+ "401":
10823
+ $ref: "#/components/responses/UnauthorizedError"
10824
+ "404":
10825
+ $ref: "#/components/responses/NotFoundError"
10761
10826
  patch:
10762
10827
  operationId: updateGitSyncInstallationById
10763
10828
  summary: Update a Git Sync installation configuration
@@ -11033,6 +11098,20 @@ components:
11033
11098
  enum:
11034
11099
  - document
11035
11100
  - markdown
11101
+ documentMarkdownRefsFormat:
11102
+ name: format.markdown.refs
11103
+ in: query
11104
+ description: |
11105
+ Controls how content references are formatted in markdown output. Ignored unless `format=markdown`.
11106
+
11107
+ - `relative`: Format page references as relative links from the current page. Other references might not be handled.
11108
+ - `stable`: Format content references as stable idempotent refs containing their identifiers.
11109
+ schema:
11110
+ type: string
11111
+ default: relative
11112
+ enum:
11113
+ - relative
11114
+ - stable
11036
11115
  documentEvaluated:
11037
11116
  name: evaluated
11038
11117
  in: query
@@ -11784,6 +11863,12 @@ components:
11784
11863
  - lv
11785
11864
  - et
11786
11865
  - sl
11866
+ GitSyncInstallationStatus:
11867
+ type: string
11868
+ enum:
11869
+ - unauthenticated
11870
+ - active
11871
+ - pending
11787
11872
  GitSyncProvider:
11788
11873
  type: string
11789
11874
  description: The provider of the Git Sync installation.
@@ -11797,11 +11882,17 @@ components:
11797
11882
  repoName:
11798
11883
  type: string
11799
11884
  description: Repository name.
11885
+ installationStatus:
11886
+ $ref: "#/components/schemas/GitSyncInstallationStatus"
11800
11887
  installationProvider:
11801
11888
  $ref: "#/components/schemas/GitSyncProvider"
11802
11889
  integration:
11803
11890
  type: string
11891
+ deprecated: true
11804
11892
  description: The integration name providing the Git Sync.
11893
+ installationId:
11894
+ type: string
11895
+ description: The ID of the Git Sync installation.
11805
11896
  url:
11806
11897
  type: string
11807
11898
  description: The URL to the repository tree, used when rendering public content.
@@ -14269,6 +14360,15 @@ components:
14269
14360
  type: boolean
14270
14361
  enum:
14271
14362
  - true
14363
+ meta:
14364
+ type: object
14365
+ properties:
14366
+ token:
14367
+ type: string
14368
+ description: A content token that can be used to authenticate requests for cross-space integration blocks.
14369
+ spaceId:
14370
+ type: string
14371
+ description: ID of the space the integration block originates from
14272
14372
  required:
14273
14373
  - object
14274
14374
  - type
@@ -15342,9 +15442,12 @@ components:
15342
15442
  revision:
15343
15443
  type: string
15344
15444
  description: ID of the revision generated by the translation
15445
+ language:
15446
+ $ref: "#/components/schemas/TranslationLanguage"
15345
15447
  required:
15346
15448
  - space
15347
15449
  - revision
15450
+ - language
15348
15451
  ComputedContentDependencyTranslation:
15349
15452
  type: object
15350
15453
  properties:
@@ -15639,6 +15742,7 @@ components:
15639
15742
  required:
15640
15743
  - type
15641
15744
  - props
15745
+ - dependencies
15642
15746
  properties:
15643
15747
  type:
15644
15748
  type: string
@@ -15654,6 +15758,21 @@ components:
15654
15758
  type: string
15655
15759
  document:
15656
15760
  type: string
15761
+ dependencies:
15762
+ type: object
15763
+ required:
15764
+ - translation
15765
+ properties:
15766
+ translation:
15767
+ oneOf:
15768
+ - type: object
15769
+ additionalProperties: false
15770
+ required:
15771
+ - ref
15772
+ properties:
15773
+ ref:
15774
+ $ref: "#/components/schemas/TranslationRef"
15775
+ - $ref: "#/components/schemas/ComputedContentDependencyTranslation"
15657
15776
  ComputedContentSourceDocument:
15658
15777
  oneOf:
15659
15778
  - $ref: "#/components/schemas/ComputedContentSourceDocumentOpenAPI"
@@ -17869,6 +17988,8 @@ components:
17869
17988
  type: number
17870
17989
  teams:
17871
17990
  type: number
17991
+ sites:
17992
+ type: number
17872
17993
  required:
17873
17994
  - object
17874
17995
  - id
@@ -17879,6 +18000,7 @@ components:
17879
18000
  - sso
17880
18001
  - spaces
17881
18002
  - teams
18003
+ - sites
17882
18004
  IntegrationTitle:
17883
18005
  type: string
17884
18006
  description: Title of the integration
@@ -18869,6 +18991,11 @@ components:
18869
18991
  - fetch_visitor_authentication
18870
18992
  location:
18871
18993
  type: string
18994
+ action:
18995
+ type: string
18996
+ enum:
18997
+ - logout
18998
+ description: The visitor authentication action to resolve. If omitted, integrations resolve to the existing login redirect.
18872
18999
  required:
18873
19000
  - type
18874
19001
  ContentKitContextBase:
@@ -19411,6 +19538,7 @@ components:
19411
19538
  - sites-ads
19412
19539
  - sites-ai-search
19413
19540
  - sites-ai-assistant
19541
+ - sites-ai-insights
19414
19542
  - sites-connections
19415
19543
  - sites-channels
19416
19544
  - sites-embed
@@ -19507,6 +19635,8 @@ components:
19507
19635
  description: Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting.
19508
19636
  siteSpaces:
19509
19637
  type: number
19638
+ gitSync:
19639
+ $ref: "#/components/schemas/GitSyncState"
19510
19640
  createdAt:
19511
19641
  type: string
19512
19642
  format: date-time
@@ -19545,6 +19675,11 @@ components:
19545
19675
  description: |
19546
19676
  URL of the login endpoint for visitors to authenticate with the site auth backend.
19547
19677
  format: uri
19678
+ logout:
19679
+ type: string
19680
+ description: |
19681
+ URL of the logout endpoint for visitors to sign out from the site auth backend.
19682
+ format: uri
19548
19683
  required:
19549
19684
  - app
19550
19685
  - location
@@ -20742,6 +20877,17 @@ components:
20742
20877
  required:
20743
20878
  - permission
20744
20879
  - space
20880
+ MemberSitePermission:
20881
+ type: object
20882
+ description: Permission of an organization member in a site.
20883
+ properties:
20884
+ site:
20885
+ $ref: "#/components/schemas/Site"
20886
+ permission:
20887
+ $ref: "#/components/schemas/MemberRoleOrGuest"
20888
+ required:
20889
+ - site
20890
+ - permission
20745
20891
  TeamMemberRole:
20746
20892
  type: string
20747
20893
  description: |
@@ -22212,6 +22358,9 @@ components:
22212
22358
  - completed
22213
22359
  - failed
22214
22360
  - cancelled
22361
+ reason:
22362
+ description: Reason for the import failure when `status` is `failed`.
22363
+ type: string
22215
22364
  pages:
22216
22365
  description: Pages included in the import
22217
22366
  type: array
@@ -23342,6 +23491,10 @@ components:
23342
23491
  type: string
23343
23492
  format: uri
23344
23493
  description: URL to redirect to when the authenticated access secret is invalid.
23494
+ logoutURL:
23495
+ type: string
23496
+ format: uri
23497
+ description: URL used to log visitors out from the upstream custom auth backend.
23345
23498
  integration:
23346
23499
  type: string
23347
23500
  description: |
@@ -23363,6 +23516,12 @@ components:
23363
23516
  - "null"
23364
23517
  format: uri
23365
23518
  description: A fallback URL that will be used if authentication fails. If not provided, the fallback URL will not be changed. If set to null, the fallback URL will be unset.
23519
+ logoutURL:
23520
+ type:
23521
+ - string
23522
+ - "null"
23523
+ format: uri
23524
+ description: A logout URL used to log visitors out from the upstream custom auth backend. If not provided, the logout URL will not be changed. If set to null, the logout URL will be unset.
23366
23525
  SiteCustomizationSettingsInput:
23367
23526
  allOf:
23368
23527
  - $ref: "#/components/schemas/SiteCustomizationSettingsBase"
@@ -24235,6 +24394,23 @@ components:
24235
24394
  - spam
24236
24395
  - off-topic
24237
24396
  - unclear
24397
+ SiteCoreChannelType:
24398
+ type: string
24399
+ enum:
24400
+ - site
24401
+ - embed
24402
+ - api
24403
+ SiteConfigurableChannelType:
24404
+ type: string
24405
+ enum:
24406
+ - builtin:slack
24407
+ - builtin:discord
24408
+ - builtin:github
24409
+ - builtin:linear
24410
+ SiteChannelType:
24411
+ oneOf:
24412
+ - $ref: "#/components/schemas/SiteCoreChannelType"
24413
+ - $ref: "#/components/schemas/SiteConfigurableChannelType"
24238
24414
  SiteQuestionAnswerResolution:
24239
24415
  type: string
24240
24416
  description: Whether the response answered the question.
@@ -24329,19 +24505,6 @@ components:
24329
24505
  - low
24330
24506
  - medium
24331
24507
  - high
24332
- SiteCoreChannelType:
24333
- type: string
24334
- enum:
24335
- - site
24336
- - embed
24337
- - api
24338
- SiteConfigurableChannelType:
24339
- type: string
24340
- enum:
24341
- - builtin:slack
24342
- - builtin:discord
24343
- - builtin:github
24344
- - builtin:linear
24345
24508
  SiteQuestionAnswer:
24346
24509
  type: object
24347
24510
  properties:
@@ -24471,6 +24634,11 @@ components:
24471
24634
  - user
24472
24635
  - assistant
24473
24636
  - developer
24637
+ AIMessageStepStartCondition:
24638
+ type: string
24639
+ description: Describe the state in which the steps started.
24640
+ enum:
24641
+ - compaction
24474
24642
  AIToolCallGetPageContent:
24475
24643
  type: object
24476
24644
  properties:
@@ -24650,11 +24818,15 @@ components:
24650
24818
  spaceId:
24651
24819
  type: string
24652
24820
  description: The ID of the space being edited.
24821
+ baseRevisionId:
24822
+ type: string
24823
+ description: The base revision ID used to compare the page change in the current conversation.
24653
24824
  page:
24654
24825
  $ref: "#/components/schemas/ChangedRevisionPage"
24655
24826
  required:
24656
24827
  - tool
24657
24828
  - spaceId
24829
+ - baseRevisionId
24658
24830
  - page
24659
24831
  AIToolCallCreatePage:
24660
24832
  type: object
@@ -24666,11 +24838,15 @@ components:
24666
24838
  spaceId:
24667
24839
  type: string
24668
24840
  description: The ID of the space being edited.
24841
+ baseRevisionId:
24842
+ type: string
24843
+ description: The base revision ID used to compare the page change in the current conversation.
24669
24844
  page:
24670
24845
  $ref: "#/components/schemas/ChangedRevisionPage"
24671
24846
  required:
24672
24847
  - tool
24673
24848
  - spaceId
24849
+ - baseRevisionId
24674
24850
  - page
24675
24851
  AIToolCallDeletePage:
24676
24852
  type: object
@@ -24682,11 +24858,15 @@ components:
24682
24858
  spaceId:
24683
24859
  type: string
24684
24860
  description: The ID of the space being edited.
24861
+ baseRevisionId:
24862
+ type: string
24863
+ description: The base revision ID used to compare the page deletion in the current conversation.
24685
24864
  page:
24686
24865
  $ref: "#/components/schemas/ChangedRevisionPage"
24687
24866
  required:
24688
24867
  - tool
24689
24868
  - spaceId
24869
+ - baseRevisionId
24690
24870
  - page
24691
24871
  AIToolCallRenamePage:
24692
24872
  type: object
@@ -24698,6 +24878,9 @@ components:
24698
24878
  spaceId:
24699
24879
  type: string
24700
24880
  description: The ID of the space being edited.
24881
+ baseRevisionId:
24882
+ type: string
24883
+ description: The base revision ID used to compare the page rename in the current conversation.
24701
24884
  page:
24702
24885
  $ref: "#/components/schemas/ChangedRevisionPage"
24703
24886
  title:
@@ -24706,6 +24889,7 @@ components:
24706
24889
  required:
24707
24890
  - tool
24708
24891
  - spaceId
24892
+ - baseRevisionId
24709
24893
  - page
24710
24894
  - title
24711
24895
  AIToolCallMovePage:
@@ -24718,6 +24902,9 @@ components:
24718
24902
  spaceId:
24719
24903
  type: string
24720
24904
  description: The ID of the space being edited.
24905
+ baseRevisionId:
24906
+ type: string
24907
+ description: The base revision ID used to compare the page move in the current conversation.
24721
24908
  page:
24722
24909
  $ref: "#/components/schemas/ChangedRevisionPage"
24723
24910
  to:
@@ -24736,6 +24923,7 @@ components:
24736
24923
  required:
24737
24924
  - tool
24738
24925
  - spaceId
24926
+ - baseRevisionId
24739
24927
  - page
24740
24928
  - moveType
24741
24929
  AIToolCallListModifiedPages:
@@ -24777,11 +24965,15 @@ components:
24777
24965
  spaceId:
24778
24966
  type: string
24779
24967
  description: The ID of the space being edited.
24968
+ baseRevisionId:
24969
+ type: string
24970
+ description: The base revision ID used to compare the reusable content change in the current conversation.
24780
24971
  reusableContent:
24781
24972
  $ref: "#/components/schemas/ChangedRevisionReusableContent"
24782
24973
  required:
24783
24974
  - tool
24784
24975
  - spaceId
24976
+ - baseRevisionId
24785
24977
  - reusableContent
24786
24978
  AIToolCallEditReusableContent:
24787
24979
  type: object
@@ -24793,11 +24985,15 @@ components:
24793
24985
  spaceId:
24794
24986
  type: string
24795
24987
  description: The ID of the space being edited.
24988
+ baseRevisionId:
24989
+ type: string
24990
+ description: The base revision ID used to compare the reusable content change in the current conversation.
24796
24991
  reusableContent:
24797
24992
  $ref: "#/components/schemas/ChangedRevisionReusableContent"
24798
24993
  required:
24799
24994
  - tool
24800
24995
  - spaceId
24996
+ - baseRevisionId
24801
24997
  - reusableContent
24802
24998
  AIToolCallGetReusableContent:
24803
24999
  type: object
@@ -25022,6 +25218,9 @@ components:
25022
25218
  - image
25023
25219
  url:
25024
25220
  $ref: "#/components/schemas/URL"
25221
+ filename:
25222
+ type: string
25223
+ description: Name of the image file.
25025
25224
  required:
25026
25225
  - type
25027
25226
  - url
@@ -25050,10 +25249,52 @@ components:
25050
25249
  oneOf:
25051
25250
  - $ref: "#/components/schemas/AIAttachmentImage"
25052
25251
  - $ref: "#/components/schemas/AIAttachmentFile"
25252
+ AIMessageContext:
25253
+ type: object
25254
+ description: Context about the current user sending a message.
25255
+ properties:
25256
+ location:
25257
+ type: object
25258
+ properties:
25259
+ spaceId:
25260
+ type: string
25261
+ description: ID of the current space.
25262
+ pageId:
25263
+ type: string
25264
+ description: ID of the current page.
25265
+ required:
25266
+ - spaceId
25267
+ - pageId
25268
+ selection:
25269
+ type: object
25270
+ description: Range of the current selection in a document.
25271
+ properties:
25272
+ anchorKey:
25273
+ oneOf:
25274
+ - type: string
25275
+ - type: "null"
25276
+ anchorOffset:
25277
+ type: integer
25278
+ focusKey:
25279
+ oneOf:
25280
+ - type: string
25281
+ - type: "null"
25282
+ focusOffset:
25283
+ type: integer
25284
+ content:
25285
+ type: string
25286
+ description: Snapshot of the selection for display.
25287
+ required:
25288
+ - anchorKey
25289
+ - anchorOffset
25290
+ - focusKey
25291
+ - focusOffset
25053
25292
  AIMessageStep:
25054
25293
  type: object
25055
25294
  description: A step in a message from the AI agent.
25056
25295
  properties:
25296
+ startCondition:
25297
+ $ref: "#/components/schemas/AIMessageStepStartCondition"
25057
25298
  content:
25058
25299
  $ref: "#/components/schemas/JSONDocument"
25059
25300
  reasoning:
@@ -25074,6 +25315,8 @@ components:
25074
25315
  type: array
25075
25316
  items:
25076
25317
  $ref: "#/components/schemas/AIAttachment"
25318
+ context:
25319
+ $ref: "#/components/schemas/AIMessageContext"
25077
25320
  AIMessageTask:
25078
25321
  oneOf:
25079
25322
  - type: object
@@ -25356,43 +25599,13 @@ components:
25356
25599
  required:
25357
25600
  - permission
25358
25601
  - team
25359
- AIMessageContext:
25360
- type: object
25361
- description: Context about the current user sending a message.
25362
- properties:
25363
- location:
25364
- type: object
25365
- properties:
25366
- spaceId:
25367
- type: string
25368
- description: ID of the current space.
25369
- pageId:
25370
- type: string
25371
- description: ID of the current page.
25372
- required:
25373
- - spaceId
25374
- - pageId
25375
- selection:
25376
- type: object
25377
- description: Range of the current selection in a document.
25378
- properties:
25379
- anchorKey:
25380
- oneOf:
25381
- - type: string
25382
- - type: "null"
25383
- anchorOffset:
25384
- type: integer
25385
- focusKey:
25386
- oneOf:
25387
- - type: string
25388
- - type: "null"
25389
- focusOffset:
25390
- type: integer
25391
- required:
25392
- - anchorKey
25393
- - anchorOffset
25394
- - focusKey
25395
- - focusOffset
25602
+ AIMessageMode:
25603
+ type: string
25604
+ description: 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.
25605
+ default: normal
25606
+ enum:
25607
+ - normal
25608
+ - fast
25396
25609
  AIMessageInput:
25397
25610
  type: object
25398
25611
  description: Input version of an AI message.
@@ -25410,6 +25623,8 @@ components:
25410
25623
  type: array
25411
25624
  items:
25412
25625
  $ref: "#/components/schemas/AIAttachment"
25626
+ mode:
25627
+ $ref: "#/components/schemas/AIMessageMode"
25413
25628
  required:
25414
25629
  - role
25415
25630
  - content
@@ -25711,6 +25926,27 @@ components:
25711
25926
  - messageId
25712
25927
  - stepIndex
25713
25928
  - attachment
25929
+ AIStreamResponseCompaction:
25930
+ type: object
25931
+ description: |
25932
+ Message emitted by the server to indicate a context compaction event.
25933
+ properties:
25934
+ type:
25935
+ type: string
25936
+ enum:
25937
+ - response_compaction
25938
+ messageId:
25939
+ type: string
25940
+ description: |
25941
+ The ID of the message that this event is composing.
25942
+ stepIndex:
25943
+ type: integer
25944
+ description: |
25945
+ The index of the step of the message that this event is composing.
25946
+ required:
25947
+ - type
25948
+ - messageId
25949
+ - stepIndex
25714
25950
  AIStreamResponse:
25715
25951
  oneOf:
25716
25952
  - $ref: "#/components/schemas/AIStreamResponseStart"
@@ -25722,6 +25958,7 @@ components:
25722
25958
  - $ref: "#/components/schemas/AIStreamResponseToolCallPending"
25723
25959
  - $ref: "#/components/schemas/AIStreamResponseFollowupSuggestion"
25724
25960
  - $ref: "#/components/schemas/AIStreamResponseAttachment"
25961
+ - $ref: "#/components/schemas/AIStreamResponseCompaction"
25725
25962
  SiteSettingsScanTopics:
25726
25963
  type: string
25727
25964
  enum:
@@ -26711,6 +26948,8 @@ components:
26711
26948
  - facebookbot
26712
26949
  - applebot
26713
26950
  - chatgpt
26951
+ - openai
26952
+ - claude
26714
26953
  - anthropic
26715
26954
  - gemini
26716
26955
  - perplexity
@@ -26725,6 +26964,8 @@ components:
26725
26964
  - cursor
26726
26965
  - vscode
26727
26966
  - claude-code
26967
+ - codex
26968
+ - opencode
26728
26969
  SiteInsightsQueryEventsValues:
26729
26970
  oneOf:
26730
26971
  - type: object
@@ -27619,6 +27860,13 @@ components:
27619
27860
  description: Name of the MCP server
27620
27861
  minLength: 1
27621
27862
  maxLength: 100
27863
+ SiteMcpServerTransport:
27864
+ type: string
27865
+ description: Transport protocol used to connect to the MCP server
27866
+ enum:
27867
+ - sse
27868
+ - http
27869
+ default: sse
27622
27870
  SiteMcpServerHeaders:
27623
27871
  type: object
27624
27872
  additionalProperties:
@@ -27640,6 +27888,8 @@ components:
27640
27888
  $ref: "#/components/schemas/SiteMcpServerName"
27641
27889
  url:
27642
27890
  $ref: "#/components/schemas/URL"
27891
+ transport:
27892
+ $ref: "#/components/schemas/SiteMcpServerTransport"
27643
27893
  headers:
27644
27894
  $ref: "#/components/schemas/SiteMcpServerHeaders"
27645
27895
  condition:
@@ -27660,6 +27910,7 @@ components:
27660
27910
  - id
27661
27911
  - name
27662
27912
  - url
27913
+ - transport
27663
27914
  - headers
27664
27915
  - urls
27665
27916
  GenericChannelPattern:
@@ -28320,14 +28571,36 @@ components:
28320
28571
  - github
28321
28572
  - gitlab
28322
28573
  GitSyncInstallationTarget:
28323
- type: object
28324
- description: Resource targeted by a Git Sync installation. Currently only spaces are supported.
28325
- properties:
28326
- spaceId:
28327
- type: string
28328
- description: Unique identifier of the space targeted by the Git Sync installation.
28329
- required:
28330
- - spaceId
28574
+ description: Resource targeted by a Git Sync installation.
28575
+ oneOf:
28576
+ - type: object
28577
+ properties:
28578
+ type:
28579
+ type: string
28580
+ enum:
28581
+ - space
28582
+ description: Type of resource targeted by the Git Sync installation.
28583
+ spaceId:
28584
+ type: string
28585
+ description: Unique identifier of the space targeted by the Git Sync installation.
28586
+ required:
28587
+ - type
28588
+ - spaceId
28589
+ - type: object
28590
+ properties:
28591
+ type:
28592
+ type: string
28593
+ enum:
28594
+ - site
28595
+ description: Type of resource targeted by the Git Sync installation.
28596
+ siteId:
28597
+ type: string
28598
+ description: Unique identifier of the site targeted by the Git Sync installation.
28599
+ required:
28600
+ - type
28601
+ - siteId
28602
+ discriminator:
28603
+ propertyName: type
28331
28604
  GitSyncInstallationPriority:
28332
28605
  type: string
28333
28606
  description: Which side should be treated as the source of truth when Git Sync is configured.
@@ -28351,64 +28624,66 @@ components:
28351
28624
  priority:
28352
28625
  $ref: "#/components/schemas/GitSyncInstallationPriority"
28353
28626
  GitSyncInstallationSetupGitHub:
28354
- allOf:
28355
- - $ref: "#/components/schemas/GitSyncInstallationSetupCommon"
28356
- - type: object
28357
- description: GitHub provider configuration for a Git Sync installation.
28627
+ type: object
28628
+ description: GitHub provider configuration for a Git Sync installation.
28629
+ properties:
28630
+ provider:
28631
+ type: string
28632
+ enum:
28633
+ - github
28634
+ providerConfiguration:
28635
+ type: object
28636
+ description: GitHub specific configuration for the Git Sync installation.
28358
28637
  properties:
28359
- provider:
28638
+ repositoryId:
28639
+ type: number
28640
+ description: GitHub repository identifier.
28641
+ branch:
28360
28642
  type: string
28361
- enum:
28362
- - github
28363
- providerConfiguration:
28364
- type: object
28365
- description: GitHub specific configuration for the Git Sync installation.
28366
- properties:
28367
- repositoryId:
28368
- type: number
28369
- description: GitHub repository identifier.
28370
- branch:
28371
- type: string
28372
- description: GitHub repository branch.
28373
- required:
28374
- - provider
28375
- - providerConfiguration
28643
+ pattern: ^refs/heads/.+$
28644
+ description: GitHub repository branch ref.
28645
+ required:
28646
+ - provider
28647
+ - providerConfiguration
28376
28648
  GitSyncInstallationSetupGitLab:
28377
- allOf:
28378
- - $ref: "#/components/schemas/GitSyncInstallationSetupCommon"
28379
- - type: object
28380
- description: GitLab provider configuration for a Git Sync installation.
28649
+ type: object
28650
+ description: GitLab provider configuration for a Git Sync installation.
28651
+ properties:
28652
+ provider:
28653
+ type: string
28654
+ enum:
28655
+ - gitlab
28656
+ providerConfiguration:
28657
+ type: object
28658
+ description: GitLab specific configuration for the Git Sync installation.
28381
28659
  properties:
28382
- provider:
28660
+ projectId:
28661
+ type: number
28662
+ description: GitLab project identifier.
28663
+ accessToken:
28383
28664
  type: string
28384
- enum:
28385
- - gitlab
28386
- providerConfiguration:
28387
- type: object
28388
- description: GitLab specific configuration for the Git Sync installation.
28389
- properties:
28390
- projectId:
28391
- type: number
28392
- description: GitLab project identifier.
28393
- accessToken:
28394
- type: string
28395
- description: GitLab access token with appropriate scopes for repository access.
28396
- customInstanceURL:
28397
- type: string
28398
- description: Custom GitLab instance URL, if using a self-hosted GitLab.
28399
- branch:
28400
- type: string
28401
- description: GitLab repository branch.
28402
- required:
28403
- - provider
28404
- - providerConfiguration
28665
+ description: GitLab access token with appropriate scopes for repository access.
28666
+ customInstanceURL:
28667
+ oneOf:
28668
+ - type: string
28669
+ - type: "null"
28670
+ description: Custom GitLab instance URL, if using a self-hosted GitLab. Use null to clear a self-hosted URL.
28671
+ branch:
28672
+ type: string
28673
+ pattern: ^refs/heads/.+$
28674
+ description: GitLab repository branch ref.
28675
+ required:
28676
+ - provider
28677
+ - providerConfiguration
28405
28678
  GitSyncInstallationSetup:
28406
28679
  description: Provider-specific setup payload for a Git Sync installation.
28407
- oneOf:
28408
- - $ref: "#/components/schemas/GitSyncInstallationSetupGitHub"
28409
- - $ref: "#/components/schemas/GitSyncInstallationSetupGitLab"
28410
- discriminator:
28411
- propertyName: provider
28680
+ allOf:
28681
+ - $ref: "#/components/schemas/GitSyncInstallationSetupCommon"
28682
+ - oneOf:
28683
+ - $ref: "#/components/schemas/GitSyncInstallationSetupGitHub"
28684
+ - $ref: "#/components/schemas/GitSyncInstallationSetupGitLab"
28685
+ discriminator:
28686
+ propertyName: provider
28412
28687
  GitSyncInstallation:
28413
28688
  allOf:
28414
28689
  - $ref: "#/components/schemas/GitSyncInstallationSetup"
@@ -28423,6 +28698,8 @@ components:
28423
28698
  description: Unique identifier of the Git Sync installation.
28424
28699
  target:
28425
28700
  $ref: "#/components/schemas/GitSyncInstallationTarget"
28701
+ status:
28702
+ $ref: "#/components/schemas/GitSyncInstallationStatus"
28426
28703
  createdAt:
28427
28704
  $ref: "#/components/schemas/Timestamp"
28428
28705
  createdBy:
@@ -28430,13 +28707,25 @@ components:
28430
28707
  description: Identifier of the user who created the installation.
28431
28708
  updatedAt:
28432
28709
  $ref: "#/components/schemas/Timestamp"
28710
+ urls:
28711
+ type: object
28712
+ description: URLs associated with the installation
28713
+ properties:
28714
+ location:
28715
+ type: string
28716
+ description: URL of the installation endpoint in the API
28717
+ format: uri
28718
+ required:
28719
+ - location
28433
28720
  required:
28434
28721
  - object
28435
28722
  - id
28436
28723
  - target
28724
+ - status
28437
28725
  - createdAt
28438
28726
  - createdBy
28439
28727
  - updatedAt
28728
+ - urls
28440
28729
  GitSyncGitHubRepository:
28441
28730
  type: object
28442
28731
  description: GitHub repository that can be selected for Git Sync.
@@ -30006,6 +30295,18 @@ components:
30006
30295
  required:
30007
30296
  - channel
30008
30297
  - customHostname
30298
+ APIChannelGitSyncInstallation:
30299
+ type: object
30300
+ properties:
30301
+ channel:
30302
+ type: string
30303
+ enum:
30304
+ - git-sync-installation
30305
+ installation:
30306
+ type: string
30307
+ required:
30308
+ - channel
30309
+ - installation
30009
30310
  APIChannelGitSyncOperation:
30010
30311
  type: object
30011
30312
  properties:
@@ -30148,6 +30449,7 @@ components:
30148
30449
  - $ref: "#/components/schemas/APIChannelSiteMcpServer"
30149
30450
  - $ref: "#/components/schemas/APIChannelSiteSection"
30150
30451
  - $ref: "#/components/schemas/APIChannelCustomHostname"
30452
+ - $ref: "#/components/schemas/APIChannelGitSyncInstallation"
30151
30453
  - $ref: "#/components/schemas/APIChannelGitSyncOperation"
30152
30454
  - $ref: "#/components/schemas/APIChannelOpenAPISpec"
30153
30455
  - $ref: "#/components/schemas/APIChannelSubdomain"
@@ -30317,10 +30619,6 @@ components:
30317
30619
  - live
30318
30620
  - rejected
30319
30621
  - disabled
30320
- SiteChannelType:
30321
- oneOf:
30322
- - $ref: "#/components/schemas/SiteCoreChannelType"
30323
- - $ref: "#/components/schemas/SiteConfigurableChannelType"
30324
30622
  SiteQuestionAnswerSourceType:
30325
30623
  type: string
30326
30624
  description: Source type used to answer a site question.
@@ -30401,12 +30699,18 @@ components:
30401
30699
  $ref: "#/components/schemas/AgentStatus"
30402
30700
  suggestions:
30403
30701
  type: array
30404
- description: A list of response suggestions for the user to select from.
30702
+ description: List of response suggestions for the user to select from.
30405
30703
  items:
30406
30704
  type: string
30705
+ queuedMessages:
30706
+ type: array
30707
+ description: List of messages sent by the users queued to processed.
30708
+ items:
30709
+ $ref: "#/components/schemas/AIMessageInput"
30407
30710
  required:
30408
30711
  - status
30409
30712
  - suggestions
30713
+ - queuedMessages
30410
30714
  AgentStreamState:
30411
30715
  type: object
30412
30716
  description: |