@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.json CHANGED
@@ -1793,6 +1793,9 @@
1793
1793
  {
1794
1794
  "$ref": "#/components/parameters/documentFormat"
1795
1795
  },
1796
+ {
1797
+ "$ref": "#/components/parameters/documentMarkdownRefsFormat"
1798
+ },
1796
1799
  {
1797
1800
  "$ref": "#/components/parameters/documentEvaluated"
1798
1801
  },
@@ -2005,6 +2008,9 @@
2005
2008
  {
2006
2009
  "$ref": "#/components/parameters/documentFormat"
2007
2010
  },
2011
+ {
2012
+ "$ref": "#/components/parameters/documentMarkdownRefsFormat"
2013
+ },
2008
2014
  {
2009
2015
  "$ref": "#/components/parameters/documentEvaluated"
2010
2016
  },
@@ -3864,6 +3870,9 @@
3864
3870
  {
3865
3871
  "$ref": "#/components/parameters/documentFormat"
3866
3872
  },
3873
+ {
3874
+ "$ref": "#/components/parameters/documentMarkdownRefsFormat"
3875
+ },
3867
3876
  {
3868
3877
  "$ref": "#/components/parameters/documentEvaluated"
3869
3878
  },
@@ -4478,6 +4487,9 @@
4478
4487
  {
4479
4488
  "$ref": "#/components/parameters/documentFormat"
4480
4489
  },
4490
+ {
4491
+ "$ref": "#/components/parameters/documentMarkdownRefsFormat"
4492
+ },
4481
4493
  {
4482
4494
  "$ref": "#/components/parameters/documentEvaluated"
4483
4495
  },
@@ -4573,6 +4585,9 @@
4573
4585
  {
4574
4586
  "$ref": "#/components/parameters/documentFormat"
4575
4587
  },
4588
+ {
4589
+ "$ref": "#/components/parameters/documentMarkdownRefsFormat"
4590
+ },
4576
4591
  {
4577
4592
  "$ref": "#/components/parameters/documentEvaluated"
4578
4593
  },
@@ -4669,6 +4684,9 @@
4669
4684
  {
4670
4685
  "$ref": "#/components/parameters/documentFormat"
4671
4686
  },
4687
+ {
4688
+ "$ref": "#/components/parameters/documentMarkdownRefsFormat"
4689
+ },
4672
4690
  {
4673
4691
  "$ref": "#/components/parameters/documentEvaluated"
4674
4692
  },
@@ -15105,6 +15123,17 @@
15105
15123
  }
15106
15124
  }
15107
15125
  },
15126
+ {
15127
+ "name": "channelType",
15128
+ "in": "query",
15129
+ "description": "Filter questions by answer channel type.",
15130
+ "schema": {
15131
+ "type": "array",
15132
+ "items": {
15133
+ "$ref": "#/components/schemas/SiteChannelType"
15134
+ }
15135
+ }
15136
+ },
15108
15137
  {
15109
15138
  "name": "answered",
15110
15139
  "in": "query",
@@ -15232,6 +15261,17 @@
15232
15261
  }
15233
15262
  }
15234
15263
  },
15264
+ {
15265
+ "name": "channelType",
15266
+ "in": "query",
15267
+ "description": "Filter stats by answer channel type.",
15268
+ "schema": {
15269
+ "type": "array",
15270
+ "items": {
15271
+ "$ref": "#/components/schemas/SiteChannelType"
15272
+ }
15273
+ }
15274
+ },
15235
15275
  {
15236
15276
  "name": "answered",
15237
15277
  "in": "query",
@@ -15313,6 +15353,17 @@
15313
15353
  }
15314
15354
  }
15315
15355
  },
15356
+ {
15357
+ "name": "channelType",
15358
+ "in": "query",
15359
+ "description": "Filter answer sources by answer channel type.",
15360
+ "schema": {
15361
+ "type": "array",
15362
+ "items": {
15363
+ "$ref": "#/components/schemas/SiteChannelType"
15364
+ }
15365
+ }
15366
+ },
15316
15367
  {
15317
15368
  "name": "answered",
15318
15369
  "in": "query",
@@ -15414,6 +15465,17 @@
15414
15465
  }
15415
15466
  }
15416
15467
  },
15468
+ {
15469
+ "name": "channelType",
15470
+ "in": "query",
15471
+ "description": "Filter stats by answer channel type.",
15472
+ "schema": {
15473
+ "type": "array",
15474
+ "items": {
15475
+ "$ref": "#/components/schemas/SiteChannelType"
15476
+ }
15477
+ }
15478
+ },
15417
15479
  {
15418
15480
  "name": "answered",
15419
15481
  "in": "query",
@@ -15521,6 +15583,17 @@
15521
15583
  }
15522
15584
  }
15523
15585
  },
15586
+ {
15587
+ "name": "channelType",
15588
+ "in": "query",
15589
+ "description": "Filter answers by answer channel type.",
15590
+ "schema": {
15591
+ "type": "array",
15592
+ "items": {
15593
+ "$ref": "#/components/schemas/SiteChannelType"
15594
+ }
15595
+ }
15596
+ },
15524
15597
  {
15525
15598
  "name": "question.type",
15526
15599
  "in": "query",
@@ -18033,6 +18106,9 @@
18033
18106
  "url": {
18034
18107
  "$ref": "#/components/schemas/URL"
18035
18108
  },
18109
+ "transport": {
18110
+ "$ref": "#/components/schemas/SiteMcpServerTransport"
18111
+ },
18036
18112
  "headers": {
18037
18113
  "$ref": "#/components/schemas/SiteMcpServerHeaders"
18038
18114
  },
@@ -18144,6 +18220,9 @@
18144
18220
  "format": "uri",
18145
18221
  "maxLength": 2048
18146
18222
  },
18223
+ "transport": {
18224
+ "$ref": "#/components/schemas/SiteMcpServerTransport"
18225
+ },
18147
18226
  "headers": {
18148
18227
  "$ref": "#/components/schemas/SiteMcpServerHeaders"
18149
18228
  },
@@ -19108,6 +19187,41 @@
19108
19187
  }
19109
19188
  },
19110
19189
  "/git/installations/{installationId}": {
19190
+ "get": {
19191
+ "operationId": "getGitSyncInstallationById",
19192
+ "summary": "Get a Git Sync installation",
19193
+ "tags": [
19194
+ "git"
19195
+ ],
19196
+ "security": [
19197
+ {
19198
+ "user": []
19199
+ }
19200
+ ],
19201
+ "parameters": [
19202
+ {
19203
+ "$ref": "#/components/parameters/installationId"
19204
+ }
19205
+ ],
19206
+ "responses": {
19207
+ "200": {
19208
+ "description": "Git Sync installation was found successfully",
19209
+ "content": {
19210
+ "application/json": {
19211
+ "schema": {
19212
+ "$ref": "#/components/schemas/GitSyncInstallation"
19213
+ }
19214
+ }
19215
+ }
19216
+ },
19217
+ "401": {
19218
+ "$ref": "#/components/responses/UnauthorizedError"
19219
+ },
19220
+ "404": {
19221
+ "$ref": "#/components/responses/NotFoundError"
19222
+ }
19223
+ }
19224
+ },
19111
19225
  "patch": {
19112
19226
  "operationId": "updateGitSyncInstallationById",
19113
19227
  "summary": "Update a Git Sync installation configuration",
@@ -19537,6 +19651,19 @@
19537
19651
  ]
19538
19652
  }
19539
19653
  },
19654
+ "documentMarkdownRefsFormat": {
19655
+ "name": "format.markdown.refs",
19656
+ "in": "query",
19657
+ "description": "Controls how content references are formatted in markdown output. Ignored unless `format=markdown`.\n\n- `relative`: Format page references as relative links from the current page. Other references might not be handled.\n- `stable`: Format content references as stable idempotent refs containing their identifiers.\n",
19658
+ "schema": {
19659
+ "type": "string",
19660
+ "default": "relative",
19661
+ "enum": [
19662
+ "relative",
19663
+ "stable"
19664
+ ]
19665
+ }
19666
+ },
19540
19667
  "documentEvaluated": {
19541
19668
  "name": "evaluated",
19542
19669
  "in": "query",
@@ -20533,6 +20660,14 @@
20533
20660
  "sl"
20534
20661
  ]
20535
20662
  },
20663
+ "GitSyncInstallationStatus": {
20664
+ "type": "string",
20665
+ "enum": [
20666
+ "unauthenticated",
20667
+ "active",
20668
+ "pending"
20669
+ ]
20670
+ },
20536
20671
  "GitSyncProvider": {
20537
20672
  "type": "string",
20538
20673
  "description": "The provider of the Git Sync installation.",
@@ -20549,13 +20684,21 @@
20549
20684
  "type": "string",
20550
20685
  "description": "Repository name."
20551
20686
  },
20687
+ "installationStatus": {
20688
+ "$ref": "#/components/schemas/GitSyncInstallationStatus"
20689
+ },
20552
20690
  "installationProvider": {
20553
20691
  "$ref": "#/components/schemas/GitSyncProvider"
20554
20692
  },
20555
20693
  "integration": {
20556
20694
  "type": "string",
20695
+ "deprecated": true,
20557
20696
  "description": "The integration name providing the Git Sync."
20558
20697
  },
20698
+ "installationId": {
20699
+ "type": "string",
20700
+ "description": "The ID of the Git Sync installation."
20701
+ },
20559
20702
  "url": {
20560
20703
  "type": "string",
20561
20704
  "description": "The URL to the repository tree, used when rendering public content."
@@ -24386,6 +24529,19 @@
24386
24529
  "enum": [
24387
24530
  true
24388
24531
  ]
24532
+ },
24533
+ "meta": {
24534
+ "type": "object",
24535
+ "properties": {
24536
+ "token": {
24537
+ "type": "string",
24538
+ "description": "A content token that can be used to authenticate requests for cross-space integration blocks."
24539
+ },
24540
+ "spaceId": {
24541
+ "type": "string",
24542
+ "description": "ID of the space the integration block originates from"
24543
+ }
24544
+ }
24389
24545
  }
24390
24546
  },
24391
24547
  "required": [
@@ -26173,11 +26329,15 @@
26173
26329
  "revision": {
26174
26330
  "type": "string",
26175
26331
  "description": "ID of the revision generated by the translation"
26332
+ },
26333
+ "language": {
26334
+ "$ref": "#/components/schemas/TranslationLanguage"
26176
26335
  }
26177
26336
  },
26178
26337
  "required": [
26179
26338
  "space",
26180
- "revision"
26339
+ "revision",
26340
+ "language"
26181
26341
  ]
26182
26342
  },
26183
26343
  "ComputedContentDependencyTranslation": {
@@ -26648,7 +26808,8 @@
26648
26808
  "description": "Parameters for a document translation computed content source",
26649
26809
  "required": [
26650
26810
  "type",
26651
- "props"
26811
+ "props",
26812
+ "dependencies"
26652
26813
  ],
26653
26814
  "properties": {
26654
26815
  "type": {
@@ -26671,6 +26832,33 @@
26671
26832
  "type": "string"
26672
26833
  }
26673
26834
  }
26835
+ },
26836
+ "dependencies": {
26837
+ "type": "object",
26838
+ "required": [
26839
+ "translation"
26840
+ ],
26841
+ "properties": {
26842
+ "translation": {
26843
+ "oneOf": [
26844
+ {
26845
+ "type": "object",
26846
+ "additionalProperties": false,
26847
+ "required": [
26848
+ "ref"
26849
+ ],
26850
+ "properties": {
26851
+ "ref": {
26852
+ "$ref": "#/components/schemas/TranslationRef"
26853
+ }
26854
+ }
26855
+ },
26856
+ {
26857
+ "$ref": "#/components/schemas/ComputedContentDependencyTranslation"
26858
+ }
26859
+ ]
26860
+ }
26861
+ }
26674
26862
  }
26675
26863
  }
26676
26864
  },
@@ -29930,6 +30118,9 @@
29930
30118
  },
29931
30119
  "teams": {
29932
30120
  "type": "number"
30121
+ },
30122
+ "sites": {
30123
+ "type": "number"
29933
30124
  }
29934
30125
  },
29935
30126
  "required": [
@@ -29941,7 +30132,8 @@
29941
30132
  "joinedAt",
29942
30133
  "sso",
29943
30134
  "spaces",
29944
- "teams"
30135
+ "teams",
30136
+ "sites"
29945
30137
  ]
29946
30138
  },
29947
30139
  "IntegrationTitle": {
@@ -31419,6 +31611,13 @@
31419
31611
  },
31420
31612
  "location": {
31421
31613
  "type": "string"
31614
+ },
31615
+ "action": {
31616
+ "type": "string",
31617
+ "enum": [
31618
+ "logout"
31619
+ ],
31620
+ "description": "The visitor authentication action to resolve. If omitted, integrations resolve to the existing login redirect."
31422
31621
  }
31423
31622
  },
31424
31623
  "required": [
@@ -32274,6 +32473,7 @@
32274
32473
  "sites-ads",
32275
32474
  "sites-ai-search",
32276
32475
  "sites-ai-assistant",
32476
+ "sites-ai-insights",
32277
32477
  "sites-connections",
32278
32478
  "sites-channels",
32279
32479
  "sites-embed",
@@ -32402,6 +32602,9 @@
32402
32602
  "siteSpaces": {
32403
32603
  "type": "number"
32404
32604
  },
32605
+ "gitSync": {
32606
+ "$ref": "#/components/schemas/GitSyncState"
32607
+ },
32405
32608
  "createdAt": {
32406
32609
  "type": "string",
32407
32610
  "format": "date-time"
@@ -32447,6 +32650,11 @@
32447
32650
  "type": "string",
32448
32651
  "description": "URL of the login endpoint for visitors to authenticate with the site auth backend.\n",
32449
32652
  "format": "uri"
32653
+ },
32654
+ "logout": {
32655
+ "type": "string",
32656
+ "description": "URL of the logout endpoint for visitors to sign out from the site auth backend.\n",
32657
+ "format": "uri"
32450
32658
  }
32451
32659
  },
32452
32660
  "required": [
@@ -34317,6 +34525,22 @@
34317
34525
  "space"
34318
34526
  ]
34319
34527
  },
34528
+ "MemberSitePermission": {
34529
+ "type": "object",
34530
+ "description": "Permission of an organization member in a site.",
34531
+ "properties": {
34532
+ "site": {
34533
+ "$ref": "#/components/schemas/Site"
34534
+ },
34535
+ "permission": {
34536
+ "$ref": "#/components/schemas/MemberRoleOrGuest"
34537
+ }
34538
+ },
34539
+ "required": [
34540
+ "site",
34541
+ "permission"
34542
+ ]
34543
+ },
34320
34544
  "TeamMemberRole": {
34321
34545
  "type": "string",
34322
34546
  "description": "\"The role of a team member.\n\"owner\": Can manage team members.\n\"member\": Is a member of the team.\n",
@@ -36423,6 +36647,10 @@
36423
36647
  "cancelled"
36424
36648
  ]
36425
36649
  },
36650
+ "reason": {
36651
+ "description": "Reason for the import failure when `status` is `failed`.",
36652
+ "type": "string"
36653
+ },
36426
36654
  "pages": {
36427
36655
  "description": "Pages included in the import",
36428
36656
  "type": "array",
@@ -37998,6 +38226,11 @@
37998
38226
  "format": "uri",
37999
38227
  "description": "URL to redirect to when the authenticated access secret is invalid."
38000
38228
  },
38229
+ "logoutURL": {
38230
+ "type": "string",
38231
+ "format": "uri",
38232
+ "description": "URL used to log visitors out from the upstream custom auth backend."
38233
+ },
38001
38234
  "integration": {
38002
38235
  "type": "string",
38003
38236
  "description": "Name of the authenticated access integration installed on the site (if any).\nIt is also the one being used as VA backend when the published auth settings are configured to use \"integration\" as backend.\n"
@@ -38032,6 +38265,14 @@
38032
38265
  ],
38033
38266
  "format": "uri",
38034
38267
  "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."
38268
+ },
38269
+ "logoutURL": {
38270
+ "type": [
38271
+ "string",
38272
+ "null"
38273
+ ],
38274
+ "format": "uri",
38275
+ "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."
38035
38276
  }
38036
38277
  }
38037
38278
  }
@@ -39266,6 +39507,33 @@
39266
39507
  "unclear"
39267
39508
  ]
39268
39509
  },
39510
+ "SiteCoreChannelType": {
39511
+ "type": "string",
39512
+ "enum": [
39513
+ "site",
39514
+ "embed",
39515
+ "api"
39516
+ ]
39517
+ },
39518
+ "SiteConfigurableChannelType": {
39519
+ "type": "string",
39520
+ "enum": [
39521
+ "builtin:slack",
39522
+ "builtin:discord",
39523
+ "builtin:github",
39524
+ "builtin:linear"
39525
+ ]
39526
+ },
39527
+ "SiteChannelType": {
39528
+ "oneOf": [
39529
+ {
39530
+ "$ref": "#/components/schemas/SiteCoreChannelType"
39531
+ },
39532
+ {
39533
+ "$ref": "#/components/schemas/SiteConfigurableChannelType"
39534
+ }
39535
+ ]
39536
+ },
39269
39537
  "SiteQuestionAnswerResolution": {
39270
39538
  "type": "string",
39271
39539
  "description": "Whether the response answered the question.",
@@ -39408,23 +39676,6 @@
39408
39676
  "high"
39409
39677
  ]
39410
39678
  },
39411
- "SiteCoreChannelType": {
39412
- "type": "string",
39413
- "enum": [
39414
- "site",
39415
- "embed",
39416
- "api"
39417
- ]
39418
- },
39419
- "SiteConfigurableChannelType": {
39420
- "type": "string",
39421
- "enum": [
39422
- "builtin:slack",
39423
- "builtin:discord",
39424
- "builtin:github",
39425
- "builtin:linear"
39426
- ]
39427
- },
39428
39679
  "SiteQuestionAnswer": {
39429
39680
  "type": "object",
39430
39681
  "properties": {
@@ -39610,6 +39861,13 @@
39610
39861
  "developer"
39611
39862
  ]
39612
39863
  },
39864
+ "AIMessageStepStartCondition": {
39865
+ "type": "string",
39866
+ "description": "Describe the state in which the steps started.",
39867
+ "enum": [
39868
+ "compaction"
39869
+ ]
39870
+ },
39613
39871
  "AIToolCallGetPageContent": {
39614
39872
  "type": "object",
39615
39873
  "properties": {
@@ -39859,6 +40117,10 @@
39859
40117
  "type": "string",
39860
40118
  "description": "The ID of the space being edited."
39861
40119
  },
40120
+ "baseRevisionId": {
40121
+ "type": "string",
40122
+ "description": "The base revision ID used to compare the page change in the current conversation."
40123
+ },
39862
40124
  "page": {
39863
40125
  "$ref": "#/components/schemas/ChangedRevisionPage"
39864
40126
  }
@@ -39866,6 +40128,7 @@
39866
40128
  "required": [
39867
40129
  "tool",
39868
40130
  "spaceId",
40131
+ "baseRevisionId",
39869
40132
  "page"
39870
40133
  ]
39871
40134
  },
@@ -39882,6 +40145,10 @@
39882
40145
  "type": "string",
39883
40146
  "description": "The ID of the space being edited."
39884
40147
  },
40148
+ "baseRevisionId": {
40149
+ "type": "string",
40150
+ "description": "The base revision ID used to compare the page change in the current conversation."
40151
+ },
39885
40152
  "page": {
39886
40153
  "$ref": "#/components/schemas/ChangedRevisionPage"
39887
40154
  }
@@ -39889,6 +40156,7 @@
39889
40156
  "required": [
39890
40157
  "tool",
39891
40158
  "spaceId",
40159
+ "baseRevisionId",
39892
40160
  "page"
39893
40161
  ]
39894
40162
  },
@@ -39905,6 +40173,10 @@
39905
40173
  "type": "string",
39906
40174
  "description": "The ID of the space being edited."
39907
40175
  },
40176
+ "baseRevisionId": {
40177
+ "type": "string",
40178
+ "description": "The base revision ID used to compare the page deletion in the current conversation."
40179
+ },
39908
40180
  "page": {
39909
40181
  "$ref": "#/components/schemas/ChangedRevisionPage"
39910
40182
  }
@@ -39912,6 +40184,7 @@
39912
40184
  "required": [
39913
40185
  "tool",
39914
40186
  "spaceId",
40187
+ "baseRevisionId",
39915
40188
  "page"
39916
40189
  ]
39917
40190
  },
@@ -39928,6 +40201,10 @@
39928
40201
  "type": "string",
39929
40202
  "description": "The ID of the space being edited."
39930
40203
  },
40204
+ "baseRevisionId": {
40205
+ "type": "string",
40206
+ "description": "The base revision ID used to compare the page rename in the current conversation."
40207
+ },
39931
40208
  "page": {
39932
40209
  "$ref": "#/components/schemas/ChangedRevisionPage"
39933
40210
  },
@@ -39939,6 +40216,7 @@
39939
40216
  "required": [
39940
40217
  "tool",
39941
40218
  "spaceId",
40219
+ "baseRevisionId",
39942
40220
  "page",
39943
40221
  "title"
39944
40222
  ]
@@ -39956,6 +40234,10 @@
39956
40234
  "type": "string",
39957
40235
  "description": "The ID of the space being edited."
39958
40236
  },
40237
+ "baseRevisionId": {
40238
+ "type": "string",
40239
+ "description": "The base revision ID used to compare the page move in the current conversation."
40240
+ },
39959
40241
  "page": {
39960
40242
  "$ref": "#/components/schemas/ChangedRevisionPage"
39961
40243
  },
@@ -39975,6 +40257,7 @@
39975
40257
  "required": [
39976
40258
  "tool",
39977
40259
  "spaceId",
40260
+ "baseRevisionId",
39978
40261
  "page",
39979
40262
  "moveType"
39980
40263
  ]
@@ -40034,6 +40317,10 @@
40034
40317
  "type": "string",
40035
40318
  "description": "The ID of the space being edited."
40036
40319
  },
40320
+ "baseRevisionId": {
40321
+ "type": "string",
40322
+ "description": "The base revision ID used to compare the reusable content change in the current conversation."
40323
+ },
40037
40324
  "reusableContent": {
40038
40325
  "$ref": "#/components/schemas/ChangedRevisionReusableContent"
40039
40326
  }
@@ -40041,6 +40328,7 @@
40041
40328
  "required": [
40042
40329
  "tool",
40043
40330
  "spaceId",
40331
+ "baseRevisionId",
40044
40332
  "reusableContent"
40045
40333
  ]
40046
40334
  },
@@ -40057,6 +40345,10 @@
40057
40345
  "type": "string",
40058
40346
  "description": "The ID of the space being edited."
40059
40347
  },
40348
+ "baseRevisionId": {
40349
+ "type": "string",
40350
+ "description": "The base revision ID used to compare the reusable content change in the current conversation."
40351
+ },
40060
40352
  "reusableContent": {
40061
40353
  "$ref": "#/components/schemas/ChangedRevisionReusableContent"
40062
40354
  }
@@ -40064,6 +40356,7 @@
40064
40356
  "required": [
40065
40357
  "tool",
40066
40358
  "spaceId",
40359
+ "baseRevisionId",
40067
40360
  "reusableContent"
40068
40361
  ]
40069
40362
  },
@@ -40411,6 +40704,10 @@
40411
40704
  },
40412
40705
  "url": {
40413
40706
  "$ref": "#/components/schemas/URL"
40707
+ },
40708
+ "filename": {
40709
+ "type": "string",
40710
+ "description": "Name of the image file."
40414
40711
  }
40415
40712
  },
40416
40713
  "required": [
@@ -40458,10 +40755,78 @@
40458
40755
  }
40459
40756
  ]
40460
40757
  },
40758
+ "AIMessageContext": {
40759
+ "type": "object",
40760
+ "description": "Context about the current user sending a message.",
40761
+ "properties": {
40762
+ "location": {
40763
+ "type": "object",
40764
+ "properties": {
40765
+ "spaceId": {
40766
+ "type": "string",
40767
+ "description": "ID of the current space."
40768
+ },
40769
+ "pageId": {
40770
+ "type": "string",
40771
+ "description": "ID of the current page."
40772
+ }
40773
+ },
40774
+ "required": [
40775
+ "spaceId",
40776
+ "pageId"
40777
+ ]
40778
+ },
40779
+ "selection": {
40780
+ "type": "object",
40781
+ "description": "Range of the current selection in a document.",
40782
+ "properties": {
40783
+ "anchorKey": {
40784
+ "oneOf": [
40785
+ {
40786
+ "type": "string"
40787
+ },
40788
+ {
40789
+ "type": "null"
40790
+ }
40791
+ ]
40792
+ },
40793
+ "anchorOffset": {
40794
+ "type": "integer"
40795
+ },
40796
+ "focusKey": {
40797
+ "oneOf": [
40798
+ {
40799
+ "type": "string"
40800
+ },
40801
+ {
40802
+ "type": "null"
40803
+ }
40804
+ ]
40805
+ },
40806
+ "focusOffset": {
40807
+ "type": "integer"
40808
+ },
40809
+ "content": {
40810
+ "type": "string",
40811
+ "description": "Snapshot of the selection for display."
40812
+ }
40813
+ },
40814
+ "required": [
40815
+ "anchorKey",
40816
+ "anchorOffset",
40817
+ "focusKey",
40818
+ "focusOffset"
40819
+ ]
40820
+ }
40821
+ }
40822
+ },
40461
40823
  "AIMessageStep": {
40462
40824
  "type": "object",
40463
40825
  "description": "A step in a message from the AI agent.",
40464
40826
  "properties": {
40827
+ "startCondition": {
40828
+ "$ref": "#/components/schemas/AIMessageStepStartCondition"
40829
+ },
40465
40830
  "content": {
40466
40831
  "$ref": "#/components/schemas/JSONDocument"
40467
40832
  },
@@ -40491,6 +40856,9 @@
40491
40856
  "items": {
40492
40857
  "$ref": "#/components/schemas/AIAttachment"
40493
40858
  }
40859
+ },
40860
+ "context": {
40861
+ "$ref": "#/components/schemas/AIMessageContext"
40494
40862
  }
40495
40863
  }
40496
40864
  },
@@ -40922,66 +41290,14 @@
40922
41290
  "team"
40923
41291
  ]
40924
41292
  },
40925
- "AIMessageContext": {
40926
- "type": "object",
40927
- "description": "Context about the current user sending a message.",
40928
- "properties": {
40929
- "location": {
40930
- "type": "object",
40931
- "properties": {
40932
- "spaceId": {
40933
- "type": "string",
40934
- "description": "ID of the current space."
40935
- },
40936
- "pageId": {
40937
- "type": "string",
40938
- "description": "ID of the current page."
40939
- }
40940
- },
40941
- "required": [
40942
- "spaceId",
40943
- "pageId"
40944
- ]
40945
- },
40946
- "selection": {
40947
- "type": "object",
40948
- "description": "Range of the current selection in a document.",
40949
- "properties": {
40950
- "anchorKey": {
40951
- "oneOf": [
40952
- {
40953
- "type": "string"
40954
- },
40955
- {
40956
- "type": "null"
40957
- }
40958
- ]
40959
- },
40960
- "anchorOffset": {
40961
- "type": "integer"
40962
- },
40963
- "focusKey": {
40964
- "oneOf": [
40965
- {
40966
- "type": "string"
40967
- },
40968
- {
40969
- "type": "null"
40970
- }
40971
- ]
40972
- },
40973
- "focusOffset": {
40974
- "type": "integer"
40975
- }
40976
- },
40977
- "required": [
40978
- "anchorKey",
40979
- "anchorOffset",
40980
- "focusKey",
40981
- "focusOffset"
40982
- ]
40983
- }
40984
- }
41293
+ "AIMessageMode": {
41294
+ "type": "string",
41295
+ "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.",
41296
+ "default": "normal",
41297
+ "enum": [
41298
+ "normal",
41299
+ "fast"
41300
+ ]
40985
41301
  },
40986
41302
  "AIMessageInput": {
40987
41303
  "type": "object",
@@ -41009,6 +41325,9 @@
41009
41325
  "items": {
41010
41326
  "$ref": "#/components/schemas/AIAttachment"
41011
41327
  }
41328
+ },
41329
+ "mode": {
41330
+ "$ref": "#/components/schemas/AIMessageMode"
41012
41331
  }
41013
41332
  },
41014
41333
  "required": [
@@ -41394,6 +41713,31 @@
41394
41713
  "attachment"
41395
41714
  ]
41396
41715
  },
41716
+ "AIStreamResponseCompaction": {
41717
+ "type": "object",
41718
+ "description": "Message emitted by the server to indicate a context compaction event.\n",
41719
+ "properties": {
41720
+ "type": {
41721
+ "type": "string",
41722
+ "enum": [
41723
+ "response_compaction"
41724
+ ]
41725
+ },
41726
+ "messageId": {
41727
+ "type": "string",
41728
+ "description": "The ID of the message that this event is composing.\n"
41729
+ },
41730
+ "stepIndex": {
41731
+ "type": "integer",
41732
+ "description": "The index of the step of the message that this event is composing.\n"
41733
+ }
41734
+ },
41735
+ "required": [
41736
+ "type",
41737
+ "messageId",
41738
+ "stepIndex"
41739
+ ]
41740
+ },
41397
41741
  "AIStreamResponse": {
41398
41742
  "oneOf": [
41399
41743
  {
@@ -41422,6 +41766,9 @@
41422
41766
  },
41423
41767
  {
41424
41768
  "$ref": "#/components/schemas/AIStreamResponseAttachment"
41769
+ },
41770
+ {
41771
+ "$ref": "#/components/schemas/AIStreamResponseCompaction"
41425
41772
  }
41426
41773
  ]
41427
41774
  },
@@ -43056,6 +43403,8 @@
43056
43403
  "facebookbot",
43057
43404
  "applebot",
43058
43405
  "chatgpt",
43406
+ "openai",
43407
+ "claude",
43059
43408
  "anthropic",
43060
43409
  "gemini",
43061
43410
  "perplexity",
@@ -43069,7 +43418,9 @@
43069
43418
  "youbot",
43070
43419
  "cursor",
43071
43420
  "vscode",
43072
- "claude-code"
43421
+ "claude-code",
43422
+ "codex",
43423
+ "opencode"
43073
43424
  ]
43074
43425
  },
43075
43426
  "SiteInsightsQueryEventsValues": {
@@ -44486,6 +44837,15 @@
44486
44837
  "minLength": 1,
44487
44838
  "maxLength": 100
44488
44839
  },
44840
+ "SiteMcpServerTransport": {
44841
+ "type": "string",
44842
+ "description": "Transport protocol used to connect to the MCP server",
44843
+ "enum": [
44844
+ "sse",
44845
+ "http"
44846
+ ],
44847
+ "default": "sse"
44848
+ },
44489
44849
  "SiteMcpServerHeaders": {
44490
44850
  "type": "object",
44491
44851
  "additionalProperties": {
@@ -44514,6 +44874,9 @@
44514
44874
  "url": {
44515
44875
  "$ref": "#/components/schemas/URL"
44516
44876
  },
44877
+ "transport": {
44878
+ "$ref": "#/components/schemas/SiteMcpServerTransport"
44879
+ },
44517
44880
  "headers": {
44518
44881
  "$ref": "#/components/schemas/SiteMcpServerHeaders"
44519
44882
  },
@@ -44541,6 +44904,7 @@
44541
44904
  "id",
44542
44905
  "name",
44543
44906
  "url",
44907
+ "transport",
44544
44908
  "headers",
44545
44909
  "urls"
44546
44910
  ]
@@ -45511,17 +45875,52 @@
45511
45875
  ]
45512
45876
  },
45513
45877
  "GitSyncInstallationTarget": {
45514
- "type": "object",
45515
- "description": "Resource targeted by a Git Sync installation. Currently only spaces are supported.",
45516
- "properties": {
45517
- "spaceId": {
45518
- "type": "string",
45519
- "description": "Unique identifier of the space targeted by the Git Sync installation."
45878
+ "description": "Resource targeted by a Git Sync installation.",
45879
+ "oneOf": [
45880
+ {
45881
+ "type": "object",
45882
+ "properties": {
45883
+ "type": {
45884
+ "type": "string",
45885
+ "enum": [
45886
+ "space"
45887
+ ],
45888
+ "description": "Type of resource targeted by the Git Sync installation."
45889
+ },
45890
+ "spaceId": {
45891
+ "type": "string",
45892
+ "description": "Unique identifier of the space targeted by the Git Sync installation."
45893
+ }
45894
+ },
45895
+ "required": [
45896
+ "type",
45897
+ "spaceId"
45898
+ ]
45899
+ },
45900
+ {
45901
+ "type": "object",
45902
+ "properties": {
45903
+ "type": {
45904
+ "type": "string",
45905
+ "enum": [
45906
+ "site"
45907
+ ],
45908
+ "description": "Type of resource targeted by the Git Sync installation."
45909
+ },
45910
+ "siteId": {
45911
+ "type": "string",
45912
+ "description": "Unique identifier of the site targeted by the Git Sync installation."
45913
+ }
45914
+ },
45915
+ "required": [
45916
+ "type",
45917
+ "siteId"
45918
+ ]
45520
45919
  }
45521
- },
45522
- "required": [
45523
- "spaceId"
45524
- ]
45920
+ ],
45921
+ "discriminator": {
45922
+ "propertyName": "type"
45923
+ }
45525
45924
  },
45526
45925
  "GitSyncInstallationPriority": {
45527
45926
  "type": "string",
@@ -45554,100 +45953,102 @@
45554
45953
  }
45555
45954
  },
45556
45955
  "GitSyncInstallationSetupGitHub": {
45557
- "allOf": [
45558
- {
45559
- "$ref": "#/components/schemas/GitSyncInstallationSetupCommon"
45956
+ "type": "object",
45957
+ "description": "GitHub provider configuration for a Git Sync installation.",
45958
+ "properties": {
45959
+ "provider": {
45960
+ "type": "string",
45961
+ "enum": [
45962
+ "github"
45963
+ ]
45560
45964
  },
45561
- {
45965
+ "providerConfiguration": {
45562
45966
  "type": "object",
45563
- "description": "GitHub provider configuration for a Git Sync installation.",
45967
+ "description": "GitHub specific configuration for the Git Sync installation.",
45564
45968
  "properties": {
45565
- "provider": {
45566
- "type": "string",
45567
- "enum": [
45568
- "github"
45569
- ]
45969
+ "repositoryId": {
45970
+ "type": "number",
45971
+ "description": "GitHub repository identifier."
45570
45972
  },
45571
- "providerConfiguration": {
45572
- "type": "object",
45573
- "description": "GitHub specific configuration for the Git Sync installation.",
45574
- "properties": {
45575
- "repositoryId": {
45576
- "type": "number",
45577
- "description": "GitHub repository identifier."
45578
- },
45579
- "branch": {
45580
- "type": "string",
45581
- "description": "GitHub repository branch."
45582
- }
45583
- }
45973
+ "branch": {
45974
+ "type": "string",
45975
+ "pattern": "^refs/heads/.+$",
45976
+ "description": "GitHub repository branch ref."
45584
45977
  }
45585
- },
45586
- "required": [
45587
- "provider",
45588
- "providerConfiguration"
45589
- ]
45978
+ }
45590
45979
  }
45980
+ },
45981
+ "required": [
45982
+ "provider",
45983
+ "providerConfiguration"
45591
45984
  ]
45592
45985
  },
45593
45986
  "GitSyncInstallationSetupGitLab": {
45594
- "allOf": [
45595
- {
45596
- "$ref": "#/components/schemas/GitSyncInstallationSetupCommon"
45987
+ "type": "object",
45988
+ "description": "GitLab provider configuration for a Git Sync installation.",
45989
+ "properties": {
45990
+ "provider": {
45991
+ "type": "string",
45992
+ "enum": [
45993
+ "gitlab"
45994
+ ]
45597
45995
  },
45598
- {
45996
+ "providerConfiguration": {
45599
45997
  "type": "object",
45600
- "description": "GitLab provider configuration for a Git Sync installation.",
45998
+ "description": "GitLab specific configuration for the Git Sync installation.",
45601
45999
  "properties": {
45602
- "provider": {
46000
+ "projectId": {
46001
+ "type": "number",
46002
+ "description": "GitLab project identifier."
46003
+ },
46004
+ "accessToken": {
45603
46005
  "type": "string",
45604
- "enum": [
45605
- "gitlab"
45606
- ]
46006
+ "description": "GitLab access token with appropriate scopes for repository access."
45607
46007
  },
45608
- "providerConfiguration": {
45609
- "type": "object",
45610
- "description": "GitLab specific configuration for the Git Sync installation.",
45611
- "properties": {
45612
- "projectId": {
45613
- "type": "number",
45614
- "description": "GitLab project identifier."
45615
- },
45616
- "accessToken": {
45617
- "type": "string",
45618
- "description": "GitLab access token with appropriate scopes for repository access."
45619
- },
45620
- "customInstanceURL": {
45621
- "type": "string",
45622
- "description": "Custom GitLab instance URL, if using a self-hosted GitLab."
46008
+ "customInstanceURL": {
46009
+ "oneOf": [
46010
+ {
46011
+ "type": "string"
45623
46012
  },
45624
- "branch": {
45625
- "type": "string",
45626
- "description": "GitLab repository branch."
46013
+ {
46014
+ "type": "null"
45627
46015
  }
45628
- }
46016
+ ],
46017
+ "description": "Custom GitLab instance URL, if using a self-hosted GitLab. Use null to clear a self-hosted URL."
46018
+ },
46019
+ "branch": {
46020
+ "type": "string",
46021
+ "pattern": "^refs/heads/.+$",
46022
+ "description": "GitLab repository branch ref."
45629
46023
  }
45630
- },
45631
- "required": [
45632
- "provider",
45633
- "providerConfiguration"
45634
- ]
46024
+ }
45635
46025
  }
46026
+ },
46027
+ "required": [
46028
+ "provider",
46029
+ "providerConfiguration"
45636
46030
  ]
45637
46031
  },
45638
46032
  "GitSyncInstallationSetup": {
45639
46033
  "description": "Provider-specific setup payload for a Git Sync installation.",
45640
- "oneOf": [
46034
+ "allOf": [
45641
46035
  {
45642
- "$ref": "#/components/schemas/GitSyncInstallationSetupGitHub"
46036
+ "$ref": "#/components/schemas/GitSyncInstallationSetupCommon"
45643
46037
  },
45644
46038
  {
45645
- "$ref": "#/components/schemas/GitSyncInstallationSetupGitLab"
46039
+ "oneOf": [
46040
+ {
46041
+ "$ref": "#/components/schemas/GitSyncInstallationSetupGitHub"
46042
+ },
46043
+ {
46044
+ "$ref": "#/components/schemas/GitSyncInstallationSetupGitLab"
46045
+ }
46046
+ ],
46047
+ "discriminator": {
46048
+ "propertyName": "provider"
46049
+ }
45646
46050
  }
45647
- ],
45648
- "discriminator": {
45649
- "propertyName": "provider"
45650
- }
46051
+ ]
45651
46052
  },
45652
46053
  "GitSyncInstallation": {
45653
46054
  "allOf": [
@@ -45670,6 +46071,9 @@
45670
46071
  "target": {
45671
46072
  "$ref": "#/components/schemas/GitSyncInstallationTarget"
45672
46073
  },
46074
+ "status": {
46075
+ "$ref": "#/components/schemas/GitSyncInstallationStatus"
46076
+ },
45673
46077
  "createdAt": {
45674
46078
  "$ref": "#/components/schemas/Timestamp"
45675
46079
  },
@@ -45679,15 +46083,31 @@
45679
46083
  },
45680
46084
  "updatedAt": {
45681
46085
  "$ref": "#/components/schemas/Timestamp"
46086
+ },
46087
+ "urls": {
46088
+ "type": "object",
46089
+ "description": "URLs associated with the installation",
46090
+ "properties": {
46091
+ "location": {
46092
+ "type": "string",
46093
+ "description": "URL of the installation endpoint in the API",
46094
+ "format": "uri"
46095
+ }
46096
+ },
46097
+ "required": [
46098
+ "location"
46099
+ ]
45682
46100
  }
45683
46101
  },
45684
46102
  "required": [
45685
46103
  "object",
45686
46104
  "id",
45687
46105
  "target",
46106
+ "status",
45688
46107
  "createdAt",
45689
46108
  "createdBy",
45690
- "updatedAt"
46109
+ "updatedAt",
46110
+ "urls"
45691
46111
  ]
45692
46112
  }
45693
46113
  ]
@@ -48010,6 +48430,24 @@
48010
48430
  "customHostname"
48011
48431
  ]
48012
48432
  },
48433
+ "APIChannelGitSyncInstallation": {
48434
+ "type": "object",
48435
+ "properties": {
48436
+ "channel": {
48437
+ "type": "string",
48438
+ "enum": [
48439
+ "git-sync-installation"
48440
+ ]
48441
+ },
48442
+ "installation": {
48443
+ "type": "string"
48444
+ }
48445
+ },
48446
+ "required": [
48447
+ "channel",
48448
+ "installation"
48449
+ ]
48450
+ },
48013
48451
  "APIChannelGitSyncOperation": {
48014
48452
  "type": "object",
48015
48453
  "properties": {
@@ -48320,6 +48758,9 @@
48320
48758
  {
48321
48759
  "$ref": "#/components/schemas/APIChannelCustomHostname"
48322
48760
  },
48761
+ {
48762
+ "$ref": "#/components/schemas/APIChannelGitSyncInstallation"
48763
+ },
48323
48764
  {
48324
48765
  "$ref": "#/components/schemas/APIChannelGitSyncOperation"
48325
48766
  },
@@ -48590,16 +49031,6 @@
48590
49031
  "disabled"
48591
49032
  ]
48592
49033
  },
48593
- "SiteChannelType": {
48594
- "oneOf": [
48595
- {
48596
- "$ref": "#/components/schemas/SiteCoreChannelType"
48597
- },
48598
- {
48599
- "$ref": "#/components/schemas/SiteConfigurableChannelType"
48600
- }
48601
- ]
48602
- },
48603
49034
  "SiteQuestionAnswerSourceType": {
48604
49035
  "type": "string",
48605
49036
  "description": "Source type used to answer a site question.",
@@ -48707,15 +49138,23 @@
48707
49138
  },
48708
49139
  "suggestions": {
48709
49140
  "type": "array",
48710
- "description": "A list of response suggestions for the user to select from.",
49141
+ "description": "List of response suggestions for the user to select from.",
48711
49142
  "items": {
48712
49143
  "type": "string"
48713
49144
  }
49145
+ },
49146
+ "queuedMessages": {
49147
+ "type": "array",
49148
+ "description": "List of messages sent by the users queued to processed.",
49149
+ "items": {
49150
+ "$ref": "#/components/schemas/AIMessageInput"
49151
+ }
48714
49152
  }
48715
49153
  },
48716
49154
  "required": [
48717
49155
  "status",
48718
- "suggestions"
49156
+ "suggestions",
49157
+ "queuedMessages"
48719
49158
  ]
48720
49159
  },
48721
49160
  "AgentStreamState": {