@gitbook/api 0.170.0 → 0.171.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
@@ -202,7 +202,7 @@ tags:
202
202
  description: |
203
203
  Manage the contextual records and topics used by your site to power AI experiences and insights.
204
204
 
205
- {% openapi-schemas spec="gitbook" schemas="ContextRecord,ContextConnection,SiteTopic,SiteIssue,SiteIssuePage" grouped="false" %}
205
+ {% openapi-schemas spec="gitbook" schemas="ContextRecord,ContextConnection,SiteTopic,SiteFinding,SiteFindingPage" grouped="false" %}
206
206
  The Site Context objects
207
207
  {% endopenapi-schemas %}
208
208
  - name: site-questions
@@ -370,7 +370,7 @@ tags:
370
370
  x-page-title: Integrations
371
371
  x-page-description: Install and handle third-party integrations for extended GitBook functionality.
372
372
  description: |
373
- Expand the capabilities of GitBook by connecting it with various external platforms—CRM, issue trackers, or CI/CD pipelines—through standardized integration endpoints.
373
+ Expand the capabilities of GitBook by connecting it with various external platforms—CRM, finding trackers, or CI/CD pipelines—through standardized integration endpoints.
374
374
  - name: urls
375
375
  x-page-icon: link
376
376
  x-page-title: URLs
@@ -7943,10 +7943,10 @@ paths:
7943
7943
  application/json:
7944
7944
  schema:
7945
7945
  $ref: "#/components/schemas/ContextRecord"
7946
- "/orgs/{organizationId}/sites/{siteId}/issues":
7946
+ "/orgs/{organizationId}/sites/{siteId}/scans":
7947
7947
  get:
7948
- operationId: listSiteIssues
7949
- summary: List all site context issues
7948
+ operationId: listSiteScans
7949
+ summary: List all site scans
7950
7950
  tags:
7951
7951
  - site-context
7952
7952
  security:
@@ -7958,24 +7958,111 @@ paths:
7958
7958
  - $ref: "#/components/parameters/listLimit"
7959
7959
  - name: topic
7960
7960
  in: query
7961
- description: Filter issues by associated site topic ID.
7961
+ description: Filter scans by associated site topic ID.
7962
7962
  schema:
7963
7963
  type: string
7964
7964
  - name: status
7965
7965
  in: query
7966
- description: Filter issues by status.
7966
+ description: Filter scans by status.
7967
7967
  schema:
7968
- $ref: "#/components/schemas/SiteIssueStatus"
7968
+ $ref: "#/components/schemas/SiteScanStatus"
7969
+ responses:
7970
+ "200":
7971
+ description: OK
7972
+ content:
7973
+ application/json:
7974
+ schema:
7975
+ allOf:
7976
+ - $ref: "#/components/schemas/List"
7977
+ - type: object
7978
+ required:
7979
+ - items
7980
+ properties:
7981
+ items:
7982
+ type: array
7983
+ items:
7984
+ $ref: "#/components/schemas/SiteScan"
7985
+ post:
7986
+ operationId: createSiteScan
7987
+ summary: Enqueue a new site scan
7988
+ tags:
7989
+ - site-context
7990
+ security:
7991
+ - user: []
7992
+ parameters:
7993
+ - $ref: "#/components/parameters/organizationId"
7994
+ - $ref: "#/components/parameters/siteId"
7995
+ requestBody:
7996
+ required: true
7997
+ content:
7998
+ application/json:
7999
+ schema:
8000
+ type: object
8001
+ required:
8002
+ - topic
8003
+ properties:
8004
+ topic:
8005
+ type: string
8006
+ description: The site topic ID to scan.
8007
+ responses:
8008
+ "202":
8009
+ description: Site scan has been enqueued
8010
+ content:
8011
+ application/json:
8012
+ schema:
8013
+ $ref: "#/components/schemas/SiteScan"
8014
+ "/orgs/{organizationId}/sites/{siteId}/scans/{siteScanId}":
8015
+ get:
8016
+ operationId: getSiteScanById
8017
+ summary: Get a site scan by ID
8018
+ tags:
8019
+ - site-context
8020
+ security:
8021
+ - user: []
8022
+ parameters:
8023
+ - $ref: "#/components/parameters/organizationId"
8024
+ - $ref: "#/components/parameters/siteId"
8025
+ - $ref: "#/components/parameters/siteScanId"
8026
+ responses:
8027
+ "200":
8028
+ description: OK
8029
+ content:
8030
+ application/json:
8031
+ schema:
8032
+ $ref: "#/components/schemas/SiteScan"
8033
+ "/orgs/{organizationId}/sites/{siteId}/findings":
8034
+ get:
8035
+ operationId: listSiteFindings
8036
+ summary: List all site context findings
8037
+ tags:
8038
+ - site-context
8039
+ security:
8040
+ - user: []
8041
+ parameters:
8042
+ - $ref: "#/components/parameters/organizationId"
8043
+ - $ref: "#/components/parameters/siteId"
8044
+ - $ref: "#/components/parameters/listPage"
8045
+ - $ref: "#/components/parameters/listLimit"
8046
+ - name: topic
8047
+ in: query
8048
+ description: Filter findings by associated site topic ID.
8049
+ schema:
8050
+ type: string
8051
+ - name: status
8052
+ in: query
8053
+ description: Filter findings by status.
8054
+ schema:
8055
+ $ref: "#/components/schemas/SiteFindingStatus"
7969
8056
  - name: type
7970
8057
  in: query
7971
- description: Filter issues by type.
8058
+ description: Filter findings by type.
7972
8059
  schema:
7973
- $ref: "#/components/schemas/SiteIssueType"
7974
- - name: priority
8060
+ $ref: "#/components/schemas/SiteFindingType"
8061
+ - name: severity
7975
8062
  in: query
7976
- description: Filter issues by estimated priority.
8063
+ description: Filter findings by estimated severity.
7977
8064
  schema:
7978
- $ref: "#/components/schemas/SiteIssuePriority"
8065
+ $ref: "#/components/schemas/SiteFindingSeverity"
7979
8066
  responses:
7980
8067
  "200":
7981
8068
  description: OK
@@ -7991,11 +8078,11 @@ paths:
7991
8078
  items:
7992
8079
  type: array
7993
8080
  items:
7994
- $ref: "#/components/schemas/SiteIssue"
7995
- "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}":
8081
+ $ref: "#/components/schemas/SiteFinding"
8082
+ "/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}":
7996
8083
  get:
7997
- operationId: getSiteIssueById
7998
- summary: Get a site issue by ID
8084
+ operationId: getSiteFindingById
8085
+ summary: Get a site finding by ID
7999
8086
  tags:
8000
8087
  - site-context
8001
8088
  security:
@@ -8003,17 +8090,17 @@ paths:
8003
8090
  parameters:
8004
8091
  - $ref: "#/components/parameters/organizationId"
8005
8092
  - $ref: "#/components/parameters/siteId"
8006
- - $ref: "#/components/parameters/siteIssueId"
8093
+ - $ref: "#/components/parameters/siteFindingId"
8007
8094
  responses:
8008
8095
  "200":
8009
8096
  description: OK
8010
8097
  content:
8011
8098
  application/json:
8012
8099
  schema:
8013
- $ref: "#/components/schemas/SiteIssue"
8100
+ $ref: "#/components/schemas/SiteFinding"
8014
8101
  patch:
8015
- operationId: updateSiteIssueById
8016
- summary: Update a site issue
8102
+ operationId: updateSiteFindingById
8103
+ summary: Update a site finding
8017
8104
  tags:
8018
8105
  - site-context
8019
8106
  security:
@@ -8021,7 +8108,7 @@ paths:
8021
8108
  parameters:
8022
8109
  - $ref: "#/components/parameters/organizationId"
8023
8110
  - $ref: "#/components/parameters/siteId"
8024
- - $ref: "#/components/parameters/siteIssueId"
8111
+ - $ref: "#/components/parameters/siteFindingId"
8025
8112
  requestBody:
8026
8113
  required: true
8027
8114
  content:
@@ -8042,11 +8129,11 @@ paths:
8042
8129
  content:
8043
8130
  application/json:
8044
8131
  schema:
8045
- $ref: "#/components/schemas/SiteIssue"
8046
- "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/change-requests":
8132
+ $ref: "#/components/schemas/SiteFinding"
8133
+ "/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/change-requests":
8047
8134
  get:
8048
- operationId: listChangeRequestsForSiteIssue
8049
- summary: List change requests linked to a site issue
8135
+ operationId: listChangeRequestsForSiteFinding
8136
+ summary: List change requests linked to a site finding
8050
8137
  tags:
8051
8138
  - site-context
8052
8139
  security:
@@ -8056,10 +8143,10 @@ paths:
8056
8143
  - $ref: "#/components/parameters/listLimit"
8057
8144
  - $ref: "#/components/parameters/organizationId"
8058
8145
  - $ref: "#/components/parameters/siteId"
8059
- - $ref: "#/components/parameters/siteIssueId"
8146
+ - $ref: "#/components/parameters/siteFindingId"
8060
8147
  responses:
8061
8148
  "200":
8062
- description: List of change requests linked to the site issue
8149
+ description: List of change requests linked to the site finding
8063
8150
  content:
8064
8151
  application/json:
8065
8152
  schema:
@@ -8074,8 +8161,8 @@ paths:
8074
8161
  items:
8075
8162
  $ref: "#/components/schemas/ChangeRequest"
8076
8163
  post:
8077
- operationId: triggerChangeRequestsForSiteIssue
8078
- summary: Process a site issue into change requests
8164
+ operationId: triggerChangeRequestsForSiteFinding
8165
+ summary: Process a site finding into change requests
8079
8166
  tags:
8080
8167
  - site-context
8081
8168
  security:
@@ -8083,14 +8170,14 @@ paths:
8083
8170
  parameters:
8084
8171
  - $ref: "#/components/parameters/organizationId"
8085
8172
  - $ref: "#/components/parameters/siteId"
8086
- - $ref: "#/components/parameters/siteIssueId"
8173
+ - $ref: "#/components/parameters/siteFindingId"
8087
8174
  responses:
8088
8175
  "202":
8089
- description: Site issue processing has been started
8090
- "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/pages":
8176
+ description: Site finding processing has been started
8177
+ "/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/pages":
8091
8178
  get:
8092
- operationId: listPagesForSiteIssue
8093
- summary: List pages linked to a site issue
8179
+ operationId: listPagesForSiteFinding
8180
+ summary: List pages linked to a site finding
8094
8181
  tags:
8095
8182
  - site-context
8096
8183
  security:
@@ -8100,10 +8187,10 @@ paths:
8100
8187
  - $ref: "#/components/parameters/listLimit"
8101
8188
  - $ref: "#/components/parameters/organizationId"
8102
8189
  - $ref: "#/components/parameters/siteId"
8103
- - $ref: "#/components/parameters/siteIssueId"
8190
+ - $ref: "#/components/parameters/siteFindingId"
8104
8191
  responses:
8105
8192
  "200":
8106
- description: List of pages linked to the site issue
8193
+ description: List of pages linked to the site finding
8107
8194
  content:
8108
8195
  application/json:
8109
8196
  schema:
@@ -8116,11 +8203,11 @@ paths:
8116
8203
  items:
8117
8204
  type: array
8118
8205
  items:
8119
- $ref: "#/components/schemas/SiteIssuePage"
8120
- "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/questions":
8206
+ $ref: "#/components/schemas/SiteFindingPage"
8207
+ "/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/questions":
8121
8208
  get:
8122
- operationId: listQuestionsForSiteIssue
8123
- summary: List questions linked to a site issue
8209
+ operationId: listQuestionsForSiteFinding
8210
+ summary: List questions linked to a site finding
8124
8211
  tags:
8125
8212
  - site-context
8126
8213
  security:
@@ -8130,10 +8217,10 @@ paths:
8130
8217
  - $ref: "#/components/parameters/listLimit"
8131
8218
  - $ref: "#/components/parameters/organizationId"
8132
8219
  - $ref: "#/components/parameters/siteId"
8133
- - $ref: "#/components/parameters/siteIssueId"
8220
+ - $ref: "#/components/parameters/siteFindingId"
8134
8221
  responses:
8135
8222
  "200":
8136
- description: List of questions linked to the site issue
8223
+ description: List of questions linked to the site finding
8137
8224
  content:
8138
8225
  application/json:
8139
8226
  schema:
@@ -8147,10 +8234,10 @@ paths:
8147
8234
  type: array
8148
8235
  items:
8149
8236
  $ref: "#/components/schemas/SiteQuestion"
8150
- "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/records":
8237
+ "/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/records":
8151
8238
  get:
8152
- operationId: listRecordsForSiteIssue
8153
- summary: List records linked to a site issue
8239
+ operationId: listRecordsForSiteFinding
8240
+ summary: List records linked to a site finding
8154
8241
  tags:
8155
8242
  - site-context
8156
8243
  security:
@@ -8160,10 +8247,10 @@ paths:
8160
8247
  - $ref: "#/components/parameters/listLimit"
8161
8248
  - $ref: "#/components/parameters/organizationId"
8162
8249
  - $ref: "#/components/parameters/siteId"
8163
- - $ref: "#/components/parameters/siteIssueId"
8250
+ - $ref: "#/components/parameters/siteFindingId"
8164
8251
  responses:
8165
8252
  "200":
8166
- description: List of records linked to the site issue
8253
+ description: List of records linked to the site finding
8167
8254
  content:
8168
8255
  application/json:
8169
8256
  schema:
@@ -8401,10 +8488,10 @@ paths:
8401
8488
  application/json:
8402
8489
  schema:
8403
8490
  $ref: "#/components/schemas/SiteTopic"
8404
- "/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/issues":
8491
+ "/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/findings":
8405
8492
  delete:
8406
- operationId: deleteSiteTopicIssues
8407
- summary: Delete all issues for a topic
8493
+ operationId: deleteSiteTopicFindings
8494
+ summary: Delete all findings for a topic
8408
8495
  tags:
8409
8496
  - site-context
8410
8497
  security:
@@ -8415,9 +8502,9 @@ paths:
8415
8502
  - $ref: "#/components/parameters/siteTopicId"
8416
8503
  responses:
8417
8504
  "204":
8418
- description: Topic had no issues or did not exist
8505
+ description: Topic had no findings or did not exist
8419
8506
  "205":
8420
- description: Topic issues deleted
8507
+ description: Topic findings deleted
8421
8508
  "/orgs/{organizationId}/sites/{siteId}/questions":
8422
8509
  get:
8423
8510
  operationId: listSiteQuestions
@@ -10916,11 +11003,18 @@ components:
10916
11003
  description: The unique id of the context record
10917
11004
  schema:
10918
11005
  type: string
10919
- siteIssueId:
10920
- name: siteIssueId
11006
+ siteScanId:
11007
+ name: siteScanId
11008
+ in: path
11009
+ required: true
11010
+ description: The unique id of the site scan
11011
+ schema:
11012
+ type: string
11013
+ siteFindingId:
11014
+ name: siteFindingId
10921
11015
  in: path
10922
11016
  required: true
10923
- description: The unique id of the site issue
11017
+ description: The unique id of the site finding
10924
11018
  schema:
10925
11019
  type: string
10926
11020
  siteContextConnectionId:
@@ -20477,6 +20571,13 @@ components:
20477
20571
  description: Coupon or promotion code to apply to billing operations.
20478
20572
  minLength: 1
20479
20573
  maxLength: 500
20574
+ BillingMeter:
20575
+ type: string
20576
+ description: Identifier of a billing meter
20577
+ enum:
20578
+ - ai_responses
20579
+ - ai_agent_responses
20580
+ - translation_words
20480
20581
  UpgradeOrganizationBilling:
20481
20582
  type: object
20482
20583
  properties:
@@ -20492,6 +20593,12 @@ components:
20492
20593
  coupon:
20493
20594
  $ref: "#/components/schemas/BillingCoupon"
20494
20595
  description: Coupon or promotion code to apply to the subscription
20596
+ addons:
20597
+ type: array
20598
+ description: |
20599
+ Optional usage addons to apply when upgrading: - if set, apply provided billable addons (non-billable meters are ignored) - if omitted, keep current subscription addons (or billing addons for new subs) - if omitted during interval switch, keep addon selection and switch addon price interval - if empty, or all provided meters are ignored, remove all existing billable addons
20600
+ items:
20601
+ $ref: "#/components/schemas/BillingMeter"
20495
20602
  mode:
20496
20603
  type: string
20497
20604
  description: |
@@ -20506,10 +20613,13 @@ components:
20506
20613
  type: object
20507
20614
  properties:
20508
20615
  amount:
20509
- description: Amount of the invoice
20616
+ description: Final total owed for this invoice after discounts and credits.
20617
+ type: number
20618
+ subtotal:
20619
+ description: Sum of invoice line items before discounts and credits are applied.
20510
20620
  type: number
20511
20621
  amountDueToday:
20512
- description: Amount that will be immediately charged.
20622
+ description: Remaining unpaid amount on this invoice, what would be charged now.
20513
20623
  type: number
20514
20624
  customerBalance:
20515
20625
  description: Current balance, if any, being stored on the customer. If positive, the customer has credit to apply to their next invoice.
@@ -20552,6 +20662,7 @@ components:
20552
20662
  - amount
20553
20663
  - description
20554
20664
  required:
20665
+ - subtotal
20555
20666
  - amount
20556
20667
  - amountDueToday
20557
20668
  - customerBalance
@@ -20686,13 +20797,6 @@ components:
20686
20797
  - upgrade_passive
20687
20798
  - downgrade
20688
20799
  - switch_interval
20689
- BillingMeter:
20690
- type: string
20691
- description: Identifier of a billing meter
20692
- enum:
20693
- - ai_responses
20694
- - ai_agent_responses
20695
- - translation_words
20696
20800
  BillingMeterUsage:
20697
20801
  type: object
20698
20802
  description: Usage metrics for a billing meter
@@ -21916,6 +22020,11 @@ components:
21916
22020
  required:
21917
22021
  - description
21918
22022
  - condition
22023
+ LocalizedString:
22024
+ type: object
22025
+ description: Localized string value, keyed by locale. Contains overrides for non-default languages only.
22026
+ propertyNames:
22027
+ $ref: "#/components/schemas/TranslationLanguage"
21919
22028
  CustomizationTheme:
21920
22029
  type: string
21921
22030
  description: |
@@ -22321,6 +22430,9 @@ components:
22321
22430
  title:
22322
22431
  description: Title to use for the published site. If not defined, it'll fallback to the default content title.
22323
22432
  $ref: "#/components/schemas/SiteTitle"
22433
+ localizedTitle:
22434
+ description: Localized titles for the site, keyed by locale. If not defined, the localized title will not be changed.
22435
+ $ref: "#/components/schemas/LocalizedString"
22324
22436
  styling:
22325
22437
  type: object
22326
22438
  properties:
@@ -22974,92 +23086,162 @@ components:
22974
23086
  - title
22975
23087
  - body
22976
23088
  - type
22977
- SiteIssueStatus:
23089
+ SiteScanStatus:
22978
23090
  type: string
22979
- description: Status of a site issue.
23091
+ description: Status of a persisted site scan.
23092
+ enum:
23093
+ - pending
23094
+ - running
23095
+ - done
23096
+ - failed
23097
+ SiteScanFindings:
23098
+ type: object
23099
+ description: Number of findings created by the scan, grouped by severity.
23100
+ properties:
23101
+ low:
23102
+ type: number
23103
+ medium:
23104
+ type: number
23105
+ high:
23106
+ type: number
23107
+ required:
23108
+ - low
23109
+ - medium
23110
+ - high
23111
+ SiteScan:
23112
+ type: object
23113
+ properties:
23114
+ object:
23115
+ type: string
23116
+ enum:
23117
+ - site-scan
23118
+ id:
23119
+ type: string
23120
+ description: The ID of the scan
23121
+ status:
23122
+ $ref: "#/components/schemas/SiteScanStatus"
23123
+ topic:
23124
+ type: string
23125
+ description: The site topic ID associated with the scan
23126
+ createdAt:
23127
+ $ref: "#/components/schemas/Timestamp"
23128
+ startedAt:
23129
+ $ref: "#/components/schemas/Timestamp"
23130
+ finishedAt:
23131
+ $ref: "#/components/schemas/Timestamp"
23132
+ findings:
23133
+ $ref: "#/components/schemas/SiteScanFindings"
23134
+ failureMessage:
23135
+ type: string
23136
+ description: Failure message for failed scans
23137
+ urls:
23138
+ type: object
23139
+ description: URLs associated with the scan
23140
+ properties:
23141
+ location:
23142
+ type: string
23143
+ description: URL of the scan endpoint in the API
23144
+ format: uri
23145
+ required:
23146
+ - location
23147
+ required:
23148
+ - object
23149
+ - id
23150
+ - status
23151
+ - topic
23152
+ - createdAt
23153
+ - findings
23154
+ - urls
23155
+ SiteFindingStatus:
23156
+ type: string
23157
+ description: Status of a site finding.
22980
23158
  enum:
22981
23159
  - open
22982
23160
  - done
22983
23161
  - canceled
22984
- SiteIssueType:
23162
+ SiteFindingType:
22985
23163
  type: string
22986
23164
  description: |-
22987
- Classification of a site issue:
23165
+ Classification of a site finding:
22988
23166
  - Outdated content: The content is no longer up to date with external context and may be misleading or incorrect.
22989
23167
  - Incoherent content: The content contains information that is inconsistent or contradictory.
22990
23168
  - Content gap: The content is missing important information that should be present to answer user questions effectively.
22991
- - Other: Any other type of issue not covered by the above categories.
23169
+ - Other: Any other type of finding not covered by the above categories.
22992
23170
  enum:
22993
23171
  - content-outdated
22994
23172
  - incoherence
22995
23173
  - content-gap
22996
23174
  - other
22997
- SiteIssuePriority:
23175
+ SiteFindingSeverity:
22998
23176
  type: string
22999
- description: Estimated end-user priority of a site issue.
23177
+ description: Estimated end-user severity of a site finding.
23000
23178
  enum:
23001
23179
  - low
23002
23180
  - medium
23003
23181
  - high
23004
- SiteIssueTitle:
23182
+ SiteFindingTitle:
23005
23183
  type: string
23006
- description: Short issue title
23184
+ description: Short finding title
23007
23185
  maxLength: 256
23008
- SiteIssue:
23186
+ SiteFinding:
23009
23187
  type: object
23010
23188
  properties:
23011
23189
  object:
23012
23190
  type: string
23013
23191
  enum:
23014
- - site-issue
23192
+ - site-finding
23015
23193
  id:
23016
23194
  type: string
23017
- description: The ID of the issue
23195
+ description: The ID of the finding
23196
+ scan:
23197
+ type: string
23198
+ description: The site scan ID associated with the finding
23018
23199
  topic:
23019
23200
  type: string
23020
- description: The site topic ID associated with the issue
23201
+ description: The site topic ID associated with the finding
23021
23202
  title:
23022
- $ref: "#/components/schemas/SiteIssueTitle"
23203
+ $ref: "#/components/schemas/SiteFindingTitle"
23023
23204
  changeRequests:
23024
23205
  type: number
23025
- description: Number of change requests linked to the issue
23206
+ description: Number of change requests linked to the finding
23026
23207
  pages:
23027
23208
  type: number
23028
- description: Number of pages linked to the issue
23209
+ description: Number of pages linked to the finding
23029
23210
  records:
23030
23211
  type: number
23031
- description: Number of records linked to the issue
23212
+ description: Number of records linked to the finding
23032
23213
  questions:
23033
23214
  type: number
23034
- description: Number of questions linked to the issue
23215
+ description: Number of questions linked to the finding
23035
23216
  status:
23036
- $ref: "#/components/schemas/SiteIssueStatus"
23217
+ $ref: "#/components/schemas/SiteFindingStatus"
23037
23218
  type:
23038
- $ref: "#/components/schemas/SiteIssueType"
23039
- priority:
23040
- $ref: "#/components/schemas/SiteIssuePriority"
23219
+ $ref: "#/components/schemas/SiteFindingType"
23220
+ severity:
23221
+ $ref: "#/components/schemas/SiteFindingSeverity"
23041
23222
  description:
23042
23223
  $ref: "#/components/schemas/JSONDocument"
23043
23224
  autoFixable:
23044
23225
  type: boolean
23045
- description: Whether an AI agent should be able to fix this issue directly
23226
+ description: Whether an AI agent should be able to fix this finding directly
23046
23227
  createdAt:
23047
23228
  $ref: "#/components/schemas/Timestamp"
23048
23229
  updatedAt:
23049
23230
  $ref: "#/components/schemas/Timestamp"
23050
23231
  urls:
23051
23232
  type: object
23052
- description: URLs associated with the issue
23233
+ description: URLs associated with the finding
23053
23234
  properties:
23054
23235
  location:
23055
23236
  type: string
23056
- description: URL of the issue list endpoint in the API
23237
+ description: URL of the finding list endpoint in the API
23057
23238
  format: uri
23058
23239
  required:
23059
23240
  - location
23060
23241
  required:
23061
23242
  - object
23062
23243
  - id
23244
+ - scan
23063
23245
  - topic
23064
23246
  - title
23065
23247
  - changeRequests
@@ -23068,19 +23250,19 @@ components:
23068
23250
  - questions
23069
23251
  - status
23070
23252
  - type
23071
- - priority
23253
+ - severity
23072
23254
  - description
23073
23255
  - autoFixable
23074
23256
  - createdAt
23075
23257
  - updatedAt
23076
23258
  - urls
23077
- SiteIssuePage:
23259
+ SiteFindingPage:
23078
23260
  type: object
23079
23261
  properties:
23080
23262
  object:
23081
23263
  type: string
23082
23264
  enum:
23083
- - site-issue-page
23265
+ - site-finding-page
23084
23266
  spaceId:
23085
23267
  type: string
23086
23268
  description: The space ID containing the linked page.
@@ -24990,6 +25172,7 @@ components:
24990
25172
  description: Context in which the event was recorded.
24991
25173
  enum:
24992
25174
  - site
25175
+ - server
24993
25176
  - embed
24994
25177
  - mcp
24995
25178
  SiteInsightsEventLocation:
@@ -25000,7 +25183,7 @@ components:
25000
25183
  description: URL of the location.
25001
25184
  $ref: "#/components/schemas/URL"
25002
25185
  displayContext:
25003
- description: Whether the event was tracked on the site or an embed widget.
25186
+ description: Whether the event was tracked on the site, the server, or an embed widget.
25004
25187
  $ref: "#/components/schemas/SiteInsightsDisplayContext"
25005
25188
  default: site
25006
25189
  siteSection:
@@ -25065,6 +25248,17 @@ components:
25065
25248
  - page_view
25066
25249
  required:
25067
25250
  - type
25251
+ SiteInsightsEventPageMarkdownRequest:
25252
+ allOf:
25253
+ - $ref: "#/components/schemas/SiteInsightsEventBase"
25254
+ - type: object
25255
+ properties:
25256
+ type:
25257
+ type: string
25258
+ enum:
25259
+ - page_markdown_request
25260
+ required:
25261
+ - type
25068
25262
  SiteInsightsEventSearchOpen:
25069
25263
  allOf:
25070
25264
  - $ref: "#/components/schemas/SiteInsightsEventBase"
@@ -25348,9 +25542,51 @@ components:
25348
25542
  required:
25349
25543
  - type
25350
25544
  - ad
25545
+ SiteInsightsLLMSVariant:
25546
+ type: string
25547
+ enum:
25548
+ - standard
25549
+ - full
25550
+ SiteInsightsEventLLMSRequest:
25551
+ allOf:
25552
+ - $ref: "#/components/schemas/SiteInsightsEventBase"
25553
+ - type: object
25554
+ properties:
25555
+ type:
25556
+ type: string
25557
+ enum:
25558
+ - llms_request
25559
+ llmsVariant:
25560
+ $ref: "#/components/schemas/SiteInsightsLLMSVariant"
25561
+ required:
25562
+ - type
25563
+ - llmsVariant
25564
+ SiteInsightsEventMCPRequest:
25565
+ allOf:
25566
+ - $ref: "#/components/schemas/SiteInsightsEventBase"
25567
+ - type: object
25568
+ properties:
25569
+ type:
25570
+ type: string
25571
+ enum:
25572
+ - mcp_request
25573
+ required:
25574
+ - type
25575
+ SiteInsightsEventRSSRequest:
25576
+ allOf:
25577
+ - $ref: "#/components/schemas/SiteInsightsEventBase"
25578
+ - type: object
25579
+ properties:
25580
+ type:
25581
+ type: string
25582
+ enum:
25583
+ - rss_request
25584
+ required:
25585
+ - type
25351
25586
  SiteInsightsEvent:
25352
25587
  oneOf:
25353
25588
  - $ref: "#/components/schemas/SiteInsightsEventPageView"
25589
+ - $ref: "#/components/schemas/SiteInsightsEventPageMarkdownRequest"
25354
25590
  - $ref: "#/components/schemas/SiteInsightsEventSearchOpen"
25355
25591
  - $ref: "#/components/schemas/SiteInsightsEventSearchTypeQuery"
25356
25592
  - $ref: "#/components/schemas/SiteInsightsEventSearchOpenResult"
@@ -25365,6 +25601,9 @@ components:
25365
25601
  - $ref: "#/components/schemas/SiteInsightsEventTrademarkClick"
25366
25602
  - $ref: "#/components/schemas/SiteInsightsEventAdClick"
25367
25603
  - $ref: "#/components/schemas/SiteInsightsEventAdDisplay"
25604
+ - $ref: "#/components/schemas/SiteInsightsEventLLMSRequest"
25605
+ - $ref: "#/components/schemas/SiteInsightsEventMCPRequest"
25606
+ - $ref: "#/components/schemas/SiteInsightsEventRSSRequest"
25368
25607
  SiteInsightsQueryDateTimeColumn:
25369
25608
  type: object
25370
25609
  required:
@@ -25572,6 +25811,14 @@ components:
25572
25811
  type: string
25573
25812
  enum:
25574
25813
  - eventAPIOperationMethod
25814
+ - type: object
25815
+ required:
25816
+ - column
25817
+ properties:
25818
+ column:
25819
+ type: string
25820
+ enum:
25821
+ - eventLLMSVariant
25575
25822
  - type: object
25576
25823
  required:
25577
25824
  - column
@@ -25731,6 +25978,7 @@ components:
25731
25978
  type: string
25732
25979
  enum:
25733
25980
  - page_view
25981
+ - page_markdown_request
25734
25982
  - search_open
25735
25983
  - search_type_query
25736
25984
  - search_open_result
@@ -25745,6 +25993,9 @@ components:
25745
25993
  - ad_click
25746
25994
  - ad_display
25747
25995
  - trademark_click
25996
+ - llms_request
25997
+ - mcp_request
25998
+ - rss_request
25748
25999
  SiteInsightsVisitorBrowser:
25749
26000
  type: string
25750
26001
  enum:
@@ -26026,6 +26277,21 @@ components:
26026
26277
  type:
26027
26278
  - string
26028
26279
  - "null"
26280
+ - type: object
26281
+ required:
26282
+ - column
26283
+ - values
26284
+ properties:
26285
+ column:
26286
+ type: string
26287
+ enum:
26288
+ - eventLLMSVariant
26289
+ values:
26290
+ type: array
26291
+ items:
26292
+ oneOf:
26293
+ - type: "null"
26294
+ - $ref: "#/components/schemas/SiteInsightsLLMSVariant"
26029
26295
  - type: object
26030
26296
  required:
26031
26297
  - column