@gitbook/api 0.164.0 → 0.166.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
@@ -1,4 +1,4 @@
1
- openapi: 3.0.3
1
+ openapi: 3.1.0
2
2
  info:
3
3
  title: GitBook API
4
4
  description: The GitBook API
@@ -155,6 +155,16 @@ tags:
155
155
  {% openapi-schemas spec="gitbook" schemas="SiteMcpServer" grouped="false" %}
156
156
  The SiteMcpServer object
157
157
  {% endopenapi-schemas %}
158
+ - name: site-channels
159
+ x-page-title: Site channels
160
+ x-page-description: Configure site channels for your docs site.
161
+ x-parent: sites
162
+ description: |
163
+ Manage the channels used as origins for questions and answers in your site ask data.
164
+
165
+ {% openapi-schemas spec="gitbook" schemas="SiteChannel" grouped="false" %}
166
+ The SiteChannel object
167
+ {% endopenapi-schemas %}
158
168
  - name: site-ads
159
169
  x-page-title: Site ads
160
170
  x-page-description: Control and customize ad placements on your docs site.
@@ -387,16 +397,6 @@ tags:
387
397
  {% openapi-schemas spec="gitbook" schemas="OpenAPISpecVersion" grouped="false" %}
388
398
  The OpenAPISpecVersion object
389
399
  {% endopenapi-schemas %}
390
- - name: conversations
391
- x-page-icon: robot
392
- x-page-title: Conversations
393
- x-page-description: Ingest knowledge for Conversations.
394
- description: |
395
- The Conversations endpoints let you ingest, manage, and monitor Conversations in GitBook to be processed by Docs Agents.
396
-
397
- {% openapi-schemas spec="gitbook" schemas="ConversationsIssuesCluster" grouped="false" %}
398
- The ConversationsIssuesCluster object
399
- {% endopenapi-schemas %}
400
400
  - name: custom-fonts
401
401
  x-page-icon: font
402
402
  x-page-title: Custom fonts
@@ -652,15 +652,9 @@ paths:
652
652
  title: Remove icon or emoji
653
653
  properties:
654
654
  emoji:
655
- type: string
656
- nullable: true
657
- enum:
658
- - null
655
+ type: "null"
659
656
  icon:
660
- type: string
661
- nullable: true
662
- enum:
663
- - null
657
+ type: "null"
664
658
  responses:
665
659
  "200":
666
660
  description: The space has been updated
@@ -743,8 +737,9 @@ paths:
743
737
  properties:
744
738
  parent:
745
739
  description: The unique id of the parent collection
746
- type: string
747
- nullable: true
740
+ type:
741
+ - string
742
+ - "null"
748
743
  position:
749
744
  description: Where to move the space. By default, it will be moved at the end.
750
745
  $ref: "#/components/schemas/ContentPosition"
@@ -1592,12 +1587,6 @@ paths:
1592
1587
  schema:
1593
1588
  type: string
1594
1589
  description: If defined, only change requests with a requested reviewer for this user will be returned.
1595
- - name: conversationsIssuesCluster
1596
- in: query
1597
- required: false
1598
- schema:
1599
- type: string
1600
- description: If defined, only change requests associated with this conversations issues cluster will be returned.
1601
1590
  - name: orderBy
1602
1591
  in: query
1603
1592
  required: false
@@ -3383,8 +3372,9 @@ paths:
3383
3372
  properties:
3384
3373
  parent:
3385
3374
  description: The unique id of the parent collection
3386
- type: string
3387
- nullable: true
3375
+ type:
3376
+ - string
3377
+ - "null"
3388
3378
  position:
3389
3379
  description: Where to move the collection. By default, it will be moved at the end.
3390
3380
  $ref: "#/components/schemas/ContentPosition"
@@ -4488,17 +4478,11 @@ paths:
4488
4478
  defaultContent:
4489
4479
  oneOf:
4490
4480
  - $ref: "#/components/schemas/OrganizationDefaultContent"
4491
- - type: string
4492
- nullable: true
4493
- enum:
4494
- - null
4481
+ - type: "null"
4495
4482
  logo:
4496
4483
  oneOf:
4497
4484
  - $ref: "#/components/schemas/URL"
4498
- - type: string
4499
- nullable: true
4500
- enum:
4501
- - null
4485
+ - type: "null"
4502
4486
  sso:
4503
4487
  type: boolean
4504
4488
  ai:
@@ -5243,12 +5227,6 @@ paths:
5243
5227
  schema:
5244
5228
  type: string
5245
5229
  description: If defined, only change requests with a requested reviewer for this user will be returned.
5246
- - name: conversationsIssuesCluster
5247
- in: query
5248
- required: false
5249
- schema:
5250
- type: string
5251
- description: If defined, only change requests associated with this conversations issues cluster will be returned.
5252
5230
  - name: orderBy
5253
5231
  in: query
5254
5232
  required: false
@@ -6066,295 +6044,6 @@ paths:
6066
6044
  "404":
6067
6045
  description: No matching OpenAPI specification version found
6068
6046
  $ref: "#/components/responses/NotFoundError"
6069
- "/orgs/{organizationId}/conversations-clusters":
6070
- get:
6071
- operationId: listConversationsIssuesClusters
6072
- summary: List conversations issues clusters
6073
- tags:
6074
- - conversations
6075
- parameters:
6076
- - $ref: "#/components/parameters/organizationId"
6077
- - $ref: "#/components/parameters/listPage"
6078
- - $ref: "#/components/parameters/listLimit"
6079
- - $ref: "#/components/parameters/listOrder"
6080
- - name: orderBy
6081
- in: query
6082
- schema:
6083
- type: string
6084
- default: updatedAt
6085
- enum:
6086
- - updatedAt
6087
- - issues
6088
- - conversations
6089
- - impact
6090
- security:
6091
- - user: []
6092
- responses:
6093
- "200":
6094
- description: OK
6095
- content:
6096
- application/json:
6097
- schema:
6098
- allOf:
6099
- - $ref: "#/components/schemas/List"
6100
- - type: object
6101
- required:
6102
- - items
6103
- properties:
6104
- items:
6105
- type: array
6106
- items:
6107
- $ref: "#/components/schemas/ConversationsIssuesCluster"
6108
- "404":
6109
- $ref: "#/components/responses/NotFoundError"
6110
- "/orgs/{organizationId}/conversations-clusters/{clusterId}":
6111
- get:
6112
- operationId: getConversationsIssuesCluster
6113
- summary: Get a conversations issues cluster by its identifier
6114
- tags:
6115
- - conversations
6116
- parameters:
6117
- - $ref: "#/components/parameters/organizationId"
6118
- - $ref: "#/components/parameters/clusterId"
6119
- security:
6120
- - user: []
6121
- responses:
6122
- "200":
6123
- description: OK
6124
- content:
6125
- application/json:
6126
- schema:
6127
- $ref: "#/components/schemas/ConversationsIssuesCluster"
6128
- patch:
6129
- operationId: updateConversationsIssuesCluster
6130
- summary: Update a conversations issues cluster
6131
- tags:
6132
- - conversations
6133
- parameters:
6134
- - $ref: "#/components/parameters/organizationId"
6135
- - $ref: "#/components/parameters/clusterId"
6136
- security:
6137
- - user: []
6138
- requestBody:
6139
- required: true
6140
- content:
6141
- application/json:
6142
- schema:
6143
- type: object
6144
- properties:
6145
- muted:
6146
- type: boolean
6147
- description: Whether the cluster is muted for change request creation
6148
- required:
6149
- - muted
6150
- responses:
6151
- "200":
6152
- description: OK
6153
- content:
6154
- application/json:
6155
- schema:
6156
- $ref: "#/components/schemas/ConversationsIssuesCluster"
6157
- "/orgs/{organizationId}/conversations":
6158
- get:
6159
- operationId: listConversations
6160
- summary: List conversations
6161
- tags:
6162
- - conversations
6163
- security:
6164
- - user: []
6165
- parameters:
6166
- - $ref: "#/components/parameters/organizationId"
6167
- - $ref: "#/components/parameters/listPage"
6168
- - $ref: "#/components/parameters/listLimit"
6169
- - name: source
6170
- in: query
6171
- description: Filter conversations by their source identifier
6172
- schema:
6173
- type: string
6174
- responses:
6175
- "200":
6176
- description: OK
6177
- content:
6178
- application/json:
6179
- schema:
6180
- allOf:
6181
- - $ref: "#/components/schemas/List"
6182
- - type: object
6183
- required:
6184
- - items
6185
- properties:
6186
- items:
6187
- type: array
6188
- items:
6189
- $ref: "#/components/schemas/Conversation"
6190
- post:
6191
- operationId: ingestConversation
6192
- summary: Ingest conversations
6193
- tags:
6194
- - conversations
6195
- security:
6196
- - integration-installation: []
6197
- parameters:
6198
- - $ref: "#/components/parameters/organizationId"
6199
- requestBody:
6200
- required: true
6201
- content:
6202
- application/json:
6203
- schema:
6204
- oneOf:
6205
- - $ref: "#/components/schemas/ConversationInput"
6206
- - type: array
6207
- items:
6208
- $ref: "#/components/schemas/ConversationInput"
6209
- responses:
6210
- "204":
6211
- description: Conversations ingested
6212
- "/orgs/{organizationId}/conversations-issues":
6213
- get:
6214
- operationId: listConversationsIssues
6215
- summary: List conversation issues
6216
- tags:
6217
- - conversations
6218
- parameters:
6219
- - $ref: "#/components/parameters/organizationId"
6220
- - $ref: "#/components/parameters/listPage"
6221
- - $ref: "#/components/parameters/listLimit"
6222
- - name: cluster
6223
- in: query
6224
- description: Filter conversation issues by cluster identifier.
6225
- schema:
6226
- type: string
6227
- - name: conversation
6228
- in: query
6229
- description: Filter conversation issues by conversation identifier.
6230
- schema:
6231
- type: string
6232
- security:
6233
- - user: []
6234
- responses:
6235
- "200":
6236
- description: OK
6237
- content:
6238
- application/json:
6239
- schema:
6240
- allOf:
6241
- - $ref: "#/components/schemas/List"
6242
- - type: object
6243
- required:
6244
- - items
6245
- properties:
6246
- items:
6247
- type: array
6248
- items:
6249
- type: object
6250
- properties:
6251
- issue:
6252
- $ref: "#/components/schemas/ConversationIssue"
6253
- conversation:
6254
- $ref: "#/components/schemas/Conversation"
6255
- required:
6256
- - issue
6257
- - conversation
6258
- "/orgs/{organizationId}/conversations-issues/{issueId}":
6259
- get:
6260
- operationId: getConversationIssueById
6261
- summary: Get a conversation issue by ID
6262
- tags:
6263
- - conversations
6264
- security:
6265
- - user: []
6266
- parameters:
6267
- - $ref: "#/components/parameters/organizationId"
6268
- - $ref: "#/components/parameters/conversationIssueId"
6269
- responses:
6270
- "200":
6271
- description: OK
6272
- content:
6273
- application/json:
6274
- schema:
6275
- type: object
6276
- required:
6277
- - issue
6278
- - conversation
6279
- properties:
6280
- issue:
6281
- $ref: "#/components/schemas/ConversationIssue"
6282
- conversation:
6283
- $ref: "#/components/schemas/Conversation"
6284
- "404":
6285
- description: Conversation issue not found
6286
- $ref: "#/components/responses/NotFoundError"
6287
- "/orgs/{organizationId}/conversations/{conversationId}":
6288
- get:
6289
- operationId: getConversationById
6290
- summary: Get a conversation by ID
6291
- tags:
6292
- - conversations
6293
- security:
6294
- - user: []
6295
- parameters:
6296
- - $ref: "#/components/parameters/organizationId"
6297
- - $ref: "#/components/parameters/conversationId"
6298
- responses:
6299
- "200":
6300
- description: OK
6301
- content:
6302
- application/json:
6303
- schema:
6304
- type: object
6305
- required:
6306
- - conversation
6307
- - parts
6308
- - metadata
6309
- properties:
6310
- conversation:
6311
- $ref: "#/components/schemas/Conversation"
6312
- parts:
6313
- type: array
6314
- items:
6315
- $ref: "#/components/schemas/ConversationPart"
6316
- metadata:
6317
- $ref: "#/components/schemas/ConversationMetadata"
6318
- "404":
6319
- description: Conversation not found
6320
- $ref: "#/components/responses/NotFoundError"
6321
- "/orgs/{organizationId}/agents-setup":
6322
- get:
6323
- operationId: getAgentSetupState
6324
- summary: Get the agents setup state
6325
- description: |
6326
- Get the state of the agent.
6327
- tags:
6328
- - agents
6329
- - critical
6330
- security:
6331
- - user-internal: []
6332
- parameters:
6333
- - $ref: "#/components/parameters/organizationId"
6334
- responses:
6335
- "200":
6336
- description: OK
6337
- content:
6338
- application/json:
6339
- schema:
6340
- $ref: "#/components/schemas/AgentSetupState"
6341
- delete:
6342
- operationId: deleteAgentSetup
6343
- summary: Delete the agents setup data
6344
- description: |
6345
- Delete all the conversations, conversation issues, and issue clusters used by Docs Agent for an organization.
6346
- tags:
6347
- - agents
6348
- - critical
6349
- security:
6350
- - user-internal: []
6351
- parameters:
6352
- - $ref: "#/components/parameters/organizationId"
6353
- responses:
6354
- "204":
6355
- description: No data was deleted
6356
- "205":
6357
- description: Deleted the data for Docs Agent
6358
6047
  "/orgs/{organizationId}/agent-instructions":
6359
6048
  get:
6360
6049
  operationId: getOrganizationAgentInstructions
@@ -6792,10 +6481,7 @@ paths:
6792
6481
  storageKey:
6793
6482
  oneOf:
6794
6483
  - $ref: "#/components/schemas/StorageFileKey"
6795
- - type: string
6796
- nullable: true
6797
- enum:
6798
- - null
6484
+ - type: "null"
6799
6485
  required:
6800
6486
  - weight
6801
6487
  - storageKey
@@ -7027,8 +6713,6 @@ paths:
7027
6713
  $ref: "#/components/schemas/SiteBasename"
7028
6714
  adaptiveContent:
7029
6715
  $ref: "#/components/schemas/SiteAdaptiveContent"
7030
- agentsContext:
7031
- $ref: "#/components/schemas/SiteAgentsContext"
7032
6716
  defaultSiteSpace:
7033
6717
  type: string
7034
6718
  description: ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section.
@@ -7041,10 +6725,7 @@ paths:
7041
6725
  Use `null` to remove the proxy.
7042
6726
  oneOf:
7043
6727
  - $ref: "#/components/schemas/SiteProxyOrigin"
7044
- - type: string
7045
- nullable: true
7046
- enum:
7047
- - null
6728
+ - type: "null"
7048
6729
  responses:
7049
6730
  "200":
7050
6731
  description: OK
@@ -7535,7 +7216,7 @@ paths:
7535
7216
  content:
7536
7217
  application/json:
7537
7218
  schema:
7538
- $ref: "#/components/schemas/SiteCustomizationSettings"
7219
+ $ref: "#/components/schemas/SiteCustomizationSettingsInput"
7539
7220
  responses:
7540
7221
  "200":
7541
7222
  description: OK
@@ -7721,10 +7402,7 @@ paths:
7721
7402
  icon:
7722
7403
  oneOf:
7723
7404
  - $ref: "#/components/schemas/Icon"
7724
- - type: string
7725
- nullable: true
7726
- enum:
7727
- - null
7405
+ - type: "null"
7728
7406
  sections:
7729
7407
  type: array
7730
7408
  items:
@@ -7771,10 +7449,7 @@ paths:
7771
7449
  icon:
7772
7450
  oneOf:
7773
7451
  - $ref: "#/components/schemas/Icon"
7774
- - type: string
7775
- nullable: true
7776
- enum:
7777
- - null
7452
+ - type: "null"
7778
7453
  responses:
7779
7454
  "200":
7780
7455
  description: OK
@@ -7876,17 +7551,11 @@ paths:
7876
7551
  title:
7877
7552
  oneOf:
7878
7553
  - $ref: "#/components/schemas/SiteSectionTitle"
7879
- - type: string
7880
- nullable: true
7881
- enum:
7882
- - null
7554
+ - type: "null"
7883
7555
  icon:
7884
7556
  oneOf:
7885
7557
  - $ref: "#/components/schemas/Icon"
7886
- - type: string
7887
- nullable: true
7888
- enum:
7889
- - null
7558
+ - type: "null"
7890
7559
  required:
7891
7560
  - spaceId
7892
7561
  responses:
@@ -7951,6 +7620,8 @@ paths:
7951
7620
  properties:
7952
7621
  title:
7953
7622
  $ref: "#/components/schemas/SiteSectionTitle"
7623
+ localizedTitle:
7624
+ $ref: "#/components/schemas/LocalizedString"
7954
7625
  path:
7955
7626
  $ref: "#/components/schemas/SiteSectionPath"
7956
7627
  defaultSiteSpace:
@@ -7960,24 +7631,15 @@ paths:
7960
7631
  description: Conditional expression used to evaluate whether the site section should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.
7961
7632
  oneOf:
7962
7633
  - $ref: "#/components/schemas/Expression"
7963
- - type: string
7964
- nullable: true
7965
- enum:
7966
- - null
7634
+ - type: "null"
7967
7635
  icon:
7968
7636
  oneOf:
7969
7637
  - $ref: "#/components/schemas/Icon"
7970
- - type: string
7971
- nullable: true
7972
- enum:
7973
- - null
7638
+ - type: "null"
7974
7639
  description:
7975
7640
  oneOf:
7976
7641
  - $ref: "#/components/schemas/SiteSectionDescription"
7977
- - type: string
7978
- nullable: true
7979
- enum:
7980
- - null
7642
+ - type: "null"
7981
7643
  responses:
7982
7644
  "200":
7983
7645
  description: OK
@@ -8254,10 +7916,10 @@ paths:
8254
7916
  application/json:
8255
7917
  schema:
8256
7918
  $ref: "#/components/schemas/ContextRecord"
8257
- "/orgs/{organizationId}/sites/{siteId}/context-connections":
7919
+ "/orgs/{organizationId}/sites/{siteId}/issues":
8258
7920
  get:
8259
- operationId: listSiteContextConnections
8260
- summary: List all context connections
7921
+ operationId: listSiteIssues
7922
+ summary: List all site context issues
8261
7923
  tags:
8262
7924
  - site-context
8263
7925
  security:
@@ -8267,14 +7929,82 @@ paths:
8267
7929
  - $ref: "#/components/parameters/siteId"
8268
7930
  - $ref: "#/components/parameters/listPage"
8269
7931
  - $ref: "#/components/parameters/listLimit"
8270
- responses:
8271
- "200":
8272
- description: OK
8273
- content:
8274
- application/json:
8275
- schema:
8276
- allOf:
8277
- - $ref: "#/components/schemas/List"
7932
+ - name: topic
7933
+ in: query
7934
+ description: Filter issues by associated site topic ID.
7935
+ schema:
7936
+ type: string
7937
+ - name: status
7938
+ in: query
7939
+ description: Filter issues by status.
7940
+ schema:
7941
+ $ref: "#/components/schemas/SiteIssueStatus"
7942
+ - name: type
7943
+ in: query
7944
+ description: Filter issues by type.
7945
+ schema:
7946
+ $ref: "#/components/schemas/SiteIssueType"
7947
+ - name: priority
7948
+ in: query
7949
+ description: Filter issues by estimated priority.
7950
+ schema:
7951
+ $ref: "#/components/schemas/SiteIssuePriority"
7952
+ responses:
7953
+ "200":
7954
+ description: OK
7955
+ content:
7956
+ application/json:
7957
+ schema:
7958
+ allOf:
7959
+ - $ref: "#/components/schemas/List"
7960
+ - type: object
7961
+ required:
7962
+ - items
7963
+ properties:
7964
+ items:
7965
+ type: array
7966
+ items:
7967
+ $ref: "#/components/schemas/SiteIssue"
7968
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}":
7969
+ get:
7970
+ operationId: getSiteIssueById
7971
+ summary: Get a site issue by ID
7972
+ tags:
7973
+ - site-context
7974
+ security:
7975
+ - user: []
7976
+ parameters:
7977
+ - $ref: "#/components/parameters/organizationId"
7978
+ - $ref: "#/components/parameters/siteId"
7979
+ - $ref: "#/components/parameters/siteIssueId"
7980
+ responses:
7981
+ "200":
7982
+ description: OK
7983
+ content:
7984
+ application/json:
7985
+ schema:
7986
+ $ref: "#/components/schemas/SiteIssue"
7987
+ "/orgs/{organizationId}/sites/{siteId}/context-connections":
7988
+ get:
7989
+ operationId: listSiteContextConnections
7990
+ summary: List all context connections
7991
+ tags:
7992
+ - site-context
7993
+ security:
7994
+ - user: []
7995
+ parameters:
7996
+ - $ref: "#/components/parameters/organizationId"
7997
+ - $ref: "#/components/parameters/siteId"
7998
+ - $ref: "#/components/parameters/listPage"
7999
+ - $ref: "#/components/parameters/listLimit"
8000
+ responses:
8001
+ "200":
8002
+ description: OK
8003
+ content:
8004
+ application/json:
8005
+ schema:
8006
+ allOf:
8007
+ - $ref: "#/components/schemas/List"
8278
8008
  - type: object
8279
8009
  required:
8280
8010
  - items
@@ -8406,6 +8136,16 @@ paths:
8406
8136
  parameters:
8407
8137
  - $ref: "#/components/parameters/organizationId"
8408
8138
  - $ref: "#/components/parameters/siteId"
8139
+ - name: from
8140
+ in: query
8141
+ description: Filter stats to answers created at or after this timestamp.
8142
+ schema:
8143
+ $ref: "#/components/schemas/Timestamp"
8144
+ - name: to
8145
+ in: query
8146
+ description: Filter stats to answers created at or before this timestamp.
8147
+ schema:
8148
+ $ref: "#/components/schemas/Timestamp"
8409
8149
  responses:
8410
8150
  "200":
8411
8151
  description: OK
@@ -8468,6 +8208,23 @@ paths:
8468
8208
  application/json:
8469
8209
  schema:
8470
8210
  $ref: "#/components/schemas/SiteTopic"
8211
+ "/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/issues":
8212
+ delete:
8213
+ operationId: deleteSiteTopicIssues
8214
+ summary: Delete all issues for a topic
8215
+ tags:
8216
+ - site-context
8217
+ security:
8218
+ - user: []
8219
+ parameters:
8220
+ - $ref: "#/components/parameters/organizationId"
8221
+ - $ref: "#/components/parameters/siteId"
8222
+ - $ref: "#/components/parameters/siteTopicId"
8223
+ responses:
8224
+ "204":
8225
+ description: Topic had no issues or did not exist
8226
+ "205":
8227
+ description: Topic issues deleted
8471
8228
  "/orgs/{organizationId}/sites/{siteId}/questions":
8472
8229
  get:
8473
8230
  operationId: listSiteQuestions
@@ -8479,11 +8236,26 @@ paths:
8479
8236
  parameters:
8480
8237
  - $ref: "#/components/parameters/organizationId"
8481
8238
  - $ref: "#/components/parameters/siteId"
8239
+ - name: from
8240
+ in: query
8241
+ description: Filter stats to answers created at or after this timestamp.
8242
+ schema:
8243
+ $ref: "#/components/schemas/Timestamp"
8244
+ - name: to
8245
+ in: query
8246
+ description: Filter stats to answers created at or before this timestamp.
8247
+ schema:
8248
+ $ref: "#/components/schemas/Timestamp"
8482
8249
  - name: type
8483
8250
  in: query
8484
8251
  description: Filter questions by question type.
8485
8252
  schema:
8486
8253
  $ref: "#/components/schemas/SiteQuestionType"
8254
+ - name: answered
8255
+ in: query
8256
+ description: Filter questions by answer resolution.
8257
+ schema:
8258
+ $ref: "#/components/schemas/SiteQuestionAnswerResolution"
8487
8259
  - $ref: "#/components/parameters/listPage"
8488
8260
  - $ref: "#/components/parameters/listLimit"
8489
8261
  responses:
@@ -8521,6 +8293,48 @@ paths:
8521
8293
  application/json:
8522
8294
  schema:
8523
8295
  $ref: "#/components/schemas/SiteQuestion"
8296
+ "/orgs/{organizationId}/sites/{siteId}/question-stats":
8297
+ get:
8298
+ operationId: getSiteQuestionStats
8299
+ summary: Get question stats for a site
8300
+ tags:
8301
+ - site-questions
8302
+ security:
8303
+ - user: []
8304
+ parameters:
8305
+ - $ref: "#/components/parameters/organizationId"
8306
+ - $ref: "#/components/parameters/siteId"
8307
+ - name: from
8308
+ in: query
8309
+ description: Filter stats to answers created at or after this timestamp.
8310
+ schema:
8311
+ $ref: "#/components/schemas/Timestamp"
8312
+ - name: to
8313
+ in: query
8314
+ description: Filter stats to answers created at or before this timestamp.
8315
+ schema:
8316
+ $ref: "#/components/schemas/Timestamp"
8317
+ - name: topic
8318
+ in: query
8319
+ description: Filter stats by associated site topic IDs.
8320
+ schema:
8321
+ type: array
8322
+ items:
8323
+ type: string
8324
+ - name: relevance
8325
+ in: query
8326
+ description: Filter stats by question relevance.
8327
+ schema:
8328
+ type: array
8329
+ items:
8330
+ $ref: "#/components/schemas/SiteQuestionAnswerRelevance"
8331
+ responses:
8332
+ "200":
8333
+ description: OK
8334
+ content:
8335
+ application/json:
8336
+ schema:
8337
+ $ref: "#/components/schemas/SiteQuestionStats"
8524
8338
  "/orgs/{organizationId}/sites/{siteId}/answers":
8525
8339
  get:
8526
8340
  operationId: listSiteQuestionAnswers
@@ -8547,11 +8361,11 @@ paths:
8547
8361
  description: Filter answers by answered resolution.
8548
8362
  schema:
8549
8363
  $ref: "#/components/schemas/SiteQuestionAnswerResolution"
8550
- - name: confidence
8364
+ - name: helpfulness
8551
8365
  in: query
8552
- description: Filter answers by answered confidence.
8366
+ description: Filter answers by answered helpfulness.
8553
8367
  schema:
8554
- $ref: "#/components/schemas/SiteQuestionAnswerConfidence"
8368
+ $ref: "#/components/schemas/SiteQuestionAnswerHelpfulness"
8555
8369
  - name: relevance
8556
8370
  in: query
8557
8371
  description: Filter answers by question relevance.
@@ -8664,10 +8478,7 @@ paths:
8664
8478
  description: Conditional expression used to evaluate whether the site space should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.
8665
8479
  oneOf:
8666
8480
  - $ref: "#/components/schemas/Expression"
8667
- - type: string
8668
- nullable: true
8669
- enum:
8670
- - null
8481
+ - type: "null"
8671
8482
  spaceId:
8672
8483
  type: string
8673
8484
  description: The content that this site space points to. If not set, the space will remain unchanged.
@@ -8742,10 +8553,7 @@ paths:
8742
8553
  description: Title to use for the published site variant. If not defined, the title will not be changed. If set to null, the title will be unset and will fallback to the content title.
8743
8554
  oneOf:
8744
8555
  - $ref: "#/components/schemas/SiteTitle"
8745
- - type: string
8746
- nullable: true
8747
- enum:
8748
- - null
8556
+ - type: "null"
8749
8557
  styling:
8750
8558
  type: object
8751
8559
  properties:
@@ -8753,90 +8561,57 @@ paths:
8753
8561
  description: The site theme. Set to null to reset the override.
8754
8562
  oneOf:
8755
8563
  - $ref: "#/components/schemas/CustomizationTheme"
8756
- - type: string
8757
- nullable: true
8758
- enum:
8759
- - null
8564
+ - type: "null"
8760
8565
  primaryColor:
8761
8566
  description: The primary color used for links and UI text. Set to null to reset the override.
8762
8567
  oneOf:
8763
8568
  - $ref: "#/components/schemas/CustomizationThemedColor"
8764
- - type: string
8765
- nullable: true
8766
- enum:
8767
- - null
8569
+ - type: "null"
8768
8570
  infoColor:
8769
8571
  description: Used for informational messages and neutral alerts. Set to null to reset the override.
8770
8572
  oneOf:
8771
8573
  - $ref: "#/components/schemas/CustomizationThemedColor"
8772
- - type: string
8773
- nullable: true
8774
- enum:
8775
- - null
8574
+ - type: "null"
8776
8575
  successColor:
8777
8576
  description: Used for showing positive actions or achievements. Set to null to reset the override.
8778
8577
  oneOf:
8779
8578
  - $ref: "#/components/schemas/CustomizationThemedColor"
8780
- - type: string
8781
- nullable: true
8782
- enum:
8783
- - null
8579
+ - type: "null"
8784
8580
  warningColor:
8785
8581
  description: Used for showing important information or non-critical warnings. Set to null to reset the override.
8786
8582
  oneOf:
8787
8583
  - $ref: "#/components/schemas/CustomizationThemedColor"
8788
- - type: string
8789
- nullable: true
8790
- enum:
8791
- - null
8584
+ - type: "null"
8792
8585
  dangerColor:
8793
8586
  description: Used for destructive actions or raising attention to critical information. Set to null to reset the override.
8794
8587
  oneOf:
8795
8588
  - $ref: "#/components/schemas/CustomizationThemedColor"
8796
- - type: string
8797
- nullable: true
8798
- enum:
8799
- - null
8589
+ - type: "null"
8800
8590
  tint:
8801
8591
  description: The tint will color the site’s UI beyond links and buttons, such as header, sidebar and background. By default, the tint colour is the same as your Primary colour, but you can set a custom one too.
8802
8592
  oneOf:
8803
8593
  - $ref: "#/components/schemas/CustomizationTint"
8804
- - type: string
8805
- nullable: true
8806
- enum:
8807
- - null
8594
+ - type: "null"
8808
8595
  corners:
8809
8596
  description: The style of the corners to use. Set to null to reset the override.
8810
8597
  oneOf:
8811
8598
  - $ref: "#/components/schemas/CustomizationCorners"
8812
- - type: string
8813
- nullable: true
8814
- enum:
8815
- - null
8599
+ - type: "null"
8816
8600
  depth:
8817
8601
  description: The depth of elements on the site. Set to null to reset the override.
8818
8602
  oneOf:
8819
8603
  - $ref: "#/components/schemas/CustomizationDepth"
8820
- - type: string
8821
- nullable: true
8822
- enum:
8823
- - null
8604
+ - type: "null"
8824
8605
  links:
8825
8606
  description: The style for links to use. Set to null to reset the override.
8826
8607
  oneOf:
8827
8608
  - $ref: "#/components/schemas/CustomizationLinksStyle"
8828
- - type: string
8829
- nullable: true
8830
- enum:
8831
- - null
8609
+ - type: "null"
8832
8610
  icons:
8833
8611
  description: The icons style to use for the content. Set to null to reset the override.
8834
8612
  oneOf:
8835
8613
  - $ref: "#/components/schemas/CustomizationIconsStyle"
8836
- - type: string
8837
- nullable: true
8838
- enum:
8839
- - null
8614
+ - type: "null"
8840
8615
  sidebar:
8841
8616
  description: Various styles for the sidebar. Each can be Set to null to reset the override.
8842
8617
  type: object
@@ -8844,33 +8619,21 @@ paths:
8844
8619
  background:
8845
8620
  oneOf:
8846
8621
  - $ref: "#/components/schemas/CustomizationSidebarBackgroundStyle"
8847
- - type: string
8848
- nullable: true
8849
- enum:
8850
- - null
8622
+ - type: "null"
8851
8623
  list:
8852
8624
  oneOf:
8853
8625
  - $ref: "#/components/schemas/CustomizationSidebarListStyle"
8854
- - type: string
8855
- nullable: true
8856
- enum:
8857
- - null
8626
+ - type: "null"
8858
8627
  search:
8859
8628
  description: Styling for the search button at the top of the site.
8860
8629
  oneOf:
8861
8630
  - $ref: "#/components/schemas/CustomizationSearchStyle"
8862
- - type: string
8863
- nullable: true
8864
- enum:
8865
- - null
8631
+ - type: "null"
8866
8632
  background:
8867
8633
  description: The style of background to use. Set to null to reset the override.
8868
8634
  oneOf:
8869
8635
  - $ref: "#/components/schemas/CustomizationBackground"
8870
- - type: string
8871
- nullable: true
8872
- enum:
8873
- - null
8636
+ - type: "null"
8874
8637
  codeTheme:
8875
8638
  description: The code theme to use. Set to null to reset the override.
8876
8639
  type: object
@@ -8878,17 +8641,11 @@ paths:
8878
8641
  default:
8879
8642
  oneOf:
8880
8643
  - $ref: "#/components/schemas/CustomizationThemedCodeTheme"
8881
- - type: string
8882
- nullable: true
8883
- enum:
8884
- - null
8644
+ - type: "null"
8885
8645
  openapi:
8886
8646
  oneOf:
8887
8647
  - $ref: "#/components/schemas/CustomizationThemedCodeTheme"
8888
- - type: string
8889
- nullable: true
8890
- enum:
8891
- - null
8648
+ - type: "null"
8892
8649
  internationalization:
8893
8650
  type: object
8894
8651
  deprecated: true
@@ -8897,20 +8654,14 @@ paths:
8897
8654
  description: The locale to use for the non-custom elements of the UI. Set to null to reset the override.
8898
8655
  oneOf:
8899
8656
  - $ref: "#/components/schemas/CustomizationLocale"
8900
- - type: string
8901
- nullable: true
8902
- enum:
8903
- - null
8657
+ - type: "null"
8904
8658
  required:
8905
8659
  - locale
8906
8660
  favicon:
8907
8661
  description: The favicon to use. Set to null to reset the override.
8908
8662
  oneOf:
8909
8663
  - $ref: "#/components/schemas/CustomizationFavicon"
8910
- - type: string
8911
- nullable: true
8912
- enum:
8913
- - null
8664
+ - type: "null"
8914
8665
  announcement:
8915
8666
  $ref: "#/components/schemas/CustomizationAnnouncement"
8916
8667
  header:
@@ -8920,46 +8671,32 @@ paths:
8920
8671
  description: The theme preset to use. Set to null to reset the override.
8921
8672
  oneOf:
8922
8673
  - $ref: "#/components/schemas/CustomizationHeaderPreset"
8923
- - type: string
8924
- nullable: true
8925
- enum:
8926
- - null
8674
+ - type: "null"
8927
8675
  logo:
8928
8676
  description: The header logo to use. Set to null to reset the override.
8929
8677
  oneOf:
8930
8678
  - $ref: "#/components/schemas/CustomizationThemedURL"
8931
- - type: string
8932
- nullable: true
8933
- enum:
8934
- - null
8679
+ - type: "null"
8935
8680
  primaryLink:
8936
8681
  description: The destination to open when visitors click the site title/logo in the header. Set to null to reset the override.
8937
8682
  oneOf:
8938
8683
  - $ref: "#/components/schemas/ContentRef"
8939
- - type: string
8940
- nullable: true
8941
- enum:
8942
- - null
8684
+ - type: "null"
8943
8685
  backgroundColor:
8944
8686
  description: The background color used in the header. Set to null to reset the override.
8945
8687
  oneOf:
8946
8688
  - $ref: "#/components/schemas/CustomizationThemedColor"
8947
- - type: string
8948
- nullable: true
8949
- enum:
8950
- - null
8689
+ - type: "null"
8951
8690
  linkColor:
8952
8691
  description: The color used by the links in the header. Set to null to reset the override.
8953
8692
  oneOf:
8954
8693
  - $ref: "#/components/schemas/CustomizationThemedColor"
8955
- - type: string
8956
- nullable: true
8957
- enum:
8958
- - null
8694
+ - type: "null"
8959
8695
  links:
8960
- type: array
8696
+ type:
8697
+ - array
8698
+ - "null"
8961
8699
  description: The links that are displayed in the header. Set to null to reset the override.
8962
- nullable: true
8963
8700
  items:
8964
8701
  $ref: "#/components/schemas/CustomizationHeaderItem"
8965
8702
  footer:
@@ -8969,20 +8706,19 @@ paths:
8969
8706
  description: The logo displayed in the footer. Set to null to reset the override.
8970
8707
  oneOf:
8971
8708
  - $ref: "#/components/schemas/CustomizationThemedURL"
8972
- - type: string
8973
- nullable: true
8974
- enum:
8975
- - null
8709
+ - type: "null"
8976
8710
  groups:
8977
- type: array
8711
+ type:
8712
+ - array
8713
+ - "null"
8978
8714
  description: The links groups that are displayed in the footer. Set to null to reset the override.
8979
- nullable: true
8980
8715
  items:
8981
8716
  $ref: "#/components/schemas/CustomizationFooterGroup"
8982
8717
  copyright:
8983
- type: string
8718
+ type:
8719
+ - string
8720
+ - "null"
8984
8721
  description: The copyright text that is displayed in the footer. Set to null to reset the override.
8985
- nullable: true
8986
8722
  maxLength: 300
8987
8723
  themes:
8988
8724
  type: object
@@ -8991,39 +8727,40 @@ paths:
8991
8727
  description: The theme mode default value. Set to null to reset the override.
8992
8728
  oneOf:
8993
8729
  - $ref: "#/components/schemas/CustomizationThemeMode"
8994
- - type: string
8995
- nullable: true
8996
- enum:
8997
- - null
8730
+ - type: "null"
8998
8731
  toggeable:
8999
8732
  description: Should the reader be able to switch between dark and light mode. Set to null to reset the override.
9000
- type: boolean
9001
- nullable: true
8733
+ type:
8734
+ - boolean
8735
+ - "null"
9002
8736
  pdf:
9003
8737
  type: object
9004
8738
  properties:
9005
8739
  enabled:
9006
- type: boolean
8740
+ type:
8741
+ - boolean
8742
+ - "null"
9007
8743
  description: If true, PDF export is enabled for the published site. Set to null to reset the override.
9008
- nullable: true
9009
8744
  required:
9010
8745
  - enabled
9011
8746
  feedback:
9012
8747
  type: object
9013
8748
  properties:
9014
8749
  enabled:
9015
- type: boolean
8750
+ type:
8751
+ - boolean
8752
+ - "null"
9016
8753
  description: If true, feedback gathering is enabled. Set to null to reset the override.
9017
- nullable: true
9018
8754
  required:
9019
8755
  - enabled
9020
8756
  git:
9021
8757
  type: object
9022
8758
  properties:
9023
8759
  showEditLink:
9024
- type: boolean
8760
+ type:
8761
+ - boolean
8762
+ - "null"
9025
8763
  description: Whether the published site should show a link to edit the content on the git provider set up in the Git Sync. Set to null to reset the override.
9026
- nullable: true
9027
8764
  required:
9028
8765
  - showEditLink
9029
8766
  externalLinks:
@@ -9033,28 +8770,27 @@ paths:
9033
8770
  description: How external links should open. Set to null to reset the override.
9034
8771
  oneOf:
9035
8772
  - $ref: "#/components/schemas/SiteExternalLinksTarget"
9036
- - type: string
9037
- nullable: true
9038
- enum:
9039
- - null
8773
+ - type: "null"
9040
8774
  required:
9041
8775
  - target
9042
8776
  pagination:
9043
8777
  type: object
9044
8778
  properties:
9045
8779
  enabled:
9046
- type: boolean
8780
+ type:
8781
+ - boolean
8782
+ - "null"
9047
8783
  description: Whether the pagination navigation should be displayed on pages. Set to null to reset the override.
9048
- nullable: true
9049
8784
  required:
9050
8785
  - enabled
9051
8786
  trademark:
9052
8787
  type: object
9053
8788
  properties:
9054
8789
  enabled:
9055
- type: boolean
8790
+ type:
8791
+ - boolean
8792
+ - "null"
9056
8793
  description: Whether the GitBook trademark ("Powered by GitBook") should be visible. Set to null to reset the override.
9057
- nullable: true
9058
8794
  required:
9059
8795
  - enabled
9060
8796
  privacyPolicy:
@@ -9064,10 +8800,7 @@ paths:
9064
8800
  description: The custom link to the privacy policy. Set to null to reset the override.
9065
8801
  oneOf:
9066
8802
  - $ref: "#/components/schemas/URL"
9067
- - type: string
9068
- nullable: true
9069
- enum:
9070
- - null
8803
+ - type: "null"
9071
8804
  socialPreview:
9072
8805
  type: object
9073
8806
  properties:
@@ -9075,10 +8808,7 @@ paths:
9075
8808
  description: The URL for the social preview image. Set to null to reset the override.
9076
8809
  oneOf:
9077
8810
  - $ref: "#/components/schemas/URL"
9078
- - type: string
9079
- nullable: true
9080
- enum:
9081
- - null
8811
+ - type: "null"
9082
8812
  responses:
9083
8813
  "200":
9084
8814
  description: OK
@@ -9454,6 +9184,14 @@ paths:
9454
9184
  $ref: "#/components/schemas/AIToolCallResult"
9455
9185
  session:
9456
9186
  $ref: "#/components/schemas/SiteInsightsSession"
9187
+ channel:
9188
+ type: object
9189
+ description: The channel from which the question was asked, if applicable.
9190
+ required:
9191
+ - type
9192
+ properties:
9193
+ type:
9194
+ $ref: "#/components/schemas/SiteCoreChannelType"
9457
9195
  responses:
9458
9196
  "200":
9459
9197
  description: OK
@@ -9587,6 +9325,10 @@ paths:
9587
9325
  type: boolean
9588
9326
  default: false
9589
9327
  description: Capture and append the wildcard-matched suffix to the destination URL.
9328
+ draft:
9329
+ type: boolean
9330
+ default: false
9331
+ description: Whether the redirect is draft and not live.
9590
9332
  destination:
9591
9333
  $ref: "#/components/schemas/SiteRedirectInputDestination"
9592
9334
  required:
@@ -9621,19 +9363,46 @@ paths:
9621
9363
  minItems: 1
9622
9364
  maxItems: 500
9623
9365
  items:
9624
- type: object
9625
- properties:
9626
- source:
9627
- $ref: "#/components/schemas/SiteRedirectSourcePath"
9628
- captureWildcard:
9629
- type: boolean
9630
- default: false
9631
- description: Capture and append the wildcard-matched suffix to the destination URL.
9632
- destination:
9633
- $ref: "#/components/schemas/SiteRedirectInputDestination"
9634
- required:
9635
- - source
9636
- - destination
9366
+ oneOf:
9367
+ - type: object
9368
+ properties:
9369
+ source:
9370
+ $ref: "#/components/schemas/SiteRedirectSourcePath"
9371
+ intent:
9372
+ type: string
9373
+ enum:
9374
+ - publish
9375
+ description: |
9376
+ Publish a draft redirect to live and remove the draft redirect.
9377
+ required:
9378
+ - source
9379
+ - intent
9380
+ - type: object
9381
+ properties:
9382
+ source:
9383
+ $ref: "#/components/schemas/SiteRedirectSourcePath"
9384
+ intent:
9385
+ type: string
9386
+ enum:
9387
+ - live
9388
+ - draft
9389
+ default: live
9390
+ description: |
9391
+ Redirect operation intent.
9392
+ - live: upsert/delete a live redirect (draft=false)
9393
+ - draft: upsert/delete a draft redirect (draft=true)
9394
+ captureWildcard:
9395
+ type: boolean
9396
+ default: false
9397
+ description: Capture and append the wildcard-matched suffix to the destination URL.
9398
+ destination:
9399
+ description: If set to null, the redirect matching the source+intent target will be deleted.
9400
+ oneOf:
9401
+ - $ref: "#/components/schemas/SiteRedirectInputDestination"
9402
+ - type: "null"
9403
+ required:
9404
+ - source
9405
+ - destination
9637
9406
  required:
9638
9407
  - redirects
9639
9408
  responses:
@@ -9657,12 +9426,16 @@ paths:
9657
9426
  description: The redirect was created.
9658
9427
  source:
9659
9428
  $ref: "#/components/schemas/SiteRedirectSourcePath"
9429
+ draft:
9430
+ type: boolean
9431
+ description: Whether the redirect is draft and not live.
9660
9432
  id:
9661
9433
  type: string
9662
9434
  description: The ID of the created redirect.
9663
9435
  required:
9664
9436
  - status
9665
9437
  - source
9438
+ - draft
9666
9439
  - id
9667
9440
  - type: object
9668
9441
  properties:
@@ -9673,12 +9446,52 @@ paths:
9673
9446
  description: The redirect was updated.
9674
9447
  source:
9675
9448
  $ref: "#/components/schemas/SiteRedirectSourcePath"
9449
+ draft:
9450
+ type: boolean
9451
+ description: Whether the redirect is draft and not live.
9676
9452
  id:
9677
9453
  type: string
9678
9454
  description: The ID of the updated redirect.
9679
9455
  required:
9680
9456
  - status
9681
9457
  - source
9458
+ - draft
9459
+ - id
9460
+ - type: object
9461
+ properties:
9462
+ status:
9463
+ type: string
9464
+ enum:
9465
+ - deleted
9466
+ description: The redirect was deleted.
9467
+ source:
9468
+ $ref: "#/components/schemas/SiteRedirectSourcePath"
9469
+ draft:
9470
+ type: boolean
9471
+ description: Whether the deleted redirect was draft.
9472
+ required:
9473
+ - status
9474
+ - source
9475
+ - draft
9476
+ - type: object
9477
+ properties:
9478
+ status:
9479
+ type: string
9480
+ enum:
9481
+ - published
9482
+ description: The draft redirect was published to live and removed from draft.
9483
+ source:
9484
+ $ref: "#/components/schemas/SiteRedirectSourcePath"
9485
+ draft:
9486
+ type: boolean
9487
+ description: Always false for published redirects.
9488
+ id:
9489
+ type: string
9490
+ description: The ID of the resulting live redirect.
9491
+ required:
9492
+ - status
9493
+ - source
9494
+ - draft
9682
9495
  - id
9683
9496
  - type: object
9684
9497
  properties:
@@ -9689,12 +9502,16 @@ paths:
9689
9502
  description: There was an error processing the redirect.
9690
9503
  source:
9691
9504
  $ref: "#/components/schemas/SiteRedirectSourcePath"
9505
+ draft:
9506
+ type: boolean
9507
+ description: Whether the redirect is draft and not live.
9692
9508
  error:
9693
9509
  type: string
9694
9510
  description: The error message.
9695
9511
  required:
9696
9512
  - status
9697
9513
  - source
9514
+ - draft
9698
9515
  - error
9699
9516
  required:
9700
9517
  - results
@@ -9715,6 +9532,12 @@ paths:
9715
9532
  description: Search for a redirect by path
9716
9533
  schema:
9717
9534
  type: string
9535
+ - name: draft
9536
+ in: query
9537
+ description: Filter redirects by draft mode.
9538
+ schema:
9539
+ type: boolean
9540
+ default: false
9718
9541
  responses:
9719
9542
  "200":
9720
9543
  description: The list of redirects for the site.
@@ -9755,6 +9578,9 @@ paths:
9755
9578
  captureWildcard:
9756
9579
  type: boolean
9757
9580
  description: Capture and append the wildcard-matched suffix to the destination URL.
9581
+ draft:
9582
+ type: boolean
9583
+ description: When true, it can be used to promote a draft redirect to live.
9758
9584
  destination:
9759
9585
  $ref: "#/components/schemas/SiteRedirectDestination"
9760
9586
  responses:
@@ -9947,6 +9773,98 @@ paths:
9947
9773
  description: MCP server did not exist
9948
9774
  "205":
9949
9775
  description: MCP server deleted
9776
+ "/orgs/{organizationId}/sites/{siteId}/channels":
9777
+ get:
9778
+ operationId: listSiteChannels
9779
+ summary: List all site channels for a site
9780
+ tags:
9781
+ - site-channels
9782
+ security:
9783
+ - user: []
9784
+ parameters:
9785
+ - $ref: "#/components/parameters/organizationId"
9786
+ - $ref: "#/components/parameters/siteId"
9787
+ - $ref: "#/components/parameters/listPage"
9788
+ - $ref: "#/components/parameters/listLimit"
9789
+ responses:
9790
+ "200":
9791
+ description: OK
9792
+ content:
9793
+ application/json:
9794
+ schema:
9795
+ allOf:
9796
+ - $ref: "#/components/schemas/List"
9797
+ - type: object
9798
+ required:
9799
+ - items
9800
+ properties:
9801
+ items:
9802
+ type: array
9803
+ items:
9804
+ $ref: "#/components/schemas/SiteChannel"
9805
+ post:
9806
+ operationId: createSiteChannel
9807
+ summary: Create a site channel
9808
+ tags:
9809
+ - site-channels
9810
+ security:
9811
+ - user: []
9812
+ parameters:
9813
+ - $ref: "#/components/parameters/organizationId"
9814
+ - $ref: "#/components/parameters/siteId"
9815
+ requestBody:
9816
+ required: true
9817
+ content:
9818
+ application/json:
9819
+ schema:
9820
+ allOf:
9821
+ - $ref: "#/components/schemas/SiteChannelSetup"
9822
+ - type: object
9823
+ properties:
9824
+ usageSettings:
9825
+ $ref: "#/components/schemas/SiteChannelUsageSettings"
9826
+ responses:
9827
+ "201":
9828
+ description: Site channel created
9829
+ content:
9830
+ application/json:
9831
+ schema:
9832
+ $ref: "#/components/schemas/SiteChannel"
9833
+ "/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}":
9834
+ get:
9835
+ operationId: getSiteChannelById
9836
+ summary: Get a site channel
9837
+ tags:
9838
+ - site-channels
9839
+ security:
9840
+ - user: []
9841
+ parameters:
9842
+ - $ref: "#/components/parameters/organizationId"
9843
+ - $ref: "#/components/parameters/siteId"
9844
+ - $ref: "#/components/parameters/siteChannelId"
9845
+ responses:
9846
+ "200":
9847
+ description: OK
9848
+ content:
9849
+ application/json:
9850
+ schema:
9851
+ $ref: "#/components/schemas/SiteChannel"
9852
+ delete:
9853
+ operationId: deleteSiteChannelById
9854
+ summary: Delete a site channel
9855
+ tags:
9856
+ - site-channels
9857
+ security:
9858
+ - user: []
9859
+ parameters:
9860
+ - $ref: "#/components/parameters/organizationId"
9861
+ - $ref: "#/components/parameters/siteId"
9862
+ - $ref: "#/components/parameters/siteChannelId"
9863
+ responses:
9864
+ "204":
9865
+ description: Site channel did not exist
9866
+ "205":
9867
+ description: Site channel deleted
9950
9868
  "/subdomains/{subdomain}":
9951
9869
  get:
9952
9870
  operationId: getSubdomain
@@ -10680,27 +10598,6 @@ components:
10680
10598
  description: The unique ID of the OpenAPI specification version
10681
10599
  schema:
10682
10600
  type: string
10683
- clusterId:
10684
- name: clusterId
10685
- in: path
10686
- required: true
10687
- description: The unique id of the cluster
10688
- schema:
10689
- type: string
10690
- conversationIssueId:
10691
- name: issueId
10692
- in: path
10693
- required: true
10694
- description: Identifier of the conversation issue
10695
- schema:
10696
- type: string
10697
- conversationId:
10698
- name: conversationId
10699
- in: path
10700
- required: true
10701
- description: Identifier of the conversation
10702
- schema:
10703
- type: string
10704
10601
  translationId:
10705
10602
  name: translationId
10706
10603
  in: path
@@ -10765,6 +10662,13 @@ components:
10765
10662
  description: The unique id of the context record
10766
10663
  schema:
10767
10664
  type: string
10665
+ siteIssueId:
10666
+ name: siteIssueId
10667
+ in: path
10668
+ required: true
10669
+ description: The unique id of the site issue
10670
+ schema:
10671
+ type: string
10768
10672
  siteContextConnectionId:
10769
10673
  name: siteContextConnectionId
10770
10674
  in: path
@@ -10814,6 +10718,13 @@ components:
10814
10718
  description: The unique id of the MCP server
10815
10719
  schema:
10816
10720
  type: string
10721
+ siteChannelId:
10722
+ name: siteChannelId
10723
+ in: path
10724
+ required: true
10725
+ description: The unique id of the site channel
10726
+ schema:
10727
+ type: string
10817
10728
  subdomain:
10818
10729
  name: subdomain
10819
10730
  in: path
@@ -11232,10 +11143,7 @@ components:
11232
11143
  description: The role of a member in an organization, null for guests
11233
11144
  oneOf:
11234
11145
  - $ref: "#/components/schemas/MemberRole"
11235
- - type: string
11236
- nullable: true
11237
- enum:
11238
- - null
11146
+ - type: "null"
11239
11147
  DefaultLevel:
11240
11148
  description: Default level for a piece of content
11241
11149
  oneOf:
@@ -11527,6 +11435,10 @@ components:
11527
11435
  - type
11528
11436
  - integration
11529
11437
  - block
11438
+ SearchResultScore:
11439
+ type: number
11440
+ minimum: 0
11441
+ description: Relevance score for a search result. Higher is better and the score is unbounded.
11530
11442
  SearchSectionResult:
11531
11443
  type: object
11532
11444
  description: Search result representing a section in a page.
@@ -11537,6 +11449,8 @@ components:
11537
11449
  type: string
11538
11450
  path:
11539
11451
  type: string
11452
+ score:
11453
+ $ref: "#/components/schemas/SearchResultScore"
11540
11454
  body:
11541
11455
  type: string
11542
11456
  urls:
@@ -11553,6 +11467,7 @@ components:
11553
11467
  - id
11554
11468
  - title
11555
11469
  - path
11470
+ - score
11556
11471
  - body
11557
11472
  - urls
11558
11473
  SearchPageResult:
@@ -11565,6 +11480,8 @@ components:
11565
11480
  type: string
11566
11481
  path:
11567
11482
  type: string
11483
+ score:
11484
+ $ref: "#/components/schemas/SearchResultScore"
11568
11485
  sections:
11569
11486
  type: array
11570
11487
  items:
@@ -11593,6 +11510,7 @@ components:
11593
11510
  - id
11594
11511
  - title
11595
11512
  - path
11513
+ - score
11596
11514
  - ancestors
11597
11515
  - urls
11598
11516
  UpdateSpaceGitInfo:
@@ -12151,6 +12069,22 @@ components:
12151
12069
  required:
12152
12070
  - kind
12153
12071
  - reusableContent
12072
+ ContentRefTag:
12073
+ type: object
12074
+ properties:
12075
+ kind:
12076
+ type: string
12077
+ enum:
12078
+ - tag
12079
+ tag:
12080
+ type: string
12081
+ description: The slug of the tag, also used as the ID, and references the tags defined on a revision.
12082
+ space:
12083
+ type: string
12084
+ description: The space in which the tag is defined. If undefined, the tag is assumed to be in the same space as the content reference.
12085
+ required:
12086
+ - kind
12087
+ - tag
12154
12088
  ContentRefOpenAPI:
12155
12089
  type: object
12156
12090
  properties:
@@ -12175,6 +12109,7 @@ components:
12175
12109
  - $ref: "#/components/schemas/ContentRefCollection"
12176
12110
  - $ref: "#/components/schemas/ContentRefSpace"
12177
12111
  - $ref: "#/components/schemas/ContentRefReusableContent"
12112
+ - $ref: "#/components/schemas/ContentRefTag"
12178
12113
  - $ref: "#/components/schemas/ContentRefOpenAPI"
12179
12114
  DocumentInlineLink:
12180
12115
  type: object
@@ -12776,8 +12711,9 @@ components:
12776
12711
  additionalProperties:
12777
12712
  oneOf:
12778
12713
  - type: number
12779
- - type: string
12780
- nullable: true
12714
+ - type:
12715
+ - string
12716
+ - "null"
12781
12717
  - type: boolean
12782
12718
  - type: array
12783
12719
  items:
@@ -13196,6 +13132,7 @@ components:
13196
13132
  - $ref: "#/components/schemas/DocumentBlockReusableContent"
13197
13133
  - $ref: "#/components/schemas/DocumentBlockStepper"
13198
13134
  - $ref: "#/components/schemas/DocumentBlockIf"
13135
+ - $ref: "#/components/schemas/DocumentBlockColumns"
13199
13136
  DocumentBlockIf:
13200
13137
  type: object
13201
13138
  properties:
@@ -13409,155 +13346,28 @@ components:
13409
13346
  type:
13410
13347
  type: string
13411
13348
  enum:
13412
- - embed
13413
- key:
13414
- type: string
13415
- data:
13416
- type: object
13417
- properties:
13418
- url:
13419
- type: string
13420
- fullWidth:
13421
- type: boolean
13422
- required:
13423
- - url
13424
- isVoid:
13425
- type: boolean
13426
- enum:
13427
- - true
13428
- required:
13429
- - object
13430
- - type
13431
- - data
13432
- - isVoid
13433
- DocumentBlockReusableContent:
13434
- type: object
13435
- properties:
13436
- object:
13437
- type: string
13438
- enum:
13439
- - block
13440
- type:
13441
- type: string
13442
- enum:
13443
- - reusable-content
13444
- key:
13445
- type: string
13446
- data:
13447
- type: object
13448
- properties:
13449
- ref:
13450
- $ref: "#/components/schemas/ContentRefReusableContent"
13451
- required:
13452
- - ref
13453
- isVoid:
13454
- type: boolean
13455
- enum:
13456
- - true
13457
- meta:
13458
- type: object
13459
- properties:
13460
- token:
13461
- description: A content token that can be used to fetch the reusable content from the API.
13462
- type: string
13463
- required:
13464
- - object
13465
- - type
13466
- - data
13467
- - isVoid
13468
- DocumentBlockExpandable:
13469
- type: object
13470
- properties:
13471
- object:
13472
- type: string
13473
- enum:
13474
- - block
13475
- type:
13476
- type: string
13477
- enum:
13478
- - expandable
13479
- key:
13480
- type: string
13481
- isVoid:
13482
- type: boolean
13483
- enum:
13484
- - true
13349
+ - embed
13350
+ key:
13351
+ type: string
13485
13352
  data:
13486
13353
  type: object
13487
13354
  properties:
13488
- defaultExpanded:
13489
- type: boolean
13490
- additionalProperties: false
13491
- fragments:
13492
- type: array
13493
- items:
13494
- oneOf:
13495
- - allOf:
13496
- - $ref: "#/components/schemas/DocumentFragment"
13497
- - type: object
13498
- properties:
13499
- fragment:
13500
- type: string
13501
- enum:
13502
- - expandable-title
13503
- type:
13504
- type: string
13505
- enum:
13506
- - expandable-title
13507
- nodes:
13508
- type: array
13509
- items:
13510
- $ref: "#/components/schemas/DocumentBlockParagraph"
13511
- minItems: 1
13512
- maxItems: 1
13513
- required:
13514
- - nodes
13515
- - fragment
13516
- - type
13517
- - allOf:
13518
- - $ref: "#/components/schemas/DocumentFragment"
13519
- - type: object
13520
- properties:
13521
- fragment:
13522
- type: string
13523
- enum:
13524
- - expandable-body
13525
- type:
13526
- type: string
13527
- enum:
13528
- - expandable-body
13529
- nodes:
13530
- type: array
13531
- items:
13532
- oneOf:
13533
- - $ref: "#/components/schemas/DocumentBlocksEssentials"
13534
- - $ref: "#/components/schemas/DocumentBlockFile"
13535
- - $ref: "#/components/schemas/DocumentBlockImages"
13536
- - $ref: "#/components/schemas/DocumentBlockCode"
13537
- - $ref: "#/components/schemas/DocumentBlockTable"
13538
- - $ref: "#/components/schemas/DocumentBlockHint"
13539
- - $ref: "#/components/schemas/DocumentBlockQuote"
13540
- - $ref: "#/components/schemas/DocumentBlockReusableContent"
13541
- minItems: 1
13542
- required:
13543
- - nodes
13544
- - fragment
13545
- - type
13546
- meta:
13547
- type: object
13548
- properties:
13549
- id:
13550
- description: Unique ID to be used in an URL for the block.
13355
+ url:
13551
13356
  type: string
13357
+ fullWidth:
13358
+ type: boolean
13552
13359
  required:
13553
- - id
13360
+ - url
13361
+ isVoid:
13362
+ type: boolean
13363
+ enum:
13364
+ - true
13554
13365
  required:
13555
13366
  - object
13556
13367
  - type
13557
- - isVoid
13558
- - fragments
13559
13368
  - data
13560
- DocumentBlockContentRef:
13369
+ - isVoid
13370
+ DocumentBlockReusableContent:
13561
13371
  type: object
13562
13372
  properties:
13563
13373
  object:
@@ -13567,20 +13377,26 @@ components:
13567
13377
  type:
13568
13378
  type: string
13569
13379
  enum:
13570
- - content-ref
13380
+ - reusable-content
13571
13381
  key:
13572
13382
  type: string
13573
13383
  data:
13574
13384
  type: object
13575
13385
  properties:
13576
13386
  ref:
13577
- $ref: "#/components/schemas/ContentRef"
13387
+ $ref: "#/components/schemas/ContentRefReusableContent"
13578
13388
  required:
13579
13389
  - ref
13580
13390
  isVoid:
13581
13391
  type: boolean
13582
13392
  enum:
13583
13393
  - true
13394
+ meta:
13395
+ type: object
13396
+ properties:
13397
+ token:
13398
+ description: A content token that can be used to fetch the reusable content from the API.
13399
+ type: string
13584
13400
  required:
13585
13401
  - object
13586
13402
  - type
@@ -13725,6 +13541,128 @@ components:
13725
13541
  - type
13726
13542
  - data
13727
13543
  - isVoid
13544
+ DocumentBlockExpandable:
13545
+ type: object
13546
+ properties:
13547
+ object:
13548
+ type: string
13549
+ enum:
13550
+ - block
13551
+ type:
13552
+ type: string
13553
+ enum:
13554
+ - expandable
13555
+ key:
13556
+ type: string
13557
+ isVoid:
13558
+ type: boolean
13559
+ enum:
13560
+ - true
13561
+ data:
13562
+ type: object
13563
+ properties:
13564
+ defaultExpanded:
13565
+ type: boolean
13566
+ additionalProperties: false
13567
+ fragments:
13568
+ type: array
13569
+ items:
13570
+ oneOf:
13571
+ - allOf:
13572
+ - $ref: "#/components/schemas/DocumentFragment"
13573
+ - type: object
13574
+ properties:
13575
+ fragment:
13576
+ type: string
13577
+ enum:
13578
+ - expandable-title
13579
+ type:
13580
+ type: string
13581
+ enum:
13582
+ - expandable-title
13583
+ nodes:
13584
+ type: array
13585
+ items:
13586
+ $ref: "#/components/schemas/DocumentBlockParagraph"
13587
+ minItems: 1
13588
+ maxItems: 1
13589
+ required:
13590
+ - nodes
13591
+ - fragment
13592
+ - type
13593
+ - allOf:
13594
+ - $ref: "#/components/schemas/DocumentFragment"
13595
+ - type: object
13596
+ properties:
13597
+ fragment:
13598
+ type: string
13599
+ enum:
13600
+ - expandable-body
13601
+ type:
13602
+ type: string
13603
+ enum:
13604
+ - expandable-body
13605
+ nodes:
13606
+ type: array
13607
+ items:
13608
+ oneOf:
13609
+ - $ref: "#/components/schemas/DocumentBlocksEssentials"
13610
+ - $ref: "#/components/schemas/DocumentBlockFile"
13611
+ - $ref: "#/components/schemas/DocumentBlockImages"
13612
+ - $ref: "#/components/schemas/DocumentBlockCode"
13613
+ - $ref: "#/components/schemas/DocumentBlockTable"
13614
+ - $ref: "#/components/schemas/DocumentBlockHint"
13615
+ - $ref: "#/components/schemas/DocumentBlockQuote"
13616
+ - $ref: "#/components/schemas/DocumentBlockReusableContent"
13617
+ - $ref: "#/components/schemas/DocumentBlockIntegration"
13618
+ minItems: 1
13619
+ required:
13620
+ - nodes
13621
+ - fragment
13622
+ - type
13623
+ meta:
13624
+ type: object
13625
+ properties:
13626
+ id:
13627
+ description: Unique ID to be used in an URL for the block.
13628
+ type: string
13629
+ required:
13630
+ - id
13631
+ required:
13632
+ - object
13633
+ - type
13634
+ - isVoid
13635
+ - fragments
13636
+ - data
13637
+ DocumentBlockContentRef:
13638
+ type: object
13639
+ properties:
13640
+ object:
13641
+ type: string
13642
+ enum:
13643
+ - block
13644
+ type:
13645
+ type: string
13646
+ enum:
13647
+ - content-ref
13648
+ key:
13649
+ type: string
13650
+ data:
13651
+ type: object
13652
+ properties:
13653
+ ref:
13654
+ $ref: "#/components/schemas/ContentRef"
13655
+ required:
13656
+ - ref
13657
+ isVoid:
13658
+ type: boolean
13659
+ enum:
13660
+ - true
13661
+ required:
13662
+ - object
13663
+ - type
13664
+ - data
13665
+ - isVoid
13728
13666
  DocumentBlockTabsItem:
13729
13667
  type: object
13730
13668
  properties:
@@ -13917,6 +13855,9 @@ components:
13917
13855
  description: List of schemas name from the OpenAPI spec.
13918
13856
  items:
13919
13857
  type: string
13858
+ title:
13859
+ type: string
13860
+ description: Custom title for the schemas block. When not provided, defaults to "The <SchemaName> object".
13920
13861
  required:
13921
13862
  - schemas
13922
13863
  DocumentBlockOpenAPISchemas:
@@ -14164,22 +14105,6 @@ components:
14164
14105
  - data
14165
14106
  - nodes
14166
14107
  - isVoid
14167
- ContentRefTag:
14168
- type: object
14169
- properties:
14170
- kind:
14171
- type: string
14172
- enum:
14173
- - tag
14174
- tag:
14175
- type: string
14176
- description: The slug of the tag, also used as the ID, and references the tags defined on a revision.
14177
- space:
14178
- type: string
14179
- description: The space in which the tag is defined. If undefined, the tag is assumed to be in the same space as the content reference.
14180
- required:
14181
- - kind
14182
- - tag
14183
14108
  DocumentBlockUpdate:
14184
14109
  type: object
14185
14110
  properties:
@@ -14593,8 +14518,9 @@ components:
14593
14518
  ref:
14594
14519
  $ref: "#/components/schemas/ContentRefOpenAPI"
14595
14520
  value:
14596
- type: object
14597
- nullable: true
14521
+ type:
14522
+ - object
14523
+ - "null"
14598
14524
  description: See `OpenAPI` schema component.
14599
14525
  properties:
14600
14526
  object:
@@ -14694,11 +14620,8 @@ components:
14694
14620
  value:
14695
14621
  oneOf:
14696
14622
  - $ref: "#/components/schemas/TranslationResult"
14697
- - type: string
14623
+ - type: "null"
14698
14624
  description: Translation has not been run yet
14699
- nullable: true
14700
- enum:
14701
- - null
14702
14625
  required:
14703
14626
  - ref
14704
14627
  - value
@@ -14751,8 +14674,9 @@ components:
14751
14674
  ref:
14752
14675
  $ref: "#/components/schemas/ContentRefSpace"
14753
14676
  value:
14754
- type: object
14755
- nullable: true
14677
+ type:
14678
+ - object
14679
+ - "null"
14756
14680
  description: See `Space` schema component.
14757
14681
  properties:
14758
14682
  object:
@@ -15303,9 +15227,6 @@ components:
15303
15227
  outdated:
15304
15228
  type: boolean
15305
15229
  description: If true, the change request is not up-to-date with latest changes in the main content.
15306
- conversationsIssuesCluster:
15307
- type: string
15308
- description: ID of the conversations issues cluster associated with this change request.
15309
15230
  urls:
15310
15231
  type: object
15311
15232
  description: URLs associated with the object
@@ -15548,8 +15469,9 @@ components:
15548
15469
  interval:
15549
15470
  $ref: "#/components/schemas/BillingInterval"
15550
15471
  endDate:
15551
- $ref: "#/components/schemas/Timestamp"
15552
- nullable: true
15472
+ oneOf:
15473
+ - $ref: "#/components/schemas/Timestamp"
15474
+ - type: "null"
15553
15475
  hasPaymentFailed:
15554
15476
  description: If true, we were unable to collect the last payment
15555
15477
  type: boolean
@@ -15575,9 +15497,27 @@ components:
15575
15497
  maxUsers:
15576
15498
  description: The maximum number of members allowed for this organization
15577
15499
  type: number
15500
+ minPremiumSites:
15501
+ description: The minimum number of premium sites allowed for this organization.
15502
+ type: number
15503
+ maxPremiumSites:
15504
+ description: The maximum number of premium sites allowed for this organization.
15505
+ type: number
15506
+ minUltimateSites:
15507
+ description: The minimum number of ultimate sites allowed for this organization.
15508
+ type: number
15509
+ maxUltimateSites:
15510
+ description: The maximum number of ultimate sites allowed for this organization.
15511
+ type: number
15578
15512
  paidMembers:
15579
15513
  description: The number of paid members on the current subscription.
15580
15514
  type: number
15515
+ paidPremiumSites:
15516
+ description: The number of paid premium sites on the current subscription.
15517
+ type: number
15518
+ paidUltimateSites:
15519
+ description: The number of paid ultimate sites on the current subscription.
15520
+ type: number
15581
15521
  required:
15582
15522
  - interval
15583
15523
  - endDate
@@ -15737,9 +15677,6 @@ components:
15737
15677
  createOpenAPISpec:
15738
15678
  type: boolean
15739
15679
  description: Can the user create new OpenAPI specifications.
15740
- ingestConversations:
15741
- type: boolean
15742
- description: Can the user ingest conversations in the organization.
15743
15680
  viewBilling:
15744
15681
  type: boolean
15745
15682
  description: Can the user view the billing details of the organization.
@@ -15765,7 +15702,6 @@ components:
15765
15702
  - ownTeam
15766
15703
  - createContent
15767
15704
  - createOpenAPISpec
15768
- - ingestConversations
15769
15705
  - viewBilling
15770
15706
  - listMembers
15771
15707
  - listTeams
@@ -17201,9 +17137,9 @@ components:
17201
17137
  - site:visitor:auth
17202
17138
  - site:adaptive:read
17203
17139
  - site:adaptive:write
17140
+ - conversations:ingest
17204
17141
  - openapi:read
17205
17142
  - openapi:write
17206
- - conversations:ingest
17207
17143
  IntegrationScopes:
17208
17144
  type: array
17209
17145
  description: Permissions that should be granted to the integration
@@ -18674,15 +18610,6 @@ components:
18674
18610
  zoneId:
18675
18611
  type: string
18676
18612
  description: The ad network zone ID
18677
- SiteAgentsContext:
18678
- type: string
18679
- description: |
18680
- Defines if the site will be included in the agent's context.
18681
- - `excluded` means that the agent will not be able to access the site.
18682
- - `included` means that the agent will be able to access the site.
18683
- enum:
18684
- - excluded
18685
- - included
18686
18613
  SiteFeatureKey:
18687
18614
  type: string
18688
18615
  description: The site feature identifier
@@ -18769,10 +18696,7 @@ components:
18769
18696
  icon:
18770
18697
  oneOf:
18771
18698
  - $ref: "#/components/schemas/CustomizationFavicon"
18772
- - type: string
18773
- nullable: true
18774
- enum:
18775
- - null
18699
+ - type: "null"
18776
18700
  hostname:
18777
18701
  $ref: "#/components/schemas/SiteHostname"
18778
18702
  basename:
@@ -18793,8 +18717,6 @@ components:
18793
18717
  $ref: "#/components/schemas/SiteAdaptiveContent"
18794
18718
  ads:
18795
18719
  $ref: "#/components/schemas/SiteAds"
18796
- agentsContext:
18797
- $ref: "#/components/schemas/SiteAgentsContext"
18798
18720
  features:
18799
18721
  description: |
18800
18722
  A list of all premium features enabled on this site. For each feature we list the plan they belong to and whether the feature is frozen. A frozen feature is still enabled but cannot be changed or modified.
@@ -18831,7 +18753,6 @@ components:
18831
18753
  - createdAt
18832
18754
  - siteSpaces
18833
18755
  - features
18834
- - agentsContext
18835
18756
  - urls
18836
18757
  IntegrationSiteInstallation:
18837
18758
  allOf:
@@ -19739,6 +19660,15 @@ components:
19739
19660
  description: Title of the site section
19740
19661
  minLength: 2
19741
19662
  maxLength: 128
19663
+ LocalizedString:
19664
+ type: object
19665
+ description: Localized string value, keyed by locale. Contains overrides for non-default languages only.
19666
+ x-typescript: Partial<Record<TranslationLanguage, string>>
19667
+ additionalProperties:
19668
+ type: string
19669
+ maxLength: 128
19670
+ propertyNames:
19671
+ $ref: "#/components/schemas/TranslationLanguage"
19742
19672
  SiteSectionDescription:
19743
19673
  type: string
19744
19674
  description: Description of the site section
@@ -19814,6 +19744,8 @@ components:
19814
19744
  description: Unique identifier of the site section
19815
19745
  title:
19816
19746
  $ref: "#/components/schemas/SiteSectionTitle"
19747
+ localizedTitle:
19748
+ $ref: "#/components/schemas/LocalizedString"
19817
19749
  description:
19818
19750
  $ref: "#/components/schemas/SiteSectionDescription"
19819
19751
  default:
@@ -20040,6 +19972,11 @@ components:
20040
19972
  items:
20041
19973
  type: string
20042
19974
  description: A user to remove. It can either be a user ID or an email.
19975
+ Email:
19976
+ type: string
19977
+ format: email
19978
+ description: User email
19979
+ example: contact@gitbook.com
20043
19980
  InviteUsersToOrganization:
20044
19981
  type: object
20045
19982
  properties:
@@ -20047,13 +19984,13 @@ components:
20047
19984
  type: array
20048
19985
  items:
20049
19986
  oneOf:
20050
- - type: string
19987
+ - $ref: "#/components/schemas/Email"
20051
19988
  description: The email address of the user to invite as a member
20052
19989
  - type: object
20053
19990
  properties:
20054
19991
  email:
20055
- type: string
20056
19992
  description: The email address of the user to invite as a member
19993
+ $ref: "#/components/schemas/Email"
20057
19994
  role:
20058
19995
  $ref: "#/components/schemas/MemberRoleOrGuest"
20059
19996
  required:
@@ -20504,6 +20441,8 @@ components:
20504
20441
  type: string
20505
20442
  title:
20506
20443
  type: string
20444
+ score:
20445
+ $ref: "#/components/schemas/SearchResultScore"
20507
20446
  pages:
20508
20447
  type: array
20509
20448
  items:
@@ -20512,6 +20451,7 @@ components:
20512
20451
  - type
20513
20452
  - id
20514
20453
  - title
20454
+ - score
20515
20455
  - pages
20516
20456
  CreateSpace:
20517
20457
  allOf:
@@ -21019,289 +20959,6 @@ components:
21019
20959
  required:
21020
20960
  - filesystem
21021
20961
  - url
21022
- ConversationIssueImpact:
21023
- type: string
21024
- description: |
21025
- Estimated end-user impact of a conversation issue.
21026
-
21027
- - low: Minor friction or small polish issues; users can proceed with little to no guidance.
21028
- - medium: Noticeable friction or partial blocking; users can proceed with workarounds or extra guidance.
21029
- - high: Fully or near-fully blocking, severe regression, repeated failures, or risk of data loss; no viable workaround.
21030
- enum:
21031
- - low
21032
- - medium
21033
- - high
21034
- ConversationsIssuesCluster:
21035
- type: object
21036
- properties:
21037
- object:
21038
- type: string
21039
- enum:
21040
- - issues-cluster
21041
- id:
21042
- type: string
21043
- description: The ID of the conversations issues cluster
21044
- label:
21045
- type: string
21046
- description: The label of the conversations issues cluster
21047
- createdAt:
21048
- $ref: "#/components/schemas/Timestamp"
21049
- updatedAt:
21050
- $ref: "#/components/schemas/Timestamp"
21051
- icon:
21052
- $ref: "#/components/schemas/Icon"
21053
- summary:
21054
- $ref: "#/components/schemas/JSONDocument"
21055
- muted:
21056
- type: boolean
21057
- description: Whether the cluster is muted for change request creation
21058
- impact:
21059
- $ref: "#/components/schemas/ConversationIssueImpact"
21060
- weeklyPulse:
21061
- type: array
21062
- minItems: 13
21063
- maxItems: 13
21064
- description: The weekly pulse of the conversations issues cluster for the past 3 months
21065
- items:
21066
- type: number
21067
- sources:
21068
- type: object
21069
- additionalProperties:
21070
- type: number
21071
- description: The number of issues in the conversations issues cluster for the source
21072
- stats:
21073
- type: object
21074
- description: The stats of the conversations issues cluster
21075
- properties:
21076
- issues:
21077
- type: number
21078
- description: The number of issues in the conversations issues cluster
21079
- conversations:
21080
- type: number
21081
- description: The number of conversations in the conversations issues cluster
21082
- required:
21083
- - issues
21084
- - conversations
21085
- urls:
21086
- type: object
21087
- description: URLs associated with the conversations issues cluster
21088
- properties:
21089
- location:
21090
- type: string
21091
- description: URL of the conversations issues cluster in the API
21092
- format: uri
21093
- required:
21094
- - location
21095
- required:
21096
- - object
21097
- - id
21098
- - label
21099
- - summary
21100
- - icon
21101
- - muted
21102
- - impact
21103
- - sources
21104
- - stats
21105
- - weeklyPulse
21106
- - createdAt
21107
- - updatedAt
21108
- - urls
21109
- ConversationSource:
21110
- oneOf:
21111
- - type: string
21112
- description: Integration source
21113
- pattern: ^integration:[^:]+:[^:]+$
21114
- x-typescript: "`integration:${string}:${string}`"
21115
- - type: string
21116
- description: Email source
21117
- enum:
21118
- - email
21119
- Conversation:
21120
- type: object
21121
- properties:
21122
- object:
21123
- type: string
21124
- enum:
21125
- - conversation
21126
- id:
21127
- type: string
21128
- description: The ID of the conversation
21129
- subject:
21130
- type: string
21131
- description: The subject of the conversation
21132
- createdAt:
21133
- $ref: "#/components/schemas/Timestamp"
21134
- processedAt:
21135
- $ref: "#/components/schemas/Timestamp"
21136
- source:
21137
- $ref: "#/components/schemas/ConversationSource"
21138
- impact:
21139
- $ref: "#/components/schemas/ConversationIssueImpact"
21140
- urls:
21141
- type: object
21142
- description: URLs associated with the conversation
21143
- properties:
21144
- location:
21145
- type: string
21146
- description: URL of the conversation in the API
21147
- format: uri
21148
- source:
21149
- type: string
21150
- description: URL of the conversation in the source
21151
- format: uri
21152
- required:
21153
- - location
21154
- required:
21155
- - object
21156
- - id
21157
- - createdAt
21158
- - source
21159
- - impact
21160
- - urls
21161
- ConversationMetadata:
21162
- type: object
21163
- properties:
21164
- url:
21165
- type: string
21166
- description: URL to the conversation
21167
- attributes:
21168
- type: object
21169
- additionalProperties:
21170
- type: string
21171
- createdAt:
21172
- description: Date of the conversation creation
21173
- $ref: "#/components/schemas/Timestamp"
21174
- ConversationPartMessage:
21175
- type: object
21176
- description: A message posted in the conversation by a user or a team member.
21177
- properties:
21178
- type:
21179
- type: string
21180
- enum:
21181
- - message
21182
- role:
21183
- type: string
21184
- enum:
21185
- - user
21186
- - assistant
21187
- - team-member
21188
- body:
21189
- type: string
21190
- description: Markdown or HTML body of the message.
21191
- required:
21192
- - type
21193
- - role
21194
- - body
21195
- ConversationPart:
21196
- oneOf:
21197
- - $ref: "#/components/schemas/ConversationPartMessage"
21198
- ConversationInput:
21199
- type: object
21200
- properties:
21201
- id:
21202
- type: string
21203
- minLength: 1
21204
- maxLength: 255
21205
- description: The unique identifier for the conversation, relative to the source in which it was created.
21206
- metadata:
21207
- $ref: "#/components/schemas/ConversationMetadata"
21208
- subject:
21209
- type: string
21210
- maxLength: 512
21211
- description: The subject of the conversation.
21212
- parts:
21213
- type: array
21214
- items:
21215
- $ref: "#/components/schemas/ConversationPart"
21216
- required:
21217
- - id
21218
- - parts
21219
- ConversationIssue:
21220
- type: object
21221
- properties:
21222
- object:
21223
- type: string
21224
- enum:
21225
- - conversation-issue
21226
- id:
21227
- type: string
21228
- description: The ID of the conversation issue
21229
- title:
21230
- type: string
21231
- description: The title of the conversation issue
21232
- details:
21233
- $ref: "#/components/schemas/JSONDocument"
21234
- impact:
21235
- $ref: "#/components/schemas/ConversationIssueImpact"
21236
- createdAt:
21237
- $ref: "#/components/schemas/Timestamp"
21238
- ingestedAt:
21239
- $ref: "#/components/schemas/Timestamp"
21240
- conversation:
21241
- type: string
21242
- description: The ID of the conversation the issue belongs to
21243
- cluster:
21244
- type: string
21245
- description: The ID of the cluster the issue has been linked to
21246
- urls:
21247
- type: object
21248
- description: URLs associated with the conversation issue
21249
- properties:
21250
- location:
21251
- type: string
21252
- description: URL of the conversation issue in the API
21253
- format: uri
21254
- required:
21255
- - location
21256
- required:
21257
- - object
21258
- - id
21259
- - title
21260
- - details
21261
- - impact
21262
- - createdAt
21263
- - ingestedAt
21264
- - conversation
21265
- - urls
21266
- AgentSetupState:
21267
- type: object
21268
- description: State and settings of the agent
21269
- properties:
21270
- email:
21271
- type: string
21272
- description: The email address of the agent. Emails can be forwarded to it to ingest conversations.
21273
- stats:
21274
- type: object
21275
- description: The stats of the agent.
21276
- properties:
21277
- conversations:
21278
- type: number
21279
- description: The number of conversations the agent has indexed.
21280
- issues:
21281
- type: number
21282
- description: The number of issues the agent has indexed.
21283
- issuesClusters:
21284
- type: number
21285
- description: The number of issue clusters the agent has indexed.
21286
- sources:
21287
- type: object
21288
- additionalProperties:
21289
- type: number
21290
- description: The number of conversations ingested for the source
21291
- required:
21292
- - conversations
21293
- - issues
21294
- - issuesClusters
21295
- - sources
21296
- settings:
21297
- type: object
21298
- description: The settings for the agent.
21299
- properties: {}
21300
- additionalProperties: false
21301
- required:
21302
- - email
21303
- - settings
21304
- - stats
21305
20962
  OrganizationAgentInstructions:
21306
20963
  type: object
21307
20964
  properties:
@@ -22224,10 +21881,7 @@ components:
22224
21881
  to:
22225
21882
  oneOf:
22226
21883
  - $ref: "#/components/schemas/ContentRef"
22227
- - type: string
22228
- nullable: true
22229
- enum:
22230
- - null
21884
+ - type: "null"
22231
21885
  links:
22232
21886
  type: array
22233
21887
  items:
@@ -22345,8 +21999,12 @@ components:
22345
21999
  footer:
22346
22000
  type: boolean
22347
22001
  default: true
22002
+ header:
22003
+ type: boolean
22004
+ default: false
22348
22005
  required:
22349
22006
  - footer
22007
+ - header
22350
22008
  required:
22351
22009
  - platform
22352
22010
  - handle
@@ -22357,7 +22015,7 @@ components:
22357
22015
  items:
22358
22016
  $ref: "#/components/schemas/SiteSocialAccount"
22359
22017
  maxItems: 10
22360
- SiteCustomizationSettings:
22018
+ SiteCustomizationSettingsBase:
22361
22019
  type: object
22362
22020
  properties:
22363
22021
  title:
@@ -22619,6 +22277,14 @@ components:
22619
22277
  - socialPreview
22620
22278
  - socialAccounts
22621
22279
  - insights
22280
+ SiteCustomizationSettings:
22281
+ allOf:
22282
+ - $ref: "#/components/schemas/SiteCustomizationSettingsBase"
22283
+ - type: object
22284
+ properties:
22285
+ updatedAt:
22286
+ description: When the customization settings were updated. If missing, customization was not updated.
22287
+ $ref: "#/components/schemas/Timestamp"
22622
22288
  SiteIntegrationScript:
22623
22289
  type: object
22624
22290
  properties:
@@ -22813,10 +22479,14 @@ components:
22813
22479
  - type: object
22814
22480
  properties:
22815
22481
  fallbackURL:
22816
- type: string
22482
+ type:
22483
+ - string
22484
+ - "null"
22817
22485
  format: uri
22818
22486
  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.
22819
- nullable: true
22487
+ SiteCustomizationSettingsInput:
22488
+ allOf:
22489
+ - $ref: "#/components/schemas/SiteCustomizationSettingsBase"
22820
22490
  SiteSearchScope:
22821
22491
  oneOf:
22822
22492
  - type: object
@@ -22871,6 +22541,8 @@ components:
22871
22541
  title:
22872
22542
  type: string
22873
22543
  description: The title of the record.
22544
+ score:
22545
+ $ref: "#/components/schemas/SearchResultScore"
22874
22546
  description:
22875
22547
  type: string
22876
22548
  description: The description of the record.
@@ -22882,6 +22554,7 @@ components:
22882
22554
  - type
22883
22555
  - id
22884
22556
  - title
22557
+ - score
22885
22558
  - url
22886
22559
  ContextRecordType:
22887
22560
  type: string
@@ -22901,6 +22574,9 @@ components:
22901
22574
  - builtin:api
22902
22575
  - builtin:website
22903
22576
  - builtin:youtube
22577
+ - builtin:github-discussions
22578
+ - builtin:github-issues
22579
+ - builtin:intercom
22904
22580
  ContextRecordTitle:
22905
22581
  type: string
22906
22582
  description: Title for the context record
@@ -22984,15 +22660,104 @@ components:
22984
22660
  type: string
22985
22661
  description: URL of the record
22986
22662
  format: uri
22663
+ createdAt:
22664
+ $ref: "#/components/schemas/Timestamp"
22665
+ description: Date of the record creation in the original source
22987
22666
  metadata:
22988
22667
  type: object
22989
22668
  additionalProperties:
22990
- type: string
22669
+ oneOf:
22670
+ - type: string
22671
+ - type: number
22672
+ required:
22673
+ - id
22674
+ - title
22675
+ - body
22676
+ - type
22677
+ SiteIssueStatus:
22678
+ type: string
22679
+ description: Status of a site issue.
22680
+ enum:
22681
+ - open
22682
+ - done
22683
+ - canceled
22684
+ SiteIssueType:
22685
+ type: string
22686
+ description: |-
22687
+ Classification of a site issue:
22688
+ - Outdated content: The content is no longer up to date with external context and may be misleading or incorrect.
22689
+ - Incoherent content: The content contains information that is inconsistent or contradictory.
22690
+ - Content gap: The content is missing important information that should be present to answer user questions effectively.
22691
+ - Other: Any other type of issue not covered by the above categories.
22692
+ enum:
22693
+ - content-outdated
22694
+ - incoherence
22695
+ - content-gap
22696
+ - other
22697
+ SiteIssuePriority:
22698
+ type: string
22699
+ description: Estimated end-user priority of a site issue.
22700
+ enum:
22701
+ - low
22702
+ - medium
22703
+ - high
22704
+ SiteIssueTitle:
22705
+ type: string
22706
+ description: Short issue title
22707
+ maxLength: 256
22708
+ SiteIssue:
22709
+ type: object
22710
+ properties:
22711
+ object:
22712
+ type: string
22713
+ enum:
22714
+ - site-issue
22715
+ id:
22716
+ type: string
22717
+ description: The ID of the issue
22718
+ topic:
22719
+ type: string
22720
+ description: The site topic ID associated with the issue
22721
+ title:
22722
+ $ref: "#/components/schemas/SiteIssueTitle"
22723
+ status:
22724
+ $ref: "#/components/schemas/SiteIssueStatus"
22725
+ type:
22726
+ $ref: "#/components/schemas/SiteIssueType"
22727
+ priority:
22728
+ $ref: "#/components/schemas/SiteIssuePriority"
22729
+ description:
22730
+ $ref: "#/components/schemas/JSONDocument"
22731
+ autoFixable:
22732
+ type: boolean
22733
+ description: Whether an AI agent should be able to fix this issue directly
22734
+ createdAt:
22735
+ $ref: "#/components/schemas/Timestamp"
22736
+ updatedAt:
22737
+ $ref: "#/components/schemas/Timestamp"
22738
+ urls:
22739
+ type: object
22740
+ description: URLs associated with the issue
22741
+ properties:
22742
+ location:
22743
+ type: string
22744
+ description: URL of the issue list endpoint in the API
22745
+ format: uri
22746
+ required:
22747
+ - location
22991
22748
  required:
22749
+ - object
22992
22750
  - id
22751
+ - topic
22993
22752
  - title
22994
- - body
22753
+ - status
22995
22754
  - type
22755
+ - priority
22756
+ - description
22757
+ - autoFixable
22758
+ - createdAt
22759
+ - updatedAt
22760
+ - urls
22996
22761
  ContextConnectionLabel:
22997
22762
  type: string
22998
22763
  description: Optional label for the connection
@@ -23025,6 +22790,13 @@ components:
23025
22790
  type: string
23026
22791
  enum:
23027
22792
  - builtin:email
22793
+ required:
22794
+ - connector
22795
+ - type: object
22796
+ properties:
22797
+ connector:
22798
+ type: string
22799
+ enum:
23028
22800
  - builtin:api
23029
22801
  required:
23030
22802
  - connector
@@ -23070,6 +22842,65 @@ components:
23070
22842
  required:
23071
22843
  - connector
23072
22844
  - setupSettings
22845
+ - type: object
22846
+ properties:
22847
+ connector:
22848
+ type: string
22849
+ enum:
22850
+ - builtin:github-discussions
22851
+ setupSettings:
22852
+ type: object
22853
+ properties:
22854
+ repository:
22855
+ type: string
22856
+ pattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$
22857
+ token:
22858
+ type: string
22859
+ minLength: 1
22860
+ required:
22861
+ - repository
22862
+ - token
22863
+ required:
22864
+ - connector
22865
+ - setupSettings
22866
+ - type: object
22867
+ properties:
22868
+ connector:
22869
+ type: string
22870
+ enum:
22871
+ - builtin:github-issues
22872
+ setupSettings:
22873
+ type: object
22874
+ properties:
22875
+ repository:
22876
+ type: string
22877
+ pattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$
22878
+ token:
22879
+ type: string
22880
+ minLength: 1
22881
+ required:
22882
+ - repository
22883
+ - token
22884
+ required:
22885
+ - connector
22886
+ - setupSettings
22887
+ - type: object
22888
+ properties:
22889
+ connector:
22890
+ type: string
22891
+ enum:
22892
+ - builtin:intercom
22893
+ setupSettings:
22894
+ type: object
22895
+ properties:
22896
+ token:
22897
+ type: string
22898
+ minLength: 1
22899
+ required:
22900
+ - token
22901
+ required:
22902
+ - connector
22903
+ - setupSettings
23073
22904
  ContextConnection:
23074
22905
  allOf:
23075
22906
  - type: object
@@ -23158,21 +22989,90 @@ components:
23158
22989
  - yes
23159
22990
  - partially
23160
22991
  - no
22992
+ SiteQuestionStatsRelevance:
22993
+ type: object
22994
+ properties:
22995
+ relevant:
22996
+ type: number
22997
+ spam:
22998
+ type: number
22999
+ off-topic:
23000
+ type: number
23001
+ unclear:
23002
+ type: number
23003
+ required:
23004
+ - relevant
23005
+ - spam
23006
+ - off-topic
23007
+ - unclear
23008
+ SiteQuestionStatsTypes:
23009
+ type: object
23010
+ properties:
23011
+ exploring:
23012
+ type: number
23013
+ how-to:
23014
+ type: number
23015
+ troubleshooting:
23016
+ type: number
23017
+ reference:
23018
+ type: number
23019
+ unknown:
23020
+ type: number
23021
+ required:
23022
+ - exploring
23023
+ - how-to
23024
+ - troubleshooting
23025
+ - reference
23026
+ - unknown
23027
+ SiteQuestionStatsChannelTypes:
23028
+ type: object
23029
+ description: Count of answers by site channel type, including core channels.
23030
+ additionalProperties:
23031
+ type: number
23032
+ SiteQuestionStatsChannels:
23033
+ type: object
23034
+ description: Count of answers by site channel ID.
23035
+ additionalProperties:
23036
+ type: number
23161
23037
  SiteQuestionStats:
23162
23038
  type: object
23163
- description: Aggregated stats for answers linked to a site question.
23039
+ description: Aggregated stats for questions and linked answers.
23164
23040
  properties:
23041
+ total:
23042
+ type: number
23043
+ description: Total count of questions included in the aggregation.
23165
23044
  answers:
23166
23045
  type: number
23167
- description: Total count of answers linked to the question.
23046
+ description: Total count of answers linked to the questions.
23168
23047
  feedback:
23169
23048
  $ref: "#/components/schemas/SiteQuestionStatsFeedback"
23170
23049
  answered:
23171
23050
  $ref: "#/components/schemas/SiteQuestionStatsAnswered"
23051
+ relevance:
23052
+ $ref: "#/components/schemas/SiteQuestionStatsRelevance"
23053
+ types:
23054
+ $ref: "#/components/schemas/SiteQuestionStatsTypes"
23055
+ channelTypes:
23056
+ $ref: "#/components/schemas/SiteQuestionStatsChannelTypes"
23057
+ channels:
23058
+ $ref: "#/components/schemas/SiteQuestionStatsChannels"
23059
+ weeklyPulse:
23060
+ type: array
23061
+ minItems: 13
23062
+ maxItems: 13
23063
+ description: Weekly count of related question answers for the past 3 months.
23064
+ items:
23065
+ type: number
23172
23066
  required:
23067
+ - total
23173
23068
  - answers
23174
23069
  - feedback
23175
23070
  - answered
23071
+ - relevance
23072
+ - types
23073
+ - channelTypes
23074
+ - channels
23075
+ - weeklyPulse
23176
23076
  SiteTopic:
23177
23077
  type: object
23178
23078
  properties:
@@ -23209,13 +23109,6 @@ components:
23209
23109
  $ref: "#/components/schemas/JSONDocument"
23210
23110
  usageSettings:
23211
23111
  $ref: "#/components/schemas/ContextUsageSettings"
23212
- weeklyPulse:
23213
- type: array
23214
- minItems: 13
23215
- maxItems: 13
23216
- description: The weekly pulse of related question answers for the past 3 months
23217
- items:
23218
- type: number
23219
23112
  pages:
23220
23113
  type: number
23221
23114
  description: The number of pages associated with the topic
@@ -23244,7 +23137,6 @@ components:
23244
23137
  - pages
23245
23138
  - records
23246
23139
  - questions
23247
- - weeklyPulse
23248
23140
  - createdAt
23249
23141
  - updatedAt
23250
23142
  - urls
@@ -23257,6 +23149,13 @@ components:
23257
23149
  - troubleshooting
23258
23150
  - reference
23259
23151
  - unknown
23152
+ SiteQuestionAnswerResolution:
23153
+ type: string
23154
+ description: Whether the response answered the question.
23155
+ enum:
23156
+ - no
23157
+ - partially
23158
+ - yes
23260
23159
  SiteQuestion:
23261
23160
  type: object
23262
23161
  properties:
@@ -23294,20 +23193,6 @@ components:
23294
23193
  - createdAt
23295
23194
  - stats
23296
23195
  - urls
23297
- SiteQuestionAnswerResolution:
23298
- type: string
23299
- description: Whether the response answered the question.
23300
- enum:
23301
- - no
23302
- - partially
23303
- - yes
23304
- SiteQuestionAnswerConfidence:
23305
- type: string
23306
- description: Confidence in whether the response answered the question.
23307
- enum:
23308
- - low
23309
- - medium
23310
- - high
23311
23196
  SiteQuestionAnswerRelevance:
23312
23197
  type: string
23313
23198
  description: Relevance classification of the user question.
@@ -23316,6 +23201,13 @@ components:
23316
23201
  - spam
23317
23202
  - off-topic
23318
23203
  - unclear
23204
+ SiteQuestionAnswerHelpfulness:
23205
+ type: string
23206
+ description: Helpfulness of the response for the end user need.
23207
+ enum:
23208
+ - low
23209
+ - medium
23210
+ - high
23319
23211
  SiteInsightsSession:
23320
23212
  type: object
23321
23213
  description: Identifiers for a GitBook site session, used for analytics and adaptive content.
@@ -23329,6 +23221,17 @@ components:
23329
23221
  required:
23330
23222
  - visitorId
23331
23223
  - sessionId
23224
+ SiteCoreChannelType:
23225
+ type: string
23226
+ enum:
23227
+ - site
23228
+ - embed
23229
+ - api
23230
+ SiteConfigurableChannelType:
23231
+ type: string
23232
+ enum:
23233
+ - builtin:slack
23234
+ - builtin:discord
23332
23235
  SiteQuestionAnswer:
23333
23236
  type: object
23334
23237
  properties:
@@ -23397,10 +23300,30 @@ components:
23397
23300
  description: ISO language code of the question.
23398
23301
  answered:
23399
23302
  $ref: "#/components/schemas/SiteQuestionAnswerResolution"
23400
- confidence:
23401
- $ref: "#/components/schemas/SiteQuestionAnswerConfidence"
23303
+ helpfulness:
23304
+ $ref: "#/components/schemas/SiteQuestionAnswerHelpfulness"
23402
23305
  relevance:
23403
23306
  $ref: "#/components/schemas/SiteQuestionAnswerRelevance"
23307
+ channel:
23308
+ oneOf:
23309
+ - type: object
23310
+ properties:
23311
+ type:
23312
+ $ref: "#/components/schemas/SiteCoreChannelType"
23313
+ required:
23314
+ - type
23315
+ - type: object
23316
+ properties:
23317
+ type:
23318
+ $ref: "#/components/schemas/SiteConfigurableChannelType"
23319
+ id:
23320
+ type:
23321
+ - string
23322
+ - "null"
23323
+ description: ID of the associated site channel when the answer originates from a configurable channel. Null if the channel has been deleted.
23324
+ required:
23325
+ - type
23326
+ - id
23404
23327
  createdAt:
23405
23328
  $ref: "#/components/schemas/Timestamp"
23406
23329
  updatedAt:
@@ -23424,8 +23347,9 @@ components:
23424
23347
  - responseId
23425
23348
  - language
23426
23349
  - answered
23427
- - confidence
23350
+ - helpfulness
23428
23351
  - relevance
23352
+ - channel
23429
23353
  - createdAt
23430
23354
  - urls
23431
23355
  AIMessageRole:
@@ -24681,23 +24605,24 @@ components:
24681
24605
  User-agent of the visitor.
24682
24606
  https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent
24683
24607
  language:
24684
- type: string
24685
- nullable: true
24608
+ type:
24609
+ - string
24610
+ - "null"
24686
24611
  description: |
24687
24612
  Language of the visitor.
24688
24613
  https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language
24689
24614
  referrer:
24690
24615
  description: Referrer of the session
24691
24616
  oneOf:
24617
+ - type: "null"
24692
24618
  - type: string
24693
- nullable: true
24694
24619
  enum:
24695
- - null
24696
24620
  - ""
24697
24621
  - $ref: "#/components/schemas/URL"
24698
24622
  visitorAuthToken:
24699
- type: string
24700
- nullable: true
24623
+ type:
24624
+ - string
24625
+ - "null"
24701
24626
  deprecated: true
24702
24627
  description: Deprecated, use visitorAuthClaims instead.
24703
24628
  visitorAuthClaims:
@@ -24716,6 +24641,7 @@ components:
24716
24641
  enum:
24717
24642
  - site
24718
24643
  - embed
24644
+ - mcp
24719
24645
  SiteInsightsEventLocation:
24720
24646
  type: object
24721
24647
  description: Location of the event.
@@ -24728,29 +24654,35 @@ components:
24728
24654
  $ref: "#/components/schemas/SiteInsightsDisplayContext"
24729
24655
  default: site
24730
24656
  siteSection:
24731
- type: string
24657
+ type:
24658
+ - string
24659
+ - "null"
24732
24660
  description: ID of the concerned site section.
24733
- nullable: true
24734
24661
  siteSpace:
24735
- type: string
24662
+ type:
24663
+ - string
24664
+ - "null"
24736
24665
  description: ID of the concerned site space.
24737
- nullable: true
24738
24666
  siteShareKey:
24739
- type: string
24667
+ type:
24668
+ - string
24669
+ - "null"
24740
24670
  description: ID of the concerned site share key.
24741
- nullable: true
24742
24671
  space:
24743
- type: string
24672
+ type:
24673
+ - string
24674
+ - "null"
24744
24675
  description: ID of the concerned space.
24745
- nullable: true
24746
24676
  revision:
24747
- type: string
24677
+ type:
24678
+ - string
24679
+ - "null"
24748
24680
  description: ID of the concerned revision.
24749
- nullable: true
24750
24681
  page:
24751
- type: string
24682
+ type:
24683
+ - string
24684
+ - "null"
24752
24685
  description: ID of the concerned page.
24753
- nullable: true
24754
24686
  required:
24755
24687
  - url
24756
24688
  - siteSection
@@ -25490,9 +25422,11 @@ components:
25490
25422
  - ios
25491
25423
  - unknown
25492
25424
  SiteInsightsVisitorBot:
25493
- type: string
25494
- nullable: true
25425
+ type:
25426
+ - string
25427
+ - "null"
25495
25428
  enum:
25429
+ - null
25496
25430
  - unknown
25497
25431
  - googlebot
25498
25432
  - bingbot
@@ -25501,6 +25435,19 @@ components:
25501
25435
  - applebot
25502
25436
  - chatgpt
25503
25437
  - anthropic
25438
+ - gemini
25439
+ - perplexity
25440
+ - cohere
25441
+ - mistral
25442
+ - deepseek
25443
+ - meta
25444
+ - bytespider
25445
+ - ccbot
25446
+ - amazonbot
25447
+ - youbot
25448
+ - cursor
25449
+ - vscode
25450
+ - claude-code
25504
25451
  SiteInsightsQueryEventsValues:
25505
25452
  oneOf:
25506
25453
  - type: object
@@ -25726,8 +25673,9 @@ components:
25726
25673
  values:
25727
25674
  type: array
25728
25675
  items:
25729
- type: string
25730
- nullable: true
25676
+ type:
25677
+ - string
25678
+ - "null"
25731
25679
  - type: object
25732
25680
  required:
25733
25681
  - column
@@ -25740,8 +25688,9 @@ components:
25740
25688
  values:
25741
25689
  type: array
25742
25690
  items:
25743
- type: string
25744
- nullable: true
25691
+ type:
25692
+ - string
25693
+ - "null"
25745
25694
  - type: object
25746
25695
  required:
25747
25696
  - column
@@ -25754,8 +25703,9 @@ components:
25754
25703
  values:
25755
25704
  type: array
25756
25705
  items:
25757
- type: string
25758
- nullable: true
25706
+ type:
25707
+ - string
25708
+ - "null"
25759
25709
  - type: object
25760
25710
  required:
25761
25711
  - column
@@ -25782,18 +25732,16 @@ components:
25782
25732
  type: array
25783
25733
  items:
25784
25734
  oneOf:
25785
- - type: string
25786
- nullable: true
25787
- enum:
25788
- - null
25735
+ - type: "null"
25789
25736
  - type: object
25790
25737
  required:
25791
25738
  - page
25792
25739
  - space
25793
25740
  properties:
25794
25741
  page:
25795
- type: string
25796
- nullable: true
25742
+ type:
25743
+ - string
25744
+ - "null"
25797
25745
  space:
25798
25746
  type: string
25799
25747
  - type: object
@@ -25808,8 +25756,9 @@ components:
25808
25756
  values:
25809
25757
  type: array
25810
25758
  items:
25811
- type: string
25812
- nullable: true
25759
+ type:
25760
+ - string
25761
+ - "null"
25813
25762
  - type: object
25814
25763
  required:
25815
25764
  - column
@@ -25822,8 +25771,9 @@ components:
25822
25771
  values:
25823
25772
  type: array
25824
25773
  items:
25825
- type: object
25826
- nullable: true
25774
+ type:
25775
+ - object
25776
+ - "null"
25827
25777
  required:
25828
25778
  - latitude
25829
25779
  - longitude
@@ -25847,8 +25797,9 @@ components:
25847
25797
  values:
25848
25798
  type: array
25849
25799
  items:
25850
- type: string
25851
- nullable: true
25800
+ type:
25801
+ - string
25802
+ - "null"
25852
25803
  - type: object
25853
25804
  required:
25854
25805
  - column
@@ -25861,8 +25812,9 @@ components:
25861
25812
  values:
25862
25813
  type: array
25863
25814
  items:
25864
- type: string
25865
- nullable: true
25815
+ type:
25816
+ - string
25817
+ - "null"
25866
25818
  - type: object
25867
25819
  required:
25868
25820
  - column
@@ -25875,8 +25827,9 @@ components:
25875
25827
  values:
25876
25828
  type: array
25877
25829
  items:
25878
- type: string
25879
- nullable: true
25830
+ type:
25831
+ - string
25832
+ - "null"
25880
25833
  - type: object
25881
25834
  required:
25882
25835
  - column
@@ -25889,8 +25842,9 @@ components:
25889
25842
  values:
25890
25843
  type: array
25891
25844
  items:
25892
- type: string
25893
- nullable: true
25845
+ type:
25846
+ - string
25847
+ - "null"
25894
25848
  - type: object
25895
25849
  required:
25896
25850
  - column
@@ -25916,8 +25870,9 @@ components:
25916
25870
  values:
25917
25871
  type: array
25918
25872
  items:
25919
- type: string
25920
- nullable: true
25873
+ type:
25874
+ - string
25875
+ - "null"
25921
25876
  - type: object
25922
25877
  required:
25923
25878
  - column
@@ -26301,11 +26256,24 @@ components:
26301
26256
  - kind
26302
26257
  - siteSpaceId
26303
26258
  - pageId
26259
+ SiteRedirectDestinationExternal:
26260
+ type: object
26261
+ properties:
26262
+ kind:
26263
+ type: string
26264
+ enum:
26265
+ - external
26266
+ url:
26267
+ $ref: "#/components/schemas/URL"
26268
+ required:
26269
+ - kind
26270
+ - url
26304
26271
  SiteRedirectDestination:
26305
26272
  oneOf:
26306
26273
  - $ref: "#/components/schemas/SiteRedirectDestinationSiteSection"
26307
26274
  - $ref: "#/components/schemas/SiteRedirectDestinationSiteSpace"
26308
26275
  - $ref: "#/components/schemas/SiteRedirectDestinationPage"
26276
+ - $ref: "#/components/schemas/SiteRedirectDestinationExternal"
26309
26277
  SiteRedirect:
26310
26278
  type: object
26311
26279
  properties:
@@ -26318,6 +26286,9 @@ components:
26318
26286
  description: The unique identifier for the redirect.
26319
26287
  source:
26320
26288
  $ref: "#/components/schemas/SiteRedirectSourcePath"
26289
+ draft:
26290
+ type: boolean
26291
+ description: Whether the redirect is draft and not live.
26321
26292
  captureWildcard:
26322
26293
  type: boolean
26323
26294
  description: Capture and append the wildcard-matched suffix to the destination URL.
@@ -26327,6 +26298,7 @@ components:
26327
26298
  - object
26328
26299
  - id
26329
26300
  - source
26301
+ - draft
26330
26302
  - captureWildcard
26331
26303
  - destination
26332
26304
  SiteRedirectInputDestinationPath:
@@ -26395,6 +26367,72 @@ components:
26395
26367
  - url
26396
26368
  - headers
26397
26369
  - urls
26370
+ SiteChannelSetup:
26371
+ oneOf:
26372
+ - type: object
26373
+ properties:
26374
+ type:
26375
+ type: string
26376
+ enum:
26377
+ - builtin:slack
26378
+ setupSettings:
26379
+ type: object
26380
+ additionalProperties: false
26381
+ required:
26382
+ - type
26383
+ - setupSettings
26384
+ - type: object
26385
+ properties:
26386
+ type:
26387
+ type: string
26388
+ enum:
26389
+ - builtin:discord
26390
+ setupSettings:
26391
+ type: object
26392
+ additionalProperties: false
26393
+ required:
26394
+ - type
26395
+ - setupSettings
26396
+ SiteChannelUsageSettings:
26397
+ type: object
26398
+ description: Usage settings for a site channel.
26399
+ additionalProperties: false
26400
+ SiteChannel:
26401
+ allOf:
26402
+ - $ref: "#/components/schemas/SiteChannelSetup"
26403
+ - type: object
26404
+ properties:
26405
+ object:
26406
+ type: string
26407
+ enum:
26408
+ - site-channel
26409
+ id:
26410
+ type: string
26411
+ description: Unique identifier for the site channel.
26412
+ answers:
26413
+ type: integer
26414
+ minimum: 0
26415
+ description: Number of answers linked to this channel.
26416
+ usageSettings:
26417
+ $ref: "#/components/schemas/SiteChannelUsageSettings"
26418
+ createdAt:
26419
+ $ref: "#/components/schemas/Timestamp"
26420
+ urls:
26421
+ type: object
26422
+ properties:
26423
+ location:
26424
+ type: string
26425
+ format: uri
26426
+ description: URL of the site channel in the API.
26427
+ required:
26428
+ - location
26429
+ required:
26430
+ - object
26431
+ - id
26432
+ - answers
26433
+ - usageSettings
26434
+ - createdAt
26435
+ - urls
26398
26436
  Subdomain:
26399
26437
  type: object
26400
26438
  properties:
@@ -27529,7 +27567,7 @@ components:
27529
27567
  - $ref: "#/components/schemas/SpaceAPIToken"
27530
27568
  - $ref: "#/components/schemas/CollectionAPIToken"
27531
27569
  - $ref: "#/components/schemas/SiteAPIToken"
27532
- SpaceInfoChannel:
27570
+ APIChannelSpaceInfo:
27533
27571
  type: object
27534
27572
  properties:
27535
27573
  channel:
@@ -27541,7 +27579,7 @@ components:
27541
27579
  required:
27542
27580
  - channel
27543
27581
  - space
27544
- SpaceContentChannel:
27582
+ APIChannelSpaceContent:
27545
27583
  type: object
27546
27584
  description: Channel notified when the main content of a space is changed.
27547
27585
  properties:
@@ -27554,7 +27592,7 @@ components:
27554
27592
  required:
27555
27593
  - channel
27556
27594
  - space
27557
- SpaceGitInfoChannel:
27595
+ APIChannelSpaceGitInfo:
27558
27596
  type: object
27559
27597
  properties:
27560
27598
  channel:
@@ -27566,7 +27604,7 @@ components:
27566
27604
  required:
27567
27605
  - channel
27568
27606
  - space
27569
- SpacePublishingAuthChannel:
27607
+ APIChannelSpacePublishingAuth:
27570
27608
  type: object
27571
27609
  properties:
27572
27610
  channel:
@@ -27578,7 +27616,7 @@ components:
27578
27616
  required:
27579
27617
  - channel
27580
27618
  - space
27581
- SpacePublishingCustomizationChannel:
27619
+ APIChannelSpacePublishingCustomization:
27582
27620
  type: object
27583
27621
  properties:
27584
27622
  channel:
@@ -27590,7 +27628,7 @@ components:
27590
27628
  required:
27591
27629
  - channel
27592
27630
  - space
27593
- SpaceContentRefsChannel:
27631
+ APIChannelSpaceContentRefs:
27594
27632
  type: object
27595
27633
  properties:
27596
27634
  channel:
@@ -27602,7 +27640,7 @@ components:
27602
27640
  required:
27603
27641
  - channel
27604
27642
  - space
27605
- SpaceIntegrationsChannel:
27643
+ APIChannelSpaceIntegrations:
27606
27644
  type: object
27607
27645
  properties:
27608
27646
  channel:
@@ -27614,7 +27652,7 @@ components:
27614
27652
  required:
27615
27653
  - channel
27616
27654
  - space
27617
- UserAPITokensChannel:
27655
+ APIChannelUserAPITokens:
27618
27656
  type: object
27619
27657
  properties:
27620
27658
  channel:
@@ -27626,7 +27664,7 @@ components:
27626
27664
  required:
27627
27665
  - channel
27628
27666
  - user
27629
- UserOrganizationsChannel:
27667
+ APIChannelUserOrganizations:
27630
27668
  type: object
27631
27669
  properties:
27632
27670
  channel:
@@ -27638,7 +27676,7 @@ components:
27638
27676
  required:
27639
27677
  - channel
27640
27678
  - user
27641
- UserProfileChannel:
27679
+ APIChannelUserProfile:
27642
27680
  type: object
27643
27681
  properties:
27644
27682
  channel:
@@ -27650,7 +27688,7 @@ components:
27650
27688
  required:
27651
27689
  - channel
27652
27690
  - user
27653
- ChangeRequestChannel:
27691
+ APIChannelChangeRequest:
27654
27692
  type: object
27655
27693
  properties:
27656
27694
  channel:
@@ -27665,7 +27703,7 @@ components:
27665
27703
  - channel
27666
27704
  - space
27667
27705
  - changeRequest
27668
- ChangeRequestsChannel:
27706
+ APIChannelChangeRequests:
27669
27707
  type: object
27670
27708
  properties:
27671
27709
  channel:
@@ -27677,7 +27715,7 @@ components:
27677
27715
  required:
27678
27716
  - channel
27679
27717
  - space
27680
- ChangeRequestReviewsChannel:
27718
+ APIChannelChangeRequestReviews:
27681
27719
  type: object
27682
27720
  properties:
27683
27721
  channel:
@@ -27692,7 +27730,7 @@ components:
27692
27730
  - channel
27693
27731
  - space
27694
27732
  - changeRequest
27695
- ChangeRequestContentRefsChannel:
27733
+ APIChannelChangeRequestContentRefs:
27696
27734
  type: object
27697
27735
  properties:
27698
27736
  channel:
@@ -27707,7 +27745,7 @@ components:
27707
27745
  - channel
27708
27746
  - space
27709
27747
  - changeRequest
27710
- CollectionChannel:
27748
+ APIChannelCollection:
27711
27749
  type: object
27712
27750
  properties:
27713
27751
  channel:
@@ -27719,7 +27757,7 @@ components:
27719
27757
  required:
27720
27758
  - channel
27721
27759
  - collection
27722
- CollectionPublishingCustomizationChannel:
27760
+ APIChannelCollectionPublishingCustomization:
27723
27761
  type: object
27724
27762
  properties:
27725
27763
  channel:
@@ -27731,7 +27769,7 @@ components:
27731
27769
  required:
27732
27770
  - channel
27733
27771
  - collection
27734
- OrganizationInfoChannel:
27772
+ APIChannelOrganizationInfo:
27735
27773
  type: object
27736
27774
  properties:
27737
27775
  channel:
@@ -27743,7 +27781,7 @@ components:
27743
27781
  required:
27744
27782
  - channel
27745
27783
  - organization
27746
- OrganizationAgentDataChannel:
27784
+ APIChannelOrganizationAgentData:
27747
27785
  type: object
27748
27786
  description: Subscription channel for changes in Docs Agent data in an organization.
27749
27787
  properties:
@@ -27756,7 +27794,7 @@ components:
27756
27794
  required:
27757
27795
  - channel
27758
27796
  - organization
27759
- OrganizationInviteLinksChannel:
27797
+ APIChannelOrganizationInviteLinks:
27760
27798
  type: object
27761
27799
  properties:
27762
27800
  channel:
@@ -27768,7 +27806,7 @@ components:
27768
27806
  required:
27769
27807
  - channel
27770
27808
  - organization
27771
- OrganizationMembersChannel:
27809
+ APIChannelOrganizationMembers:
27772
27810
  type: object
27773
27811
  properties:
27774
27812
  channel:
@@ -27780,7 +27818,7 @@ components:
27780
27818
  required:
27781
27819
  - channel
27782
27820
  - organization
27783
- OrganizationMemberChannel:
27821
+ APIChannelOrganizationMember:
27784
27822
  type: object
27785
27823
  properties:
27786
27824
  channel:
@@ -27795,7 +27833,7 @@ components:
27795
27833
  - channel
27796
27834
  - organization
27797
27835
  - user
27798
- OrganizationSAMLChannel:
27836
+ APIChannelOrganizationSAML:
27799
27837
  type: object
27800
27838
  properties:
27801
27839
  channel:
@@ -27807,7 +27845,7 @@ components:
27807
27845
  required:
27808
27846
  - channel
27809
27847
  - organization
27810
- OrganizationTeamsChannel:
27848
+ APIChannelOrganizationTeams:
27811
27849
  type: object
27812
27850
  properties:
27813
27851
  channel:
@@ -27819,7 +27857,7 @@ components:
27819
27857
  required:
27820
27858
  - channel
27821
27859
  - organization
27822
- OrganizationTeamChannel:
27860
+ APIChannelOrganizationTeam:
27823
27861
  type: object
27824
27862
  properties:
27825
27863
  channel:
@@ -27834,7 +27872,7 @@ components:
27834
27872
  - channel
27835
27873
  - organization
27836
27874
  - team
27837
- OrganizationTeamMembersChannel:
27875
+ APIChannelOrganizationTeamMembers:
27838
27876
  type: object
27839
27877
  properties:
27840
27878
  channel:
@@ -27849,7 +27887,7 @@ components:
27849
27887
  - channel
27850
27888
  - organization
27851
27889
  - team
27852
- OrganizationTeamMemberChannel:
27890
+ APIChannelOrganizationTeamMember:
27853
27891
  type: object
27854
27892
  properties:
27855
27893
  channel:
@@ -27866,7 +27904,7 @@ components:
27866
27904
  - channel
27867
27905
  - organization
27868
27906
  - member
27869
- OrganizationSpacesChannel:
27907
+ APIChannelOrganizationSpaces:
27870
27908
  type: object
27871
27909
  description: Subscription channel for changes in spaces in an organization.
27872
27910
  properties:
@@ -27879,7 +27917,7 @@ components:
27879
27917
  required:
27880
27918
  - channel
27881
27919
  - organization
27882
- OrganizationCollectionsChannel:
27920
+ APIChannelOrganizationCollections:
27883
27921
  type: object
27884
27922
  description: Subscription channel for changes in collections in an organization.
27885
27923
  properties:
@@ -27892,7 +27930,7 @@ components:
27892
27930
  required:
27893
27931
  - channel
27894
27932
  - organization
27895
- OrganizationIntegrationsChannel:
27933
+ APIChannelOrganizationIntegrations:
27896
27934
  type: object
27897
27935
  properties:
27898
27936
  channel:
@@ -27904,7 +27942,7 @@ components:
27904
27942
  required:
27905
27943
  - channel
27906
27944
  - organization
27907
- OrganizationInstallationsChannel:
27945
+ APIChannelOrganizationInstallations:
27908
27946
  type: object
27909
27947
  properties:
27910
27948
  channel:
@@ -27916,7 +27954,7 @@ components:
27916
27954
  required:
27917
27955
  - channel
27918
27956
  - organization
27919
- OrganizationSitesChannel:
27957
+ APIChannelOrganizationSites:
27920
27958
  type: object
27921
27959
  description: Subscription channel for changes in sites in an organization.
27922
27960
  properties:
@@ -27929,7 +27967,7 @@ components:
27929
27967
  required:
27930
27968
  - channel
27931
27969
  - organization
27932
- OrganizationOpenAPISpecsChannel:
27970
+ APIChannelOrganizationOpenAPISpecs:
27933
27971
  type: object
27934
27972
  description: Subscription channel for changes in OpenAPI specifications in an organization.
27935
27973
  properties:
@@ -27942,7 +27980,7 @@ components:
27942
27980
  required:
27943
27981
  - channel
27944
27982
  - organization
27945
- OrganizationTranslationsChannel:
27983
+ APIChannelOrganizationTranslations:
27946
27984
  type: object
27947
27985
  description: Subscription channel for changes in translations in an organization.
27948
27986
  properties:
@@ -27955,7 +27993,7 @@ components:
27955
27993
  required:
27956
27994
  - channel
27957
27995
  - organization
27958
- OrganizationTranslationsGlossaryChannel:
27996
+ APIChannelOrganizationTranslationsGlossary:
27959
27997
  type: object
27960
27998
  description: Subscription channel for changes in the glossary in an organization.
27961
27999
  properties:
@@ -27968,7 +28006,7 @@ components:
27968
28006
  required:
27969
28007
  - channel
27970
28008
  - organization
27971
- OrganizationCustomFontsChannel:
28009
+ APIChannelOrganizationCustomFonts:
27972
28010
  type: object
27973
28011
  description: Subscription channel for changes in custom fonts in an organization.
27974
28012
  properties:
@@ -27981,7 +28019,7 @@ components:
27981
28019
  required:
27982
28020
  - channel
27983
28021
  - organization
27984
- OrganizationAgentInstructionsChannel:
28022
+ APIChannelOrganizationAgentInstructions:
27985
28023
  type: object
27986
28024
  description: Subscription channel for Docs agent instructions changes in an organization.
27987
28025
  properties:
@@ -27994,7 +28032,7 @@ components:
27994
28032
  required:
27995
28033
  - channel
27996
28034
  - organization
27997
- OrganizationChangeRequestsChannel:
28035
+ APIChannelOrganizationChangeRequests:
27998
28036
  type: object
27999
28037
  description: Subscription channel for all change requests in an organization.
28000
28038
  properties:
@@ -28007,7 +28045,7 @@ components:
28007
28045
  required:
28008
28046
  - channel
28009
28047
  - organization
28010
- SpaceCommentsChannel:
28048
+ APIChannelSpaceComments:
28011
28049
  type: object
28012
28050
  properties:
28013
28051
  channel:
@@ -28019,7 +28057,7 @@ components:
28019
28057
  required:
28020
28058
  - channel
28021
28059
  - space
28022
- ChangeRequestCommentsChannel:
28060
+ APIChannelChangeRequestComments:
28023
28061
  type: object
28024
28062
  properties:
28025
28063
  channel:
@@ -28034,7 +28072,7 @@ components:
28034
28072
  - channel
28035
28073
  - space
28036
28074
  - changeRequest
28037
- CommentInfoChannel:
28075
+ APIChannelCommentInfo:
28038
28076
  type: object
28039
28077
  properties:
28040
28078
  channel:
@@ -28049,7 +28087,7 @@ components:
28049
28087
  - channel
28050
28088
  - space
28051
28089
  - comment
28052
- CommentRepliesChannel:
28090
+ APIChannelCommentReplies:
28053
28091
  type: object
28054
28092
  properties:
28055
28093
  channel:
@@ -28064,7 +28102,7 @@ components:
28064
28102
  - channel
28065
28103
  - space
28066
28104
  - comment
28067
- IntegrationChannel:
28105
+ APIChannelIntegration:
28068
28106
  type: object
28069
28107
  properties:
28070
28108
  channel:
@@ -28076,7 +28114,7 @@ components:
28076
28114
  required:
28077
28115
  - channel
28078
28116
  - integration
28079
- IntegrationInstallationChannel:
28117
+ APIChannelIntegrationInstallation:
28080
28118
  type: object
28081
28119
  properties:
28082
28120
  channel:
@@ -28091,7 +28129,7 @@ components:
28091
28129
  - channel
28092
28130
  - integration
28093
28131
  - installation
28094
- IntegrationSpaceInstallationChannel:
28132
+ APIChannelIntegrationSpaceInstallation:
28095
28133
  type: object
28096
28134
  properties:
28097
28135
  channel:
@@ -28109,7 +28147,7 @@ components:
28109
28147
  - integration
28110
28148
  - installation
28111
28149
  - space
28112
- IntegrationSpaceInstallationsChannel:
28150
+ APIChannelIntegrationSpaceInstallations:
28113
28151
  type: object
28114
28152
  properties:
28115
28153
  channel:
@@ -28124,7 +28162,7 @@ components:
28124
28162
  - channel
28125
28163
  - integration
28126
28164
  - installation
28127
- IntegrationSiteInstallationChannel:
28165
+ APIChannelIntegrationSiteInstallation:
28128
28166
  type: object
28129
28167
  properties:
28130
28168
  channel:
@@ -28142,7 +28180,7 @@ components:
28142
28180
  - integration
28143
28181
  - installation
28144
28182
  - site
28145
- IntegrationSiteInstallationsChannel:
28183
+ APIChannelIntegrationSiteInstallations:
28146
28184
  type: object
28147
28185
  properties:
28148
28186
  channel:
@@ -28157,7 +28195,7 @@ components:
28157
28195
  - channel
28158
28196
  - integration
28159
28197
  - installation
28160
- PublishedContentSiteChannel:
28198
+ APIChannelPublishedContentSite:
28161
28199
  type: object
28162
28200
  properties:
28163
28201
  channel:
@@ -28169,7 +28207,7 @@ components:
28169
28207
  required:
28170
28208
  - channel
28171
28209
  - site
28172
- SiteRedirectsChannel:
28210
+ APIChannelSiteRedirects:
28173
28211
  type: object
28174
28212
  properties:
28175
28213
  channel:
@@ -28181,7 +28219,7 @@ components:
28181
28219
  required:
28182
28220
  - channel
28183
28221
  - site
28184
- SiteChannel:
28222
+ APIChannelSite:
28185
28223
  type: object
28186
28224
  properties:
28187
28225
  channel:
@@ -28193,7 +28231,7 @@ components:
28193
28231
  required:
28194
28232
  - channel
28195
28233
  - site
28196
- SiteContextChannel:
28234
+ APIChannelSiteContext:
28197
28235
  type: object
28198
28236
  description: Subscription channel for changes in site context.
28199
28237
  properties:
@@ -28206,7 +28244,7 @@ components:
28206
28244
  required:
28207
28245
  - channel
28208
28246
  - site
28209
- SiteCustomizationChannel:
28247
+ APIChannelSiteCustomization:
28210
28248
  type: object
28211
28249
  properties:
28212
28250
  channel:
@@ -28218,7 +28256,7 @@ components:
28218
28256
  required:
28219
28257
  - channel
28220
28258
  - site
28221
- SiteIntegrationsChannel:
28259
+ APIChannelSiteIntegrations:
28222
28260
  type: object
28223
28261
  properties:
28224
28262
  channel:
@@ -28230,7 +28268,7 @@ components:
28230
28268
  required:
28231
28269
  - channel
28232
28270
  - site
28233
- SiteSpaceChannel:
28271
+ APIChannelSiteSpace:
28234
28272
  type: object
28235
28273
  properties:
28236
28274
  channel:
@@ -28245,7 +28283,7 @@ components:
28245
28283
  - channel
28246
28284
  - site
28247
28285
  - siteSpace
28248
- SiteSpaceCustomizationChannel:
28286
+ APIChannelSiteSpaceCustomization:
28249
28287
  type: object
28250
28288
  properties:
28251
28289
  channel:
@@ -28260,7 +28298,7 @@ components:
28260
28298
  - channel
28261
28299
  - site
28262
28300
  - siteSpace
28263
- SiteStructureChannel:
28301
+ APIChannelSiteStructure:
28264
28302
  type: object
28265
28303
  description: Subscription channel for changes in site structure in an organization.
28266
28304
  properties:
@@ -28273,7 +28311,7 @@ components:
28273
28311
  required:
28274
28312
  - channel
28275
28313
  - site
28276
- SiteAdaptiveSchemaChannel:
28314
+ APIChannelSiteAdaptiveSchema:
28277
28315
  type: object
28278
28316
  properties:
28279
28317
  channel:
@@ -28285,7 +28323,7 @@ components:
28285
28323
  required:
28286
28324
  - channel
28287
28325
  - site
28288
- SitePublishingAuthChannel:
28326
+ APIChannelSitePublishingAuth:
28289
28327
  type: object
28290
28328
  properties:
28291
28329
  channel:
@@ -28297,7 +28335,7 @@ components:
28297
28335
  required:
28298
28336
  - channel
28299
28337
  - site
28300
- SiteShareLinksChannel:
28338
+ APIChannelSiteShareLinks:
28301
28339
  type: object
28302
28340
  description: Subscription channel for changes in share links in a site
28303
28341
  properties:
@@ -28310,7 +28348,7 @@ components:
28310
28348
  required:
28311
28349
  - channel
28312
28350
  - site
28313
- SiteShareLinkChannel:
28351
+ APIChannelSiteShareLink:
28314
28352
  type: object
28315
28353
  properties:
28316
28354
  channel:
@@ -28325,7 +28363,7 @@ components:
28325
28363
  - channel
28326
28364
  - site
28327
28365
  - siteShareLink
28328
- SiteMcpServersChannel:
28366
+ APIChannelSiteMcpServers:
28329
28367
  type: object
28330
28368
  properties:
28331
28369
  channel:
@@ -28337,7 +28375,7 @@ components:
28337
28375
  required:
28338
28376
  - channel
28339
28377
  - site
28340
- SiteMcpServerChannel:
28378
+ APIChannelSiteMcpServer:
28341
28379
  type: object
28342
28380
  properties:
28343
28381
  channel:
@@ -28352,7 +28390,7 @@ components:
28352
28390
  - channel
28353
28391
  - site
28354
28392
  - siteMcpServer
28355
- SiteSectionChannel:
28393
+ APIChannelSiteSection:
28356
28394
  type: object
28357
28395
  properties:
28358
28396
  channel:
@@ -28367,7 +28405,7 @@ components:
28367
28405
  - channel
28368
28406
  - site
28369
28407
  - siteSection
28370
- CustomHostnameChannel:
28408
+ APIChannelCustomHostname:
28371
28409
  type: object
28372
28410
  properties:
28373
28411
  channel:
@@ -28379,7 +28417,7 @@ components:
28379
28417
  required:
28380
28418
  - channel
28381
28419
  - customHostname
28382
- GitSyncOperationChannel:
28420
+ APIChannelGitSyncOperation:
28383
28421
  type: object
28384
28422
  properties:
28385
28423
  channel:
@@ -28391,7 +28429,7 @@ components:
28391
28429
  required:
28392
28430
  - channel
28393
28431
  - space
28394
- OpenAPISpecChannel:
28432
+ APIChannelOpenAPISpec:
28395
28433
  type: object
28396
28434
  description: Subscription channel for changes in OpenAPI specification.
28397
28435
  properties:
@@ -28404,7 +28442,7 @@ components:
28404
28442
  required:
28405
28443
  - channel
28406
28444
  - openAPISpec
28407
- SubdomainChannel:
28445
+ APIChannelSubdomain:
28408
28446
  type: object
28409
28447
  properties:
28410
28448
  channel:
@@ -28416,7 +28454,7 @@ components:
28416
28454
  required:
28417
28455
  - channel
28418
28456
  - subdomain
28419
- TranslationChannel:
28457
+ APIChannelTranslation:
28420
28458
  type: object
28421
28459
  properties:
28422
28460
  channel:
@@ -28428,7 +28466,7 @@ components:
28428
28466
  required:
28429
28467
  - channel
28430
28468
  - translation
28431
- TranslationRunChannel:
28469
+ APIChannelTranslationRun:
28432
28470
  type: object
28433
28471
  properties:
28434
28472
  channel:
@@ -28440,7 +28478,7 @@ components:
28440
28478
  required:
28441
28479
  - channel
28442
28480
  - translation
28443
- ImportRunChannel:
28481
+ APIChannelImportRun:
28444
28482
  type: object
28445
28483
  properties:
28446
28484
  channel:
@@ -28452,82 +28490,82 @@ components:
28452
28490
  required:
28453
28491
  - channel
28454
28492
  - runId
28455
- SubscriptionChannel:
28493
+ APIChannel:
28456
28494
  description: Channel to subscribe to for realtime updates.
28457
28495
  oneOf:
28458
- - $ref: "#/components/schemas/SpaceInfoChannel"
28459
- - $ref: "#/components/schemas/SpaceContentChannel"
28460
- - $ref: "#/components/schemas/SpaceGitInfoChannel"
28461
- - $ref: "#/components/schemas/SpacePublishingAuthChannel"
28462
- - $ref: "#/components/schemas/SpacePublishingCustomizationChannel"
28463
- - $ref: "#/components/schemas/SpaceContentRefsChannel"
28464
- - $ref: "#/components/schemas/SpaceIntegrationsChannel"
28465
- - $ref: "#/components/schemas/UserAPITokensChannel"
28466
- - $ref: "#/components/schemas/UserOrganizationsChannel"
28467
- - $ref: "#/components/schemas/UserProfileChannel"
28468
- - $ref: "#/components/schemas/ChangeRequestChannel"
28469
- - $ref: "#/components/schemas/ChangeRequestsChannel"
28470
- - $ref: "#/components/schemas/ChangeRequestReviewsChannel"
28471
- - $ref: "#/components/schemas/ChangeRequestContentRefsChannel"
28472
- - $ref: "#/components/schemas/CollectionChannel"
28473
- - $ref: "#/components/schemas/CollectionPublishingCustomizationChannel"
28474
- - $ref: "#/components/schemas/OrganizationInfoChannel"
28475
- - $ref: "#/components/schemas/OrganizationAgentDataChannel"
28476
- - $ref: "#/components/schemas/OrganizationInviteLinksChannel"
28477
- - $ref: "#/components/schemas/OrganizationMembersChannel"
28478
- - $ref: "#/components/schemas/OrganizationMemberChannel"
28479
- - $ref: "#/components/schemas/OrganizationSAMLChannel"
28480
- - $ref: "#/components/schemas/OrganizationTeamsChannel"
28481
- - $ref: "#/components/schemas/OrganizationTeamChannel"
28482
- - $ref: "#/components/schemas/OrganizationTeamMembersChannel"
28483
- - $ref: "#/components/schemas/OrganizationTeamMemberChannel"
28484
- - $ref: "#/components/schemas/OrganizationSpacesChannel"
28485
- - $ref: "#/components/schemas/OrganizationCollectionsChannel"
28486
- - $ref: "#/components/schemas/OrganizationIntegrationsChannel"
28487
- - $ref: "#/components/schemas/OrganizationInstallationsChannel"
28488
- - $ref: "#/components/schemas/OrganizationSitesChannel"
28489
- - $ref: "#/components/schemas/OrganizationOpenAPISpecsChannel"
28490
- - $ref: "#/components/schemas/OrganizationTranslationsChannel"
28491
- - $ref: "#/components/schemas/OrganizationTranslationsGlossaryChannel"
28492
- - $ref: "#/components/schemas/OrganizationCustomFontsChannel"
28493
- - $ref: "#/components/schemas/OrganizationAgentInstructionsChannel"
28494
- - $ref: "#/components/schemas/OrganizationChangeRequestsChannel"
28495
- - $ref: "#/components/schemas/SpaceCommentsChannel"
28496
- - $ref: "#/components/schemas/ChangeRequestCommentsChannel"
28497
- - $ref: "#/components/schemas/CommentInfoChannel"
28498
- - $ref: "#/components/schemas/CommentRepliesChannel"
28499
- - $ref: "#/components/schemas/IntegrationChannel"
28500
- - $ref: "#/components/schemas/IntegrationInstallationChannel"
28501
- - $ref: "#/components/schemas/IntegrationSpaceInstallationChannel"
28502
- - $ref: "#/components/schemas/IntegrationSpaceInstallationsChannel"
28503
- - $ref: "#/components/schemas/IntegrationSiteInstallationChannel"
28504
- - $ref: "#/components/schemas/IntegrationSiteInstallationsChannel"
28505
- - $ref: "#/components/schemas/PublishedContentSiteChannel"
28506
- - $ref: "#/components/schemas/SiteRedirectsChannel"
28507
- - $ref: "#/components/schemas/SiteChannel"
28508
- - $ref: "#/components/schemas/SiteContextChannel"
28509
- - $ref: "#/components/schemas/SiteCustomizationChannel"
28510
- - $ref: "#/components/schemas/SiteIntegrationsChannel"
28511
- - $ref: "#/components/schemas/SiteSpaceChannel"
28512
- - $ref: "#/components/schemas/SiteSpaceCustomizationChannel"
28513
- - $ref: "#/components/schemas/SiteStructureChannel"
28514
- - $ref: "#/components/schemas/SiteAdaptiveSchemaChannel"
28515
- - $ref: "#/components/schemas/SitePublishingAuthChannel"
28516
- - $ref: "#/components/schemas/SiteShareLinksChannel"
28517
- - $ref: "#/components/schemas/SiteShareLinkChannel"
28518
- - $ref: "#/components/schemas/SiteMcpServersChannel"
28519
- - $ref: "#/components/schemas/SiteMcpServerChannel"
28520
- - $ref: "#/components/schemas/SiteSectionChannel"
28521
- - $ref: "#/components/schemas/CustomHostnameChannel"
28522
- - $ref: "#/components/schemas/GitSyncOperationChannel"
28523
- - $ref: "#/components/schemas/OpenAPISpecChannel"
28524
- - $ref: "#/components/schemas/SubdomainChannel"
28525
- - $ref: "#/components/schemas/TranslationChannel"
28526
- - $ref: "#/components/schemas/TranslationRunChannel"
28527
- - $ref: "#/components/schemas/ImportRunChannel"
28496
+ - $ref: "#/components/schemas/APIChannelSpaceInfo"
28497
+ - $ref: "#/components/schemas/APIChannelSpaceContent"
28498
+ - $ref: "#/components/schemas/APIChannelSpaceGitInfo"
28499
+ - $ref: "#/components/schemas/APIChannelSpacePublishingAuth"
28500
+ - $ref: "#/components/schemas/APIChannelSpacePublishingCustomization"
28501
+ - $ref: "#/components/schemas/APIChannelSpaceContentRefs"
28502
+ - $ref: "#/components/schemas/APIChannelSpaceIntegrations"
28503
+ - $ref: "#/components/schemas/APIChannelUserAPITokens"
28504
+ - $ref: "#/components/schemas/APIChannelUserOrganizations"
28505
+ - $ref: "#/components/schemas/APIChannelUserProfile"
28506
+ - $ref: "#/components/schemas/APIChannelChangeRequest"
28507
+ - $ref: "#/components/schemas/APIChannelChangeRequests"
28508
+ - $ref: "#/components/schemas/APIChannelChangeRequestReviews"
28509
+ - $ref: "#/components/schemas/APIChannelChangeRequestContentRefs"
28510
+ - $ref: "#/components/schemas/APIChannelCollection"
28511
+ - $ref: "#/components/schemas/APIChannelCollectionPublishingCustomization"
28512
+ - $ref: "#/components/schemas/APIChannelOrganizationInfo"
28513
+ - $ref: "#/components/schemas/APIChannelOrganizationAgentData"
28514
+ - $ref: "#/components/schemas/APIChannelOrganizationInviteLinks"
28515
+ - $ref: "#/components/schemas/APIChannelOrganizationMembers"
28516
+ - $ref: "#/components/schemas/APIChannelOrganizationMember"
28517
+ - $ref: "#/components/schemas/APIChannelOrganizationSAML"
28518
+ - $ref: "#/components/schemas/APIChannelOrganizationTeams"
28519
+ - $ref: "#/components/schemas/APIChannelOrganizationTeam"
28520
+ - $ref: "#/components/schemas/APIChannelOrganizationTeamMembers"
28521
+ - $ref: "#/components/schemas/APIChannelOrganizationTeamMember"
28522
+ - $ref: "#/components/schemas/APIChannelOrganizationSpaces"
28523
+ - $ref: "#/components/schemas/APIChannelOrganizationCollections"
28524
+ - $ref: "#/components/schemas/APIChannelOrganizationIntegrations"
28525
+ - $ref: "#/components/schemas/APIChannelOrganizationInstallations"
28526
+ - $ref: "#/components/schemas/APIChannelOrganizationSites"
28527
+ - $ref: "#/components/schemas/APIChannelOrganizationOpenAPISpecs"
28528
+ - $ref: "#/components/schemas/APIChannelOrganizationTranslations"
28529
+ - $ref: "#/components/schemas/APIChannelOrganizationTranslationsGlossary"
28530
+ - $ref: "#/components/schemas/APIChannelOrganizationCustomFonts"
28531
+ - $ref: "#/components/schemas/APIChannelOrganizationAgentInstructions"
28532
+ - $ref: "#/components/schemas/APIChannelOrganizationChangeRequests"
28533
+ - $ref: "#/components/schemas/APIChannelSpaceComments"
28534
+ - $ref: "#/components/schemas/APIChannelChangeRequestComments"
28535
+ - $ref: "#/components/schemas/APIChannelCommentInfo"
28536
+ - $ref: "#/components/schemas/APIChannelCommentReplies"
28537
+ - $ref: "#/components/schemas/APIChannelIntegration"
28538
+ - $ref: "#/components/schemas/APIChannelIntegrationInstallation"
28539
+ - $ref: "#/components/schemas/APIChannelIntegrationSpaceInstallation"
28540
+ - $ref: "#/components/schemas/APIChannelIntegrationSpaceInstallations"
28541
+ - $ref: "#/components/schemas/APIChannelIntegrationSiteInstallation"
28542
+ - $ref: "#/components/schemas/APIChannelIntegrationSiteInstallations"
28543
+ - $ref: "#/components/schemas/APIChannelPublishedContentSite"
28544
+ - $ref: "#/components/schemas/APIChannelSiteRedirects"
28545
+ - $ref: "#/components/schemas/APIChannelSite"
28546
+ - $ref: "#/components/schemas/APIChannelSiteContext"
28547
+ - $ref: "#/components/schemas/APIChannelSiteCustomization"
28548
+ - $ref: "#/components/schemas/APIChannelSiteIntegrations"
28549
+ - $ref: "#/components/schemas/APIChannelSiteSpace"
28550
+ - $ref: "#/components/schemas/APIChannelSiteSpaceCustomization"
28551
+ - $ref: "#/components/schemas/APIChannelSiteStructure"
28552
+ - $ref: "#/components/schemas/APIChannelSiteAdaptiveSchema"
28553
+ - $ref: "#/components/schemas/APIChannelSitePublishingAuth"
28554
+ - $ref: "#/components/schemas/APIChannelSiteShareLinks"
28555
+ - $ref: "#/components/schemas/APIChannelSiteShareLink"
28556
+ - $ref: "#/components/schemas/APIChannelSiteMcpServers"
28557
+ - $ref: "#/components/schemas/APIChannelSiteMcpServer"
28558
+ - $ref: "#/components/schemas/APIChannelSiteSection"
28559
+ - $ref: "#/components/schemas/APIChannelCustomHostname"
28560
+ - $ref: "#/components/schemas/APIChannelGitSyncOperation"
28561
+ - $ref: "#/components/schemas/APIChannelOpenAPISpec"
28562
+ - $ref: "#/components/schemas/APIChannelSubdomain"
28563
+ - $ref: "#/components/schemas/APIChannelTranslation"
28564
+ - $ref: "#/components/schemas/APIChannelTranslationRun"
28565
+ - $ref: "#/components/schemas/APIChannelImportRun"
28528
28566
  discriminator:
28529
28567
  propertyName: channel
28530
- TranslationRunChannelData:
28568
+ APIChannelTranslationRunData:
28531
28569
  type: object
28532
28570
  properties:
28533
28571
  channel:
@@ -28551,7 +28589,7 @@ components:
28551
28589
  required:
28552
28590
  - channel
28553
28591
  - data
28554
- ImportRunChannelData:
28592
+ APIChannelImportRunData:
28555
28593
  type: object
28556
28594
  properties:
28557
28595
  channel:
@@ -28563,7 +28601,7 @@ components:
28563
28601
  required:
28564
28602
  - channel
28565
28603
  - data
28566
- GitSyncOperationChannelData:
28604
+ APIChannelGitSyncOperationData:
28567
28605
  type: object
28568
28606
  properties:
28569
28607
  channel:
@@ -28575,7 +28613,7 @@ components:
28575
28613
  required:
28576
28614
  - channel
28577
28615
  - data
28578
- SpaceContentRefsChannelData:
28616
+ APIChannelSpaceContentRefsData:
28579
28617
  type: object
28580
28618
  properties:
28581
28619
  channel:
@@ -28597,7 +28635,7 @@ components:
28597
28635
  required:
28598
28636
  - channel
28599
28637
  - data
28600
- ChangeRequestContentRefsChannelData:
28638
+ APIChannelChangeRequestContentRefsData:
28601
28639
  type: object
28602
28640
  properties:
28603
28641
  channel:
@@ -28638,14 +28676,14 @@ components:
28638
28676
  required:
28639
28677
  - channel
28640
28678
  - data
28641
- SubscriptionChannelData:
28679
+ APIChannelData:
28642
28680
  description: Data passed through a realtime channel
28643
28681
  oneOf:
28644
- - $ref: "#/components/schemas/GitSyncOperationChannelData"
28645
- - $ref: "#/components/schemas/SpaceContentRefsChannelData"
28646
- - $ref: "#/components/schemas/ChangeRequestContentRefsChannelData"
28647
- - $ref: "#/components/schemas/TranslationRunChannelData"
28648
- - $ref: "#/components/schemas/ImportRunChannelData"
28682
+ - $ref: "#/components/schemas/APIChannelGitSyncOperationData"
28683
+ - $ref: "#/components/schemas/APIChannelSpaceContentRefsData"
28684
+ - $ref: "#/components/schemas/APIChannelChangeRequestContentRefsData"
28685
+ - $ref: "#/components/schemas/APIChannelTranslationRunData"
28686
+ - $ref: "#/components/schemas/APIChannelImportRunData"
28649
28687
  - $ref: "#/components/schemas/APIChannelMutationData"
28650
28688
  discriminator:
28651
28689
  propertyName: channel
@@ -28683,6 +28721,10 @@ components:
28683
28721
  - live
28684
28722
  - rejected
28685
28723
  - disabled
28724
+ SiteChannelType:
28725
+ oneOf:
28726
+ - $ref: "#/components/schemas/SiteCoreChannelType"
28727
+ - $ref: "#/components/schemas/SiteConfigurableChannelType"
28686
28728
  SiteQuestionAnswerSourceType:
28687
28729
  type: string
28688
28730
  description: Source type used to answer a site question.
@@ -28874,8 +28916,6 @@ components:
28874
28916
  $ref: "#/components/schemas/SiteRedirectDestinationSiteSpace"
28875
28917
  OpenAPISpecSourceURL:
28876
28918
  $ref: "#/components/schemas/URL"
28877
- AgentsSetupState:
28878
- $ref: "#/components/schemas/AgentSetupState"
28879
28919
  responses:
28880
28920
  NotFoundError:
28881
28921
  description: Not Found