@gitbook/api 0.163.0 → 0.165.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
@@ -387,16 +387,6 @@ tags:
387
387
  {% openapi-schemas spec="gitbook" schemas="OpenAPISpecVersion" grouped="false" %}
388
388
  The OpenAPISpecVersion object
389
389
  {% 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
390
  - name: custom-fonts
401
391
  x-page-icon: font
402
392
  x-page-title: Custom fonts
@@ -1592,12 +1582,6 @@ paths:
1592
1582
  schema:
1593
1583
  type: string
1594
1584
  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
1585
  - name: orderBy
1602
1586
  in: query
1603
1587
  required: false
@@ -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
@@ -7027,8 +6716,6 @@ paths:
7027
6716
  $ref: "#/components/schemas/SiteBasename"
7028
6717
  adaptiveContent:
7029
6718
  $ref: "#/components/schemas/SiteAdaptiveContent"
7030
- agentsContext:
7031
- $ref: "#/components/schemas/SiteAgentsContext"
7032
6719
  defaultSiteSpace:
7033
6720
  type: string
7034
6721
  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.
@@ -7535,7 +7222,7 @@ paths:
7535
7222
  content:
7536
7223
  application/json:
7537
7224
  schema:
7538
- $ref: "#/components/schemas/SiteCustomizationSettings"
7225
+ $ref: "#/components/schemas/SiteCustomizationSettingsInput"
7539
7226
  responses:
7540
7227
  "200":
7541
7228
  description: OK
@@ -8235,6 +7922,25 @@ paths:
8235
7922
  responses:
8236
7923
  "204":
8237
7924
  description: The context records have been created or updated
7925
+ "/orgs/{organizationId}/sites/{siteId}/context-records/{siteContextRecordId}":
7926
+ get:
7927
+ operationId: getSiteContextRecordById
7928
+ summary: Get a context record
7929
+ tags:
7930
+ - site-context
7931
+ security:
7932
+ - user: []
7933
+ parameters:
7934
+ - $ref: "#/components/parameters/organizationId"
7935
+ - $ref: "#/components/parameters/siteId"
7936
+ - $ref: "#/components/parameters/siteContextRecordId"
7937
+ responses:
7938
+ "200":
7939
+ description: OK
7940
+ content:
7941
+ application/json:
7942
+ schema:
7943
+ $ref: "#/components/schemas/ContextRecord"
8238
7944
  "/orgs/{organizationId}/sites/{siteId}/context-connections":
8239
7945
  get:
8240
7946
  operationId: listSiteContextConnections
@@ -8502,6 +8208,24 @@ paths:
8502
8208
  application/json:
8503
8209
  schema:
8504
8210
  $ref: "#/components/schemas/SiteQuestion"
8211
+ "/orgs/{organizationId}/sites/{siteId}/question-stats":
8212
+ get:
8213
+ operationId: getSiteQuestionStats
8214
+ summary: Get question stats for a site
8215
+ tags:
8216
+ - site-questions
8217
+ security:
8218
+ - user: []
8219
+ parameters:
8220
+ - $ref: "#/components/parameters/organizationId"
8221
+ - $ref: "#/components/parameters/siteId"
8222
+ responses:
8223
+ "200":
8224
+ description: OK
8225
+ content:
8226
+ application/json:
8227
+ schema:
8228
+ $ref: "#/components/schemas/SiteQuestionStats"
8505
8229
  "/orgs/{organizationId}/sites/{siteId}/answers":
8506
8230
  get:
8507
8231
  operationId: listSiteQuestionAnswers
@@ -9564,6 +9288,10 @@ paths:
9564
9288
  properties:
9565
9289
  source:
9566
9290
  $ref: "#/components/schemas/SiteRedirectSourcePath"
9291
+ captureWildcard:
9292
+ type: boolean
9293
+ default: false
9294
+ description: Capture and append the wildcard-matched suffix to the destination URL.
9567
9295
  destination:
9568
9296
  $ref: "#/components/schemas/SiteRedirectInputDestination"
9569
9297
  required:
@@ -9602,6 +9330,10 @@ paths:
9602
9330
  properties:
9603
9331
  source:
9604
9332
  $ref: "#/components/schemas/SiteRedirectSourcePath"
9333
+ captureWildcard:
9334
+ type: boolean
9335
+ default: false
9336
+ description: Capture and append the wildcard-matched suffix to the destination URL.
9605
9337
  destination:
9606
9338
  $ref: "#/components/schemas/SiteRedirectInputDestination"
9607
9339
  required:
@@ -9725,6 +9457,9 @@ paths:
9725
9457
  properties:
9726
9458
  source:
9727
9459
  $ref: "#/components/schemas/SiteRedirectSourcePath"
9460
+ captureWildcard:
9461
+ type: boolean
9462
+ description: Capture and append the wildcard-matched suffix to the destination URL.
9728
9463
  destination:
9729
9464
  $ref: "#/components/schemas/SiteRedirectDestination"
9730
9465
  responses:
@@ -10650,27 +10385,6 @@ components:
10650
10385
  description: The unique ID of the OpenAPI specification version
10651
10386
  schema:
10652
10387
  type: string
10653
- clusterId:
10654
- name: clusterId
10655
- in: path
10656
- required: true
10657
- description: The unique id of the cluster
10658
- schema:
10659
- type: string
10660
- conversationIssueId:
10661
- name: issueId
10662
- in: path
10663
- required: true
10664
- description: Identifier of the conversation issue
10665
- schema:
10666
- type: string
10667
- conversationId:
10668
- name: conversationId
10669
- in: path
10670
- required: true
10671
- description: Identifier of the conversation
10672
- schema:
10673
- type: string
10674
10388
  translationId:
10675
10389
  name: translationId
10676
10390
  in: path
@@ -10728,6 +10442,13 @@ components:
10728
10442
  description: The unique id of the section within a site
10729
10443
  schema:
10730
10444
  type: string
10445
+ siteContextRecordId:
10446
+ name: siteContextRecordId
10447
+ in: path
10448
+ required: true
10449
+ description: The unique id of the context record
10450
+ schema:
10451
+ type: string
10731
10452
  siteContextConnectionId:
10732
10453
  name: siteContextConnectionId
10733
10454
  in: path
@@ -11528,6 +11249,9 @@ components:
11528
11249
  type: string
11529
11250
  path:
11530
11251
  type: string
11252
+ score:
11253
+ type: number
11254
+ description: Aggregated relevance score for the page.
11531
11255
  sections:
11532
11256
  type: array
11533
11257
  items:
@@ -11556,6 +11280,7 @@ components:
11556
11280
  - id
11557
11281
  - title
11558
11282
  - path
11283
+ - score
11559
11284
  - ancestors
11560
11285
  - urls
11561
11286
  UpdateSpaceGitInfo:
@@ -12114,6 +11839,22 @@ components:
12114
11839
  required:
12115
11840
  - kind
12116
11841
  - reusableContent
11842
+ ContentRefTag:
11843
+ type: object
11844
+ properties:
11845
+ kind:
11846
+ type: string
11847
+ enum:
11848
+ - tag
11849
+ tag:
11850
+ type: string
11851
+ description: The slug of the tag, also used as the ID, and references the tags defined on a revision.
11852
+ space:
11853
+ type: string
11854
+ 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.
11855
+ required:
11856
+ - kind
11857
+ - tag
12117
11858
  ContentRefOpenAPI:
12118
11859
  type: object
12119
11860
  properties:
@@ -12138,6 +11879,7 @@ components:
12138
11879
  - $ref: "#/components/schemas/ContentRefCollection"
12139
11880
  - $ref: "#/components/schemas/ContentRefSpace"
12140
11881
  - $ref: "#/components/schemas/ContentRefReusableContent"
11882
+ - $ref: "#/components/schemas/ContentRefTag"
12141
11883
  - $ref: "#/components/schemas/ContentRefOpenAPI"
12142
11884
  DocumentInlineLink:
12143
11885
  type: object
@@ -13159,6 +12901,7 @@ components:
13159
12901
  - $ref: "#/components/schemas/DocumentBlockReusableContent"
13160
12902
  - $ref: "#/components/schemas/DocumentBlockStepper"
13161
12903
  - $ref: "#/components/schemas/DocumentBlockIf"
12904
+ - $ref: "#/components/schemas/DocumentBlockColumns"
13162
12905
  DocumentBlockIf:
13163
12906
  type: object
13164
12907
  properties:
@@ -14127,22 +13870,6 @@ components:
14127
13870
  - data
14128
13871
  - nodes
14129
13872
  - isVoid
14130
- ContentRefTag:
14131
- type: object
14132
- properties:
14133
- kind:
14134
- type: string
14135
- enum:
14136
- - tag
14137
- tag:
14138
- type: string
14139
- description: The slug of the tag, also used as the ID, and references the tags defined on a revision.
14140
- space:
14141
- type: string
14142
- 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.
14143
- required:
14144
- - kind
14145
- - tag
14146
13873
  DocumentBlockUpdate:
14147
13874
  type: object
14148
13875
  properties:
@@ -15266,9 +14993,6 @@ components:
15266
14993
  outdated:
15267
14994
  type: boolean
15268
14995
  description: If true, the change request is not up-to-date with latest changes in the main content.
15269
- conversationsIssuesCluster:
15270
- type: string
15271
- description: ID of the conversations issues cluster associated with this change request.
15272
14996
  urls:
15273
14997
  type: object
15274
14998
  description: URLs associated with the object
@@ -15516,6 +15240,11 @@ components:
15516
15240
  hasPaymentFailed:
15517
15241
  description: If true, we were unable to collect the last payment
15518
15242
  type: boolean
15243
+ canCheckout:
15244
+ description: |
15245
+ If true, organization can create a checkout session to subscribe/update billing.
15246
+ If false, organization must resolve other billing issues before a checkout can be done.
15247
+ type: boolean
15519
15248
  isScheduledToCancel:
15520
15249
  description: If true, the billing is set to cancel at the end of its current period
15521
15250
  type: boolean
@@ -15533,13 +15262,32 @@ components:
15533
15262
  maxUsers:
15534
15263
  description: The maximum number of members allowed for this organization
15535
15264
  type: number
15265
+ minPremiumSites:
15266
+ description: The minimum number of premium sites allowed for this organization.
15267
+ type: number
15268
+ maxPremiumSites:
15269
+ description: The maximum number of premium sites allowed for this organization.
15270
+ type: number
15271
+ minUltimateSites:
15272
+ description: The minimum number of ultimate sites allowed for this organization.
15273
+ type: number
15274
+ maxUltimateSites:
15275
+ description: The maximum number of ultimate sites allowed for this organization.
15276
+ type: number
15536
15277
  paidMembers:
15537
15278
  description: The number of paid members on the current subscription.
15538
15279
  type: number
15280
+ paidPremiumSites:
15281
+ description: The number of paid premium sites on the current subscription.
15282
+ type: number
15283
+ paidUltimateSites:
15284
+ description: The number of paid ultimate sites on the current subscription.
15285
+ type: number
15539
15286
  required:
15540
15287
  - interval
15541
15288
  - endDate
15542
15289
  - hasPaymentFailed
15290
+ - canCheckout
15543
15291
  - isScheduledToCancel
15544
15292
  - pricing
15545
15293
  - usageAddons
@@ -15694,9 +15442,6 @@ components:
15694
15442
  createOpenAPISpec:
15695
15443
  type: boolean
15696
15444
  description: Can the user create new OpenAPI specifications.
15697
- ingestConversations:
15698
- type: boolean
15699
- description: Can the user ingest conversations in the organization.
15700
15445
  viewBilling:
15701
15446
  type: boolean
15702
15447
  description: Can the user view the billing details of the organization.
@@ -15722,7 +15467,6 @@ components:
15722
15467
  - ownTeam
15723
15468
  - createContent
15724
15469
  - createOpenAPISpec
15725
- - ingestConversations
15726
15470
  - viewBilling
15727
15471
  - listMembers
15728
15472
  - listTeams
@@ -17158,9 +16902,9 @@ components:
17158
16902
  - site:visitor:auth
17159
16903
  - site:adaptive:read
17160
16904
  - site:adaptive:write
16905
+ - conversations:ingest
17161
16906
  - openapi:read
17162
16907
  - openapi:write
17163
- - conversations:ingest
17164
16908
  IntegrationScopes:
17165
16909
  type: array
17166
16910
  description: Permissions that should be granted to the integration
@@ -18631,15 +18375,6 @@ components:
18631
18375
  zoneId:
18632
18376
  type: string
18633
18377
  description: The ad network zone ID
18634
- SiteAgentsContext:
18635
- type: string
18636
- description: |
18637
- Defines if the site will be included in the agent's context.
18638
- - `excluded` means that the agent will not be able to access the site.
18639
- - `included` means that the agent will be able to access the site.
18640
- enum:
18641
- - excluded
18642
- - included
18643
18378
  SiteFeatureKey:
18644
18379
  type: string
18645
18380
  description: The site feature identifier
@@ -18750,8 +18485,6 @@ components:
18750
18485
  $ref: "#/components/schemas/SiteAdaptiveContent"
18751
18486
  ads:
18752
18487
  $ref: "#/components/schemas/SiteAds"
18753
- agentsContext:
18754
- $ref: "#/components/schemas/SiteAgentsContext"
18755
18488
  features:
18756
18489
  description: |
18757
18490
  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.
@@ -18788,7 +18521,6 @@ components:
18788
18521
  - createdAt
18789
18522
  - siteSpaces
18790
18523
  - features
18791
- - agentsContext
18792
18524
  - urls
18793
18525
  IntegrationSiteInstallation:
18794
18526
  allOf:
@@ -20203,6 +19935,11 @@ components:
20203
19935
  required:
20204
19936
  - removeMembers
20205
19937
  - updateSites
19938
+ BillingCoupon:
19939
+ type: string
19940
+ description: Coupon or promotion code to apply to billing operations.
19941
+ minLength: 1
19942
+ maxLength: 500
20206
19943
  UpgradeOrganizationBilling:
20207
19944
  type: object
20208
19945
  properties:
@@ -20215,6 +19952,9 @@ components:
20215
19952
  reason:
20216
19953
  type: string
20217
19954
  description: Reason that triggered the billing upgrade
19955
+ coupon:
19956
+ $ref: "#/components/schemas/BillingCoupon"
19957
+ description: Coupon or promotion code to apply to the subscription
20218
19958
  mode:
20219
19959
  type: string
20220
19960
  description: |
@@ -20260,19 +20000,21 @@ components:
20260
20000
  - description
20261
20001
  - periodStart
20262
20002
  - periodEnd
20263
- discount:
20264
- type: object
20265
- description: Discount applied to the subscription.
20266
- properties:
20267
- description:
20268
- description: The combined description of all discounts applied to the subscription.
20269
- type: string
20270
- amount:
20271
- description: The total amount of all discounts applied to the subscription.
20272
- type: number
20273
- required:
20274
- - amount
20275
- - description
20003
+ discounts:
20004
+ type: array
20005
+ description: Discounts applied to the subscription.
20006
+ items:
20007
+ type: object
20008
+ properties:
20009
+ description:
20010
+ description: The description of the applied discount.
20011
+ type: string
20012
+ amount:
20013
+ description: The amount of the applied discount.
20014
+ type: number
20015
+ required:
20016
+ - amount
20017
+ - description
20276
20018
  required:
20277
20019
  - amount
20278
20020
  - amountDueToday
@@ -20407,7 +20149,6 @@ components:
20407
20149
  - upgrade
20408
20150
  - upgrade_passive
20409
20151
  - downgrade
20410
- - undo_cancel
20411
20152
  - switch_interval
20412
20153
  BillingMeter:
20413
20154
  type: string
@@ -20452,6 +20193,9 @@ components:
20452
20193
  type: string
20453
20194
  title:
20454
20195
  type: string
20196
+ score:
20197
+ type: number
20198
+ description: Aggregated relevance score for the space.
20455
20199
  pages:
20456
20200
  type: array
20457
20201
  items:
@@ -20460,6 +20204,7 @@ components:
20460
20204
  - type
20461
20205
  - id
20462
20206
  - title
20207
+ - score
20463
20208
  - pages
20464
20209
  CreateSpace:
20465
20210
  allOf:
@@ -20967,289 +20712,6 @@ components:
20967
20712
  required:
20968
20713
  - filesystem
20969
20714
  - url
20970
- ConversationIssueImpact:
20971
- type: string
20972
- description: |
20973
- Estimated end-user impact of a conversation issue.
20974
-
20975
- - low: Minor friction or small polish issues; users can proceed with little to no guidance.
20976
- - medium: Noticeable friction or partial blocking; users can proceed with workarounds or extra guidance.
20977
- - high: Fully or near-fully blocking, severe regression, repeated failures, or risk of data loss; no viable workaround.
20978
- enum:
20979
- - low
20980
- - medium
20981
- - high
20982
- ConversationsIssuesCluster:
20983
- type: object
20984
- properties:
20985
- object:
20986
- type: string
20987
- enum:
20988
- - issues-cluster
20989
- id:
20990
- type: string
20991
- description: The ID of the conversations issues cluster
20992
- label:
20993
- type: string
20994
- description: The label of the conversations issues cluster
20995
- createdAt:
20996
- $ref: "#/components/schemas/Timestamp"
20997
- updatedAt:
20998
- $ref: "#/components/schemas/Timestamp"
20999
- icon:
21000
- $ref: "#/components/schemas/Icon"
21001
- summary:
21002
- $ref: "#/components/schemas/JSONDocument"
21003
- muted:
21004
- type: boolean
21005
- description: Whether the cluster is muted for change request creation
21006
- impact:
21007
- $ref: "#/components/schemas/ConversationIssueImpact"
21008
- weeklyPulse:
21009
- type: array
21010
- minItems: 13
21011
- maxItems: 13
21012
- description: The weekly pulse of the conversations issues cluster for the past 3 months
21013
- items:
21014
- type: number
21015
- sources:
21016
- type: object
21017
- additionalProperties:
21018
- type: number
21019
- description: The number of issues in the conversations issues cluster for the source
21020
- stats:
21021
- type: object
21022
- description: The stats of the conversations issues cluster
21023
- properties:
21024
- issues:
21025
- type: number
21026
- description: The number of issues in the conversations issues cluster
21027
- conversations:
21028
- type: number
21029
- description: The number of conversations in the conversations issues cluster
21030
- required:
21031
- - issues
21032
- - conversations
21033
- urls:
21034
- type: object
21035
- description: URLs associated with the conversations issues cluster
21036
- properties:
21037
- location:
21038
- type: string
21039
- description: URL of the conversations issues cluster in the API
21040
- format: uri
21041
- required:
21042
- - location
21043
- required:
21044
- - object
21045
- - id
21046
- - label
21047
- - summary
21048
- - icon
21049
- - muted
21050
- - impact
21051
- - sources
21052
- - stats
21053
- - weeklyPulse
21054
- - createdAt
21055
- - updatedAt
21056
- - urls
21057
- ConversationSource:
21058
- oneOf:
21059
- - type: string
21060
- description: Integration source
21061
- pattern: ^integration:[^:]+:[^:]+$
21062
- x-typescript: "`integration:${string}:${string}`"
21063
- - type: string
21064
- description: Email source
21065
- enum:
21066
- - email
21067
- Conversation:
21068
- type: object
21069
- properties:
21070
- object:
21071
- type: string
21072
- enum:
21073
- - conversation
21074
- id:
21075
- type: string
21076
- description: The ID of the conversation
21077
- subject:
21078
- type: string
21079
- description: The subject of the conversation
21080
- createdAt:
21081
- $ref: "#/components/schemas/Timestamp"
21082
- processedAt:
21083
- $ref: "#/components/schemas/Timestamp"
21084
- source:
21085
- $ref: "#/components/schemas/ConversationSource"
21086
- impact:
21087
- $ref: "#/components/schemas/ConversationIssueImpact"
21088
- urls:
21089
- type: object
21090
- description: URLs associated with the conversation
21091
- properties:
21092
- location:
21093
- type: string
21094
- description: URL of the conversation in the API
21095
- format: uri
21096
- source:
21097
- type: string
21098
- description: URL of the conversation in the source
21099
- format: uri
21100
- required:
21101
- - location
21102
- required:
21103
- - object
21104
- - id
21105
- - createdAt
21106
- - source
21107
- - impact
21108
- - urls
21109
- ConversationMetadata:
21110
- type: object
21111
- properties:
21112
- url:
21113
- type: string
21114
- description: URL to the conversation
21115
- attributes:
21116
- type: object
21117
- additionalProperties:
21118
- type: string
21119
- createdAt:
21120
- description: Date of the conversation creation
21121
- $ref: "#/components/schemas/Timestamp"
21122
- ConversationPartMessage:
21123
- type: object
21124
- description: A message posted in the conversation by a user or a team member.
21125
- properties:
21126
- type:
21127
- type: string
21128
- enum:
21129
- - message
21130
- role:
21131
- type: string
21132
- enum:
21133
- - user
21134
- - assistant
21135
- - team-member
21136
- body:
21137
- type: string
21138
- description: Markdown or HTML body of the message.
21139
- required:
21140
- - type
21141
- - role
21142
- - body
21143
- ConversationPart:
21144
- oneOf:
21145
- - $ref: "#/components/schemas/ConversationPartMessage"
21146
- ConversationInput:
21147
- type: object
21148
- properties:
21149
- id:
21150
- type: string
21151
- minLength: 1
21152
- maxLength: 255
21153
- description: The unique identifier for the conversation, relative to the source in which it was created.
21154
- metadata:
21155
- $ref: "#/components/schemas/ConversationMetadata"
21156
- subject:
21157
- type: string
21158
- maxLength: 512
21159
- description: The subject of the conversation.
21160
- parts:
21161
- type: array
21162
- items:
21163
- $ref: "#/components/schemas/ConversationPart"
21164
- required:
21165
- - id
21166
- - parts
21167
- ConversationIssue:
21168
- type: object
21169
- properties:
21170
- object:
21171
- type: string
21172
- enum:
21173
- - conversation-issue
21174
- id:
21175
- type: string
21176
- description: The ID of the conversation issue
21177
- title:
21178
- type: string
21179
- description: The title of the conversation issue
21180
- details:
21181
- $ref: "#/components/schemas/JSONDocument"
21182
- impact:
21183
- $ref: "#/components/schemas/ConversationIssueImpact"
21184
- createdAt:
21185
- $ref: "#/components/schemas/Timestamp"
21186
- ingestedAt:
21187
- $ref: "#/components/schemas/Timestamp"
21188
- conversation:
21189
- type: string
21190
- description: The ID of the conversation the issue belongs to
21191
- cluster:
21192
- type: string
21193
- description: The ID of the cluster the issue has been linked to
21194
- urls:
21195
- type: object
21196
- description: URLs associated with the conversation issue
21197
- properties:
21198
- location:
21199
- type: string
21200
- description: URL of the conversation issue in the API
21201
- format: uri
21202
- required:
21203
- - location
21204
- required:
21205
- - object
21206
- - id
21207
- - title
21208
- - details
21209
- - impact
21210
- - createdAt
21211
- - ingestedAt
21212
- - conversation
21213
- - urls
21214
- AgentSetupState:
21215
- type: object
21216
- description: State and settings of the agent
21217
- properties:
21218
- email:
21219
- type: string
21220
- description: The email address of the agent. Emails can be forwarded to it to ingest conversations.
21221
- stats:
21222
- type: object
21223
- description: The stats of the agent.
21224
- properties:
21225
- conversations:
21226
- type: number
21227
- description: The number of conversations the agent has indexed.
21228
- issues:
21229
- type: number
21230
- description: The number of issues the agent has indexed.
21231
- issuesClusters:
21232
- type: number
21233
- description: The number of issue clusters the agent has indexed.
21234
- sources:
21235
- type: object
21236
- additionalProperties:
21237
- type: number
21238
- description: The number of conversations ingested for the source
21239
- required:
21240
- - conversations
21241
- - issues
21242
- - issuesClusters
21243
- - sources
21244
- settings:
21245
- type: object
21246
- description: The settings for the agent.
21247
- properties: {}
21248
- additionalProperties: false
21249
- required:
21250
- - email
21251
- - settings
21252
- - stats
21253
20715
  OrganizationAgentInstructions:
21254
20716
  type: object
21255
20717
  properties:
@@ -22293,8 +21755,12 @@ components:
22293
21755
  footer:
22294
21756
  type: boolean
22295
21757
  default: true
21758
+ header:
21759
+ type: boolean
21760
+ default: false
22296
21761
  required:
22297
21762
  - footer
21763
+ - header
22298
21764
  required:
22299
21765
  - platform
22300
21766
  - handle
@@ -22305,7 +21771,7 @@ components:
22305
21771
  items:
22306
21772
  $ref: "#/components/schemas/SiteSocialAccount"
22307
21773
  maxItems: 10
22308
- SiteCustomizationSettings:
21774
+ SiteCustomizationSettingsBase:
22309
21775
  type: object
22310
21776
  properties:
22311
21777
  title:
@@ -22567,6 +22033,14 @@ components:
22567
22033
  - socialPreview
22568
22034
  - socialAccounts
22569
22035
  - insights
22036
+ SiteCustomizationSettings:
22037
+ allOf:
22038
+ - $ref: "#/components/schemas/SiteCustomizationSettingsBase"
22039
+ - type: object
22040
+ properties:
22041
+ updatedAt:
22042
+ description: When the customization settings were updated. If missing, customization was not updated.
22043
+ $ref: "#/components/schemas/Timestamp"
22570
22044
  SiteIntegrationScript:
22571
22045
  type: object
22572
22046
  properties:
@@ -22765,6 +22239,9 @@ components:
22765
22239
  format: uri
22766
22240
  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.
22767
22241
  nullable: true
22242
+ SiteCustomizationSettingsInput:
22243
+ allOf:
22244
+ - $ref: "#/components/schemas/SiteCustomizationSettingsBase"
22768
22245
  SiteSearchScope:
22769
22246
  oneOf:
22770
22247
  - type: object
@@ -22819,6 +22296,9 @@ components:
22819
22296
  title:
22820
22297
  type: string
22821
22298
  description: The title of the record.
22299
+ score:
22300
+ type: number
22301
+ description: Relevance score for the record.
22822
22302
  description:
22823
22303
  type: string
22824
22304
  description: The description of the record.
@@ -22830,6 +22310,7 @@ components:
22830
22310
  - type
22831
22311
  - id
22832
22312
  - title
22313
+ - score
22833
22314
  - url
22834
22315
  ContextRecordType:
22835
22316
  type: string
@@ -23106,21 +22587,74 @@ components:
23106
22587
  - yes
23107
22588
  - partially
23108
22589
  - no
22590
+ SiteQuestionStatsRelevance:
22591
+ type: object
22592
+ properties:
22593
+ relevant:
22594
+ type: number
22595
+ spam:
22596
+ type: number
22597
+ off-topic:
22598
+ type: number
22599
+ unclear:
22600
+ type: number
22601
+ required:
22602
+ - relevant
22603
+ - spam
22604
+ - off-topic
22605
+ - unclear
22606
+ SiteQuestionStatsTypes:
22607
+ type: object
22608
+ properties:
22609
+ exploring:
22610
+ type: number
22611
+ how-to:
22612
+ type: number
22613
+ troubleshooting:
22614
+ type: number
22615
+ reference:
22616
+ type: number
22617
+ unknown:
22618
+ type: number
22619
+ required:
22620
+ - exploring
22621
+ - how-to
22622
+ - troubleshooting
22623
+ - reference
22624
+ - unknown
23109
22625
  SiteQuestionStats:
23110
22626
  type: object
23111
- description: Aggregated stats for answers linked to a site question.
22627
+ description: Aggregated stats for questions and linked answers.
23112
22628
  properties:
22629
+ total:
22630
+ type: number
22631
+ description: Total count of questions included in the aggregation.
23113
22632
  answers:
23114
22633
  type: number
23115
- description: Total count of answers linked to the question.
22634
+ description: Total count of answers linked to the questions.
23116
22635
  feedback:
23117
22636
  $ref: "#/components/schemas/SiteQuestionStatsFeedback"
23118
22637
  answered:
23119
22638
  $ref: "#/components/schemas/SiteQuestionStatsAnswered"
22639
+ relevance:
22640
+ $ref: "#/components/schemas/SiteQuestionStatsRelevance"
22641
+ types:
22642
+ $ref: "#/components/schemas/SiteQuestionStatsTypes"
22643
+ weeklyPulse:
22644
+ type: array
22645
+ minItems: 13
22646
+ maxItems: 13
22647
+ description: Weekly count of related question answers for the past 3 months.
22648
+ items:
22649
+ type: number
23120
22650
  required:
22651
+ - total
23121
22652
  - answers
23122
22653
  - feedback
23123
22654
  - answered
22655
+ - relevance
22656
+ - types
22657
+ - weeklyPulse
23124
22658
  SiteTopic:
23125
22659
  type: object
23126
22660
  properties:
@@ -23157,13 +22691,6 @@ components:
23157
22691
  $ref: "#/components/schemas/JSONDocument"
23158
22692
  usageSettings:
23159
22693
  $ref: "#/components/schemas/ContextUsageSettings"
23160
- weeklyPulse:
23161
- type: array
23162
- minItems: 13
23163
- maxItems: 13
23164
- description: The weekly pulse of related question answers for the past 3 months
23165
- items:
23166
- type: number
23167
22694
  pages:
23168
22695
  type: number
23169
22696
  description: The number of pages associated with the topic
@@ -23192,7 +22719,6 @@ components:
23192
22719
  - pages
23193
22720
  - records
23194
22721
  - questions
23195
- - weeklyPulse
23196
22722
  - createdAt
23197
22723
  - updatedAt
23198
22724
  - urls
@@ -24664,6 +24190,7 @@ components:
24664
24190
  enum:
24665
24191
  - site
24666
24192
  - embed
24193
+ - mcp
24667
24194
  SiteInsightsEventLocation:
24668
24195
  type: object
24669
24196
  description: Location of the event.
@@ -24770,17 +24297,26 @@ components:
24770
24297
  type: string
24771
24298
  description: Query of the search.
24772
24299
  result:
24773
- type: object
24774
- properties:
24775
- spaceId:
24776
- type: string
24777
- description: ID of the concerned space.
24778
- pageId:
24779
- type: string
24780
- description: ID of the concerned page.
24781
- required:
24782
- - spaceId
24783
- - pageId
24300
+ description: Target of the opened search result.
24301
+ oneOf:
24302
+ - type: object
24303
+ properties:
24304
+ spaceId:
24305
+ type: string
24306
+ description: ID of the concerned space.
24307
+ pageId:
24308
+ type: string
24309
+ description: ID of the concerned page.
24310
+ required:
24311
+ - spaceId
24312
+ - pageId
24313
+ - type: object
24314
+ properties:
24315
+ recordId:
24316
+ type: string
24317
+ description: ID of the concerned record.
24318
+ required:
24319
+ - recordId
24784
24320
  required:
24785
24321
  - type
24786
24322
  - query
@@ -25237,6 +24773,14 @@ components:
25237
24773
  type: string
25238
24774
  enum:
25239
24775
  - eventSearchQuery
24776
+ - type: object
24777
+ required:
24778
+ - column
24779
+ properties:
24780
+ column:
24781
+ type: string
24782
+ enum:
24783
+ - eventSearchResultRecordId
25240
24784
  - type: object
25241
24785
  required:
25242
24786
  - column
@@ -25432,6 +24976,16 @@ components:
25432
24976
  - applebot
25433
24977
  - chatgpt
25434
24978
  - anthropic
24979
+ - gemini
24980
+ - perplexity
24981
+ - cohere
24982
+ - mistral
24983
+ - deepseek
24984
+ - meta
24985
+ - bytespider
24986
+ - ccbot
24987
+ - amazonbot
24988
+ - youbot
25435
24989
  SiteInsightsQueryEventsValues:
25436
24990
  oneOf:
25437
24991
  - type: object
@@ -25835,6 +25389,20 @@ components:
25835
25389
  type: array
25836
25390
  items:
25837
25391
  type: string
25392
+ - type: object
25393
+ required:
25394
+ - column
25395
+ - values
25396
+ properties:
25397
+ column:
25398
+ type: string
25399
+ enum:
25400
+ - eventSearchResultRecordId
25401
+ values:
25402
+ type: array
25403
+ items:
25404
+ type: string
25405
+ nullable: true
25838
25406
  - type: object
25839
25407
  required:
25840
25408
  - column
@@ -26174,7 +25742,7 @@ components:
26174
25742
  type: string
26175
25743
  description: The source path to redirect from.
26176
25744
  maxLength: 512
26177
- pattern: ^\/(?:[A-Za-z0-9\-._~]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~]|%[0-9A-Fa-f]{2})+)*$
25745
+ pattern: ^\/(?!\*)(?!.*\*.+)(?:[A-Za-z0-9\-._~]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~]|%[0-9A-Fa-f]{2})+)*(?:\/\*|\*)?$
26178
25746
  SiteRedirectDestinationSiteSection:
26179
25747
  type: object
26180
25748
  properties:
@@ -26218,11 +25786,24 @@ components:
26218
25786
  - kind
26219
25787
  - siteSpaceId
26220
25788
  - pageId
25789
+ SiteRedirectDestinationExternal:
25790
+ type: object
25791
+ properties:
25792
+ kind:
25793
+ type: string
25794
+ enum:
25795
+ - external
25796
+ url:
25797
+ $ref: "#/components/schemas/URL"
25798
+ required:
25799
+ - kind
25800
+ - url
26221
25801
  SiteRedirectDestination:
26222
25802
  oneOf:
26223
25803
  - $ref: "#/components/schemas/SiteRedirectDestinationSiteSection"
26224
25804
  - $ref: "#/components/schemas/SiteRedirectDestinationSiteSpace"
26225
25805
  - $ref: "#/components/schemas/SiteRedirectDestinationPage"
25806
+ - $ref: "#/components/schemas/SiteRedirectDestinationExternal"
26226
25807
  SiteRedirect:
26227
25808
  type: object
26228
25809
  properties:
@@ -26235,12 +25816,16 @@ components:
26235
25816
  description: The unique identifier for the redirect.
26236
25817
  source:
26237
25818
  $ref: "#/components/schemas/SiteRedirectSourcePath"
25819
+ captureWildcard:
25820
+ type: boolean
25821
+ description: Capture and append the wildcard-matched suffix to the destination URL.
26238
25822
  destination:
26239
25823
  $ref: "#/components/schemas/SiteRedirectDestination"
26240
25824
  required:
26241
25825
  - object
26242
25826
  - id
26243
25827
  - source
25828
+ - captureWildcard
26244
25829
  - destination
26245
25830
  SiteRedirectInputDestinationPath:
26246
25831
  type: object
@@ -28787,8 +28372,6 @@ components:
28787
28372
  $ref: "#/components/schemas/SiteRedirectDestinationSiteSpace"
28788
28373
  OpenAPISpecSourceURL:
28789
28374
  $ref: "#/components/schemas/URL"
28790
- AgentsSetupState:
28791
- $ref: "#/components/schemas/AgentSetupState"
28792
28375
  responses:
28793
28376
  NotFoundError:
28794
28377
  description: Not Found