@gitbook/api 0.124.0 → 0.126.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 +184 -118
- package/dist/index.cjs +61 -18
- package/dist/index.js +60 -18
- package/package.json +1 -1
- package/spec/openapi.json +687 -216
- package/spec/openapi.yaml +438 -158
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": {
|
|
@@ -716,6 +723,9 @@
|
|
|
716
723
|
}
|
|
717
724
|
],
|
|
718
725
|
"responses": {
|
|
726
|
+
"204": {
|
|
727
|
+
"description": "Space did not exist"
|
|
728
|
+
},
|
|
719
729
|
"205": {
|
|
720
730
|
"description": "Space has been deleted"
|
|
721
731
|
}
|
|
@@ -1233,16 +1243,15 @@
|
|
|
1233
1243
|
}
|
|
1234
1244
|
],
|
|
1235
1245
|
"responses": {
|
|
1246
|
+
"204": {
|
|
1247
|
+
"description": "The team was not found in the space"
|
|
1248
|
+
},
|
|
1236
1249
|
"205": {
|
|
1237
1250
|
"description": "The team has been removed from the space"
|
|
1238
1251
|
},
|
|
1239
1252
|
"400": {
|
|
1240
1253
|
"description": "Team does not have access to space",
|
|
1241
1254
|
"$ref": "#/components/responses/BadRequestError"
|
|
1242
|
-
},
|
|
1243
|
-
"404": {
|
|
1244
|
-
"description": "No team found with the given ID",
|
|
1245
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
1246
1255
|
}
|
|
1247
1256
|
}
|
|
1248
1257
|
}
|
|
@@ -1371,12 +1380,11 @@
|
|
|
1371
1380
|
}
|
|
1372
1381
|
],
|
|
1373
1382
|
"responses": {
|
|
1383
|
+
"204": {
|
|
1384
|
+
"description": "The user was not found in the space"
|
|
1385
|
+
},
|
|
1374
1386
|
"205": {
|
|
1375
1387
|
"description": "The user has been removed from the space"
|
|
1376
|
-
},
|
|
1377
|
-
"404": {
|
|
1378
|
-
"description": "No user found with the given ID",
|
|
1379
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
1380
1388
|
}
|
|
1381
1389
|
}
|
|
1382
1390
|
}
|
|
@@ -2841,12 +2849,11 @@
|
|
|
2841
2849
|
}
|
|
2842
2850
|
],
|
|
2843
2851
|
"responses": {
|
|
2852
|
+
"204": {
|
|
2853
|
+
"description": "Reviewer was not found"
|
|
2854
|
+
},
|
|
2844
2855
|
"205": {
|
|
2845
2856
|
"description": "The reviewer has been removed from the change request"
|
|
2846
|
-
},
|
|
2847
|
-
"404": {
|
|
2848
|
-
"description": "The reviewer could not be found",
|
|
2849
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
2850
2857
|
}
|
|
2851
2858
|
}
|
|
2852
2859
|
}
|
|
@@ -3116,6 +3123,9 @@
|
|
|
3116
3123
|
}
|
|
3117
3124
|
],
|
|
3118
3125
|
"responses": {
|
|
3126
|
+
"204": {
|
|
3127
|
+
"description": "Comment did not exist."
|
|
3128
|
+
},
|
|
3119
3129
|
"205": {
|
|
3120
3130
|
"description": "The comment has been deleted."
|
|
3121
3131
|
}
|
|
@@ -3395,6 +3405,9 @@
|
|
|
3395
3405
|
}
|
|
3396
3406
|
],
|
|
3397
3407
|
"responses": {
|
|
3408
|
+
"204": {
|
|
3409
|
+
"description": "Comment reply did not exist."
|
|
3410
|
+
},
|
|
3398
3411
|
"205": {
|
|
3399
3412
|
"description": "The comment has been deleted."
|
|
3400
3413
|
}
|
|
@@ -4098,6 +4111,54 @@
|
|
|
4098
4111
|
}
|
|
4099
4112
|
}
|
|
4100
4113
|
},
|
|
4114
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/changes": {
|
|
4115
|
+
"get": {
|
|
4116
|
+
"operationId": "getChangeRequestChanges",
|
|
4117
|
+
"summary": "Get change request semantic changes",
|
|
4118
|
+
"description": "Return the semantic changes between a change request and its base revision.",
|
|
4119
|
+
"tags": [
|
|
4120
|
+
"change-request-content"
|
|
4121
|
+
],
|
|
4122
|
+
"security": [
|
|
4123
|
+
{
|
|
4124
|
+
"user": []
|
|
4125
|
+
}
|
|
4126
|
+
],
|
|
4127
|
+
"parameters": [
|
|
4128
|
+
{
|
|
4129
|
+
"$ref": "#/components/parameters/spaceId"
|
|
4130
|
+
},
|
|
4131
|
+
{
|
|
4132
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
4133
|
+
},
|
|
4134
|
+
{
|
|
4135
|
+
"name": "limit",
|
|
4136
|
+
"in": "query",
|
|
4137
|
+
"description": "Limit the number of changes returned",
|
|
4138
|
+
"schema": {
|
|
4139
|
+
"type": "number",
|
|
4140
|
+
"default": 10
|
|
4141
|
+
}
|
|
4142
|
+
}
|
|
4143
|
+
],
|
|
4144
|
+
"responses": {
|
|
4145
|
+
"200": {
|
|
4146
|
+
"description": "OK",
|
|
4147
|
+
"content": {
|
|
4148
|
+
"application/json": {
|
|
4149
|
+
"schema": {
|
|
4150
|
+
"$ref": "#/components/schemas/RevisionSemanticChanges"
|
|
4151
|
+
}
|
|
4152
|
+
}
|
|
4153
|
+
}
|
|
4154
|
+
},
|
|
4155
|
+
"404": {
|
|
4156
|
+
"description": "The change request could not be found.",
|
|
4157
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
4158
|
+
}
|
|
4159
|
+
}
|
|
4160
|
+
}
|
|
4161
|
+
},
|
|
4101
4162
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/pdf": {
|
|
4102
4163
|
"get": {
|
|
4103
4164
|
"operationId": "getChangeRequestPDF",
|
|
@@ -4759,6 +4820,9 @@
|
|
|
4759
4820
|
}
|
|
4760
4821
|
],
|
|
4761
4822
|
"responses": {
|
|
4823
|
+
"204": {
|
|
4824
|
+
"description": "Comment did not exist."
|
|
4825
|
+
},
|
|
4762
4826
|
"205": {
|
|
4763
4827
|
"description": "The comment has been deleted."
|
|
4764
4828
|
}
|
|
@@ -5017,6 +5081,9 @@
|
|
|
5017
5081
|
}
|
|
5018
5082
|
],
|
|
5019
5083
|
"responses": {
|
|
5084
|
+
"204": {
|
|
5085
|
+
"description": "Comment reply did not exist."
|
|
5086
|
+
},
|
|
5020
5087
|
"205": {
|
|
5021
5088
|
"description": "The comment has been deleted."
|
|
5022
5089
|
}
|
|
@@ -5546,6 +5613,9 @@
|
|
|
5546
5613
|
}
|
|
5547
5614
|
],
|
|
5548
5615
|
"responses": {
|
|
5616
|
+
"204": {
|
|
5617
|
+
"description": "Collection did not exist"
|
|
5618
|
+
},
|
|
5549
5619
|
"205": {
|
|
5550
5620
|
"description": "Collection has been deleted"
|
|
5551
5621
|
}
|
|
@@ -5905,12 +5975,11 @@
|
|
|
5905
5975
|
}
|
|
5906
5976
|
],
|
|
5907
5977
|
"responses": {
|
|
5978
|
+
"204": {
|
|
5979
|
+
"description": "The team was not found in the collection"
|
|
5980
|
+
},
|
|
5908
5981
|
"205": {
|
|
5909
5982
|
"description": "The team has been removed from the collection"
|
|
5910
|
-
},
|
|
5911
|
-
"404": {
|
|
5912
|
-
"description": "No team found with the given ID",
|
|
5913
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
5914
5983
|
}
|
|
5915
5984
|
}
|
|
5916
5985
|
}
|
|
@@ -6039,12 +6108,11 @@
|
|
|
6039
6108
|
}
|
|
6040
6109
|
],
|
|
6041
6110
|
"responses": {
|
|
6111
|
+
"204": {
|
|
6112
|
+
"description": "The user was not found in the collection"
|
|
6113
|
+
},
|
|
6042
6114
|
"205": {
|
|
6043
6115
|
"description": "The user has been removed from the collection"
|
|
6044
|
-
},
|
|
6045
|
-
"404": {
|
|
6046
|
-
"description": "No user found with the given ID",
|
|
6047
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
6048
6116
|
}
|
|
6049
6117
|
}
|
|
6050
6118
|
}
|
|
@@ -6273,6 +6341,9 @@
|
|
|
6273
6341
|
],
|
|
6274
6342
|
"responses": {
|
|
6275
6343
|
"204": {
|
|
6344
|
+
"description": "Integration did not exist"
|
|
6345
|
+
},
|
|
6346
|
+
"205": {
|
|
6276
6347
|
"description": "Integration has been deleted"
|
|
6277
6348
|
}
|
|
6278
6349
|
}
|
|
@@ -6937,10 +7008,10 @@
|
|
|
6937
7008
|
],
|
|
6938
7009
|
"responses": {
|
|
6939
7010
|
"204": {
|
|
6940
|
-
"description": "Integration
|
|
7011
|
+
"description": "Integration installation did not exist"
|
|
6941
7012
|
},
|
|
6942
|
-
"
|
|
6943
|
-
"
|
|
7013
|
+
"205": {
|
|
7014
|
+
"description": "Integration uninstalled successfully"
|
|
6944
7015
|
}
|
|
6945
7016
|
}
|
|
6946
7017
|
}
|
|
@@ -7220,6 +7291,9 @@
|
|
|
7220
7291
|
],
|
|
7221
7292
|
"responses": {
|
|
7222
7293
|
"204": {
|
|
7294
|
+
"description": "The space installation did not exist."
|
|
7295
|
+
},
|
|
7296
|
+
"205": {
|
|
7223
7297
|
"description": "The space installation has been deleted."
|
|
7224
7298
|
}
|
|
7225
7299
|
}
|
|
@@ -7464,6 +7538,9 @@
|
|
|
7464
7538
|
],
|
|
7465
7539
|
"responses": {
|
|
7466
7540
|
"204": {
|
|
7541
|
+
"description": "The site installation did not exist."
|
|
7542
|
+
},
|
|
7543
|
+
"205": {
|
|
7467
7544
|
"description": "The site installation has been deleted."
|
|
7468
7545
|
}
|
|
7469
7546
|
}
|
|
@@ -7846,6 +7923,9 @@
|
|
|
7846
7923
|
],
|
|
7847
7924
|
"responses": {
|
|
7848
7925
|
"204": {
|
|
7926
|
+
"description": "Member did not exist in the organization."
|
|
7927
|
+
},
|
|
7928
|
+
"205": {
|
|
7849
7929
|
"description": "The member was deleted from the organization."
|
|
7850
7930
|
}
|
|
7851
7931
|
}
|
|
@@ -8290,6 +8370,9 @@
|
|
|
8290
8370
|
],
|
|
8291
8371
|
"responses": {
|
|
8292
8372
|
"204": {
|
|
8373
|
+
"description": "The team did not exist in the organization."
|
|
8374
|
+
},
|
|
8375
|
+
"205": {
|
|
8293
8376
|
"description": "The team was deleted from the organization."
|
|
8294
8377
|
}
|
|
8295
8378
|
}
|
|
@@ -8459,6 +8542,9 @@
|
|
|
8459
8542
|
],
|
|
8460
8543
|
"responses": {
|
|
8461
8544
|
"204": {
|
|
8545
|
+
"description": "Member was not part of the team"
|
|
8546
|
+
},
|
|
8547
|
+
"205": {
|
|
8462
8548
|
"description": "Member has been deleted from the team"
|
|
8463
8549
|
}
|
|
8464
8550
|
}
|
|
@@ -8781,6 +8867,9 @@
|
|
|
8781
8867
|
}
|
|
8782
8868
|
],
|
|
8783
8869
|
"responses": {
|
|
8870
|
+
"204": {
|
|
8871
|
+
"description": "Organization invite did not exist"
|
|
8872
|
+
},
|
|
8784
8873
|
"205": {
|
|
8785
8874
|
"description": "The organization invite has been deleted"
|
|
8786
8875
|
}
|
|
@@ -9567,6 +9656,9 @@
|
|
|
9567
9656
|
],
|
|
9568
9657
|
"responses": {
|
|
9569
9658
|
"204": {
|
|
9659
|
+
"description": "SAML provider did not exist"
|
|
9660
|
+
},
|
|
9661
|
+
"205": {
|
|
9570
9662
|
"description": "SAML provider has been deleted"
|
|
9571
9663
|
}
|
|
9572
9664
|
}
|
|
@@ -10009,6 +10101,9 @@
|
|
|
10009
10101
|
}
|
|
10010
10102
|
],
|
|
10011
10103
|
"responses": {
|
|
10104
|
+
"204": {
|
|
10105
|
+
"description": "Specification did not exist"
|
|
10106
|
+
},
|
|
10012
10107
|
"205": {
|
|
10013
10108
|
"description": "OpenAPI specification has been deleted"
|
|
10014
10109
|
}
|
|
@@ -10902,6 +10997,9 @@
|
|
|
10902
10997
|
}
|
|
10903
10998
|
],
|
|
10904
10999
|
"responses": {
|
|
11000
|
+
"204": {
|
|
11001
|
+
"description": "Translation settings did not exist"
|
|
11002
|
+
},
|
|
10905
11003
|
"205": {
|
|
10906
11004
|
"description": "Translation settings has been deleted"
|
|
10907
11005
|
}
|
|
@@ -11103,12 +11201,11 @@
|
|
|
11103
11201
|
}
|
|
11104
11202
|
],
|
|
11105
11203
|
"responses": {
|
|
11204
|
+
"204": {
|
|
11205
|
+
"description": "Translation language settings not found"
|
|
11206
|
+
},
|
|
11106
11207
|
"205": {
|
|
11107
11208
|
"description": "Language successfully removed"
|
|
11108
|
-
},
|
|
11109
|
-
"404": {
|
|
11110
|
-
"description": "No matching translation language settings found",
|
|
11111
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
11112
11209
|
}
|
|
11113
11210
|
}
|
|
11114
11211
|
}
|
|
@@ -11441,11 +11538,10 @@
|
|
|
11441
11538
|
],
|
|
11442
11539
|
"responses": {
|
|
11443
11540
|
"204": {
|
|
11444
|
-
"description": "
|
|
11541
|
+
"description": "Organization or font not found."
|
|
11445
11542
|
},
|
|
11446
|
-
"
|
|
11447
|
-
"description": "
|
|
11448
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
11543
|
+
"205": {
|
|
11544
|
+
"description": "Custom font deleted successfully."
|
|
11449
11545
|
}
|
|
11450
11546
|
}
|
|
11451
11547
|
}
|
|
@@ -11761,6 +11857,9 @@
|
|
|
11761
11857
|
}
|
|
11762
11858
|
],
|
|
11763
11859
|
"responses": {
|
|
11860
|
+
"204": {
|
|
11861
|
+
"description": "Site did not exist"
|
|
11862
|
+
},
|
|
11764
11863
|
"205": {
|
|
11765
11864
|
"description": "Site has been deleted"
|
|
11766
11865
|
}
|
|
@@ -12233,6 +12332,9 @@
|
|
|
12233
12332
|
}
|
|
12234
12333
|
],
|
|
12235
12334
|
"responses": {
|
|
12335
|
+
"204": {
|
|
12336
|
+
"description": "Site share link did not exist"
|
|
12337
|
+
},
|
|
12236
12338
|
"205": {
|
|
12237
12339
|
"description": "Site share link has been deleted"
|
|
12238
12340
|
}
|
|
@@ -13071,6 +13173,9 @@
|
|
|
13071
13173
|
}
|
|
13072
13174
|
],
|
|
13073
13175
|
"responses": {
|
|
13176
|
+
"204": {
|
|
13177
|
+
"description": "Site section group did not exist"
|
|
13178
|
+
},
|
|
13074
13179
|
"205": {
|
|
13075
13180
|
"description": "Site section group has been deleted"
|
|
13076
13181
|
}
|
|
@@ -13168,6 +13273,9 @@
|
|
|
13168
13273
|
}
|
|
13169
13274
|
],
|
|
13170
13275
|
"responses": {
|
|
13276
|
+
"204": {
|
|
13277
|
+
"description": "Section was not part of the group"
|
|
13278
|
+
},
|
|
13171
13279
|
"205": {
|
|
13172
13280
|
"description": "Section has been removed from the section group"
|
|
13173
13281
|
}
|
|
@@ -13446,6 +13554,9 @@
|
|
|
13446
13554
|
}
|
|
13447
13555
|
],
|
|
13448
13556
|
"responses": {
|
|
13557
|
+
"204": {
|
|
13558
|
+
"description": "Site section did not exist"
|
|
13559
|
+
},
|
|
13449
13560
|
"205": {
|
|
13450
13561
|
"description": "Site section has been deleted"
|
|
13451
13562
|
}
|
|
@@ -13806,6 +13917,9 @@
|
|
|
13806
13917
|
}
|
|
13807
13918
|
],
|
|
13808
13919
|
"responses": {
|
|
13920
|
+
"204": {
|
|
13921
|
+
"description": "Site space did not exist"
|
|
13922
|
+
},
|
|
13809
13923
|
"205": {
|
|
13810
13924
|
"description": "Site space has been deleted"
|
|
13811
13925
|
}
|
|
@@ -14506,6 +14620,9 @@
|
|
|
14506
14620
|
}
|
|
14507
14621
|
],
|
|
14508
14622
|
"responses": {
|
|
14623
|
+
"204": {
|
|
14624
|
+
"description": "Customization settings did not exist"
|
|
14625
|
+
},
|
|
14509
14626
|
"205": {
|
|
14510
14627
|
"description": "Site space customization removed"
|
|
14511
14628
|
},
|
|
@@ -14760,7 +14877,7 @@
|
|
|
14760
14877
|
"post": {
|
|
14761
14878
|
"operationId": "streamAIResponseInSite",
|
|
14762
14879
|
"summary": "Generate an AI response in a site",
|
|
14763
|
-
"description": "
|
|
14880
|
+
"description": "Generate an AI response in a conversation.\n",
|
|
14764
14881
|
"tags": [
|
|
14765
14882
|
"sites"
|
|
14766
14883
|
],
|
|
@@ -14783,36 +14900,70 @@
|
|
|
14783
14900
|
"content": {
|
|
14784
14901
|
"application/json": {
|
|
14785
14902
|
"schema": {
|
|
14786
|
-
"
|
|
14787
|
-
|
|
14788
|
-
|
|
14789
|
-
|
|
14790
|
-
|
|
14791
|
-
|
|
14792
|
-
|
|
14793
|
-
"
|
|
14794
|
-
|
|
14795
|
-
|
|
14796
|
-
|
|
14797
|
-
|
|
14798
|
-
|
|
14799
|
-
|
|
14800
|
-
|
|
14801
|
-
|
|
14802
|
-
|
|
14803
|
-
|
|
14903
|
+
"allOf": [
|
|
14904
|
+
{
|
|
14905
|
+
"type": "object",
|
|
14906
|
+
"required": [
|
|
14907
|
+
"input",
|
|
14908
|
+
"output"
|
|
14909
|
+
],
|
|
14910
|
+
"properties": {
|
|
14911
|
+
"previousResponseId": {
|
|
14912
|
+
"type": "string",
|
|
14913
|
+
"description": "The ID of the previous response to continue from"
|
|
14914
|
+
},
|
|
14915
|
+
"input": {
|
|
14916
|
+
"type": "array",
|
|
14917
|
+
"items": {
|
|
14918
|
+
"$ref": "#/components/schemas/AIMessageInput"
|
|
14919
|
+
}
|
|
14920
|
+
},
|
|
14921
|
+
"output": {
|
|
14922
|
+
"$ref": "#/components/schemas/AIOutputFormat"
|
|
14923
|
+
},
|
|
14924
|
+
"model": {
|
|
14925
|
+
"$ref": "#/components/schemas/AIModel"
|
|
14926
|
+
}
|
|
14804
14927
|
}
|
|
14805
14928
|
},
|
|
14806
|
-
|
|
14807
|
-
"
|
|
14808
|
-
|
|
14809
|
-
|
|
14810
|
-
|
|
14811
|
-
|
|
14812
|
-
|
|
14813
|
-
|
|
14929
|
+
{
|
|
14930
|
+
"oneOf": [
|
|
14931
|
+
{
|
|
14932
|
+
"type": "object",
|
|
14933
|
+
"required": [
|
|
14934
|
+
"mode",
|
|
14935
|
+
"instructions"
|
|
14936
|
+
],
|
|
14937
|
+
"properties": {
|
|
14938
|
+
"mode": {
|
|
14939
|
+
"type": "string",
|
|
14940
|
+
"enum": [
|
|
14941
|
+
"custom"
|
|
14942
|
+
]
|
|
14943
|
+
},
|
|
14944
|
+
"instructions": {
|
|
14945
|
+
"type": "string",
|
|
14946
|
+
"description": "Custom instructions for the AI"
|
|
14947
|
+
}
|
|
14948
|
+
}
|
|
14949
|
+
},
|
|
14950
|
+
{
|
|
14951
|
+
"type": "object",
|
|
14952
|
+
"required": [
|
|
14953
|
+
"mode"
|
|
14954
|
+
],
|
|
14955
|
+
"properties": {
|
|
14956
|
+
"mode": {
|
|
14957
|
+
"type": "string",
|
|
14958
|
+
"enum": [
|
|
14959
|
+
"assistant"
|
|
14960
|
+
]
|
|
14961
|
+
}
|
|
14962
|
+
}
|
|
14963
|
+
}
|
|
14964
|
+
]
|
|
14814
14965
|
}
|
|
14815
|
-
|
|
14966
|
+
]
|
|
14816
14967
|
}
|
|
14817
14968
|
}
|
|
14818
14969
|
}
|
|
@@ -15248,6 +15399,9 @@
|
|
|
15248
15399
|
}
|
|
15249
15400
|
],
|
|
15250
15401
|
"responses": {
|
|
15402
|
+
"204": {
|
|
15403
|
+
"description": "Site redirect did not exist"
|
|
15404
|
+
},
|
|
15251
15405
|
"205": {
|
|
15252
15406
|
"description": "Site redirect deleted"
|
|
15253
15407
|
}
|
|
@@ -15316,6 +15470,248 @@
|
|
|
15316
15470
|
}
|
|
15317
15471
|
}
|
|
15318
15472
|
},
|
|
15473
|
+
"/orgs/{organizationId}/sites/{siteId}/mcp-servers": {
|
|
15474
|
+
"get": {
|
|
15475
|
+
"operationId": "listSiteMcpServers",
|
|
15476
|
+
"summary": "List all MCP servers for a site",
|
|
15477
|
+
"tags": [
|
|
15478
|
+
"site-mcp-servers"
|
|
15479
|
+
],
|
|
15480
|
+
"security": [
|
|
15481
|
+
{
|
|
15482
|
+
"user": []
|
|
15483
|
+
}
|
|
15484
|
+
],
|
|
15485
|
+
"parameters": [
|
|
15486
|
+
{
|
|
15487
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15488
|
+
},
|
|
15489
|
+
{
|
|
15490
|
+
"$ref": "#/components/parameters/siteId"
|
|
15491
|
+
},
|
|
15492
|
+
{
|
|
15493
|
+
"$ref": "#/components/parameters/listPage"
|
|
15494
|
+
},
|
|
15495
|
+
{
|
|
15496
|
+
"$ref": "#/components/parameters/listLimit"
|
|
15497
|
+
}
|
|
15498
|
+
],
|
|
15499
|
+
"responses": {
|
|
15500
|
+
"200": {
|
|
15501
|
+
"description": "OK",
|
|
15502
|
+
"content": {
|
|
15503
|
+
"application/json": {
|
|
15504
|
+
"schema": {
|
|
15505
|
+
"allOf": [
|
|
15506
|
+
{
|
|
15507
|
+
"$ref": "#/components/schemas/List"
|
|
15508
|
+
},
|
|
15509
|
+
{
|
|
15510
|
+
"type": "object",
|
|
15511
|
+
"required": [
|
|
15512
|
+
"items"
|
|
15513
|
+
],
|
|
15514
|
+
"properties": {
|
|
15515
|
+
"items": {
|
|
15516
|
+
"type": "array",
|
|
15517
|
+
"items": {
|
|
15518
|
+
"$ref": "#/components/schemas/SiteMcpServer"
|
|
15519
|
+
}
|
|
15520
|
+
}
|
|
15521
|
+
}
|
|
15522
|
+
}
|
|
15523
|
+
]
|
|
15524
|
+
}
|
|
15525
|
+
}
|
|
15526
|
+
}
|
|
15527
|
+
}
|
|
15528
|
+
}
|
|
15529
|
+
},
|
|
15530
|
+
"post": {
|
|
15531
|
+
"operationId": "createSiteMcpServer",
|
|
15532
|
+
"summary": "Create a new MCP server",
|
|
15533
|
+
"tags": [
|
|
15534
|
+
"site-mcp-servers"
|
|
15535
|
+
],
|
|
15536
|
+
"security": [
|
|
15537
|
+
{
|
|
15538
|
+
"user": []
|
|
15539
|
+
}
|
|
15540
|
+
],
|
|
15541
|
+
"parameters": [
|
|
15542
|
+
{
|
|
15543
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15544
|
+
},
|
|
15545
|
+
{
|
|
15546
|
+
"$ref": "#/components/parameters/siteId"
|
|
15547
|
+
}
|
|
15548
|
+
],
|
|
15549
|
+
"requestBody": {
|
|
15550
|
+
"required": true,
|
|
15551
|
+
"content": {
|
|
15552
|
+
"application/json": {
|
|
15553
|
+
"schema": {
|
|
15554
|
+
"type": "object",
|
|
15555
|
+
"properties": {
|
|
15556
|
+
"name": {
|
|
15557
|
+
"$ref": "#/components/schemas/SiteMcpServerName"
|
|
15558
|
+
},
|
|
15559
|
+
"url": {
|
|
15560
|
+
"$ref": "#/components/schemas/URL"
|
|
15561
|
+
},
|
|
15562
|
+
"headers": {
|
|
15563
|
+
"$ref": "#/components/schemas/SiteMcpServerHeaders"
|
|
15564
|
+
}
|
|
15565
|
+
},
|
|
15566
|
+
"required": [
|
|
15567
|
+
"name",
|
|
15568
|
+
"url",
|
|
15569
|
+
"headers"
|
|
15570
|
+
]
|
|
15571
|
+
}
|
|
15572
|
+
}
|
|
15573
|
+
}
|
|
15574
|
+
},
|
|
15575
|
+
"responses": {
|
|
15576
|
+
"201": {
|
|
15577
|
+
"description": "MCP server created",
|
|
15578
|
+
"content": {
|
|
15579
|
+
"application/json": {
|
|
15580
|
+
"schema": {
|
|
15581
|
+
"$ref": "#/components/schemas/SiteMcpServer"
|
|
15582
|
+
}
|
|
15583
|
+
}
|
|
15584
|
+
}
|
|
15585
|
+
}
|
|
15586
|
+
}
|
|
15587
|
+
}
|
|
15588
|
+
},
|
|
15589
|
+
"/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}": {
|
|
15590
|
+
"get": {
|
|
15591
|
+
"operationId": "getSiteMcpServerById",
|
|
15592
|
+
"summary": "Get a site MCP server",
|
|
15593
|
+
"tags": [
|
|
15594
|
+
"site-mcp-servers"
|
|
15595
|
+
],
|
|
15596
|
+
"security": [
|
|
15597
|
+
{
|
|
15598
|
+
"user": []
|
|
15599
|
+
}
|
|
15600
|
+
],
|
|
15601
|
+
"parameters": [
|
|
15602
|
+
{
|
|
15603
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15604
|
+
},
|
|
15605
|
+
{
|
|
15606
|
+
"$ref": "#/components/parameters/siteId"
|
|
15607
|
+
},
|
|
15608
|
+
{
|
|
15609
|
+
"$ref": "#/components/parameters/siteMcpServerId"
|
|
15610
|
+
}
|
|
15611
|
+
],
|
|
15612
|
+
"responses": {
|
|
15613
|
+
"200": {
|
|
15614
|
+
"description": "OK",
|
|
15615
|
+
"content": {
|
|
15616
|
+
"application/json": {
|
|
15617
|
+
"schema": {
|
|
15618
|
+
"$ref": "#/components/schemas/SiteMcpServer"
|
|
15619
|
+
}
|
|
15620
|
+
}
|
|
15621
|
+
}
|
|
15622
|
+
}
|
|
15623
|
+
}
|
|
15624
|
+
},
|
|
15625
|
+
"patch": {
|
|
15626
|
+
"operationId": "updateSiteMcpServerById",
|
|
15627
|
+
"summary": "Update a site MCP server",
|
|
15628
|
+
"tags": [
|
|
15629
|
+
"site-mcp-servers"
|
|
15630
|
+
],
|
|
15631
|
+
"security": [
|
|
15632
|
+
{
|
|
15633
|
+
"user": []
|
|
15634
|
+
}
|
|
15635
|
+
],
|
|
15636
|
+
"parameters": [
|
|
15637
|
+
{
|
|
15638
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15639
|
+
},
|
|
15640
|
+
{
|
|
15641
|
+
"$ref": "#/components/parameters/siteId"
|
|
15642
|
+
},
|
|
15643
|
+
{
|
|
15644
|
+
"$ref": "#/components/parameters/siteMcpServerId"
|
|
15645
|
+
}
|
|
15646
|
+
],
|
|
15647
|
+
"requestBody": {
|
|
15648
|
+
"required": true,
|
|
15649
|
+
"content": {
|
|
15650
|
+
"application/json": {
|
|
15651
|
+
"schema": {
|
|
15652
|
+
"type": "object",
|
|
15653
|
+
"properties": {
|
|
15654
|
+
"name": {
|
|
15655
|
+
"$ref": "#/components/schemas/SiteMcpServerName"
|
|
15656
|
+
},
|
|
15657
|
+
"url": {
|
|
15658
|
+
"type": "string",
|
|
15659
|
+
"format": "uri",
|
|
15660
|
+
"maxLength": 2048
|
|
15661
|
+
},
|
|
15662
|
+
"headers": {
|
|
15663
|
+
"$ref": "#/components/schemas/SiteMcpServerHeaders"
|
|
15664
|
+
}
|
|
15665
|
+
}
|
|
15666
|
+
}
|
|
15667
|
+
}
|
|
15668
|
+
}
|
|
15669
|
+
},
|
|
15670
|
+
"responses": {
|
|
15671
|
+
"200": {
|
|
15672
|
+
"description": "OK",
|
|
15673
|
+
"content": {
|
|
15674
|
+
"application/json": {
|
|
15675
|
+
"schema": {
|
|
15676
|
+
"$ref": "#/components/schemas/SiteMcpServer"
|
|
15677
|
+
}
|
|
15678
|
+
}
|
|
15679
|
+
}
|
|
15680
|
+
}
|
|
15681
|
+
}
|
|
15682
|
+
},
|
|
15683
|
+
"delete": {
|
|
15684
|
+
"operationId": "deleteSiteMcpServerById",
|
|
15685
|
+
"summary": "Delete a site MCP server",
|
|
15686
|
+
"tags": [
|
|
15687
|
+
"site-mcp-servers"
|
|
15688
|
+
],
|
|
15689
|
+
"security": [
|
|
15690
|
+
{
|
|
15691
|
+
"user": []
|
|
15692
|
+
}
|
|
15693
|
+
],
|
|
15694
|
+
"parameters": [
|
|
15695
|
+
{
|
|
15696
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15697
|
+
},
|
|
15698
|
+
{
|
|
15699
|
+
"$ref": "#/components/parameters/siteId"
|
|
15700
|
+
},
|
|
15701
|
+
{
|
|
15702
|
+
"$ref": "#/components/parameters/siteMcpServerId"
|
|
15703
|
+
}
|
|
15704
|
+
],
|
|
15705
|
+
"responses": {
|
|
15706
|
+
"204": {
|
|
15707
|
+
"description": "MCP server did not exist"
|
|
15708
|
+
},
|
|
15709
|
+
"205": {
|
|
15710
|
+
"description": "MCP server deleted"
|
|
15711
|
+
}
|
|
15712
|
+
}
|
|
15713
|
+
}
|
|
15714
|
+
},
|
|
15319
15715
|
"/subdomains/{subdomain}": {
|
|
15320
15716
|
"get": {
|
|
15321
15717
|
"operationId": "getSubdomain",
|
|
@@ -15426,6 +15822,9 @@
|
|
|
15426
15822
|
}
|
|
15427
15823
|
],
|
|
15428
15824
|
"responses": {
|
|
15825
|
+
"204": {
|
|
15826
|
+
"description": "Custom hostname did not exist"
|
|
15827
|
+
},
|
|
15429
15828
|
"205": {
|
|
15430
15829
|
"description": "Custom hostname has been removed"
|
|
15431
15830
|
}
|
|
@@ -16456,6 +16855,15 @@
|
|
|
16456
16855
|
"type": "string"
|
|
16457
16856
|
}
|
|
16458
16857
|
},
|
|
16858
|
+
"siteMcpServerId": {
|
|
16859
|
+
"name": "siteMcpServerId",
|
|
16860
|
+
"in": "path",
|
|
16861
|
+
"required": true,
|
|
16862
|
+
"description": "The unique id of the MCP server",
|
|
16863
|
+
"schema": {
|
|
16864
|
+
"type": "string"
|
|
16865
|
+
}
|
|
16866
|
+
},
|
|
16459
16867
|
"subdomain": {
|
|
16460
16868
|
"name": "subdomain",
|
|
16461
16869
|
"in": "path",
|
|
@@ -22091,6 +22499,14 @@
|
|
|
22091
22499
|
"path"
|
|
22092
22500
|
]
|
|
22093
22501
|
},
|
|
22502
|
+
"RevisionPageLayoutOptionsWidth": {
|
|
22503
|
+
"type": "string",
|
|
22504
|
+
"description": "Width of the page.",
|
|
22505
|
+
"enum": [
|
|
22506
|
+
"default",
|
|
22507
|
+
"wide"
|
|
22508
|
+
]
|
|
22509
|
+
},
|
|
22094
22510
|
"RevisionPageLayoutOptionsCoverSize": {
|
|
22095
22511
|
"type": "string",
|
|
22096
22512
|
"description": "Size of the cover image.",
|
|
@@ -22102,6 +22518,9 @@
|
|
|
22102
22518
|
"RevisionPageLayoutOptions": {
|
|
22103
22519
|
"type": "object",
|
|
22104
22520
|
"properties": {
|
|
22521
|
+
"width": {
|
|
22522
|
+
"$ref": "#/components/schemas/RevisionPageLayoutOptionsWidth"
|
|
22523
|
+
},
|
|
22105
22524
|
"cover": {
|
|
22106
22525
|
"type": "boolean",
|
|
22107
22526
|
"description": "Should the cover be visible?"
|
|
@@ -22810,9 +23229,7 @@
|
|
|
22810
23229
|
"zip",
|
|
22811
23230
|
"confluence",
|
|
22812
23231
|
"github-wiki",
|
|
22813
|
-
"dropbox-paper",
|
|
22814
23232
|
"notion",
|
|
22815
|
-
"quip",
|
|
22816
23233
|
"google-docs"
|
|
22817
23234
|
]
|
|
22818
23235
|
},
|
|
@@ -22940,16 +23357,7 @@
|
|
|
22940
23357
|
"community_2024",
|
|
22941
23358
|
"free",
|
|
22942
23359
|
"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"
|
|
23360
|
+
"pro"
|
|
22953
23361
|
]
|
|
22954
23362
|
},
|
|
22955
23363
|
"BillingInterval": {
|
|
@@ -32807,110 +33215,6 @@
|
|
|
32807
33215
|
"origin"
|
|
32808
33216
|
]
|
|
32809
33217
|
},
|
|
32810
|
-
"AIMessageRole": {
|
|
32811
|
-
"type": "string",
|
|
32812
|
-
"enum": [
|
|
32813
|
-
"user",
|
|
32814
|
-
"assistant",
|
|
32815
|
-
"developer"
|
|
32816
|
-
]
|
|
32817
|
-
},
|
|
32818
|
-
"AIMessageAttachmentSearch": {
|
|
32819
|
-
"type": "object",
|
|
32820
|
-
"description": "Attachment to attach search results to a message.",
|
|
32821
|
-
"properties": {
|
|
32822
|
-
"type": {
|
|
32823
|
-
"type": "string",
|
|
32824
|
-
"enum": [
|
|
32825
|
-
"search"
|
|
32826
|
-
]
|
|
32827
|
-
},
|
|
32828
|
-
"query": {
|
|
32829
|
-
"type": "string",
|
|
32830
|
-
"description": "The query to use to extract the knowledge."
|
|
32831
|
-
}
|
|
32832
|
-
},
|
|
32833
|
-
"required": [
|
|
32834
|
-
"type",
|
|
32835
|
-
"query"
|
|
32836
|
-
]
|
|
32837
|
-
},
|
|
32838
|
-
"AIMessageAttachmentVisitorProfile": {
|
|
32839
|
-
"type": "object",
|
|
32840
|
-
"description": "Attachment representing the profile of the visitor",
|
|
32841
|
-
"properties": {
|
|
32842
|
-
"type": {
|
|
32843
|
-
"type": "string",
|
|
32844
|
-
"enum": [
|
|
32845
|
-
"visitor_profile"
|
|
32846
|
-
]
|
|
32847
|
-
}
|
|
32848
|
-
},
|
|
32849
|
-
"required": [
|
|
32850
|
-
"type"
|
|
32851
|
-
]
|
|
32852
|
-
},
|
|
32853
|
-
"AIMessageAttachmentPage": {
|
|
32854
|
-
"type": "object",
|
|
32855
|
-
"description": "Attachment to extract and pass the content of a page to the AI.",
|
|
32856
|
-
"properties": {
|
|
32857
|
-
"type": {
|
|
32858
|
-
"type": "string",
|
|
32859
|
-
"enum": [
|
|
32860
|
-
"page"
|
|
32861
|
-
]
|
|
32862
|
-
},
|
|
32863
|
-
"spaceId": {
|
|
32864
|
-
"type": "string",
|
|
32865
|
-
"description": "The ID of the space to extract the content from."
|
|
32866
|
-
},
|
|
32867
|
-
"pageId": {
|
|
32868
|
-
"type": "string",
|
|
32869
|
-
"description": "The ID of the page to extract the content from."
|
|
32870
|
-
}
|
|
32871
|
-
},
|
|
32872
|
-
"required": [
|
|
32873
|
-
"type",
|
|
32874
|
-
"spaceId",
|
|
32875
|
-
"pageId"
|
|
32876
|
-
]
|
|
32877
|
-
},
|
|
32878
|
-
"AIMessageAttachmentPages": {
|
|
32879
|
-
"type": "object",
|
|
32880
|
-
"description": "Attachment to pass the tree of pages to the AI",
|
|
32881
|
-
"properties": {
|
|
32882
|
-
"type": {
|
|
32883
|
-
"type": "string",
|
|
32884
|
-
"enum": [
|
|
32885
|
-
"pages"
|
|
32886
|
-
]
|
|
32887
|
-
},
|
|
32888
|
-
"spaceId": {
|
|
32889
|
-
"type": "string",
|
|
32890
|
-
"description": "The ID of the space to extract the content from."
|
|
32891
|
-
}
|
|
32892
|
-
},
|
|
32893
|
-
"required": [
|
|
32894
|
-
"type",
|
|
32895
|
-
"spaceId"
|
|
32896
|
-
]
|
|
32897
|
-
},
|
|
32898
|
-
"AIMessageAttachment": {
|
|
32899
|
-
"oneOf": [
|
|
32900
|
-
{
|
|
32901
|
-
"$ref": "#/components/schemas/AIMessageAttachmentSearch"
|
|
32902
|
-
},
|
|
32903
|
-
{
|
|
32904
|
-
"$ref": "#/components/schemas/AIMessageAttachmentVisitorProfile"
|
|
32905
|
-
},
|
|
32906
|
-
{
|
|
32907
|
-
"$ref": "#/components/schemas/AIMessageAttachmentPage"
|
|
32908
|
-
},
|
|
32909
|
-
{
|
|
32910
|
-
"$ref": "#/components/schemas/AIMessageAttachmentPages"
|
|
32911
|
-
}
|
|
32912
|
-
]
|
|
32913
|
-
},
|
|
32914
33218
|
"AIMessageContext": {
|
|
32915
33219
|
"type": "object",
|
|
32916
33220
|
"description": "Context about the current user sending a message.",
|
|
@@ -32939,7 +33243,10 @@
|
|
|
32939
33243
|
"description": "Input version of an AI message.",
|
|
32940
33244
|
"properties": {
|
|
32941
33245
|
"role": {
|
|
32942
|
-
"
|
|
33246
|
+
"type": "string",
|
|
33247
|
+
"enum": [
|
|
33248
|
+
"user"
|
|
33249
|
+
]
|
|
32943
33250
|
},
|
|
32944
33251
|
"content": {
|
|
32945
33252
|
"oneOf": [
|
|
@@ -32952,12 +33259,6 @@
|
|
|
32952
33259
|
}
|
|
32953
33260
|
]
|
|
32954
33261
|
},
|
|
32955
|
-
"attachments": {
|
|
32956
|
-
"type": "array",
|
|
32957
|
-
"items": {
|
|
32958
|
-
"$ref": "#/components/schemas/AIMessageAttachment"
|
|
32959
|
-
}
|
|
32960
|
-
},
|
|
32961
33262
|
"context": {
|
|
32962
33263
|
"$ref": "#/components/schemas/AIMessageContext"
|
|
32963
33264
|
}
|
|
@@ -33021,24 +33322,6 @@
|
|
|
33021
33322
|
"reasoning-high"
|
|
33022
33323
|
]
|
|
33023
33324
|
},
|
|
33024
|
-
"AIToolCapabilities": {
|
|
33025
|
-
"type": "object",
|
|
33026
|
-
"description": "Tools provided to the AI",
|
|
33027
|
-
"properties": {
|
|
33028
|
-
"getPageContent": {
|
|
33029
|
-
"type": "boolean",
|
|
33030
|
-
"description": "Whether the AI can read the content of a page"
|
|
33031
|
-
},
|
|
33032
|
-
"getPages": {
|
|
33033
|
-
"type": "boolean",
|
|
33034
|
-
"description": "Whether the AI can read the table of contents of a space"
|
|
33035
|
-
},
|
|
33036
|
-
"search": {
|
|
33037
|
-
"type": "boolean",
|
|
33038
|
-
"description": "Whether the AI can search for content"
|
|
33039
|
-
}
|
|
33040
|
-
}
|
|
33041
|
-
},
|
|
33042
33325
|
"AIStreamResponseFinish": {
|
|
33043
33326
|
"type": "object",
|
|
33044
33327
|
"description": "Message emitted by the server to indicate the end of the AI response. It contains the ID of the response to be referenced for followup requests.\n",
|
|
@@ -33450,6 +33733,35 @@
|
|
|
33450
33733
|
"task"
|
|
33451
33734
|
]
|
|
33452
33735
|
},
|
|
33736
|
+
"AIToolCallMCP": {
|
|
33737
|
+
"type": "object",
|
|
33738
|
+
"description": "Tool called from an MCP server",
|
|
33739
|
+
"properties": {
|
|
33740
|
+
"tool": {
|
|
33741
|
+
"type": "string",
|
|
33742
|
+
"enum": [
|
|
33743
|
+
"mcp"
|
|
33744
|
+
]
|
|
33745
|
+
},
|
|
33746
|
+
"mcpServerId": {
|
|
33747
|
+
"type": "string",
|
|
33748
|
+
"description": "The ID of the MCP server that has been called."
|
|
33749
|
+
},
|
|
33750
|
+
"mcpToolName": {
|
|
33751
|
+
"type": "string",
|
|
33752
|
+
"description": "The name of the tool that has been called."
|
|
33753
|
+
},
|
|
33754
|
+
"mcpToolTitle": {
|
|
33755
|
+
"type": "string",
|
|
33756
|
+
"description": "The title of the tool that has been called."
|
|
33757
|
+
}
|
|
33758
|
+
},
|
|
33759
|
+
"required": [
|
|
33760
|
+
"tool",
|
|
33761
|
+
"mcpServerId",
|
|
33762
|
+
"mcpToolName"
|
|
33763
|
+
]
|
|
33764
|
+
},
|
|
33453
33765
|
"AIToolCall": {
|
|
33454
33766
|
"oneOf": [
|
|
33455
33767
|
{
|
|
@@ -33484,6 +33796,9 @@
|
|
|
33484
33796
|
},
|
|
33485
33797
|
{
|
|
33486
33798
|
"$ref": "#/components/schemas/AIToolCallCreateAgentTask"
|
|
33799
|
+
},
|
|
33800
|
+
{
|
|
33801
|
+
"$ref": "#/components/schemas/AIToolCallMCP"
|
|
33487
33802
|
}
|
|
33488
33803
|
]
|
|
33489
33804
|
},
|
|
@@ -33516,6 +33831,34 @@
|
|
|
33516
33831
|
"toolCall"
|
|
33517
33832
|
]
|
|
33518
33833
|
},
|
|
33834
|
+
"AIStreamResponseFollowupSuggestion": {
|
|
33835
|
+
"type": "object",
|
|
33836
|
+
"description": "Message emitted by the server to suggest a followup message the user could respond with.\n",
|
|
33837
|
+
"properties": {
|
|
33838
|
+
"type": {
|
|
33839
|
+
"type": "string",
|
|
33840
|
+
"enum": [
|
|
33841
|
+
"response_followup_suggestion"
|
|
33842
|
+
]
|
|
33843
|
+
},
|
|
33844
|
+
"messageId": {
|
|
33845
|
+
"type": "string",
|
|
33846
|
+
"description": "The ID of the message that this event is composing.\n"
|
|
33847
|
+
},
|
|
33848
|
+
"suggestions": {
|
|
33849
|
+
"type": "array",
|
|
33850
|
+
"items": {
|
|
33851
|
+
"type": "string",
|
|
33852
|
+
"description": "A followup message the user could respond with.\n"
|
|
33853
|
+
}
|
|
33854
|
+
}
|
|
33855
|
+
},
|
|
33856
|
+
"required": [
|
|
33857
|
+
"type",
|
|
33858
|
+
"messageId",
|
|
33859
|
+
"suggestions"
|
|
33860
|
+
]
|
|
33861
|
+
},
|
|
33519
33862
|
"AIStreamResponse": {
|
|
33520
33863
|
"oneOf": [
|
|
33521
33864
|
{
|
|
@@ -33529,6 +33872,9 @@
|
|
|
33529
33872
|
},
|
|
33530
33873
|
{
|
|
33531
33874
|
"$ref": "#/components/schemas/AIStreamResponseToolCall"
|
|
33875
|
+
},
|
|
33876
|
+
{
|
|
33877
|
+
"$ref": "#/components/schemas/AIStreamResponseFollowupSuggestion"
|
|
33532
33878
|
}
|
|
33533
33879
|
]
|
|
33534
33880
|
},
|
|
@@ -35023,7 +35369,17 @@
|
|
|
35023
35369
|
"values": {
|
|
35024
35370
|
"type": "array",
|
|
35025
35371
|
"items": {
|
|
35026
|
-
"
|
|
35372
|
+
"oneOf": [
|
|
35373
|
+
{
|
|
35374
|
+
"$ref": "#/components/schemas/SiteInsightsVisitorBot"
|
|
35375
|
+
},
|
|
35376
|
+
{
|
|
35377
|
+
"type": "string",
|
|
35378
|
+
"enum": [
|
|
35379
|
+
""
|
|
35380
|
+
]
|
|
35381
|
+
}
|
|
35382
|
+
]
|
|
35027
35383
|
}
|
|
35028
35384
|
}
|
|
35029
35385
|
}
|
|
@@ -35935,6 +36291,67 @@
|
|
|
35935
36291
|
"destination"
|
|
35936
36292
|
]
|
|
35937
36293
|
},
|
|
36294
|
+
"SiteMcpServerName": {
|
|
36295
|
+
"type": "string",
|
|
36296
|
+
"description": "Name of the MCP server",
|
|
36297
|
+
"minLength": 1,
|
|
36298
|
+
"maxLength": 100
|
|
36299
|
+
},
|
|
36300
|
+
"SiteMcpServerHeaders": {
|
|
36301
|
+
"type": "object",
|
|
36302
|
+
"additionalProperties": {
|
|
36303
|
+
"type": "string",
|
|
36304
|
+
"minLength": 1,
|
|
36305
|
+
"maxLength": 512
|
|
36306
|
+
},
|
|
36307
|
+
"description": "HTTP headers sent with requests to this server"
|
|
36308
|
+
},
|
|
36309
|
+
"SiteMcpServer": {
|
|
36310
|
+
"type": "object",
|
|
36311
|
+
"properties": {
|
|
36312
|
+
"object": {
|
|
36313
|
+
"type": "string",
|
|
36314
|
+
"enum": [
|
|
36315
|
+
"site-mcp-server"
|
|
36316
|
+
]
|
|
36317
|
+
},
|
|
36318
|
+
"id": {
|
|
36319
|
+
"type": "string",
|
|
36320
|
+
"description": "Unique identifier for the MCP server"
|
|
36321
|
+
},
|
|
36322
|
+
"name": {
|
|
36323
|
+
"$ref": "#/components/schemas/SiteMcpServerName"
|
|
36324
|
+
},
|
|
36325
|
+
"url": {
|
|
36326
|
+
"$ref": "#/components/schemas/URL"
|
|
36327
|
+
},
|
|
36328
|
+
"headers": {
|
|
36329
|
+
"$ref": "#/components/schemas/SiteMcpServerHeaders"
|
|
36330
|
+
},
|
|
36331
|
+
"urls": {
|
|
36332
|
+
"type": "object",
|
|
36333
|
+
"description": "URLs associated with the object",
|
|
36334
|
+
"properties": {
|
|
36335
|
+
"location": {
|
|
36336
|
+
"type": "string",
|
|
36337
|
+
"description": "URL of the MCP server in the API",
|
|
36338
|
+
"format": "uri"
|
|
36339
|
+
}
|
|
36340
|
+
},
|
|
36341
|
+
"required": [
|
|
36342
|
+
"location"
|
|
36343
|
+
]
|
|
36344
|
+
}
|
|
36345
|
+
},
|
|
36346
|
+
"required": [
|
|
36347
|
+
"object",
|
|
36348
|
+
"id",
|
|
36349
|
+
"name",
|
|
36350
|
+
"url",
|
|
36351
|
+
"headers",
|
|
36352
|
+
"urls"
|
|
36353
|
+
]
|
|
36354
|
+
},
|
|
35938
36355
|
"Subdomain": {
|
|
35939
36356
|
"type": "object",
|
|
35940
36357
|
"properties": {
|
|
@@ -38587,6 +39004,46 @@
|
|
|
38587
39004
|
"siteShareLink"
|
|
38588
39005
|
]
|
|
38589
39006
|
},
|
|
39007
|
+
"SiteMcpServersChannel": {
|
|
39008
|
+
"type": "object",
|
|
39009
|
+
"properties": {
|
|
39010
|
+
"channel": {
|
|
39011
|
+
"type": "string",
|
|
39012
|
+
"enum": [
|
|
39013
|
+
"site-mcp-servers"
|
|
39014
|
+
]
|
|
39015
|
+
},
|
|
39016
|
+
"site": {
|
|
39017
|
+
"type": "string"
|
|
39018
|
+
}
|
|
39019
|
+
},
|
|
39020
|
+
"required": [
|
|
39021
|
+
"channel",
|
|
39022
|
+
"site"
|
|
39023
|
+
]
|
|
39024
|
+
},
|
|
39025
|
+
"SiteMcpServerChannel": {
|
|
39026
|
+
"type": "object",
|
|
39027
|
+
"properties": {
|
|
39028
|
+
"channel": {
|
|
39029
|
+
"type": "string",
|
|
39030
|
+
"enum": [
|
|
39031
|
+
"site-mcp-server"
|
|
39032
|
+
]
|
|
39033
|
+
},
|
|
39034
|
+
"site": {
|
|
39035
|
+
"type": "string"
|
|
39036
|
+
},
|
|
39037
|
+
"siteMcpServer": {
|
|
39038
|
+
"type": "string"
|
|
39039
|
+
}
|
|
39040
|
+
},
|
|
39041
|
+
"required": [
|
|
39042
|
+
"channel",
|
|
39043
|
+
"site",
|
|
39044
|
+
"siteMcpServer"
|
|
39045
|
+
]
|
|
39046
|
+
},
|
|
38590
39047
|
"SiteSectionChannel": {
|
|
38591
39048
|
"type": "object",
|
|
38592
39049
|
"properties": {
|
|
@@ -38937,6 +39394,12 @@
|
|
|
38937
39394
|
{
|
|
38938
39395
|
"$ref": "#/components/schemas/SiteShareLinkChannel"
|
|
38939
39396
|
},
|
|
39397
|
+
{
|
|
39398
|
+
"$ref": "#/components/schemas/SiteMcpServersChannel"
|
|
39399
|
+
},
|
|
39400
|
+
{
|
|
39401
|
+
"$ref": "#/components/schemas/SiteMcpServerChannel"
|
|
39402
|
+
},
|
|
38940
39403
|
{
|
|
38941
39404
|
"$ref": "#/components/schemas/SiteSectionChannel"
|
|
38942
39405
|
},
|
|
@@ -39174,6 +39637,14 @@
|
|
|
39174
39637
|
"updatedAt"
|
|
39175
39638
|
]
|
|
39176
39639
|
},
|
|
39640
|
+
"AIMessageRole": {
|
|
39641
|
+
"type": "string",
|
|
39642
|
+
"enum": [
|
|
39643
|
+
"user",
|
|
39644
|
+
"assistant",
|
|
39645
|
+
"developer"
|
|
39646
|
+
]
|
|
39647
|
+
},
|
|
39177
39648
|
"AIMessageStep": {
|
|
39178
39649
|
"type": "object",
|
|
39179
39650
|
"description": "A step in a message from the AI agent.",
|