@gitbook/api 0.203.0 → 0.205.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
@@ -9203,7 +9203,7 @@ paths:
9203
9203
  post:
9204
9204
  operationId: addExternalLinkToSite
9205
9205
  summary: Add an external link to a site's navigation
9206
- description: Creates an external navigation link at the site root or in a section group. External links require a section-based site structure and cannot be placed inside a section. The destination must be an absolute HTTP or HTTPS URL. Draft links and links whose adaptive condition does not match are omitted from published structure responses. Use the generic structure sort operation after creation to change sibling order.
9206
+ description: Creates an external navigation link at the site root or in a section group. On a site with root variants and no sections, creating the first external link enables sections and moves those variants into a default section. Links cannot be placed inside a section. The destination must be an absolute HTTP or HTTPS URL. Draft links and links whose adaptive condition does not match are omitted from published structure responses. Use the generic structure sort operation after creation to change sibling order.
9207
9207
  x-gitbook-mcp: true
9208
9208
  tags:
9209
9209
  - site-external-links
@@ -9267,7 +9267,7 @@ paths:
9267
9267
  schema:
9268
9268
  $ref: "#/components/schemas/SiteExternalLink"
9269
9269
  "400":
9270
- description: The site has a simple structure or the parent group is invalid
9270
+ description: The parent group is invalid, or the site has no sections or root variants
9271
9271
  $ref: "#/components/responses/BadRequestError"
9272
9272
  default:
9273
9273
  $ref: "#/components/responses/UnexpectedError"
@@ -10291,6 +10291,34 @@ paths:
10291
10291
  schema:
10292
10292
  anyOf:
10293
10293
  - $ref: "#/components/schemas/ContextConnectorSetup"
10294
+ - type: object
10295
+ description: Update a Jira connection. Omit `setupSettings.apiToken` to keep the stored token.
10296
+ required:
10297
+ - connector
10298
+ - setupSettings
10299
+ properties:
10300
+ connector:
10301
+ type: string
10302
+ enum:
10303
+ - builtin:jira
10304
+ label:
10305
+ $ref: "#/components/schemas/ContextConnectionLabel"
10306
+ setupSettings:
10307
+ type: object
10308
+ required:
10309
+ - baseUrl
10310
+ - apiEmail
10311
+ properties:
10312
+ baseUrl:
10313
+ $ref: "#/components/schemas/baseUrl"
10314
+ apiEmail:
10315
+ $ref: "#/components/schemas/apiEmail"
10316
+ apiToken:
10317
+ $ref: "#/components/schemas/apiToken"
10318
+ projectKeys:
10319
+ $ref: "#/components/schemas/projectKeys"
10320
+ statusMapping:
10321
+ $ref: "#/components/schemas/statusMapping"
10294
10322
  - type: object
10295
10323
  properties:
10296
10324
  usageSettings:
@@ -10389,6 +10417,27 @@ paths:
10389
10417
  description: Filter stats to answers created at or before this timestamp.
10390
10418
  schema:
10391
10419
  $ref: "#/components/schemas/Timestamp"
10420
+ - name: relevance
10421
+ in: query
10422
+ description: Filter stats by question relevance.
10423
+ schema:
10424
+ type: array
10425
+ items:
10426
+ $ref: "#/components/schemas/SiteQuestionAnswerRelevance"
10427
+ - name: channelType
10428
+ in: query
10429
+ description: Filter stats by answer channel type.
10430
+ schema:
10431
+ type: array
10432
+ items:
10433
+ $ref: "#/components/schemas/SiteChannelType"
10434
+ - name: answered
10435
+ in: query
10436
+ description: Filter stats by answer resolution.
10437
+ schema:
10438
+ type: array
10439
+ items:
10440
+ $ref: "#/components/schemas/SiteQuestionAnswerResolution"
10392
10441
  responses:
10393
10442
  "200":
10394
10443
  description: OK
@@ -12668,7 +12717,7 @@ paths:
12668
12717
  post:
12669
12718
  operationId: listSiteChannelScopes
12670
12719
  summary: List available site channel scopes
12671
- description: Lists accessible Linear teams, GitHub repositories, Slack channels or Jira projects. Requires site admin permission. Linear, GitHub and Slack require an already-connected channel belonging to this site and matching the provider. Jira credentials are verified without saving a connection. Slack includes public channels and accessible private channels, excluding archived channels. To fetch another page, pass the opaque token from `next.page` as the `page` query parameter with the same request body. An absent `next` means there are no more pages; an empty `items` array alone does not indicate the end of the list.
12720
+ description: Lists accessible Linear teams, GitHub repositories, Slack channels or Jira projects. Requires site admin permission. Linear, GitHub and Slack require an already-connected channel belonging to this site and matching the provider. Jira uses either the credentials supplied, verified without saving a connection, or those stored on an existing Jira context connection of this site. Slack includes public channels and accessible private channels, excluding archived channels. To fetch another page, pass the opaque token from `next.page` as the `page` query parameter with the same request body. An absent `next` means there are no more pages; an empty `items` array alone does not indicate the end of the list.
12672
12721
  x-gitbook-mcp: true
12673
12722
  tags:
12674
12723
  - site-channels
@@ -12722,6 +12771,18 @@ paths:
12722
12771
  siteChannelId:
12723
12772
  type: string
12724
12773
  description: ID of an already-connected channel belonging to this site and matching the provider.
12774
+ - type: object
12775
+ required:
12776
+ - provider
12777
+ - siteContextConnectionId
12778
+ properties:
12779
+ provider:
12780
+ type: string
12781
+ enum:
12782
+ - jira
12783
+ siteContextConnectionId:
12784
+ type: string
12785
+ description: ID of a Jira context connection belonging to this site, whose stored credentials are used.
12725
12786
  - type: object
12726
12787
  required:
12727
12788
  - provider
@@ -15786,6 +15847,64 @@ components:
15786
15847
  - type
15787
15848
  - data
15788
15849
  - isVoid
15850
+ DocumentInlineMath:
15851
+ type: object
15852
+ properties:
15853
+ object:
15854
+ type: string
15855
+ enum:
15856
+ - inline
15857
+ type:
15858
+ type: string
15859
+ enum:
15860
+ - inline-math
15861
+ key:
15862
+ type: string
15863
+ data:
15864
+ type: object
15865
+ properties:
15866
+ formula:
15867
+ type: string
15868
+ required:
15869
+ - formula
15870
+ isVoid:
15871
+ type: boolean
15872
+ enum:
15873
+ - true
15874
+ required:
15875
+ - object
15876
+ - type
15877
+ - data
15878
+ - isVoid
15879
+ DocumentInlineExpression:
15880
+ type: object
15881
+ properties:
15882
+ object:
15883
+ type: string
15884
+ enum:
15885
+ - inline
15886
+ type:
15887
+ type: string
15888
+ enum:
15889
+ - expression
15890
+ key:
15891
+ type: string
15892
+ data:
15893
+ type: object
15894
+ properties:
15895
+ expression:
15896
+ type: string
15897
+ required:
15898
+ - expression
15899
+ isVoid:
15900
+ type: boolean
15901
+ enum:
15902
+ - true
15903
+ required:
15904
+ - object
15905
+ - type
15906
+ - data
15907
+ - isVoid
15789
15908
  ContentRefPage:
15790
15909
  type: object
15791
15910
  properties:
@@ -15912,7 +16031,7 @@ components:
15912
16031
  - $ref: "#/components/schemas/ContentRefReusableContent"
15913
16032
  - $ref: "#/components/schemas/ContentRefTag"
15914
16033
  - $ref: "#/components/schemas/ContentRefOpenAPI"
15915
- DocumentInlineLink:
16034
+ DocumentInlineMention:
15916
16035
  type: object
15917
16036
  properties:
15918
16037
  object:
@@ -15922,15 +16041,9 @@ components:
15922
16041
  type:
15923
16042
  type: string
15924
16043
  enum:
15925
- - link
16044
+ - mention
15926
16045
  key:
15927
16046
  type: string
15928
- nodes:
15929
- type: array
15930
- items:
15931
- oneOf:
15932
- - $ref: "#/components/schemas/DocumentText"
15933
- - $ref: "#/components/schemas/DocumentInlineImage"
15934
16047
  data:
15935
16048
  type: object
15936
16049
  properties:
@@ -15938,35 +16051,6 @@ components:
15938
16051
  $ref: "#/components/schemas/ContentRef"
15939
16052
  required:
15940
16053
  - ref
15941
- isVoid:
15942
- type: boolean
15943
- enum:
15944
- - false
15945
- required:
15946
- - object
15947
- - type
15948
- - nodes
15949
- - data
15950
- DocumentInlineEmoji:
15951
- type: object
15952
- properties:
15953
- object:
15954
- type: string
15955
- enum:
15956
- - inline
15957
- type:
15958
- type: string
15959
- enum:
15960
- - emoji
15961
- key:
15962
- type: string
15963
- data:
15964
- type: object
15965
- properties:
15966
- code:
15967
- type: string
15968
- required:
15969
- - code
15970
16054
  isVoid:
15971
16055
  type: boolean
15972
16056
  enum:
@@ -15976,7 +16060,7 @@ components:
15976
16060
  - type
15977
16061
  - data
15978
16062
  - isVoid
15979
- DocumentInlineIcon:
16063
+ DocumentInlineLink:
15980
16064
  type: object
15981
16065
  properties:
15982
16066
  object:
@@ -15986,28 +16070,35 @@ components:
15986
16070
  type:
15987
16071
  type: string
15988
16072
  enum:
15989
- - icon
16073
+ - link
15990
16074
  key:
15991
16075
  type: string
16076
+ nodes:
16077
+ type: array
16078
+ items:
16079
+ oneOf:
16080
+ - $ref: "#/components/schemas/DocumentText"
16081
+ - $ref: "#/components/schemas/DocumentInlineImage"
16082
+ - $ref: "#/components/schemas/DocumentInlineMath"
16083
+ - $ref: "#/components/schemas/DocumentInlineExpression"
16084
+ - $ref: "#/components/schemas/DocumentInlineMention"
15992
16085
  data:
15993
16086
  type: object
15994
16087
  properties:
15995
- icon:
15996
- type: string
15997
- color:
15998
- $ref: "#/components/schemas/DocumentTextColor"
16088
+ ref:
16089
+ $ref: "#/components/schemas/ContentRef"
15999
16090
  required:
16000
- - icon
16091
+ - ref
16001
16092
  isVoid:
16002
16093
  type: boolean
16003
16094
  enum:
16004
- - true
16095
+ - false
16005
16096
  required:
16006
16097
  - object
16007
16098
  - type
16099
+ - nodes
16008
16100
  - data
16009
- - isVoid
16010
- DocumentInlineExpression:
16101
+ DocumentInlineEmoji:
16011
16102
  type: object
16012
16103
  properties:
16013
16104
  object:
@@ -16017,16 +16108,16 @@ components:
16017
16108
  type:
16018
16109
  type: string
16019
16110
  enum:
16020
- - expression
16111
+ - emoji
16021
16112
  key:
16022
16113
  type: string
16023
16114
  data:
16024
16115
  type: object
16025
16116
  properties:
16026
- expression:
16117
+ code:
16027
16118
  type: string
16028
16119
  required:
16029
- - expression
16120
+ - code
16030
16121
  isVoid:
16031
16122
  type: boolean
16032
16123
  enum:
@@ -16036,7 +16127,7 @@ components:
16036
16127
  - type
16037
16128
  - data
16038
16129
  - isVoid
16039
- DocumentInlineMath:
16130
+ DocumentInlineIcon:
16040
16131
  type: object
16041
16132
  properties:
16042
16133
  object:
@@ -16046,16 +16137,18 @@ components:
16046
16137
  type:
16047
16138
  type: string
16048
16139
  enum:
16049
- - inline-math
16140
+ - icon
16050
16141
  key:
16051
16142
  type: string
16052
16143
  data:
16053
16144
  type: object
16054
16145
  properties:
16055
- formula:
16146
+ icon:
16056
16147
  type: string
16148
+ color:
16149
+ $ref: "#/components/schemas/DocumentTextColor"
16057
16150
  required:
16058
- - formula
16151
+ - icon
16059
16152
  isVoid:
16060
16153
  type: boolean
16061
16154
  enum:
@@ -16986,7 +17079,19 @@ components:
16986
17079
  - type
16987
17080
  - data
16988
17081
  - isVoid
16989
- DocumentBlockListItem:
17082
+ Length:
17083
+ oneOf:
17084
+ - type: number
17085
+ - type: object
17086
+ properties:
17087
+ unit:
17088
+ type: string
17089
+ value:
17090
+ type: number
17091
+ required:
17092
+ - unit
17093
+ - value
17094
+ DocumentBlockImage:
16990
17095
  type: object
16991
17096
  properties:
16992
17097
  object:
@@ -16996,33 +17101,57 @@ components:
16996
17101
  type:
16997
17102
  type: string
16998
17103
  enum:
16999
- - list-item
17104
+ - image
17000
17105
  key:
17001
17106
  type: string
17002
- nodes:
17107
+ data:
17108
+ type: object
17109
+ properties:
17110
+ ref:
17111
+ oneOf:
17112
+ - $ref: "#/components/schemas/ContentRefURL"
17113
+ - $ref: "#/components/schemas/ContentRefFile"
17114
+ refDark:
17115
+ oneOf:
17116
+ - $ref: "#/components/schemas/ContentRefURL"
17117
+ - $ref: "#/components/schemas/ContentRefFile"
17118
+ width:
17119
+ $ref: "#/components/schemas/Length"
17120
+ height:
17121
+ $ref: "#/components/schemas/Length"
17122
+ alt:
17123
+ type: string
17124
+ required:
17125
+ - ref
17126
+ fragments:
17003
17127
  type: array
17004
17128
  items:
17005
- oneOf:
17006
- - $ref: "#/components/schemas/DocumentBlocksEssentials"
17007
- - $ref: "#/components/schemas/DocumentBlockCode"
17008
- - $ref: "#/components/schemas/DocumentBlockHint"
17009
- - $ref: "#/components/schemas/DocumentBlockQuote"
17010
- - $ref: "#/components/schemas/DocumentBlockMath"
17011
- - $ref: "#/components/schemas/DocumentBlockTable"
17129
+ allOf:
17130
+ - $ref: "#/components/schemas/DocumentFragment"
17131
+ - type: object
17132
+ properties:
17133
+ fragment:
17134
+ type: string
17135
+ enum:
17136
+ - caption
17137
+ nodes:
17138
+ type: array
17139
+ items:
17140
+ $ref: "#/components/schemas/DocumentBlockParagraph"
17141
+ required:
17142
+ - nodes
17143
+ - fragment
17012
17144
  isVoid:
17013
17145
  type: boolean
17014
17146
  enum:
17015
- - false
17016
- data:
17017
- type: object
17018
- properties:
17019
- checked:
17020
- type: boolean
17147
+ - true
17021
17148
  required:
17022
17149
  - object
17023
17150
  - type
17024
- - nodes
17025
- DocumentBlockListOrdered:
17151
+ - data
17152
+ - fragments
17153
+ - isVoid
17154
+ DocumentBlockImages:
17026
17155
  type: object
17027
17156
  properties:
17028
17157
  object:
@@ -17032,7 +17161,84 @@ components:
17032
17161
  type:
17033
17162
  type: string
17034
17163
  enum:
17035
- - list-ordered
17164
+ - images
17165
+ key:
17166
+ type: string
17167
+ data:
17168
+ type: object
17169
+ properties:
17170
+ align:
17171
+ type: string
17172
+ enum:
17173
+ - center
17174
+ - left
17175
+ - right
17176
+ fullWidth:
17177
+ type: boolean
17178
+ withFrame:
17179
+ type: boolean
17180
+ nodes:
17181
+ type: array
17182
+ items:
17183
+ $ref: "#/components/schemas/DocumentBlockImage"
17184
+ isVoid:
17185
+ type: boolean
17186
+ enum:
17187
+ - false
17188
+ required:
17189
+ - object
17190
+ - type
17191
+ - data
17192
+ - nodes
17193
+ - isVoid
17194
+ DocumentBlockListItem:
17195
+ type: object
17196
+ properties:
17197
+ object:
17198
+ type: string
17199
+ enum:
17200
+ - block
17201
+ type:
17202
+ type: string
17203
+ enum:
17204
+ - list-item
17205
+ key:
17206
+ type: string
17207
+ nodes:
17208
+ type: array
17209
+ items:
17210
+ oneOf:
17211
+ - $ref: "#/components/schemas/DocumentBlocksEssentials"
17212
+ - $ref: "#/components/schemas/DocumentBlockCode"
17213
+ - $ref: "#/components/schemas/DocumentBlockHint"
17214
+ - $ref: "#/components/schemas/DocumentBlockQuote"
17215
+ - $ref: "#/components/schemas/DocumentBlockMath"
17216
+ - $ref: "#/components/schemas/DocumentBlockTable"
17217
+ - $ref: "#/components/schemas/DocumentBlockImages"
17218
+ isVoid:
17219
+ type: boolean
17220
+ enum:
17221
+ - false
17222
+ data:
17223
+ type: object
17224
+ properties:
17225
+ checked:
17226
+ type: boolean
17227
+ required:
17228
+ - object
17229
+ - type
17230
+ - nodes
17231
+ DocumentBlockListOrdered:
17232
+ type: object
17233
+ properties:
17234
+ object:
17235
+ type: string
17236
+ enum:
17237
+ - block
17238
+ type:
17239
+ type: string
17240
+ enum:
17241
+ - list-ordered
17036
17242
  key:
17037
17243
  type: string
17038
17244
  data:
@@ -17248,19 +17454,7 @@ components:
17248
17454
  - type
17249
17455
  - nodes
17250
17456
  - data
17251
- Length:
17252
- oneOf:
17253
- - type: number
17254
- - type: object
17255
- properties:
17256
- unit:
17257
- type: string
17258
- value:
17259
- type: number
17260
- required:
17261
- - unit
17262
- - value
17263
- DocumentBlockImage:
17457
+ DocumentBlockFile:
17264
17458
  type: object
17265
17459
  properties:
17266
17460
  object:
@@ -17270,7 +17464,7 @@ components:
17270
17464
  type:
17271
17465
  type: string
17272
17466
  enum:
17273
- - image
17467
+ - file
17274
17468
  key:
17275
17469
  type: string
17276
17470
  data:
@@ -17278,38 +17472,9 @@ components:
17278
17472
  properties:
17279
17473
  ref:
17280
17474
  oneOf:
17281
- - $ref: "#/components/schemas/ContentRefURL"
17282
- - $ref: "#/components/schemas/ContentRefFile"
17283
- refDark:
17284
- oneOf:
17285
- - $ref: "#/components/schemas/ContentRefURL"
17286
17475
  - $ref: "#/components/schemas/ContentRefFile"
17287
- width:
17288
- $ref: "#/components/schemas/Length"
17289
- height:
17290
- $ref: "#/components/schemas/Length"
17291
- alt:
17292
- type: string
17293
17476
  required:
17294
17477
  - ref
17295
- fragments:
17296
- type: array
17297
- items:
17298
- allOf:
17299
- - $ref: "#/components/schemas/DocumentFragment"
17300
- - type: object
17301
- properties:
17302
- fragment:
17303
- type: string
17304
- enum:
17305
- - caption
17306
- nodes:
17307
- type: array
17308
- items:
17309
- $ref: "#/components/schemas/DocumentBlockParagraph"
17310
- required:
17311
- - nodes
17312
- - fragment
17313
17478
  isVoid:
17314
17479
  type: boolean
17315
17480
  enum:
@@ -17318,49 +17483,8 @@ components:
17318
17483
  - object
17319
17484
  - type
17320
17485
  - data
17321
- - fragments
17322
- - isVoid
17323
- DocumentBlockImages:
17324
- type: object
17325
- properties:
17326
- object:
17327
- type: string
17328
- enum:
17329
- - block
17330
- type:
17331
- type: string
17332
- enum:
17333
- - images
17334
- key:
17335
- type: string
17336
- data:
17337
- type: object
17338
- properties:
17339
- align:
17340
- type: string
17341
- enum:
17342
- - center
17343
- - left
17344
- - right
17345
- fullWidth:
17346
- type: boolean
17347
- withFrame:
17348
- type: boolean
17349
- nodes:
17350
- type: array
17351
- items:
17352
- $ref: "#/components/schemas/DocumentBlockImage"
17353
- isVoid:
17354
- type: boolean
17355
- enum:
17356
- - false
17357
- required:
17358
- - object
17359
- - type
17360
- - data
17361
- - nodes
17362
17486
  - isVoid
17363
- DocumentBlockFile:
17487
+ DocumentBlockDrawing:
17364
17488
  type: object
17365
17489
  properties:
17366
17490
  object:
@@ -17370,7 +17494,7 @@ components:
17370
17494
  type:
17371
17495
  type: string
17372
17496
  enum:
17373
- - file
17497
+ - drawing
17374
17498
  key:
17375
17499
  type: string
17376
17500
  data:
@@ -17379,8 +17503,6 @@ components:
17379
17503
  ref:
17380
17504
  oneOf:
17381
17505
  - $ref: "#/components/schemas/ContentRefFile"
17382
- required:
17383
- - ref
17384
17506
  isVoid:
17385
17507
  type: boolean
17386
17508
  enum:
@@ -17390,7 +17512,7 @@ components:
17390
17512
  - type
17391
17513
  - data
17392
17514
  - isVoid
17393
- DocumentBlockDrawing:
17515
+ DocumentBlockReusableContent:
17394
17516
  type: object
17395
17517
  properties:
17396
17518
  object:
@@ -17400,25 +17522,32 @@ components:
17400
17522
  type:
17401
17523
  type: string
17402
17524
  enum:
17403
- - drawing
17525
+ - reusable-content
17404
17526
  key:
17405
17527
  type: string
17406
17528
  data:
17407
17529
  type: object
17408
17530
  properties:
17409
17531
  ref:
17410
- oneOf:
17411
- - $ref: "#/components/schemas/ContentRefFile"
17532
+ $ref: "#/components/schemas/ContentRefReusableContent"
17533
+ required:
17534
+ - ref
17412
17535
  isVoid:
17413
17536
  type: boolean
17414
17537
  enum:
17415
17538
  - true
17539
+ meta:
17540
+ type: object
17541
+ properties:
17542
+ token:
17543
+ description: A content token that can be used to fetch the reusable content from the API.
17544
+ type: string
17416
17545
  required:
17417
17546
  - object
17418
17547
  - type
17419
17548
  - data
17420
17549
  - isVoid
17421
- DocumentBlockReusableContent:
17550
+ DocumentBlockContentRef:
17422
17551
  type: object
17423
17552
  properties:
17424
17553
  object:
@@ -17428,26 +17557,20 @@ components:
17428
17557
  type:
17429
17558
  type: string
17430
17559
  enum:
17431
- - reusable-content
17560
+ - content-ref
17432
17561
  key:
17433
17562
  type: string
17434
17563
  data:
17435
17564
  type: object
17436
17565
  properties:
17437
17566
  ref:
17438
- $ref: "#/components/schemas/ContentRefReusableContent"
17567
+ $ref: "#/components/schemas/ContentRef"
17439
17568
  required:
17440
17569
  - ref
17441
17570
  isVoid:
17442
17571
  type: boolean
17443
17572
  enum:
17444
17573
  - true
17445
- meta:
17446
- type: object
17447
- properties:
17448
- token:
17449
- description: A content token that can be used to fetch the reusable content from the API.
17450
- type: string
17451
17574
  required:
17452
17575
  - object
17453
17576
  - type
@@ -17519,6 +17642,7 @@ components:
17519
17642
  items:
17520
17643
  oneOf:
17521
17644
  - $ref: "#/components/schemas/DocumentBlocksEssentials"
17645
+ - $ref: "#/components/schemas/DocumentBlockEmbed"
17522
17646
  - $ref: "#/components/schemas/DocumentBlockFile"
17523
17647
  - $ref: "#/components/schemas/DocumentBlockImages"
17524
17648
  - $ref: "#/components/schemas/DocumentBlockCode"
@@ -17526,8 +17650,10 @@ components:
17526
17650
  - $ref: "#/components/schemas/DocumentBlockHint"
17527
17651
  - $ref: "#/components/schemas/DocumentBlockPrompt"
17528
17652
  - $ref: "#/components/schemas/DocumentBlockQuote"
17653
+ - $ref: "#/components/schemas/DocumentBlockIf"
17529
17654
  - $ref: "#/components/schemas/DocumentBlockReusableContent"
17530
17655
  - $ref: "#/components/schemas/DocumentBlockIntegration"
17656
+ - $ref: "#/components/schemas/DocumentBlockStepper"
17531
17657
  minItems: 1
17532
17658
  required:
17533
17659
  - nodes
@@ -17547,7 +17673,7 @@ components:
17547
17673
  - isVoid
17548
17674
  - fragments
17549
17675
  - data
17550
- DocumentBlockContentRef:
17676
+ DocumentBlockStepper:
17551
17677
  type: object
17552
17678
  properties:
17553
17679
  object:
@@ -17557,25 +17683,25 @@ components:
17557
17683
  type:
17558
17684
  type: string
17559
17685
  enum:
17560
- - content-ref
17686
+ - stepper
17561
17687
  key:
17562
17688
  type: string
17563
- data:
17564
- type: object
17565
- properties:
17566
- ref:
17567
- $ref: "#/components/schemas/ContentRef"
17568
- required:
17569
- - ref
17689
+ nodes:
17690
+ type: array
17691
+ items:
17692
+ $ref: "#/components/schemas/DocumentBlockStepperStep"
17570
17693
  isVoid:
17571
17694
  type: boolean
17572
17695
  enum:
17573
- - true
17696
+ - false
17697
+ data:
17698
+ type: object
17699
+ properties: {}
17700
+ additionalProperties: false
17574
17701
  required:
17575
17702
  - object
17576
17703
  - type
17577
- - data
17578
- - isVoid
17704
+ - nodes
17579
17705
  DocumentBlockTabsItem:
17580
17706
  type: object
17581
17707
  properties:
@@ -17605,6 +17731,11 @@ components:
17605
17731
  - $ref: "#/components/schemas/DocumentBlockQuote"
17606
17732
  - $ref: "#/components/schemas/DocumentBlockMath"
17607
17733
  - $ref: "#/components/schemas/DocumentBlockIntegration"
17734
+ - $ref: "#/components/schemas/DocumentBlockTable"
17735
+ - $ref: "#/components/schemas/DocumentBlockExpandable"
17736
+ - $ref: "#/components/schemas/DocumentBlockIf"
17737
+ - $ref: "#/components/schemas/DocumentBlockReusableContent"
17738
+ - $ref: "#/components/schemas/DocumentBlockStepper"
17608
17739
  data:
17609
17740
  type: object
17610
17741
  properties:
@@ -17663,6 +17794,55 @@ components:
17663
17794
  - object
17664
17795
  - type
17665
17796
  - nodes
17797
+ DocumentBlockStepperStep:
17798
+ type: object
17799
+ properties:
17800
+ object:
17801
+ type: string
17802
+ enum:
17803
+ - block
17804
+ type:
17805
+ type: string
17806
+ enum:
17807
+ - stepper-step
17808
+ key:
17809
+ type: string
17810
+ nodes:
17811
+ type: array
17812
+ items:
17813
+ oneOf:
17814
+ - $ref: "#/components/schemas/DocumentBlocksEssentials"
17815
+ - $ref: "#/components/schemas/DocumentBlockContentRef"
17816
+ - $ref: "#/components/schemas/DocumentBlockCode"
17817
+ - $ref: "#/components/schemas/DocumentBlockEmbed"
17818
+ - $ref: "#/components/schemas/DocumentBlockFile"
17819
+ - $ref: "#/components/schemas/DocumentBlockImages"
17820
+ - $ref: "#/components/schemas/DocumentBlockDrawing"
17821
+ - $ref: "#/components/schemas/DocumentBlockHint"
17822
+ - $ref: "#/components/schemas/DocumentBlockPrompt"
17823
+ - $ref: "#/components/schemas/DocumentBlockQuote"
17824
+ - $ref: "#/components/schemas/DocumentBlockMath"
17825
+ - $ref: "#/components/schemas/DocumentBlockIntegration"
17826
+ - $ref: "#/components/schemas/DocumentBlockExpandable"
17827
+ - $ref: "#/components/schemas/DocumentBlockTable"
17828
+ - $ref: "#/components/schemas/DocumentBlockTabs"
17829
+ - $ref: "#/components/schemas/DocumentBlockIf"
17830
+ - $ref: "#/components/schemas/DocumentBlockReusableContent"
17831
+ - $ref: "#/components/schemas/DocumentBlockStepper"
17832
+ data:
17833
+ type: object
17834
+ properties:
17835
+ icon:
17836
+ type: string
17837
+ isVoid:
17838
+ type: boolean
17839
+ enum:
17840
+ - false
17841
+ required:
17842
+ - object
17843
+ - type
17844
+ - nodes
17845
+ - data
17666
17846
  OpenAPIOperationPointer:
17667
17847
  type: object
17668
17848
  description: Pointer to an operation in the OpenAPI spec.
@@ -17880,79 +18060,6 @@ components:
17880
18060
  - type
17881
18061
  - data
17882
18062
  - isVoid
17883
- DocumentBlockStepperStep:
17884
- type: object
17885
- properties:
17886
- object:
17887
- type: string
17888
- enum:
17889
- - block
17890
- type:
17891
- type: string
17892
- enum:
17893
- - stepper-step
17894
- key:
17895
- type: string
17896
- nodes:
17897
- type: array
17898
- items:
17899
- oneOf:
17900
- - $ref: "#/components/schemas/DocumentBlocksEssentials"
17901
- - $ref: "#/components/schemas/DocumentBlockContentRef"
17902
- - $ref: "#/components/schemas/DocumentBlockCode"
17903
- - $ref: "#/components/schemas/DocumentBlockEmbed"
17904
- - $ref: "#/components/schemas/DocumentBlockFile"
17905
- - $ref: "#/components/schemas/DocumentBlockImages"
17906
- - $ref: "#/components/schemas/DocumentBlockDrawing"
17907
- - $ref: "#/components/schemas/DocumentBlockHint"
17908
- - $ref: "#/components/schemas/DocumentBlockPrompt"
17909
- - $ref: "#/components/schemas/DocumentBlockQuote"
17910
- - $ref: "#/components/schemas/DocumentBlockMath"
17911
- - $ref: "#/components/schemas/DocumentBlockIntegration"
17912
- - $ref: "#/components/schemas/DocumentBlockExpandable"
17913
- data:
17914
- type: object
17915
- properties:
17916
- icon:
17917
- type: string
17918
- isVoid:
17919
- type: boolean
17920
- enum:
17921
- - false
17922
- required:
17923
- - object
17924
- - type
17925
- - nodes
17926
- - data
17927
- DocumentBlockStepper:
17928
- type: object
17929
- properties:
17930
- object:
17931
- type: string
17932
- enum:
17933
- - block
17934
- type:
17935
- type: string
17936
- enum:
17937
- - stepper
17938
- key:
17939
- type: string
17940
- nodes:
17941
- type: array
17942
- items:
17943
- $ref: "#/components/schemas/DocumentBlockStepperStep"
17944
- isVoid:
17945
- type: boolean
17946
- enum:
17947
- - false
17948
- data:
17949
- type: object
17950
- properties: {}
17951
- additionalProperties: false
17952
- required:
17953
- - object
17954
- - type
17955
- - nodes
17956
18063
  DocumentBlockColumn:
17957
18064
  type: object
17958
18065
  properties:
@@ -17985,6 +18092,7 @@ components:
17985
18092
  - $ref: "#/components/schemas/DocumentBlockTable"
17986
18093
  - $ref: "#/components/schemas/DocumentBlockExpandable"
17987
18094
  - $ref: "#/components/schemas/DocumentBlockStepper"
18095
+ - $ref: "#/components/schemas/DocumentBlockIf"
17988
18096
  isVoid:
17989
18097
  type: boolean
17990
18098
  enum:
@@ -18065,6 +18173,9 @@ components:
18065
18173
  - $ref: "#/components/schemas/DocumentBlockIntegration"
18066
18174
  - $ref: "#/components/schemas/DocumentBlockTabs"
18067
18175
  - $ref: "#/components/schemas/DocumentBlockExpandable"
18176
+ - $ref: "#/components/schemas/DocumentBlockTable"
18177
+ - $ref: "#/components/schemas/DocumentBlockIf"
18178
+ - $ref: "#/components/schemas/DocumentBlockStepper"
18068
18179
  data:
18069
18180
  type: object
18070
18181
  properties:
@@ -18146,52 +18257,23 @@ components:
18146
18257
  - $ref: "#/components/schemas/DocumentBlockCode"
18147
18258
  - $ref: "#/components/schemas/DocumentBlockCodeLine"
18148
18259
  - $ref: "#/components/schemas/DocumentBlockMath"
18149
- - $ref: "#/components/schemas/DocumentBlockExpandable"
18150
- - $ref: "#/components/schemas/DocumentBlockTabs"
18151
- - $ref: "#/components/schemas/DocumentBlockTabsItem"
18152
- - $ref: "#/components/schemas/DocumentBlockTable"
18153
- - $ref: "#/components/schemas/DocumentBlockOpenAPI"
18154
- - $ref: "#/components/schemas/DocumentBlockOpenAPIOperation"
18155
- - $ref: "#/components/schemas/DocumentBlockOpenAPISchemas"
18156
- - $ref: "#/components/schemas/DocumentBlockOpenAPIWebhook"
18157
- - $ref: "#/components/schemas/DocumentBlockContentRef"
18158
- - $ref: "#/components/schemas/DocumentBlockIntegration"
18159
- - $ref: "#/components/schemas/DocumentBlockReusableContent"
18160
- - $ref: "#/components/schemas/DocumentBlockStepper"
18161
- - $ref: "#/components/schemas/DocumentBlockStepperStep"
18162
- - $ref: "#/components/schemas/DocumentBlockColumns"
18163
- - $ref: "#/components/schemas/DocumentBlockColumn"
18164
- - $ref: "#/components/schemas/DocumentBlockUpdates"
18165
- - $ref: "#/components/schemas/DocumentBlockUpdate"
18166
- DocumentInlineMention:
18167
- type: object
18168
- properties:
18169
- object:
18170
- type: string
18171
- enum:
18172
- - inline
18173
- type:
18174
- type: string
18175
- enum:
18176
- - mention
18177
- key:
18178
- type: string
18179
- data:
18180
- type: object
18181
- properties:
18182
- ref:
18183
- $ref: "#/components/schemas/ContentRef"
18184
- required:
18185
- - ref
18186
- isVoid:
18187
- type: boolean
18188
- enum:
18189
- - true
18190
- required:
18191
- - object
18192
- - type
18193
- - data
18194
- - isVoid
18260
+ - $ref: "#/components/schemas/DocumentBlockExpandable"
18261
+ - $ref: "#/components/schemas/DocumentBlockTabs"
18262
+ - $ref: "#/components/schemas/DocumentBlockTabsItem"
18263
+ - $ref: "#/components/schemas/DocumentBlockTable"
18264
+ - $ref: "#/components/schemas/DocumentBlockOpenAPI"
18265
+ - $ref: "#/components/schemas/DocumentBlockOpenAPIOperation"
18266
+ - $ref: "#/components/schemas/DocumentBlockOpenAPISchemas"
18267
+ - $ref: "#/components/schemas/DocumentBlockOpenAPIWebhook"
18268
+ - $ref: "#/components/schemas/DocumentBlockContentRef"
18269
+ - $ref: "#/components/schemas/DocumentBlockIntegration"
18270
+ - $ref: "#/components/schemas/DocumentBlockReusableContent"
18271
+ - $ref: "#/components/schemas/DocumentBlockStepper"
18272
+ - $ref: "#/components/schemas/DocumentBlockStepperStep"
18273
+ - $ref: "#/components/schemas/DocumentBlockColumns"
18274
+ - $ref: "#/components/schemas/DocumentBlockColumn"
18275
+ - $ref: "#/components/schemas/DocumentBlockUpdates"
18276
+ - $ref: "#/components/schemas/DocumentBlockUpdate"
18195
18277
  DocumentAction:
18196
18278
  description: Action to perform when an inline button is clicked.
18197
18279
  type: object
@@ -18206,6 +18288,13 @@ components:
18206
18288
  query:
18207
18289
  type: string
18208
18290
  description: The search query to prefill.
18291
+ scope:
18292
+ type: string
18293
+ description: |
18294
+ Where to search. `site` searches the whole site; `space` limits the search to the space the visitor is reading.
18295
+ enum:
18296
+ - site
18297
+ - space
18209
18298
  required:
18210
18299
  - action
18211
18300
  additionalProperties: false
@@ -18278,14 +18367,12 @@ components:
18278
18367
  $ref: "#/components/schemas/ContentRef"
18279
18368
  required:
18280
18369
  - ref
18281
- additionalProperties: false
18282
18370
  - type: object
18283
18371
  properties:
18284
18372
  action:
18285
18373
  $ref: "#/components/schemas/DocumentAction"
18286
18374
  required:
18287
18375
  - action
18288
- additionalProperties: false
18289
18376
  isVoid:
18290
18377
  type: boolean
18291
18378
  enum:
@@ -18385,6 +18472,10 @@ components:
18385
18472
  type: string
18386
18473
  description:
18387
18474
  type: string
18475
+ tagTitle:
18476
+ description: Optional title for the page's HTML `<title>` tag. When set, it replaces the page title in the composed `<title>` (`<tagTitle || title> | <section> | <site>`), while the page's visible heading and navigation title remain unchanged. Use this when the search result or browser tab should use a different title from the page itself.
18477
+ type: string
18478
+ maxLength: 100
18388
18479
  pages:
18389
18480
  type: array
18390
18481
  items:
@@ -19245,6 +19336,44 @@ components:
19245
19336
  description: Subject of the change request
19246
19337
  minLength: 0
19247
19338
  maxLength: 100
19339
+ ChangeRequestChangeCountsByType:
19340
+ type: object
19341
+ description: Counts of entities grouped by how they changed relative to the change request base.
19342
+ properties:
19343
+ added:
19344
+ type: integer
19345
+ minimum: 0
19346
+ modified:
19347
+ type: integer
19348
+ minimum: 0
19349
+ deleted:
19350
+ type: integer
19351
+ minimum: 0
19352
+ required:
19353
+ - added
19354
+ - modified
19355
+ - deleted
19356
+ ChangeRequestChangeCounts:
19357
+ type: object
19358
+ description: Exact semantic entity and page-document block counts for a change request at its current head and base revisions.
19359
+ properties:
19360
+ pages:
19361
+ $ref: "#/components/schemas/ChangeRequestChangeCountsByType"
19362
+ library:
19363
+ $ref: "#/components/schemas/ChangeRequestChangeCountsByType"
19364
+ blocks:
19365
+ description: Nested user-visible page-document block counts. Absent when `blocksOmittedReason` is set.
19366
+ $ref: "#/components/schemas/ChangeRequestChangeCountsByType"
19367
+ blocksOmittedReason:
19368
+ type: string
19369
+ enum:
19370
+ - too-many-pages
19371
+ - too-many-blocks
19372
+ - timeout
19373
+ description: "Why `blocks` is absent: too many pages changed (`too-many-pages`), the changed pages hold too many blocks to compare within the counting budget (`too-many-blocks`; this is not a count of changed blocks), or counting ran out of time (`timeout`). Page and library counts are still exact."
19374
+ required:
19375
+ - pages
19376
+ - library
19248
19377
  ChangeRequestLinkTitle:
19249
19378
  type: string
19250
19379
  description: Optional title to display for the link.
@@ -19403,6 +19532,9 @@ components:
19403
19532
  comments:
19404
19533
  type: number
19405
19534
  description: Count of opened comments on the change request.
19535
+ changeCounts:
19536
+ description: Change counts computed when the change request gets a new revision, for its current head and base revisions. Merged change requests keep their last computed counts. Absent until computed.
19537
+ $ref: "#/components/schemas/ChangeRequestChangeCounts"
19406
19538
  siteTopic:
19407
19539
  type: object
19408
19540
  description: Site topic the change request was created from, when it came from one.
@@ -20086,6 +20218,14 @@ components:
20086
20218
  description:
20087
20219
  type: string
20088
20220
  description: Description of the page.
20221
+ linkTitle:
20222
+ description: Optional custom title used for the page in the table of contents and mentions instead of its page title. Set to an empty string to remove it.
20223
+ type: string
20224
+ maxLength: 100
20225
+ tagTitle:
20226
+ description: Optional title for the page's HTML `<title>` tag. When set, it replaces the page title in the composed `<title>` (`<tagTitle || title> | <section> | <site>`), while the page's visible heading and navigation title remain unchanged. Use this when the search result or browser tab should use a different title from the page itself. Set to an empty string to remove it.
20227
+ type: string
20228
+ maxLength: 100
20089
20229
  hidden:
20090
20230
  type: boolean
20091
20231
  description: If true, the page is not displayed in the navigation, while still being accessible.
@@ -21149,13 +21289,9 @@ components:
21149
21289
  - type: "null"
21150
21290
  OrganizationAISettings:
21151
21291
  type: object
21152
- description: AI preferences and automatic pause status. Missing feature keys leave features enabled, subject to the master AI setting and feature eligibility.
21292
+ description: AI preferences. Missing feature keys leave features enabled, subject to the master AI setting and feature eligibility.
21153
21293
  additionalProperties: false
21154
21294
  properties:
21155
- aiPaused:
21156
- type: boolean
21157
- readOnly: true
21158
- description: Whether AI features are automatically paused because credits are low.
21159
21295
  ai-agent:
21160
21296
  type: boolean
21161
21297
  enum:
@@ -21345,6 +21481,9 @@ components:
21345
21481
  canUseSAML:
21346
21482
  description: Whether configuring SAML is allowed
21347
21483
  type: boolean
21484
+ canUseAI:
21485
+ description: Whether AI can be enabled for the organization
21486
+ type: boolean
21348
21487
  creditsBundle:
21349
21488
  description: The AI credit bundle the organization tops up every month, or null when the organization is not billed for AI usage. `none` means pay as you go.
21350
21489
  oneOf:
@@ -21370,6 +21509,7 @@ components:
21370
21509
  - usageAddons
21371
21510
  - canChangeInterval
21372
21511
  - canUseSAML
21512
+ - canUseAI
21373
21513
  - creditsBundle
21374
21514
  - aiCreditAllowance
21375
21515
  - aiCreditRollover
@@ -21463,6 +21603,9 @@ components:
21463
21603
  type: boolean
21464
21604
  aiSettings:
21465
21605
  $ref: "#/components/schemas/OrganizationAISettings"
21606
+ aiPaused:
21607
+ description: Whether AI features have been paused automatically due to lack of AI credits.
21608
+ type: boolean
21466
21609
  inviteLinks:
21467
21610
  description: If true, invite links are enabled for this organization.
21468
21611
  type: boolean
@@ -25343,6 +25486,15 @@ components:
25343
25486
  required:
25344
25487
  - type
25345
25488
  - amount
25489
+ AICreditGrantType:
25490
+ type: string
25491
+ description: "Where AI credits come from: - `paid`: credits included in the monthly bundle - `bonus`: free credits included with the monthly bundle - `site`: credits from published paid sites - `rollover`: unused paid credits carried over from the previous period - `custom`: credits granted manually by Sales or Support"
25492
+ enum:
25493
+ - paid
25494
+ - bonus
25495
+ - site
25496
+ - rollover
25497
+ - custom
25346
25498
  BillingCreditsTotals:
25347
25499
  type: object
25348
25500
  description: A total of AI credits, and how much of it is left.
@@ -25415,14 +25567,7 @@ components:
25415
25567
  description: AI credits granted to the organization for the current AI billing period.
25416
25568
  properties:
25417
25569
  type:
25418
- type: string
25419
- description: Where the credits come from. `paid` is the credits the monthly bundle pays for, `bonus` the ones included with it, `site` the allowance of the organization's published paid sites, and `rollover` what was left of the previous period. `custom` is a grant created outside GitBook.
25420
- enum:
25421
- - paid
25422
- - bonus
25423
- - site
25424
- - rollover
25425
- - custom
25570
+ $ref: "#/components/schemas/AICreditGrantType"
25426
25571
  priority:
25427
25572
  type: number
25428
25573
  description: Stripe spending priority. Lower values are consumed first.
@@ -25609,14 +25754,7 @@ components:
25609
25754
  description: AI credits granted to the organization for the current AI billing period.
25610
25755
  properties:
25611
25756
  type:
25612
- type: string
25613
- description: Where the credits come from. `paid` is the credits the monthly bundle pays for, `bonus` the ones included with it, `site` the allowance of the organization's published paid sites, and `rollover` what was left of the previous period. `custom` is a grant created outside GitBook.
25614
- enum:
25615
- - paid
25616
- - bonus
25617
- - site
25618
- - rollover
25619
- - custom
25757
+ $ref: "#/components/schemas/AICreditGrantType"
25620
25758
  priority:
25621
25759
  type: number
25622
25760
  description: Stripe spending priority. Lower values are consumed first.
@@ -29868,6 +30006,7 @@ components:
29868
30006
  - syncing
29869
30007
  - succeeded
29870
30008
  - failed
30009
+ - skipped
29871
30010
  ContextConnectionFailureReason:
29872
30011
  type: string
29873
30012
  description: Why a synchronization failed, indicating who can resolve it. `authentication` and `misconfigured` need the connection to be reconfigured; `rate_limited` and `upstream_unavailable` are the source's own limits or downtime and are retried; `unknown` could not be attributed to the source's response.
@@ -29877,6 +30016,25 @@ components:
29877
30016
  - rate_limited
29878
30017
  - upstream_unavailable
29879
30018
  - unknown
30019
+ AISkipReason:
30020
+ type: string
30021
+ description: |-
30022
+ Why an AI task was skipped before execution.
30023
+
30024
+ - `ai_unavailable_for_organization`: The organization's effective plan does not include AI or a
30025
+ required feature. Takes precedence when both the organization and site plans block the task.
30026
+ - `ai_unavailable_for_site`: The site's effective plan does not include the required feature.
30027
+ The site's applied plan takes precedence over its own plan.
30028
+ - `ai_paused`: AI usage is temporarily paused by automatic usage controls.
30029
+ - `ai_disabled`: AI or a required AI feature has been turned off in the organization's settings.
30030
+ - `ai_restricted`: AI is blocked by GitBook or a contractual restriction and cannot be enabled
30031
+ through organization settings.
30032
+ enum:
30033
+ - ai_unavailable_for_organization
30034
+ - ai_unavailable_for_site
30035
+ - ai_disabled
30036
+ - ai_restricted
30037
+ - ai_paused
29880
30038
  ContextSearchBoost:
29881
30039
  type: string
29882
30040
  description: Relative score adjustment applied to records from a connection when searching.
@@ -29915,6 +30073,48 @@ components:
29915
30073
  oneOf:
29916
30074
  - $ref: "#/components/schemas/YoutubeChannelId"
29917
30075
  - $ref: "#/components/schemas/YoutubeChannelName"
30076
+ JiraConnectorSetupSettings:
30077
+ type: object
30078
+ properties:
30079
+ baseUrl:
30080
+ type: string
30081
+ format: uri
30082
+ minLength: 1
30083
+ maxLength: 2048
30084
+ description: Base URL of the Jira Cloud site, e.g. https://your-team.atlassian.net.
30085
+ apiEmail:
30086
+ type: string
30087
+ format: email
30088
+ minLength: 1
30089
+ maxLength: 254
30090
+ description: Email of the Atlassian account whose API token is used.
30091
+ apiToken:
30092
+ type: string
30093
+ minLength: 1
30094
+ maxLength: 1024
30095
+ description: Atlassian API token used for outbound writes. Redacted when read back. Omit it when updating a connection to keep the stored token; required when the site URL or account email changes.
30096
+ projectKeys:
30097
+ type: array
30098
+ maxItems: 100
30099
+ uniqueItems: true
30100
+ description: Projects where GitBook handles issues. Empty means all accessible projects.
30101
+ items:
30102
+ type: string
30103
+ minLength: 1
30104
+ maxLength: 255
30105
+ statusMapping:
30106
+ type: object
30107
+ description: 'Jira status to move the linked issue to when the change request reaches a given status, e.g. `{ "merged": "Done" }`. A status left out is not synced.'
30108
+ propertyNames:
30109
+ $ref: "#/components/schemas/ChangeRequestStatus"
30110
+ additionalProperties:
30111
+ type: string
30112
+ minLength: 1
30113
+ maxLength: 255
30114
+ required:
30115
+ - baseUrl
30116
+ - apiEmail
30117
+ - apiToken
29918
30118
  ContextConnectorSetup:
29919
30119
  oneOf:
29920
30120
  - type: object
@@ -30191,47 +30391,7 @@ components:
30191
30391
  enum:
30192
30392
  - builtin:jira
30193
30393
  setupSettings:
30194
- type: object
30195
- properties:
30196
- baseUrl:
30197
- type: string
30198
- format: uri
30199
- minLength: 1
30200
- maxLength: 2048
30201
- description: Base URL of the Jira Cloud site, e.g. https://your-team.atlassian.net.
30202
- apiEmail:
30203
- type: string
30204
- format: email
30205
- minLength: 1
30206
- maxLength: 254
30207
- description: Email of the Atlassian account whose API token is used.
30208
- apiToken:
30209
- type: string
30210
- minLength: 1
30211
- maxLength: 1024
30212
- description: Atlassian API token used for outbound writes. Redacted when read back.
30213
- projectKeys:
30214
- type: array
30215
- maxItems: 100
30216
- uniqueItems: true
30217
- description: Projects where GitBook handles issues. Empty means all accessible projects.
30218
- items:
30219
- type: string
30220
- minLength: 1
30221
- maxLength: 255
30222
- statusMapping:
30223
- type: object
30224
- description: 'Jira status to move the linked issue to when the change request reaches a given status, e.g. `{ "merged": "Done" }`. A status left out is not synced.'
30225
- propertyNames:
30226
- $ref: "#/components/schemas/ChangeRequestStatus"
30227
- additionalProperties:
30228
- type: string
30229
- minLength: 1
30230
- maxLength: 255
30231
- required:
30232
- - baseUrl
30233
- - apiEmail
30234
- - apiToken
30394
+ $ref: "#/components/schemas/JiraConnectorSetupSettings"
30235
30395
  required:
30236
30396
  - connector
30237
30397
  - setupSettings
@@ -30264,6 +30424,8 @@ components:
30264
30424
  description: Failure message when synchronization fails
30265
30425
  failureReason:
30266
30426
  $ref: "#/components/schemas/ContextConnectionFailureReason"
30427
+ skipReason:
30428
+ $ref: "#/components/schemas/AISkipReason"
30267
30429
  email:
30268
30430
  type: object
30269
30431
  description: Parameters associated with the connection when it is an email connection
@@ -30293,6 +30455,41 @@ components:
30293
30455
  - usageSettings
30294
30456
  - urls
30295
30457
  - $ref: "#/components/schemas/ContextConnectorSetup"
30458
+ baseUrl:
30459
+ type: string
30460
+ format: uri
30461
+ minLength: 1
30462
+ maxLength: 2048
30463
+ description: Base URL of the Jira Cloud site, e.g. https://your-team.atlassian.net.
30464
+ apiEmail:
30465
+ type: string
30466
+ format: email
30467
+ minLength: 1
30468
+ maxLength: 254
30469
+ description: Email of the Atlassian account whose API token is used.
30470
+ apiToken:
30471
+ type: string
30472
+ minLength: 1
30473
+ maxLength: 1024
30474
+ description: Atlassian API token used for outbound writes. Redacted when read back. Omit it when updating a connection to keep the stored token; required when the site URL or account email changes.
30475
+ projectKeys:
30476
+ type: array
30477
+ maxItems: 100
30478
+ uniqueItems: true
30479
+ description: Projects where GitBook handles issues. Empty means all accessible projects.
30480
+ items:
30481
+ type: string
30482
+ minLength: 1
30483
+ maxLength: 255
30484
+ statusMapping:
30485
+ type: object
30486
+ description: 'Jira status to move the linked issue to when the change request reaches a given status, e.g. `{ "merged": "Done" }`. A status left out is not synced.'
30487
+ propertyNames:
30488
+ $ref: "#/components/schemas/ChangeRequestStatus"
30489
+ additionalProperties:
30490
+ type: string
30491
+ minLength: 1
30492
+ maxLength: 255
30296
30493
  ContextConnectionTestResult:
30297
30494
  type: object
30298
30495
  required:
@@ -30309,6 +30506,38 @@ components:
30309
30506
  error:
30310
30507
  type: string
30311
30508
  description: A human-readable reason for the failure, when the test failed.
30509
+ SiteQuestionAnswerRelevance:
30510
+ type: string
30511
+ description: Relevance classification of the user question.
30512
+ enum:
30513
+ - relevant
30514
+ - spam
30515
+ - off-topic
30516
+ - unclear
30517
+ SiteCoreChannelType:
30518
+ type: string
30519
+ enum:
30520
+ - site
30521
+ - embed
30522
+ - api
30523
+ SiteConfigurableChannelType:
30524
+ type: string
30525
+ enum:
30526
+ - builtin:slack
30527
+ - builtin:discord
30528
+ - builtin:github
30529
+ - builtin:linear
30530
+ SiteChannelType:
30531
+ oneOf:
30532
+ - $ref: "#/components/schemas/SiteCoreChannelType"
30533
+ - $ref: "#/components/schemas/SiteConfigurableChannelType"
30534
+ SiteQuestionAnswerResolution:
30535
+ type: string
30536
+ description: Whether the response answered the question.
30537
+ enum:
30538
+ - no
30539
+ - partially
30540
+ - yes
30312
30541
  SiteTopicUsageSettings:
30313
30542
  type: object
30314
30543
  properties:
@@ -30398,38 +30627,6 @@ components:
30398
30627
  - createdAt
30399
30628
  - updatedAt
30400
30629
  - urls
30401
- SiteQuestionAnswerRelevance:
30402
- type: string
30403
- description: Relevance classification of the user question.
30404
- enum:
30405
- - relevant
30406
- - spam
30407
- - off-topic
30408
- - unclear
30409
- SiteCoreChannelType:
30410
- type: string
30411
- enum:
30412
- - site
30413
- - embed
30414
- - api
30415
- SiteConfigurableChannelType:
30416
- type: string
30417
- enum:
30418
- - builtin:slack
30419
- - builtin:discord
30420
- - builtin:github
30421
- - builtin:linear
30422
- SiteChannelType:
30423
- oneOf:
30424
- - $ref: "#/components/schemas/SiteCoreChannelType"
30425
- - $ref: "#/components/schemas/SiteConfigurableChannelType"
30426
- SiteQuestionAnswerResolution:
30427
- type: string
30428
- description: Whether the response answered the question.
30429
- enum:
30430
- - no
30431
- - partially
30432
- - yes
30433
30630
  SiteQuestionAnswerSourceBase:
30434
30631
  type: object
30435
30632
  properties:
@@ -32708,9 +32905,31 @@ components:
32708
32905
  - selection
32709
32906
  - site
32710
32907
  - page
32908
+ - code
32711
32909
  - embed
32712
32910
  required:
32713
32911
  - type
32912
+ SiteInsightsEventAskTriggerClick:
32913
+ description: Event when a user clicks an entry point that opens the ask UI.
32914
+ allOf:
32915
+ - $ref: "#/components/schemas/SiteInsightsEventBase"
32916
+ - type: object
32917
+ properties:
32918
+ type:
32919
+ type: string
32920
+ enum:
32921
+ - ask_trigger_click
32922
+ trigger:
32923
+ type: string
32924
+ enum:
32925
+ - hover
32926
+ - selection
32927
+ - site
32928
+ - page
32929
+ - code
32930
+ required:
32931
+ - type
32932
+ - trigger
32714
32933
  SiteInsightsEventAskRateResponse:
32715
32934
  allOf:
32716
32935
  - $ref: "#/components/schemas/SiteInsightsEventBase"
@@ -32914,6 +33133,7 @@ components:
32914
33133
  - $ref: "#/components/schemas/SiteInsightsEventAgentFeedback"
32915
33134
  - $ref: "#/components/schemas/SiteInsightsEventAskQuestion"
32916
33135
  - $ref: "#/components/schemas/SiteInsightsEventAskView"
33136
+ - $ref: "#/components/schemas/SiteInsightsEventAskTriggerClick"
32917
33137
  - $ref: "#/components/schemas/SiteInsightsEventAskRateResponse"
32918
33138
  - $ref: "#/components/schemas/SiteInsightsEventLinkClick"
32919
33139
  - $ref: "#/components/schemas/SiteInsightsEventAPIClientOpen"
@@ -33109,6 +33329,24 @@ components:
33109
33329
  type: string
33110
33330
  enum:
33111
33331
  - visitorLanguage
33332
+ - type: object
33333
+ description: The raw `User-Agent` header of the request. `visitorBot`, `visitorBrowser`, `visitorOS` and `visitorDevice` are parsed from it.
33334
+ required:
33335
+ - column
33336
+ properties:
33337
+ column:
33338
+ type: string
33339
+ enum:
33340
+ - visitorUserAgent
33341
+ - type: object
33342
+ description: "Pseudonymous identifier of the visitor, stable across a browser's visits. Events served by the server (`displayContext` of `server` or `mcp`: markdown pages, llms.txt, RSS, MCP) get a new one per request, so it only tells visitors apart on `site` and `embed`."
33343
+ required:
33344
+ - column
33345
+ properties:
33346
+ column:
33347
+ type: string
33348
+ enum:
33349
+ - visitorId
33112
33350
  - type: object
33113
33351
  required:
33114
33352
  - column
@@ -33371,6 +33609,7 @@ components:
33371
33609
  - agent_feedback
33372
33610
  - ask_question
33373
33611
  - ask_view
33612
+ - ask_trigger_click
33374
33613
  - ask_rate_response
33375
33614
  - link_click
33376
33615
  - api_client_open
@@ -33448,6 +33687,14 @@ components:
33448
33687
  - duckassist
33449
33688
  - amzn-searchbot
33450
33689
  - amzn-user
33690
+ - other-bot
33691
+ - parallel
33692
+ - exa
33693
+ - linkup
33694
+ - vertex-ai
33695
+ - atlassian
33696
+ - kapa
33697
+ - bedrock
33451
33698
  SiteInsightsPageNotFoundType:
33452
33699
  description: Why a site URL returned a 404. `conditional` means the URL targets content gated by an adaptive-content condition, so the visitor lacked access to a page that exists. Computed by GitBook when the event is ingested; 404s recorded before this existed, and those on genuinely missing pages, carry no value.
33453
33700
  type: string
@@ -33909,6 +34156,32 @@ components:
33909
34156
  type:
33910
34157
  - string
33911
34158
  - "null"
34159
+ - type: object
34160
+ required:
34161
+ - column
34162
+ - values
34163
+ properties:
34164
+ column:
34165
+ type: string
34166
+ enum:
34167
+ - visitorUserAgent
34168
+ values:
34169
+ type: array
34170
+ items:
34171
+ type: string
34172
+ - type: object
34173
+ required:
34174
+ - column
34175
+ - values
34176
+ properties:
34177
+ column:
34178
+ type: string
34179
+ enum:
34180
+ - visitorId
34181
+ values:
34182
+ type: array
34183
+ items:
34184
+ type: string
33912
34185
  - type: object
33913
34186
  required:
33914
34187
  - column
@@ -35085,6 +35358,11 @@ components:
35085
35358
  aiCreditPauseEnabled:
35086
35359
  description: Whether AI features pause automatically once all AI credits are used, before usage is billed as overage.
35087
35360
  type: boolean
35361
+ hasAI:
35362
+ description: False when the organization's contract requires AI to stay off, regardless of the admin setting.
35363
+ type: boolean
35364
+ enum:
35365
+ - false
35088
35366
  minUsers:
35089
35367
  description: Current minimum users override, when set.
35090
35368
  $ref: "#/components/schemas/OrganizationBillingNumericOverride"
@@ -35750,6 +36028,11 @@ components:
35750
36028
  type: string
35751
36029
  maxLength: 300
35752
36030
  minLength: 0
36031
+ tagTitle:
36032
+ description: Optional custom title overriding only the page-title segment of the composed `<title>` tag (`<tagTitle || title> | <section> | <site>`).
36033
+ type: string
36034
+ maxLength: 100
36035
+ minLength: 0
35753
36036
  slug:
35754
36037
  description: Page's slug in its direct parent
35755
36038
  type: string