@gitbook/api 0.124.0 → 0.125.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/dist/client.d.ts +148 -15
- package/dist/index.cjs +48 -12
- package/dist/index.js +48 -12
- package/package.json +1 -1
- package/spec/openapi.json +469 -28
- package/spec/openapi.yaml +290 -27
package/spec/openapi.json
CHANGED
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
{
|
|
67
67
|
"name": "organization-ask",
|
|
68
68
|
"x-page-title": "Organization AI ask",
|
|
69
|
-
"x-page-description": "Unlock AI-driven answers for your organization
|
|
69
|
+
"x-page-description": "Unlock AI-driven answers for your organization's content and data.",
|
|
70
70
|
"x-parent": "organizations",
|
|
71
|
-
"description": "Enhance your team
|
|
71
|
+
"description": "Enhance your team's knowledge base with the Organization AI ask endpoint, which allows you to query AI models trained on your organization's GitBook content for quick, intelligent responses.\n"
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
"name": "sites",
|
|
@@ -103,28 +103,28 @@
|
|
|
103
103
|
"x-page-title": "Site preview",
|
|
104
104
|
"x-page-description": "Fetch an up-to-date preview of your site before publishing.",
|
|
105
105
|
"x-parent": "sites",
|
|
106
|
-
"description": "Quickly generate a preview of how your site
|
|
106
|
+
"description": "Quickly generate a preview of how your site's content and layout will appear once published, allowing for final checks and refinement prior to going live.\n"
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
109
|
"name": "site-customization",
|
|
110
110
|
"x-page-title": "Site customization",
|
|
111
111
|
"x-page-description": "Customize the look and feel of your docs site.",
|
|
112
112
|
"x-parent": "sites",
|
|
113
|
-
"description": "Update your site
|
|
113
|
+
"description": "Update your site's branding, styling, and layout to match your organization's identity. This includes theming elements like color palette, logos, and more.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"SiteCustomizationSettings\" grouped=\"false\" %}\n The SiteCustomizationSettings object\n{% endopenapi-schemas %}\n"
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
"name": "site-spaces",
|
|
117
117
|
"x-page-title": "Site spaces",
|
|
118
118
|
"x-page-description": "Control which spaces are linked and displayed in a docs site.",
|
|
119
119
|
"x-parent": "sites",
|
|
120
|
-
"description": "Associate or dissociate your organization
|
|
120
|
+
"description": "Associate or dissociate your organization's spaces to keep your content organized. This is particularly useful for larger organizations with numerous spaces.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"SiteSpace\" grouped=\"false\" %}\n The SiteSpace object\n{% endopenapi-schemas %}\n"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
123
|
"name": "site-sections",
|
|
124
124
|
"x-page-title": "Site sections",
|
|
125
125
|
"x-page-description": "Create and organize high-level sections for your docs site.",
|
|
126
126
|
"x-parent": "sites",
|
|
127
|
-
"description": "Sections help partition your site
|
|
127
|
+
"description": "Sections help partition your site's content at the top level. They can be modified, deleted, or reorganized to reflect your site's changing structure.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"SiteSection\" grouped=\"false\" %}\n The SiteSection object\n{% endopenapi-schemas %}\n"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"name": "site-section-groups",
|
|
@@ -138,14 +138,21 @@
|
|
|
138
138
|
"x-page-title": "Site redirects",
|
|
139
139
|
"x-page-description": "Establish redirects for pages that have moved or changed in your docs site.",
|
|
140
140
|
"x-parent": "sites",
|
|
141
|
-
"description": "Keep your site
|
|
141
|
+
"description": "Keep your site's content fresh without breaking old links. This API allows you to create and manage redirection rules.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"SiteRedirect\" grouped=\"false\" %}\n The SiteRedirect object\n{% endopenapi-schemas %}\n"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "site-mcp-servers",
|
|
145
|
+
"x-page-title": "Site MCP servers",
|
|
146
|
+
"x-page-description": "Configure external MCP servers used by your site.",
|
|
147
|
+
"x-parent": "sites",
|
|
148
|
+
"description": "Manage Model Context Protocol (Mcp) servers used by your site.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"SiteMcpServer\" grouped=\"false\" %}\n The SiteMcpServer object\n{% endopenapi-schemas %}\n"
|
|
142
149
|
},
|
|
143
150
|
{
|
|
144
151
|
"name": "site-ads",
|
|
145
152
|
"x-page-title": "Site ads",
|
|
146
153
|
"x-page-description": "Control and customize ad placements on your docs site.",
|
|
147
154
|
"x-parent": "sites",
|
|
148
|
-
"description": "Manage the advertisement strategy within your docs. You can specify ad placements, track usage, and adjust settings to best fit your organization
|
|
155
|
+
"description": "Manage the advertisement strategy within your docs. You can specify ad placements, track usage, and adjust settings to best fit your organization's needs.\n"
|
|
149
156
|
},
|
|
150
157
|
{
|
|
151
158
|
"name": "site-users",
|
|
@@ -166,7 +173,7 @@
|
|
|
166
173
|
"x-page-title": "Site AI ask",
|
|
167
174
|
"x-page-description": "Allow AI-driven queries within a specific docs site.",
|
|
168
175
|
"x-parent": "sites",
|
|
169
|
-
"description": "Give your users a way to ask content-aware AI queries that are scoped entirely to the site
|
|
176
|
+
"description": "Give your users a way to ask content-aware AI queries that are scoped entirely to the site's published documents.\n"
|
|
170
177
|
},
|
|
171
178
|
{
|
|
172
179
|
"name": "collections",
|
|
@@ -180,7 +187,7 @@
|
|
|
180
187
|
"x-page-title": "Collection users",
|
|
181
188
|
"x-page-description": "Handle permissions and user management for a specific collection.",
|
|
182
189
|
"x-parent": "collections",
|
|
183
|
-
"description": "Control which users have access to a collection
|
|
190
|
+
"description": "Control which users have access to a collection's spaces. This ensures only the right individuals can view or modify sensitive content.\n"
|
|
184
191
|
},
|
|
185
192
|
{
|
|
186
193
|
"name": "collection-teams",
|
|
@@ -262,7 +269,7 @@
|
|
|
262
269
|
{
|
|
263
270
|
"name": "change-request-contributors",
|
|
264
271
|
"x-page-title": "Change request contributors",
|
|
265
|
-
"x-page-description": "See who
|
|
272
|
+
"x-page-description": "See who's participating in the change request.",
|
|
266
273
|
"x-parent": "change-requests",
|
|
267
274
|
"description": "Quickly access the full list of collaborators and their contributions within a change request for better traceability and communication.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"UserContributor\" grouped=\"false\" %}\n The UserContributor object\n{% endopenapi-schemas %}\n"
|
|
268
275
|
},
|
|
@@ -284,7 +291,7 @@
|
|
|
284
291
|
"name": "analytics",
|
|
285
292
|
"x-page-icon": "chart-line",
|
|
286
293
|
"x-page-title": "Analytics",
|
|
287
|
-
"x-page-description": "Tap into metrics that reveal your content
|
|
294
|
+
"x-page-description": "Tap into metrics that reveal your content's performance and usage patterns.",
|
|
288
295
|
"description": "Gather data-driven insights on how users interact with your spaces, pages, or entire site. Analytics can highlight trends and guide future content improvements.\n"
|
|
289
296
|
},
|
|
290
297
|
{
|
|
@@ -389,7 +396,7 @@
|
|
|
389
396
|
"name": "sso",
|
|
390
397
|
"x-page-icon": "lock",
|
|
391
398
|
"x-page-title": "SSO",
|
|
392
|
-
"x-page-description": "Configure Single Sign-On solutions to unify your organization
|
|
399
|
+
"x-page-description": "Configure Single Sign-On solutions to unify your organization's authentication.",
|
|
393
400
|
"description": "Tie GitBook into your corporate identity management and authentication providers (like SAML or OAuth). This centralizes user authentication and improves security.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"Subdomain\" grouped=\"false\" %}\n The Subdomain object\n{% endopenapi-schemas %}\n"
|
|
394
401
|
},
|
|
395
402
|
{
|
|
@@ -397,7 +404,7 @@
|
|
|
397
404
|
"x-page-icon": "database",
|
|
398
405
|
"x-page-title": "Storage",
|
|
399
406
|
"x-page-description": "Upload and store files directly within your GitBook organization.",
|
|
400
|
-
"description": "Whether you
|
|
407
|
+
"description": "Whether you're hosting images, documents, or other assets, Storage endpoints allow you to integrate those files into your documentation and spaces seamlessly.\n"
|
|
401
408
|
},
|
|
402
409
|
{
|
|
403
410
|
"name": "custom-hostnames",
|
|
@@ -411,7 +418,7 @@
|
|
|
411
418
|
"x-page-icon": "gears",
|
|
412
419
|
"x-page-title": "System info",
|
|
413
420
|
"x-page-description": "Programmatically check GitBook API system status and version details.",
|
|
414
|
-
"description": "Use these endpoints to monitor the overall health of GitBook
|
|
421
|
+
"description": "Use these endpoints to monitor the overall health of GitBook's infrastructure or to retrieve version information for debugging and compliance purposes.\n"
|
|
415
422
|
}
|
|
416
423
|
],
|
|
417
424
|
"paths": {
|
|
@@ -4098,6 +4105,54 @@
|
|
|
4098
4105
|
}
|
|
4099
4106
|
}
|
|
4100
4107
|
},
|
|
4108
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/changes": {
|
|
4109
|
+
"get": {
|
|
4110
|
+
"operationId": "getChangeRequestChanges",
|
|
4111
|
+
"summary": "Get change request semantic changes",
|
|
4112
|
+
"description": "Return the semantic changes between a change request and its base revision.",
|
|
4113
|
+
"tags": [
|
|
4114
|
+
"change-request-content"
|
|
4115
|
+
],
|
|
4116
|
+
"security": [
|
|
4117
|
+
{
|
|
4118
|
+
"user": []
|
|
4119
|
+
}
|
|
4120
|
+
],
|
|
4121
|
+
"parameters": [
|
|
4122
|
+
{
|
|
4123
|
+
"$ref": "#/components/parameters/spaceId"
|
|
4124
|
+
},
|
|
4125
|
+
{
|
|
4126
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
4127
|
+
},
|
|
4128
|
+
{
|
|
4129
|
+
"name": "limit",
|
|
4130
|
+
"in": "query",
|
|
4131
|
+
"description": "Limit the number of changes returned",
|
|
4132
|
+
"schema": {
|
|
4133
|
+
"type": "number",
|
|
4134
|
+
"default": 10
|
|
4135
|
+
}
|
|
4136
|
+
}
|
|
4137
|
+
],
|
|
4138
|
+
"responses": {
|
|
4139
|
+
"200": {
|
|
4140
|
+
"description": "OK",
|
|
4141
|
+
"content": {
|
|
4142
|
+
"application/json": {
|
|
4143
|
+
"schema": {
|
|
4144
|
+
"$ref": "#/components/schemas/RevisionSemanticChanges"
|
|
4145
|
+
}
|
|
4146
|
+
}
|
|
4147
|
+
}
|
|
4148
|
+
},
|
|
4149
|
+
"404": {
|
|
4150
|
+
"description": "The change request could not be found.",
|
|
4151
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
4152
|
+
}
|
|
4153
|
+
}
|
|
4154
|
+
}
|
|
4155
|
+
},
|
|
4101
4156
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/pdf": {
|
|
4102
4157
|
"get": {
|
|
4103
4158
|
"operationId": "getChangeRequestPDF",
|
|
@@ -15316,6 +15371,245 @@
|
|
|
15316
15371
|
}
|
|
15317
15372
|
}
|
|
15318
15373
|
},
|
|
15374
|
+
"/orgs/{organizationId}/sites/{siteId}/mcp-servers": {
|
|
15375
|
+
"get": {
|
|
15376
|
+
"operationId": "listSiteMcpServers",
|
|
15377
|
+
"summary": "List all MCP servers for a site",
|
|
15378
|
+
"tags": [
|
|
15379
|
+
"site-mcp-servers"
|
|
15380
|
+
],
|
|
15381
|
+
"security": [
|
|
15382
|
+
{
|
|
15383
|
+
"user": []
|
|
15384
|
+
}
|
|
15385
|
+
],
|
|
15386
|
+
"parameters": [
|
|
15387
|
+
{
|
|
15388
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15389
|
+
},
|
|
15390
|
+
{
|
|
15391
|
+
"$ref": "#/components/parameters/siteId"
|
|
15392
|
+
},
|
|
15393
|
+
{
|
|
15394
|
+
"$ref": "#/components/parameters/listPage"
|
|
15395
|
+
},
|
|
15396
|
+
{
|
|
15397
|
+
"$ref": "#/components/parameters/listLimit"
|
|
15398
|
+
}
|
|
15399
|
+
],
|
|
15400
|
+
"responses": {
|
|
15401
|
+
"200": {
|
|
15402
|
+
"description": "OK",
|
|
15403
|
+
"content": {
|
|
15404
|
+
"application/json": {
|
|
15405
|
+
"schema": {
|
|
15406
|
+
"allOf": [
|
|
15407
|
+
{
|
|
15408
|
+
"$ref": "#/components/schemas/List"
|
|
15409
|
+
},
|
|
15410
|
+
{
|
|
15411
|
+
"type": "object",
|
|
15412
|
+
"required": [
|
|
15413
|
+
"items"
|
|
15414
|
+
],
|
|
15415
|
+
"properties": {
|
|
15416
|
+
"items": {
|
|
15417
|
+
"type": "array",
|
|
15418
|
+
"items": {
|
|
15419
|
+
"$ref": "#/components/schemas/SiteMcpServer"
|
|
15420
|
+
}
|
|
15421
|
+
}
|
|
15422
|
+
}
|
|
15423
|
+
}
|
|
15424
|
+
]
|
|
15425
|
+
}
|
|
15426
|
+
}
|
|
15427
|
+
}
|
|
15428
|
+
}
|
|
15429
|
+
}
|
|
15430
|
+
},
|
|
15431
|
+
"post": {
|
|
15432
|
+
"operationId": "createSiteMcpServer",
|
|
15433
|
+
"summary": "Create a new MCP server",
|
|
15434
|
+
"tags": [
|
|
15435
|
+
"site-mcp-servers"
|
|
15436
|
+
],
|
|
15437
|
+
"security": [
|
|
15438
|
+
{
|
|
15439
|
+
"user": []
|
|
15440
|
+
}
|
|
15441
|
+
],
|
|
15442
|
+
"parameters": [
|
|
15443
|
+
{
|
|
15444
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15445
|
+
},
|
|
15446
|
+
{
|
|
15447
|
+
"$ref": "#/components/parameters/siteId"
|
|
15448
|
+
}
|
|
15449
|
+
],
|
|
15450
|
+
"requestBody": {
|
|
15451
|
+
"required": true,
|
|
15452
|
+
"content": {
|
|
15453
|
+
"application/json": {
|
|
15454
|
+
"schema": {
|
|
15455
|
+
"type": "object",
|
|
15456
|
+
"properties": {
|
|
15457
|
+
"name": {
|
|
15458
|
+
"$ref": "#/components/schemas/SiteMcpServerName"
|
|
15459
|
+
},
|
|
15460
|
+
"url": {
|
|
15461
|
+
"$ref": "#/components/schemas/URL"
|
|
15462
|
+
},
|
|
15463
|
+
"headers": {
|
|
15464
|
+
"$ref": "#/components/schemas/SiteMcpServerHeaders"
|
|
15465
|
+
}
|
|
15466
|
+
},
|
|
15467
|
+
"required": [
|
|
15468
|
+
"name",
|
|
15469
|
+
"url",
|
|
15470
|
+
"headers"
|
|
15471
|
+
]
|
|
15472
|
+
}
|
|
15473
|
+
}
|
|
15474
|
+
}
|
|
15475
|
+
},
|
|
15476
|
+
"responses": {
|
|
15477
|
+
"201": {
|
|
15478
|
+
"description": "MCP server created",
|
|
15479
|
+
"content": {
|
|
15480
|
+
"application/json": {
|
|
15481
|
+
"schema": {
|
|
15482
|
+
"$ref": "#/components/schemas/SiteMcpServer"
|
|
15483
|
+
}
|
|
15484
|
+
}
|
|
15485
|
+
}
|
|
15486
|
+
}
|
|
15487
|
+
}
|
|
15488
|
+
}
|
|
15489
|
+
},
|
|
15490
|
+
"/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}": {
|
|
15491
|
+
"get": {
|
|
15492
|
+
"operationId": "getSiteMcpServerById",
|
|
15493
|
+
"summary": "Get a site MCP server",
|
|
15494
|
+
"tags": [
|
|
15495
|
+
"site-mcp-servers"
|
|
15496
|
+
],
|
|
15497
|
+
"security": [
|
|
15498
|
+
{
|
|
15499
|
+
"user": []
|
|
15500
|
+
}
|
|
15501
|
+
],
|
|
15502
|
+
"parameters": [
|
|
15503
|
+
{
|
|
15504
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15505
|
+
},
|
|
15506
|
+
{
|
|
15507
|
+
"$ref": "#/components/parameters/siteId"
|
|
15508
|
+
},
|
|
15509
|
+
{
|
|
15510
|
+
"$ref": "#/components/parameters/siteMcpServerId"
|
|
15511
|
+
}
|
|
15512
|
+
],
|
|
15513
|
+
"responses": {
|
|
15514
|
+
"200": {
|
|
15515
|
+
"description": "OK",
|
|
15516
|
+
"content": {
|
|
15517
|
+
"application/json": {
|
|
15518
|
+
"schema": {
|
|
15519
|
+
"$ref": "#/components/schemas/SiteMcpServer"
|
|
15520
|
+
}
|
|
15521
|
+
}
|
|
15522
|
+
}
|
|
15523
|
+
}
|
|
15524
|
+
}
|
|
15525
|
+
},
|
|
15526
|
+
"patch": {
|
|
15527
|
+
"operationId": "updateSiteMcpServerById",
|
|
15528
|
+
"summary": "Update a site MCP server",
|
|
15529
|
+
"tags": [
|
|
15530
|
+
"site-mcp-servers"
|
|
15531
|
+
],
|
|
15532
|
+
"security": [
|
|
15533
|
+
{
|
|
15534
|
+
"user": []
|
|
15535
|
+
}
|
|
15536
|
+
],
|
|
15537
|
+
"parameters": [
|
|
15538
|
+
{
|
|
15539
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15540
|
+
},
|
|
15541
|
+
{
|
|
15542
|
+
"$ref": "#/components/parameters/siteId"
|
|
15543
|
+
},
|
|
15544
|
+
{
|
|
15545
|
+
"$ref": "#/components/parameters/siteMcpServerId"
|
|
15546
|
+
}
|
|
15547
|
+
],
|
|
15548
|
+
"requestBody": {
|
|
15549
|
+
"required": true,
|
|
15550
|
+
"content": {
|
|
15551
|
+
"application/json": {
|
|
15552
|
+
"schema": {
|
|
15553
|
+
"type": "object",
|
|
15554
|
+
"properties": {
|
|
15555
|
+
"name": {
|
|
15556
|
+
"$ref": "#/components/schemas/SiteMcpServerName"
|
|
15557
|
+
},
|
|
15558
|
+
"url": {
|
|
15559
|
+
"type": "string",
|
|
15560
|
+
"format": "uri",
|
|
15561
|
+
"maxLength": 2048
|
|
15562
|
+
},
|
|
15563
|
+
"headers": {
|
|
15564
|
+
"$ref": "#/components/schemas/SiteMcpServerHeaders"
|
|
15565
|
+
}
|
|
15566
|
+
}
|
|
15567
|
+
}
|
|
15568
|
+
}
|
|
15569
|
+
}
|
|
15570
|
+
},
|
|
15571
|
+
"responses": {
|
|
15572
|
+
"200": {
|
|
15573
|
+
"description": "OK",
|
|
15574
|
+
"content": {
|
|
15575
|
+
"application/json": {
|
|
15576
|
+
"schema": {
|
|
15577
|
+
"$ref": "#/components/schemas/SiteMcpServer"
|
|
15578
|
+
}
|
|
15579
|
+
}
|
|
15580
|
+
}
|
|
15581
|
+
}
|
|
15582
|
+
}
|
|
15583
|
+
},
|
|
15584
|
+
"delete": {
|
|
15585
|
+
"operationId": "deleteSiteMcpServerById",
|
|
15586
|
+
"summary": "Delete a site MCP server",
|
|
15587
|
+
"tags": [
|
|
15588
|
+
"site-mcp-servers"
|
|
15589
|
+
],
|
|
15590
|
+
"security": [
|
|
15591
|
+
{
|
|
15592
|
+
"user": []
|
|
15593
|
+
}
|
|
15594
|
+
],
|
|
15595
|
+
"parameters": [
|
|
15596
|
+
{
|
|
15597
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15598
|
+
},
|
|
15599
|
+
{
|
|
15600
|
+
"$ref": "#/components/parameters/siteId"
|
|
15601
|
+
},
|
|
15602
|
+
{
|
|
15603
|
+
"$ref": "#/components/parameters/siteMcpServerId"
|
|
15604
|
+
}
|
|
15605
|
+
],
|
|
15606
|
+
"responses": {
|
|
15607
|
+
"205": {
|
|
15608
|
+
"description": "MCP server deleted"
|
|
15609
|
+
}
|
|
15610
|
+
}
|
|
15611
|
+
}
|
|
15612
|
+
},
|
|
15319
15613
|
"/subdomains/{subdomain}": {
|
|
15320
15614
|
"get": {
|
|
15321
15615
|
"operationId": "getSubdomain",
|
|
@@ -16456,6 +16750,15 @@
|
|
|
16456
16750
|
"type": "string"
|
|
16457
16751
|
}
|
|
16458
16752
|
},
|
|
16753
|
+
"siteMcpServerId": {
|
|
16754
|
+
"name": "siteMcpServerId",
|
|
16755
|
+
"in": "path",
|
|
16756
|
+
"required": true,
|
|
16757
|
+
"description": "The unique id of the MCP server",
|
|
16758
|
+
"schema": {
|
|
16759
|
+
"type": "string"
|
|
16760
|
+
}
|
|
16761
|
+
},
|
|
16459
16762
|
"subdomain": {
|
|
16460
16763
|
"name": "subdomain",
|
|
16461
16764
|
"in": "path",
|
|
@@ -22810,9 +23113,7 @@
|
|
|
22810
23113
|
"zip",
|
|
22811
23114
|
"confluence",
|
|
22812
23115
|
"github-wiki",
|
|
22813
|
-
"dropbox-paper",
|
|
22814
23116
|
"notion",
|
|
22815
|
-
"quip",
|
|
22816
23117
|
"google-docs"
|
|
22817
23118
|
]
|
|
22818
23119
|
},
|
|
@@ -22940,16 +23241,7 @@
|
|
|
22940
23241
|
"community_2024",
|
|
22941
23242
|
"free",
|
|
22942
23243
|
"plus",
|
|
22943
|
-
"pro"
|
|
22944
|
-
"team",
|
|
22945
|
-
"business",
|
|
22946
|
-
"legacy",
|
|
22947
|
-
"startup",
|
|
22948
|
-
"enterprise",
|
|
22949
|
-
"community",
|
|
22950
|
-
"team_oct_2019_free",
|
|
22951
|
-
"team_dec_2021",
|
|
22952
|
-
"business_dec_2021"
|
|
23244
|
+
"pro"
|
|
22953
23245
|
]
|
|
22954
23246
|
},
|
|
22955
23247
|
"BillingInterval": {
|
|
@@ -33450,6 +33742,35 @@
|
|
|
33450
33742
|
"task"
|
|
33451
33743
|
]
|
|
33452
33744
|
},
|
|
33745
|
+
"AIToolCallMCP": {
|
|
33746
|
+
"type": "object",
|
|
33747
|
+
"description": "Tool called from an MCP server",
|
|
33748
|
+
"properties": {
|
|
33749
|
+
"tool": {
|
|
33750
|
+
"type": "string",
|
|
33751
|
+
"enum": [
|
|
33752
|
+
"mcp"
|
|
33753
|
+
]
|
|
33754
|
+
},
|
|
33755
|
+
"mcpServerId": {
|
|
33756
|
+
"type": "string",
|
|
33757
|
+
"description": "The ID of the MCP server that has been called."
|
|
33758
|
+
},
|
|
33759
|
+
"mcpToolName": {
|
|
33760
|
+
"type": "string",
|
|
33761
|
+
"description": "The name of the tool that has been called."
|
|
33762
|
+
},
|
|
33763
|
+
"mcpToolTitle": {
|
|
33764
|
+
"type": "string",
|
|
33765
|
+
"description": "The title of the tool that has been called."
|
|
33766
|
+
}
|
|
33767
|
+
},
|
|
33768
|
+
"required": [
|
|
33769
|
+
"tool",
|
|
33770
|
+
"mcpServerId",
|
|
33771
|
+
"mcpToolName"
|
|
33772
|
+
]
|
|
33773
|
+
},
|
|
33453
33774
|
"AIToolCall": {
|
|
33454
33775
|
"oneOf": [
|
|
33455
33776
|
{
|
|
@@ -33484,6 +33805,9 @@
|
|
|
33484
33805
|
},
|
|
33485
33806
|
{
|
|
33486
33807
|
"$ref": "#/components/schemas/AIToolCallCreateAgentTask"
|
|
33808
|
+
},
|
|
33809
|
+
{
|
|
33810
|
+
"$ref": "#/components/schemas/AIToolCallMCP"
|
|
33487
33811
|
}
|
|
33488
33812
|
]
|
|
33489
33813
|
},
|
|
@@ -35023,7 +35347,17 @@
|
|
|
35023
35347
|
"values": {
|
|
35024
35348
|
"type": "array",
|
|
35025
35349
|
"items": {
|
|
35026
|
-
"
|
|
35350
|
+
"oneOf": [
|
|
35351
|
+
{
|
|
35352
|
+
"$ref": "#/components/schemas/SiteInsightsVisitorBot"
|
|
35353
|
+
},
|
|
35354
|
+
{
|
|
35355
|
+
"type": "string",
|
|
35356
|
+
"enum": [
|
|
35357
|
+
""
|
|
35358
|
+
]
|
|
35359
|
+
}
|
|
35360
|
+
]
|
|
35027
35361
|
}
|
|
35028
35362
|
}
|
|
35029
35363
|
}
|
|
@@ -35935,6 +36269,67 @@
|
|
|
35935
36269
|
"destination"
|
|
35936
36270
|
]
|
|
35937
36271
|
},
|
|
36272
|
+
"SiteMcpServerName": {
|
|
36273
|
+
"type": "string",
|
|
36274
|
+
"description": "Name of the MCP server",
|
|
36275
|
+
"minLength": 1,
|
|
36276
|
+
"maxLength": 100
|
|
36277
|
+
},
|
|
36278
|
+
"SiteMcpServerHeaders": {
|
|
36279
|
+
"type": "object",
|
|
36280
|
+
"additionalProperties": {
|
|
36281
|
+
"type": "string",
|
|
36282
|
+
"minLength": 1,
|
|
36283
|
+
"maxLength": 512
|
|
36284
|
+
},
|
|
36285
|
+
"description": "HTTP headers sent with requests to this server"
|
|
36286
|
+
},
|
|
36287
|
+
"SiteMcpServer": {
|
|
36288
|
+
"type": "object",
|
|
36289
|
+
"properties": {
|
|
36290
|
+
"object": {
|
|
36291
|
+
"type": "string",
|
|
36292
|
+
"enum": [
|
|
36293
|
+
"site-mcp-server"
|
|
36294
|
+
]
|
|
36295
|
+
},
|
|
36296
|
+
"id": {
|
|
36297
|
+
"type": "string",
|
|
36298
|
+
"description": "Unique identifier for the MCP server"
|
|
36299
|
+
},
|
|
36300
|
+
"name": {
|
|
36301
|
+
"$ref": "#/components/schemas/SiteMcpServerName"
|
|
36302
|
+
},
|
|
36303
|
+
"url": {
|
|
36304
|
+
"$ref": "#/components/schemas/URL"
|
|
36305
|
+
},
|
|
36306
|
+
"headers": {
|
|
36307
|
+
"$ref": "#/components/schemas/SiteMcpServerHeaders"
|
|
36308
|
+
},
|
|
36309
|
+
"urls": {
|
|
36310
|
+
"type": "object",
|
|
36311
|
+
"description": "URLs associated with the object",
|
|
36312
|
+
"properties": {
|
|
36313
|
+
"location": {
|
|
36314
|
+
"type": "string",
|
|
36315
|
+
"description": "URL of the MCP server in the API",
|
|
36316
|
+
"format": "uri"
|
|
36317
|
+
}
|
|
36318
|
+
},
|
|
36319
|
+
"required": [
|
|
36320
|
+
"location"
|
|
36321
|
+
]
|
|
36322
|
+
}
|
|
36323
|
+
},
|
|
36324
|
+
"required": [
|
|
36325
|
+
"object",
|
|
36326
|
+
"id",
|
|
36327
|
+
"name",
|
|
36328
|
+
"url",
|
|
36329
|
+
"headers",
|
|
36330
|
+
"urls"
|
|
36331
|
+
]
|
|
36332
|
+
},
|
|
35938
36333
|
"Subdomain": {
|
|
35939
36334
|
"type": "object",
|
|
35940
36335
|
"properties": {
|
|
@@ -38587,6 +38982,46 @@
|
|
|
38587
38982
|
"siteShareLink"
|
|
38588
38983
|
]
|
|
38589
38984
|
},
|
|
38985
|
+
"SiteMcpServersChannel": {
|
|
38986
|
+
"type": "object",
|
|
38987
|
+
"properties": {
|
|
38988
|
+
"channel": {
|
|
38989
|
+
"type": "string",
|
|
38990
|
+
"enum": [
|
|
38991
|
+
"site-mcp-servers"
|
|
38992
|
+
]
|
|
38993
|
+
},
|
|
38994
|
+
"site": {
|
|
38995
|
+
"type": "string"
|
|
38996
|
+
}
|
|
38997
|
+
},
|
|
38998
|
+
"required": [
|
|
38999
|
+
"channel",
|
|
39000
|
+
"site"
|
|
39001
|
+
]
|
|
39002
|
+
},
|
|
39003
|
+
"SiteMcpServerChannel": {
|
|
39004
|
+
"type": "object",
|
|
39005
|
+
"properties": {
|
|
39006
|
+
"channel": {
|
|
39007
|
+
"type": "string",
|
|
39008
|
+
"enum": [
|
|
39009
|
+
"site-mcp-server"
|
|
39010
|
+
]
|
|
39011
|
+
},
|
|
39012
|
+
"site": {
|
|
39013
|
+
"type": "string"
|
|
39014
|
+
},
|
|
39015
|
+
"siteMcpServer": {
|
|
39016
|
+
"type": "string"
|
|
39017
|
+
}
|
|
39018
|
+
},
|
|
39019
|
+
"required": [
|
|
39020
|
+
"channel",
|
|
39021
|
+
"site",
|
|
39022
|
+
"siteMcpServer"
|
|
39023
|
+
]
|
|
39024
|
+
},
|
|
38590
39025
|
"SiteSectionChannel": {
|
|
38591
39026
|
"type": "object",
|
|
38592
39027
|
"properties": {
|
|
@@ -38937,6 +39372,12 @@
|
|
|
38937
39372
|
{
|
|
38938
39373
|
"$ref": "#/components/schemas/SiteShareLinkChannel"
|
|
38939
39374
|
},
|
|
39375
|
+
{
|
|
39376
|
+
"$ref": "#/components/schemas/SiteMcpServersChannel"
|
|
39377
|
+
},
|
|
39378
|
+
{
|
|
39379
|
+
"$ref": "#/components/schemas/SiteMcpServerChannel"
|
|
39380
|
+
},
|
|
38940
39381
|
{
|
|
38941
39382
|
"$ref": "#/components/schemas/SiteSectionChannel"
|
|
38942
39383
|
},
|