@gitbook/api 0.164.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
@@ -8521,6 +8208,24 @@ paths:
8521
8208
  application/json:
8522
8209
  schema:
8523
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"
8524
8229
  "/orgs/{organizationId}/sites/{siteId}/answers":
8525
8230
  get:
8526
8231
  operationId: listSiteQuestionAnswers
@@ -10680,27 +10385,6 @@ components:
10680
10385
  description: The unique ID of the OpenAPI specification version
10681
10386
  schema:
10682
10387
  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
10388
  translationId:
10705
10389
  name: translationId
10706
10390
  in: path
@@ -11565,6 +11249,9 @@ components:
11565
11249
  type: string
11566
11250
  path:
11567
11251
  type: string
11252
+ score:
11253
+ type: number
11254
+ description: Aggregated relevance score for the page.
11568
11255
  sections:
11569
11256
  type: array
11570
11257
  items:
@@ -11593,6 +11280,7 @@ components:
11593
11280
  - id
11594
11281
  - title
11595
11282
  - path
11283
+ - score
11596
11284
  - ancestors
11597
11285
  - urls
11598
11286
  UpdateSpaceGitInfo:
@@ -12151,6 +11839,22 @@ components:
12151
11839
  required:
12152
11840
  - kind
12153
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
12154
11858
  ContentRefOpenAPI:
12155
11859
  type: object
12156
11860
  properties:
@@ -12175,6 +11879,7 @@ components:
12175
11879
  - $ref: "#/components/schemas/ContentRefCollection"
12176
11880
  - $ref: "#/components/schemas/ContentRefSpace"
12177
11881
  - $ref: "#/components/schemas/ContentRefReusableContent"
11882
+ - $ref: "#/components/schemas/ContentRefTag"
12178
11883
  - $ref: "#/components/schemas/ContentRefOpenAPI"
12179
11884
  DocumentInlineLink:
12180
11885
  type: object
@@ -13196,6 +12901,7 @@ components:
13196
12901
  - $ref: "#/components/schemas/DocumentBlockReusableContent"
13197
12902
  - $ref: "#/components/schemas/DocumentBlockStepper"
13198
12903
  - $ref: "#/components/schemas/DocumentBlockIf"
12904
+ - $ref: "#/components/schemas/DocumentBlockColumns"
13199
12905
  DocumentBlockIf:
13200
12906
  type: object
13201
12907
  properties:
@@ -14164,22 +13870,6 @@ components:
14164
13870
  - data
14165
13871
  - nodes
14166
13872
  - 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
13873
  DocumentBlockUpdate:
14184
13874
  type: object
14185
13875
  properties:
@@ -15303,9 +14993,6 @@ components:
15303
14993
  outdated:
15304
14994
  type: boolean
15305
14995
  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
14996
  urls:
15310
14997
  type: object
15311
14998
  description: URLs associated with the object
@@ -15575,9 +15262,27 @@ components:
15575
15262
  maxUsers:
15576
15263
  description: The maximum number of members allowed for this organization
15577
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
15578
15277
  paidMembers:
15579
15278
  description: The number of paid members on the current subscription.
15580
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
15581
15286
  required:
15582
15287
  - interval
15583
15288
  - endDate
@@ -15737,9 +15442,6 @@ components:
15737
15442
  createOpenAPISpec:
15738
15443
  type: boolean
15739
15444
  description: Can the user create new OpenAPI specifications.
15740
- ingestConversations:
15741
- type: boolean
15742
- description: Can the user ingest conversations in the organization.
15743
15445
  viewBilling:
15744
15446
  type: boolean
15745
15447
  description: Can the user view the billing details of the organization.
@@ -15765,7 +15467,6 @@ components:
15765
15467
  - ownTeam
15766
15468
  - createContent
15767
15469
  - createOpenAPISpec
15768
- - ingestConversations
15769
15470
  - viewBilling
15770
15471
  - listMembers
15771
15472
  - listTeams
@@ -17201,9 +16902,9 @@ components:
17201
16902
  - site:visitor:auth
17202
16903
  - site:adaptive:read
17203
16904
  - site:adaptive:write
16905
+ - conversations:ingest
17204
16906
  - openapi:read
17205
16907
  - openapi:write
17206
- - conversations:ingest
17207
16908
  IntegrationScopes:
17208
16909
  type: array
17209
16910
  description: Permissions that should be granted to the integration
@@ -18674,15 +18375,6 @@ components:
18674
18375
  zoneId:
18675
18376
  type: string
18676
18377
  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
18378
  SiteFeatureKey:
18687
18379
  type: string
18688
18380
  description: The site feature identifier
@@ -18793,8 +18485,6 @@ components:
18793
18485
  $ref: "#/components/schemas/SiteAdaptiveContent"
18794
18486
  ads:
18795
18487
  $ref: "#/components/schemas/SiteAds"
18796
- agentsContext:
18797
- $ref: "#/components/schemas/SiteAgentsContext"
18798
18488
  features:
18799
18489
  description: |
18800
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.
@@ -18831,7 +18521,6 @@ components:
18831
18521
  - createdAt
18832
18522
  - siteSpaces
18833
18523
  - features
18834
- - agentsContext
18835
18524
  - urls
18836
18525
  IntegrationSiteInstallation:
18837
18526
  allOf:
@@ -20504,6 +20193,9 @@ components:
20504
20193
  type: string
20505
20194
  title:
20506
20195
  type: string
20196
+ score:
20197
+ type: number
20198
+ description: Aggregated relevance score for the space.
20507
20199
  pages:
20508
20200
  type: array
20509
20201
  items:
@@ -20512,6 +20204,7 @@ components:
20512
20204
  - type
20513
20205
  - id
20514
20206
  - title
20207
+ - score
20515
20208
  - pages
20516
20209
  CreateSpace:
20517
20210
  allOf:
@@ -21019,289 +20712,6 @@ components:
21019
20712
  required:
21020
20713
  - filesystem
21021
20714
  - 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
20715
  OrganizationAgentInstructions:
21306
20716
  type: object
21307
20717
  properties:
@@ -22345,8 +21755,12 @@ components:
22345
21755
  footer:
22346
21756
  type: boolean
22347
21757
  default: true
21758
+ header:
21759
+ type: boolean
21760
+ default: false
22348
21761
  required:
22349
21762
  - footer
21763
+ - header
22350
21764
  required:
22351
21765
  - platform
22352
21766
  - handle
@@ -22357,7 +21771,7 @@ components:
22357
21771
  items:
22358
21772
  $ref: "#/components/schemas/SiteSocialAccount"
22359
21773
  maxItems: 10
22360
- SiteCustomizationSettings:
21774
+ SiteCustomizationSettingsBase:
22361
21775
  type: object
22362
21776
  properties:
22363
21777
  title:
@@ -22619,6 +22033,14 @@ components:
22619
22033
  - socialPreview
22620
22034
  - socialAccounts
22621
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"
22622
22044
  SiteIntegrationScript:
22623
22045
  type: object
22624
22046
  properties:
@@ -22817,6 +22239,9 @@ components:
22817
22239
  format: uri
22818
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.
22819
22241
  nullable: true
22242
+ SiteCustomizationSettingsInput:
22243
+ allOf:
22244
+ - $ref: "#/components/schemas/SiteCustomizationSettingsBase"
22820
22245
  SiteSearchScope:
22821
22246
  oneOf:
22822
22247
  - type: object
@@ -22871,6 +22296,9 @@ components:
22871
22296
  title:
22872
22297
  type: string
22873
22298
  description: The title of the record.
22299
+ score:
22300
+ type: number
22301
+ description: Relevance score for the record.
22874
22302
  description:
22875
22303
  type: string
22876
22304
  description: The description of the record.
@@ -22882,6 +22310,7 @@ components:
22882
22310
  - type
22883
22311
  - id
22884
22312
  - title
22313
+ - score
22885
22314
  - url
22886
22315
  ContextRecordType:
22887
22316
  type: string
@@ -23158,21 +22587,74 @@ components:
23158
22587
  - yes
23159
22588
  - partially
23160
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
23161
22625
  SiteQuestionStats:
23162
22626
  type: object
23163
- description: Aggregated stats for answers linked to a site question.
22627
+ description: Aggregated stats for questions and linked answers.
23164
22628
  properties:
22629
+ total:
22630
+ type: number
22631
+ description: Total count of questions included in the aggregation.
23165
22632
  answers:
23166
22633
  type: number
23167
- description: Total count of answers linked to the question.
22634
+ description: Total count of answers linked to the questions.
23168
22635
  feedback:
23169
22636
  $ref: "#/components/schemas/SiteQuestionStatsFeedback"
23170
22637
  answered:
23171
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
23172
22650
  required:
22651
+ - total
23173
22652
  - answers
23174
22653
  - feedback
23175
22654
  - answered
22655
+ - relevance
22656
+ - types
22657
+ - weeklyPulse
23176
22658
  SiteTopic:
23177
22659
  type: object
23178
22660
  properties:
@@ -23209,13 +22691,6 @@ components:
23209
22691
  $ref: "#/components/schemas/JSONDocument"
23210
22692
  usageSettings:
23211
22693
  $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
22694
  pages:
23220
22695
  type: number
23221
22696
  description: The number of pages associated with the topic
@@ -23244,7 +22719,6 @@ components:
23244
22719
  - pages
23245
22720
  - records
23246
22721
  - questions
23247
- - weeklyPulse
23248
22722
  - createdAt
23249
22723
  - updatedAt
23250
22724
  - urls
@@ -24716,6 +24190,7 @@ components:
24716
24190
  enum:
24717
24191
  - site
24718
24192
  - embed
24193
+ - mcp
24719
24194
  SiteInsightsEventLocation:
24720
24195
  type: object
24721
24196
  description: Location of the event.
@@ -25501,6 +24976,16 @@ components:
25501
24976
  - applebot
25502
24977
  - chatgpt
25503
24978
  - anthropic
24979
+ - gemini
24980
+ - perplexity
24981
+ - cohere
24982
+ - mistral
24983
+ - deepseek
24984
+ - meta
24985
+ - bytespider
24986
+ - ccbot
24987
+ - amazonbot
24988
+ - youbot
25504
24989
  SiteInsightsQueryEventsValues:
25505
24990
  oneOf:
25506
24991
  - type: object
@@ -26301,11 +25786,24 @@ components:
26301
25786
  - kind
26302
25787
  - siteSpaceId
26303
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
26304
25801
  SiteRedirectDestination:
26305
25802
  oneOf:
26306
25803
  - $ref: "#/components/schemas/SiteRedirectDestinationSiteSection"
26307
25804
  - $ref: "#/components/schemas/SiteRedirectDestinationSiteSpace"
26308
25805
  - $ref: "#/components/schemas/SiteRedirectDestinationPage"
25806
+ - $ref: "#/components/schemas/SiteRedirectDestinationExternal"
26309
25807
  SiteRedirect:
26310
25808
  type: object
26311
25809
  properties:
@@ -28874,8 +28372,6 @@ components:
28874
28372
  $ref: "#/components/schemas/SiteRedirectDestinationSiteSpace"
28875
28373
  OpenAPISpecSourceURL:
28876
28374
  $ref: "#/components/schemas/URL"
28877
- AgentsSetupState:
28878
- $ref: "#/components/schemas/AgentSetupState"
28879
28375
  responses:
28880
28376
  NotFoundError:
28881
28377
  description: Not Found