@gitbook/api 0.189.0 → 0.191.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/spec/openapi.json CHANGED
@@ -1225,33 +1225,6 @@
1225
1225
  }
1226
1226
  }
1227
1227
  },
1228
- "/spaces/{spaceId}/git/legacy-installation": {
1229
- "delete": {
1230
- "operationId": "deleteLegacyGitInstallation",
1231
- "summary": "Remove the legacy Git Sync installation from the space to be able to upgrade it to use the new Git integrations",
1232
- "tags": [
1233
- "space-git"
1234
- ],
1235
- "security": [
1236
- {
1237
- "user-internal": []
1238
- }
1239
- ],
1240
- "parameters": [
1241
- {
1242
- "$ref": "#/components/parameters/spaceId"
1243
- }
1244
- ],
1245
- "responses": {
1246
- "204": {
1247
- "description": "The legacy Git installation was already removed"
1248
- },
1249
- "205": {
1250
- "description": "The legacy Git installation was successfully removed"
1251
- }
1252
- }
1253
- }
1254
- },
1255
1228
  "/spaces/{spaceId}/permissions": {
1256
1229
  "post": {
1257
1230
  "operationId": "inviteToSpace",
@@ -3894,7 +3867,7 @@
3894
3867
  "post": {
3895
3868
  "operationId": "updateChangeRequestContent",
3896
3869
  "summary": "Apply a batch of content changes to a change request",
3897
- "description": "Applies an ordered array of content changes (up to 50) to the change request atomically, creating a single new revision. Changes are applied sequentially; if any single change is invalid the entire batch is rejected and no revision is created. Use this to create, update, move, or delete pages within a change request before merging to live. This is the primary way to programmatically author content in a change request.",
3870
+ "description": "Applies an ordered array of content changes (up to 50) to the change request atomically, creating a single new revision. Changes are applied sequentially; if any single change is invalid the entire batch is rejected and no revision is created. Use this to create, update, move, or delete pages within a change request before merging to live. This is the primary way to programmatically author content in a change request.\n\nWhen page content is provided as markdown, links to other pages are resolved against the change request's current page tree. You can link a page by:\n- Page ID — `/pages/<pageId>` (also `/pages/<pageId>#anchor`).\n- Page slug path — `/pages/<slug>` for a top-level page, or `/pages/<parent-slug>/<slug>`\n for a nested page (e.g. `/pages/guides/getting-started`).\n\n- Markdown file path — the path the page would have in Git: `/pages/<slug>.md` for a page,\n or `/pages/<slug>/README.md` for a page that has child pages. The space's root page is\n `/pages/README.md`.\n\n- Relative markdown link — resolved against the page being edited, e.g. `./sibling.md`,\n `../other.md`, or `../README.md` (the parent page). Folder-style links without an\n extension (e.g. `./section`) resolve to that folder's page.\n\nExternal URLs (`https://…`) are kept as-is. A link that does not match any page in the change request is left as plain text rather than causing the request to fail.",
3898
3871
  "x-gitbook-mcp": true,
3899
3872
  "tags": [
3900
3873
  "change-request-content"
@@ -8506,7 +8479,7 @@
8506
8479
  },
8507
8480
  "delete": {
8508
8481
  "operationId": "removeMemberFromOrganizationById",
8509
- "summary": "Delete an organization member",
8482
+ "summary": "Remove an organization member or request an organization admin to do it",
8510
8483
  "tags": [
8511
8484
  "organization-members"
8512
8485
  ],
@@ -8529,6 +8502,9 @@
8529
8502
  }
8530
8503
  ],
8531
8504
  "responses": {
8505
+ "202": {
8506
+ "description": "The removal request was sent to the organization administrators."
8507
+ },
8532
8508
  "204": {
8533
8509
  "description": "Member did not exist in the organization."
8534
8510
  },
@@ -14783,6 +14759,75 @@
14783
14759
  }
14784
14760
  }
14785
14761
  },
14762
+ "/orgs/{organizationId}/sites/{siteId}/agent-feedback": {
14763
+ "post": {
14764
+ "operationId": "submitSiteAgentFeedback",
14765
+ "summary": "Submit agent feedback for a site",
14766
+ "description": "Submit feedback from an AI agent about the content of the site, such as outdated, incorrect or missing content encountered while helping a user.",
14767
+ "x-internal": true,
14768
+ "tags": [
14769
+ "site-insights"
14770
+ ],
14771
+ "security": [
14772
+ {
14773
+ "user": []
14774
+ }
14775
+ ],
14776
+ "parameters": [
14777
+ {
14778
+ "$ref": "#/components/parameters/organizationId"
14779
+ },
14780
+ {
14781
+ "$ref": "#/components/parameters/siteId"
14782
+ }
14783
+ ],
14784
+ "requestBody": {
14785
+ "required": true,
14786
+ "content": {
14787
+ "application/json": {
14788
+ "schema": {
14789
+ "type": "object",
14790
+ "properties": {
14791
+ "feedback": {
14792
+ "description": "The feedback about the content of the site.",
14793
+ "type": "string",
14794
+ "minLength": 1,
14795
+ "maxLength": 2048
14796
+ },
14797
+ "goal": {
14798
+ "description": "The end goal the agent is trying to accomplish on behalf of the user, giving the context the agent was working towards when it encountered the issue.\n",
14799
+ "$ref": "#/components/schemas/AgentGoal"
14800
+ },
14801
+ "url": {
14802
+ "description": "URL of the content the feedback is about.",
14803
+ "$ref": "#/components/schemas/URL"
14804
+ },
14805
+ "spaceId": {
14806
+ "description": "ID of the space the feedback is about.",
14807
+ "type": "string"
14808
+ },
14809
+ "pageId": {
14810
+ "description": "ID of the page the feedback is about.",
14811
+ "type": "string"
14812
+ }
14813
+ },
14814
+ "required": [
14815
+ "feedback",
14816
+ "url",
14817
+ "spaceId",
14818
+ "pageId"
14819
+ ]
14820
+ }
14821
+ }
14822
+ }
14823
+ },
14824
+ "responses": {
14825
+ "204": {
14826
+ "description": "Feedback submitted"
14827
+ }
14828
+ }
14829
+ }
14830
+ },
14786
14831
  "/orgs/{organizationId}/sites/{siteId}/ask": {
14787
14832
  "post": {
14788
14833
  "operationId": "streamAskInSite",
@@ -14835,9 +14880,8 @@
14835
14880
  "type": "string"
14836
14881
  },
14837
14882
  "goal": {
14838
- "type": "string",
14839
- "maxLength": 1024,
14840
- "description": "The end goal the agent is trying to accomplish on behalf of the user. Unlike the question, which is the immediate query, the goal describes the broader task or outcome the agent is working towards. GitBook uses this to steer the answer towards what is ultimately useful for that goal.\n"
14883
+ "description": "The end goal the agent is trying to accomplish on behalf of the user. Unlike the question, which is the immediate query, the goal describes the broader task or outcome the agent is working towards. GitBook uses this to steer the answer towards what is ultimately useful for that goal.\n",
14884
+ "$ref": "#/components/schemas/AgentGoal"
14841
14885
  }
14842
14886
  }
14843
14887
  },
@@ -15180,62 +15224,6 @@
15180
15224
  }
15181
15225
  }
15182
15226
  }
15183
- },
15184
- "post": {
15185
- "operationId": "createSiteScan",
15186
- "summary": "Enqueue a new site scan",
15187
- "tags": [
15188
- "site-context"
15189
- ],
15190
- "security": [
15191
- {
15192
- "user": []
15193
- },
15194
- {
15195
- "oauth": [
15196
- "site:write"
15197
- ]
15198
- }
15199
- ],
15200
- "parameters": [
15201
- {
15202
- "$ref": "#/components/parameters/organizationId"
15203
- },
15204
- {
15205
- "$ref": "#/components/parameters/siteId"
15206
- }
15207
- ],
15208
- "requestBody": {
15209
- "required": true,
15210
- "content": {
15211
- "application/json": {
15212
- "schema": {
15213
- "type": "object",
15214
- "required": [
15215
- "topic"
15216
- ],
15217
- "properties": {
15218
- "topic": {
15219
- "type": "string",
15220
- "description": "The site topic ID to scan."
15221
- }
15222
- }
15223
- }
15224
- }
15225
- }
15226
- },
15227
- "responses": {
15228
- "202": {
15229
- "description": "Site scan has been enqueued",
15230
- "content": {
15231
- "application/json": {
15232
- "schema": {
15233
- "$ref": "#/components/schemas/SiteScan"
15234
- }
15235
- }
15236
- }
15237
- }
15238
- }
15239
15227
  }
15240
15228
  },
15241
15229
  "/orgs/{organizationId}/sites/{siteId}/scans/{siteScanId}": {
@@ -15349,6 +15337,24 @@
15349
15337
  "schema": {
15350
15338
  "type": "boolean"
15351
15339
  }
15340
+ },
15341
+ {
15342
+ "name": "source",
15343
+ "in": "query",
15344
+ "description": "Filter findings by the source of their evidence. Each entry is either `connection:<connectionId>` (findings with at least one piece of evidence coming from the given connection) or `questions` (findings with at least one piece of evidence coming from a site question). When multiple entries are given, findings matching any of them are returned.",
15345
+ "schema": {
15346
+ "type": "array",
15347
+ "items": {
15348
+ "oneOf": [
15349
+ {
15350
+ "$ref": "#/components/schemas/SiteTriageFilterQuestions"
15351
+ },
15352
+ {
15353
+ "$ref": "#/components/schemas/SiteTriageFilterConnections"
15354
+ }
15355
+ ]
15356
+ }
15357
+ }
15352
15358
  }
15353
15359
  ],
15354
15360
  "responses": {
@@ -22416,6 +22422,16 @@
22416
22422
  "github-legacy"
22417
22423
  ]
22418
22424
  },
22425
+ "GitSyncOperationState": {
22426
+ "type": "string",
22427
+ "description": "* `running`: The operation is still running\n* `failure`: The operation failed\n* `success`: The operation was successful\n* `timeout`: The operation timed out\n",
22428
+ "enum": [
22429
+ "running",
22430
+ "failure",
22431
+ "success",
22432
+ "timeout"
22433
+ ]
22434
+ },
22419
22435
  "GitSyncState": {
22420
22436
  "type": "object",
22421
22437
  "properties": {
@@ -22442,6 +22458,18 @@
22442
22458
  "type": "string",
22443
22459
  "description": "The URL to the repository tree, used when rendering public content."
22444
22460
  },
22461
+ "operation": {
22462
+ "type": "object",
22463
+ "description": "The latest operation on the Git Sync installation.",
22464
+ "properties": {
22465
+ "state": {
22466
+ "$ref": "#/components/schemas/GitSyncOperationState"
22467
+ }
22468
+ },
22469
+ "required": [
22470
+ "state"
22471
+ ]
22472
+ },
22445
22473
  "updatedAt": {
22446
22474
  "description": "When the Git provider details were last updated",
22447
22475
  "$ref": "#/components/schemas/Timestamp"
@@ -23127,6 +23155,7 @@
23127
23155
  },
23128
23156
  "gitInfo": {
23129
23157
  "description": "Optional metadata to store on the space about the Git provider",
23158
+ "deprecated": true,
23130
23159
  "$ref": "#/components/schemas/UpdateSpaceGitInfo"
23131
23160
  }
23132
23161
  },
@@ -23174,8 +23203,13 @@
23174
23203
  "force": {
23175
23204
  "type": "boolean"
23176
23205
  },
23206
+ "standalone": {
23207
+ "type": "boolean",
23208
+ "description": "If true, the export will be done in a standalone mode, meaning that the exported content will not be linked to the Git repository. This is useful for creating a snapshot of the space's content.\n"
23209
+ },
23177
23210
  "gitInfo": {
23178
23211
  "description": "Optional metadata to store on the space about the Git provider",
23212
+ "deprecated": true,
23179
23213
  "$ref": "#/components/schemas/UpdateSpaceGitInfo"
23180
23214
  }
23181
23215
  },
@@ -23351,6 +23385,11 @@
23351
23385
  "updatedAt": {
23352
23386
  "description": "When the page was last edited. Only present if page has been edited at least once.",
23353
23387
  "$ref": "#/components/schemas/Timestamp"
23388
+ },
23389
+ "condition": {
23390
+ "description": "Adaptive-content condition controlling whether the page is shown to a visitor. Only present when the page has a condition set, and only returned when the API is called with a user, user-internal or OAuth token (never with a site/content token).",
23391
+ "type": "string",
23392
+ "minLength": 1
23354
23393
  }
23355
23394
  },
23356
23395
  "required": [
@@ -25605,6 +25644,16 @@
25605
25644
  },
25606
25645
  "openInAIProviders": {
25607
25646
  "type": "boolean"
25647
+ },
25648
+ "defaultExpanded": {
25649
+ "type": "string",
25650
+ "default": "hidden",
25651
+ "description": "Controls how much of the prompt content is visible by default.",
25652
+ "enum": [
25653
+ "hidden",
25654
+ "partial",
25655
+ "full"
25656
+ ]
25608
25657
  }
25609
25658
  },
25610
25659
  "required": [
@@ -30349,29 +30398,75 @@
30349
30398
  }
30350
30399
  ]
30351
30400
  },
30352
- "ChangeRequestContentChangeUpdatePage": {
30401
+ "RevisionPageUpdate": {
30353
30402
  "type": "object",
30354
- "description": "Replace the document of an existing page with another document.",
30355
- "required": [
30356
- "operation",
30357
- "page",
30358
- "document"
30359
- ],
30403
+ "description": "Page metadata that can be set when inserting or updating a page through a change request. When a markdown document is provided on the same operation, the values read from its frontmatter take precedence over these fields.",
30360
30404
  "properties": {
30361
- "operation": {
30405
+ "title": {
30362
30406
  "type": "string",
30363
- "enum": [
30364
- "update_page"
30365
- ]
30407
+ "minLength": 1,
30408
+ "description": "Title of the page."
30366
30409
  },
30367
- "page": {
30410
+ "emoji": {
30411
+ "description": "Emoji of the page. Set to an empty string to remove it.",
30412
+ "$ref": "#/components/schemas/Emoji"
30413
+ },
30414
+ "icon": {
30415
+ "description": "Icon of the page. Set to an empty string to remove it.",
30416
+ "$ref": "#/components/schemas/Icon"
30417
+ },
30418
+ "description": {
30368
30419
  "type": "string",
30369
- "description": "ID of the page whose content should be updated."
30420
+ "description": "Description of the page."
30370
30421
  },
30371
- "document": {
30372
- "$ref": "#/components/schemas/Document"
30422
+ "hidden": {
30423
+ "type": "boolean",
30424
+ "description": "If true, the page is not displayed in the navigation, while still being accessible."
30425
+ },
30426
+ "noIndex": {
30427
+ "type": "boolean",
30428
+ "description": "If true, the page is not indexable in the search and ask features."
30429
+ },
30430
+ "noRobotsIndex": {
30431
+ "type": "boolean",
30432
+ "description": "If true, the page is not indexable by search engine robots."
30433
+ },
30434
+ "condition": {
30435
+ "type": "string",
30436
+ "description": "Adaptive-content condition controlling whether the page is shown to a visitor. Set to an empty string to remove the condition."
30373
30437
  }
30374
- },
30438
+ }
30439
+ },
30440
+ "ChangeRequestContentChangeUpdatePage": {
30441
+ "description": "Update an existing page. Its document and/or its metadata (title, icon, description, visibility, adaptive-content condition) can be changed.",
30442
+ "allOf": [
30443
+ {
30444
+ "$ref": "#/components/schemas/RevisionPageUpdate"
30445
+ },
30446
+ {
30447
+ "type": "object",
30448
+ "required": [
30449
+ "operation",
30450
+ "page"
30451
+ ],
30452
+ "properties": {
30453
+ "operation": {
30454
+ "type": "string",
30455
+ "enum": [
30456
+ "update_page"
30457
+ ]
30458
+ },
30459
+ "page": {
30460
+ "type": "string",
30461
+ "description": "ID of the page to update."
30462
+ },
30463
+ "document": {
30464
+ "description": "New document for the page. When provided as markdown, its frontmatter is read to update the page metadata. Omit to update only the metadata fields.",
30465
+ "$ref": "#/components/schemas/Document"
30466
+ }
30467
+ }
30468
+ }
30469
+ ],
30375
30470
  "example": {
30376
30471
  "operation": "update_page",
30377
30472
  "page": "page_id",
@@ -30381,37 +30476,41 @@
30381
30476
  }
30382
30477
  },
30383
30478
  "ChangeRequestContentChangeInsertPage": {
30384
- "type": "object",
30385
30479
  "description": "Insert a new page into the change request.",
30386
- "required": [
30387
- "operation",
30388
- "title",
30389
- "document"
30390
- ],
30391
- "properties": {
30392
- "operation": {
30393
- "type": "string",
30394
- "enum": [
30395
- "insert_page"
30396
- ]
30397
- },
30398
- "title": {
30399
- "type": "string",
30400
- "description": "Title of the new page."
30401
- },
30402
- "into": {
30403
- "type": "string",
30404
- "description": "ID of the parent page to insert the new page into. If omitted, the page is inserted as a root page."
30405
- },
30406
- "at": {
30407
- "type": "integer",
30408
- "minimum": 0,
30409
- "description": "Zero-based index to insert the page at among its siblings. If omitted, the page is appended at the end."
30480
+ "allOf": [
30481
+ {
30482
+ "$ref": "#/components/schemas/RevisionPageUpdate"
30410
30483
  },
30411
- "document": {
30412
- "$ref": "#/components/schemas/Document"
30484
+ {
30485
+ "type": "object",
30486
+ "required": [
30487
+ "operation",
30488
+ "title",
30489
+ "document"
30490
+ ],
30491
+ "properties": {
30492
+ "operation": {
30493
+ "type": "string",
30494
+ "enum": [
30495
+ "insert_page"
30496
+ ]
30497
+ },
30498
+ "into": {
30499
+ "type": "string",
30500
+ "description": "ID of the parent page to insert the new page into. If omitted, the page is inserted as a root page."
30501
+ },
30502
+ "at": {
30503
+ "type": "integer",
30504
+ "minimum": 0,
30505
+ "description": "Zero-based index to insert the page at among its siblings. If omitted, the page is appended at the end."
30506
+ },
30507
+ "document": {
30508
+ "description": "Document for the new page. When provided as markdown, its frontmatter is read to set the page metadata.",
30509
+ "$ref": "#/components/schemas/Document"
30510
+ }
30511
+ }
30413
30512
  }
30414
- },
30513
+ ],
30415
30514
  "example": {
30416
30515
  "operation": "insert_page",
30417
30516
  "title": "New page",
@@ -31327,7 +31426,6 @@
31327
31426
  "analytics",
31328
31427
  "collaboration",
31329
31428
  "content",
31330
- "gitsync",
31331
31429
  "marketing",
31332
31430
  "visitor-auth",
31333
31431
  "other"
@@ -38860,6 +38958,17 @@
38860
38958
  "default": false,
38861
38959
  "description": "Whether previews should be generated from branches outside the configured branch."
38862
38960
  },
38961
+ "agentInstructions": {
38962
+ "type": "array",
38963
+ "description": "Agent instruction files GitBook should always export at the repository root.",
38964
+ "items": {
38965
+ "type": "string",
38966
+ "enum": [
38967
+ "agents",
38968
+ "claude"
38969
+ ]
38970
+ }
38971
+ },
38863
38972
  "priority": {
38864
38973
  "$ref": "#/components/schemas/GitSyncInstallationPriority"
38865
38974
  }
@@ -40596,6 +40705,42 @@
40596
40705
  "currentSiteSpace": {
40597
40706
  "type": "string",
40598
40707
  "description": "The ID of the site space that must always be included in the search results. The language of this site space will be used to match other site spaces with the same language, if applicable.\n"
40708
+ },
40709
+ "restrictTo": {
40710
+ "description": "Must not be provided when searching the entire default scope. To restrict the search to a subset of the default scope, provide `restrictTo` along with `currentSiteSpace`.\n",
40711
+ "type": "string",
40712
+ "minLength": 2,
40713
+ "maxLength": 1,
40714
+ "x-typescript": "never"
40715
+ }
40716
+ }
40717
+ },
40718
+ {
40719
+ "type": "object",
40720
+ "required": [
40721
+ "mode",
40722
+ "currentSiteSpace",
40723
+ "restrictTo"
40724
+ ],
40725
+ "properties": {
40726
+ "mode": {
40727
+ "description": "Search a subset of the default scope of the site, relative to the current site space.\n",
40728
+ "type": "string",
40729
+ "enum": [
40730
+ "default"
40731
+ ]
40732
+ },
40733
+ "currentSiteSpace": {
40734
+ "type": "string",
40735
+ "description": "The ID of the site space the search is made from. The language of this site space will be used to match other site spaces with the same language, if applicable.\n"
40736
+ },
40737
+ "restrictTo": {
40738
+ "type": "string",
40739
+ "enum": [
40740
+ "currentSiteSpace",
40741
+ "otherSiteSpaces"
40742
+ ],
40743
+ "description": "Restrict the search to a subset of the default scope. With `currentSiteSpace`, only the current site space is searched. With `otherSiteSpaces`, the current site space is excluded and only the other site spaces in the default scope are searched.\n"
40599
40744
  }
40600
40745
  }
40601
40746
  },
@@ -40678,6 +40823,11 @@
40678
40823
  "url"
40679
40824
  ]
40680
40825
  },
40826
+ "AgentGoal": {
40827
+ "type": "string",
40828
+ "maxLength": 1024,
40829
+ "description": "The end goal the agent is trying to accomplish on behalf of the user. Unlike the immediate query, the goal describes the broader task or outcome the agent is working towards."
40830
+ },
40681
40831
  "SiteInsightsSession": {
40682
40832
  "type": "object",
40683
40833
  "description": "Identifiers for a GitBook site session, used for analytics and adaptive content.",
@@ -40722,9 +40872,12 @@
40722
40872
  "builtin:github-discussions",
40723
40873
  "builtin:github-issues",
40724
40874
  "builtin:intercom",
40875
+ "builtin:front",
40725
40876
  "builtin:zendesk",
40726
40877
  "builtin:zoho-desk",
40878
+ "builtin:freshdesk",
40727
40879
  "builtin:pylon",
40880
+ "builtin:hubspot",
40728
40881
  "builtin:linear",
40729
40882
  "builtin:jira"
40730
40883
  ]
@@ -40990,6 +41143,18 @@
40990
41143
  "high"
40991
41144
  ]
40992
41145
  },
41146
+ "SiteTriageFilterQuestions": {
41147
+ "type": "string",
41148
+ "description": "Findings source filter matching evidence coming from site questions.\n",
41149
+ "enum": [
41150
+ "questions"
41151
+ ]
41152
+ },
41153
+ "SiteTriageFilterConnections": {
41154
+ "type": "string",
41155
+ "description": "Findings source filter matching evidence coming from a given connection,\nencoded as `connection:<connectionId>`.\n",
41156
+ "pattern": "^connection:.+$"
41157
+ },
40993
41158
  "SiteFindingTitle": {
40994
41159
  "type": "string",
40995
41160
  "description": "Short finding title",
@@ -41609,6 +41774,33 @@
41609
41774
  "setupSettings"
41610
41775
  ]
41611
41776
  },
41777
+ {
41778
+ "type": "object",
41779
+ "properties": {
41780
+ "connector": {
41781
+ "type": "string",
41782
+ "enum": [
41783
+ "builtin:front"
41784
+ ]
41785
+ },
41786
+ "setupSettings": {
41787
+ "type": "object",
41788
+ "properties": {
41789
+ "token": {
41790
+ "type": "string",
41791
+ "minLength": 1
41792
+ }
41793
+ },
41794
+ "required": [
41795
+ "token"
41796
+ ]
41797
+ }
41798
+ },
41799
+ "required": [
41800
+ "connector",
41801
+ "setupSettings"
41802
+ ]
41803
+ },
41612
41804
  {
41613
41805
  "type": "object",
41614
41806
  "properties": {
@@ -41695,6 +41887,40 @@
41695
41887
  "setupSettings"
41696
41888
  ]
41697
41889
  },
41890
+ {
41891
+ "type": "object",
41892
+ "properties": {
41893
+ "connector": {
41894
+ "type": "string",
41895
+ "enum": [
41896
+ "builtin:freshdesk"
41897
+ ]
41898
+ },
41899
+ "setupSettings": {
41900
+ "type": "object",
41901
+ "properties": {
41902
+ "domain": {
41903
+ "type": "string",
41904
+ "minLength": 1,
41905
+ "description": "Freshdesk domain hosting the account, e.g. `mycompany.freshdesk.com` or just `mycompany`. Tickets and the API are scoped by this domain."
41906
+ },
41907
+ "apiKey": {
41908
+ "type": "string",
41909
+ "minLength": 1,
41910
+ "description": "Freshdesk API key with permission to read tickets. Sent as HTTP Basic auth and redacted when read back."
41911
+ }
41912
+ },
41913
+ "required": [
41914
+ "domain",
41915
+ "apiKey"
41916
+ ]
41917
+ }
41918
+ },
41919
+ "required": [
41920
+ "connector",
41921
+ "setupSettings"
41922
+ ]
41923
+ },
41698
41924
  {
41699
41925
  "type": "object",
41700
41926
  "properties": {
@@ -41722,6 +41948,33 @@
41722
41948
  "setupSettings"
41723
41949
  ]
41724
41950
  },
41951
+ {
41952
+ "type": "object",
41953
+ "properties": {
41954
+ "connector": {
41955
+ "type": "string",
41956
+ "enum": [
41957
+ "builtin:hubspot"
41958
+ ]
41959
+ },
41960
+ "setupSettings": {
41961
+ "type": "object",
41962
+ "properties": {
41963
+ "token": {
41964
+ "type": "string",
41965
+ "minLength": 1
41966
+ }
41967
+ },
41968
+ "required": [
41969
+ "token"
41970
+ ]
41971
+ }
41972
+ },
41973
+ "required": [
41974
+ "connector",
41975
+ "setupSettings"
41976
+ ]
41977
+ },
41725
41978
  {
41726
41979
  "type": "object",
41727
41980
  "properties": {
@@ -43467,9 +43720,7 @@
43467
43720
  },
43468
43721
  "contentType": {
43469
43722
  "type": "string",
43470
- "enum": [
43471
- "application/pdf"
43472
- ]
43723
+ "description": "MIME type of the file. Must be a file type supported by the underlying model (see the OpenAI file-inputs documentation)."
43473
43724
  }
43474
43725
  },
43475
43726
  "required": [
@@ -43510,6 +43761,26 @@
43510
43761
  "pageId"
43511
43762
  ]
43512
43763
  },
43764
+ "comments": {
43765
+ "type": "array",
43766
+ "description": "Comments on the content the user is referring to in the message.",
43767
+ "items": {
43768
+ "type": "object",
43769
+ "properties": {
43770
+ "id": {
43771
+ "type": "string",
43772
+ "description": "ID of the comment."
43773
+ },
43774
+ "content": {
43775
+ "type": "string",
43776
+ "description": "Snapshot of the comment for display."
43777
+ }
43778
+ },
43779
+ "required": [
43780
+ "id"
43781
+ ]
43782
+ }
43783
+ },
43513
43784
  "selection": {
43514
43785
  "type": "object",
43515
43786
  "description": "Range of the current selection in a document.",
@@ -49645,15 +49916,6 @@
49645
49916
  "tag_edited"
49646
49917
  ]
49647
49918
  },
49648
- "GitSyncOperationState": {
49649
- "type": "string",
49650
- "description": "* `running`: The operation is still running\n* `failure`: The operation failed\n* `success`: The operation was successful\n",
49651
- "enum": [
49652
- "running",
49653
- "failure",
49654
- "success"
49655
- ]
49656
- },
49657
49919
  "GitSyncOperationDirection": {
49658
49920
  "type": "string",
49659
49921
  "enum": [