@gitbook/api 0.161.0 → 0.163.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 +756 -410
- package/dist/constants.d.ts +7 -1
- package/dist/index.cjs +121 -15
- package/dist/index.js +110 -15
- package/package.json +1 -1
- package/spec/openapi.json +2220 -1142
- package/spec/openapi.yaml +1577 -891
package/spec/openapi.json
CHANGED
|
@@ -187,7 +187,14 @@
|
|
|
187
187
|
"x-page-title": "Site context",
|
|
188
188
|
"x-page-description": "Manage context records, connections, and topics for a docs site.",
|
|
189
189
|
"x-parent": "sites",
|
|
190
|
-
"description": "Manage the contextual records and topics used by your site to power AI experiences and insights.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"ContextRecord,ContextConnection,
|
|
190
|
+
"description": "Manage the contextual records and topics used by your site to power AI experiences and insights.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"ContextRecord,ContextConnection,SiteTopic\" grouped=\"false\" %}\n The Site Context objects\n{% endopenapi-schemas %}\n"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "site-questions",
|
|
194
|
+
"x-page-title": "Site questions",
|
|
195
|
+
"x-page-description": "Review questions, answers, and sources generated for a docs site.",
|
|
196
|
+
"x-parent": "sites",
|
|
197
|
+
"description": "Inspect the canonical questions asked on your site, the generated answers linked to each question, and the sources used for each answer.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"SiteQuestion,SiteQuestionAnswer,SiteQuestionAnswerWithResponse,SiteQuestionAnswerSource\" grouped=\"false\" %}\n The Site Questions objects\n{% endopenapi-schemas %}\n"
|
|
191
198
|
},
|
|
192
199
|
{
|
|
193
200
|
"name": "collections",
|
|
@@ -14261,7 +14268,17 @@
|
|
|
14261
14268
|
"items": {
|
|
14262
14269
|
"type": "array",
|
|
14263
14270
|
"items": {
|
|
14264
|
-
"
|
|
14271
|
+
"oneOf": [
|
|
14272
|
+
{
|
|
14273
|
+
"$ref": "#/components/schemas/SearchSpaceResult"
|
|
14274
|
+
},
|
|
14275
|
+
{
|
|
14276
|
+
"$ref": "#/components/schemas/SearchRecordResult"
|
|
14277
|
+
}
|
|
14278
|
+
],
|
|
14279
|
+
"discriminator": {
|
|
14280
|
+
"propertyName": "type"
|
|
14281
|
+
}
|
|
14265
14282
|
}
|
|
14266
14283
|
}
|
|
14267
14284
|
}
|
|
@@ -14444,6 +14461,14 @@
|
|
|
14444
14461
|
"schema": {
|
|
14445
14462
|
"type": "string"
|
|
14446
14463
|
}
|
|
14464
|
+
},
|
|
14465
|
+
{
|
|
14466
|
+
"name": "topic",
|
|
14467
|
+
"in": "query",
|
|
14468
|
+
"description": "Filter context records by associated site topic ID.",
|
|
14469
|
+
"schema": {
|
|
14470
|
+
"type": "string"
|
|
14471
|
+
}
|
|
14447
14472
|
}
|
|
14448
14473
|
],
|
|
14449
14474
|
"responses": {
|
|
@@ -14790,10 +14815,10 @@
|
|
|
14790
14815
|
}
|
|
14791
14816
|
}
|
|
14792
14817
|
},
|
|
14793
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
14818
|
+
"/orgs/{organizationId}/sites/{siteId}/topics": {
|
|
14794
14819
|
"get": {
|
|
14795
|
-
"operationId": "
|
|
14796
|
-
"summary": "List all
|
|
14820
|
+
"operationId": "listSiteTopics",
|
|
14821
|
+
"summary": "List all topics",
|
|
14797
14822
|
"tags": [
|
|
14798
14823
|
"site-context"
|
|
14799
14824
|
],
|
|
@@ -14808,12 +14833,6 @@
|
|
|
14808
14833
|
},
|
|
14809
14834
|
{
|
|
14810
14835
|
"$ref": "#/components/parameters/siteId"
|
|
14811
|
-
},
|
|
14812
|
-
{
|
|
14813
|
-
"$ref": "#/components/parameters/listPage"
|
|
14814
|
-
},
|
|
14815
|
-
{
|
|
14816
|
-
"$ref": "#/components/parameters/listLimit"
|
|
14817
14836
|
}
|
|
14818
14837
|
],
|
|
14819
14838
|
"responses": {
|
|
@@ -14822,25 +14841,18 @@
|
|
|
14822
14841
|
"content": {
|
|
14823
14842
|
"application/json": {
|
|
14824
14843
|
"schema": {
|
|
14825
|
-
"
|
|
14826
|
-
|
|
14827
|
-
|
|
14828
|
-
|
|
14829
|
-
|
|
14830
|
-
|
|
14831
|
-
"
|
|
14832
|
-
|
|
14833
|
-
|
|
14834
|
-
"properties": {
|
|
14835
|
-
"items": {
|
|
14836
|
-
"type": "array",
|
|
14837
|
-
"items": {
|
|
14838
|
-
"$ref": "#/components/schemas/ContextTopic"
|
|
14839
|
-
}
|
|
14840
|
-
}
|
|
14844
|
+
"type": "object",
|
|
14845
|
+
"required": [
|
|
14846
|
+
"items"
|
|
14847
|
+
],
|
|
14848
|
+
"properties": {
|
|
14849
|
+
"items": {
|
|
14850
|
+
"type": "array",
|
|
14851
|
+
"items": {
|
|
14852
|
+
"$ref": "#/components/schemas/SiteTopic"
|
|
14841
14853
|
}
|
|
14842
14854
|
}
|
|
14843
|
-
|
|
14855
|
+
}
|
|
14844
14856
|
}
|
|
14845
14857
|
}
|
|
14846
14858
|
}
|
|
@@ -14848,10 +14860,10 @@
|
|
|
14848
14860
|
}
|
|
14849
14861
|
}
|
|
14850
14862
|
},
|
|
14851
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
14863
|
+
"/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}": {
|
|
14852
14864
|
"get": {
|
|
14853
|
-
"operationId": "
|
|
14854
|
-
"summary": "Get a
|
|
14865
|
+
"operationId": "getSiteTopicById",
|
|
14866
|
+
"summary": "Get a topic",
|
|
14855
14867
|
"tags": [
|
|
14856
14868
|
"site-context"
|
|
14857
14869
|
],
|
|
@@ -14868,7 +14880,7 @@
|
|
|
14868
14880
|
"$ref": "#/components/parameters/siteId"
|
|
14869
14881
|
},
|
|
14870
14882
|
{
|
|
14871
|
-
"$ref": "#/components/parameters/
|
|
14883
|
+
"$ref": "#/components/parameters/siteTopicId"
|
|
14872
14884
|
}
|
|
14873
14885
|
],
|
|
14874
14886
|
"responses": {
|
|
@@ -14877,7 +14889,7 @@
|
|
|
14877
14889
|
"content": {
|
|
14878
14890
|
"application/json": {
|
|
14879
14891
|
"schema": {
|
|
14880
|
-
"$ref": "#/components/schemas/
|
|
14892
|
+
"$ref": "#/components/schemas/SiteTopic"
|
|
14881
14893
|
}
|
|
14882
14894
|
}
|
|
14883
14895
|
}
|
|
@@ -14885,8 +14897,8 @@
|
|
|
14885
14897
|
}
|
|
14886
14898
|
},
|
|
14887
14899
|
"patch": {
|
|
14888
|
-
"operationId": "
|
|
14889
|
-
"summary": "Update a
|
|
14900
|
+
"operationId": "updateSiteTopicById",
|
|
14901
|
+
"summary": "Update a topic",
|
|
14890
14902
|
"tags": [
|
|
14891
14903
|
"site-context"
|
|
14892
14904
|
],
|
|
@@ -14903,7 +14915,7 @@
|
|
|
14903
14915
|
"$ref": "#/components/parameters/siteId"
|
|
14904
14916
|
},
|
|
14905
14917
|
{
|
|
14906
|
-
"$ref": "#/components/parameters/
|
|
14918
|
+
"$ref": "#/components/parameters/siteTopicId"
|
|
14907
14919
|
}
|
|
14908
14920
|
],
|
|
14909
14921
|
"requestBody": {
|
|
@@ -14930,7 +14942,7 @@
|
|
|
14930
14942
|
"content": {
|
|
14931
14943
|
"application/json": {
|
|
14932
14944
|
"schema": {
|
|
14933
|
-
"$ref": "#/components/schemas/
|
|
14945
|
+
"$ref": "#/components/schemas/SiteTopic"
|
|
14934
14946
|
}
|
|
14935
14947
|
}
|
|
14936
14948
|
}
|
|
@@ -14938,12 +14950,12 @@
|
|
|
14938
14950
|
}
|
|
14939
14951
|
}
|
|
14940
14952
|
},
|
|
14941
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
14942
|
-
"
|
|
14943
|
-
"operationId": "
|
|
14944
|
-
"summary": "
|
|
14953
|
+
"/orgs/{organizationId}/sites/{siteId}/questions": {
|
|
14954
|
+
"get": {
|
|
14955
|
+
"operationId": "listSiteQuestions",
|
|
14956
|
+
"summary": "List all questions in a site",
|
|
14945
14957
|
"tags": [
|
|
14946
|
-
"site-
|
|
14958
|
+
"site-questions"
|
|
14947
14959
|
],
|
|
14948
14960
|
"security": [
|
|
14949
14961
|
{
|
|
@@ -14958,65 +14970,95 @@
|
|
|
14958
14970
|
"$ref": "#/components/parameters/siteId"
|
|
14959
14971
|
},
|
|
14960
14972
|
{
|
|
14961
|
-
"
|
|
14973
|
+
"name": "type",
|
|
14974
|
+
"in": "query",
|
|
14975
|
+
"description": "Filter questions by question type.",
|
|
14976
|
+
"schema": {
|
|
14977
|
+
"$ref": "#/components/schemas/SiteQuestionType"
|
|
14978
|
+
}
|
|
14979
|
+
},
|
|
14980
|
+
{
|
|
14981
|
+
"$ref": "#/components/parameters/listPage"
|
|
14982
|
+
},
|
|
14983
|
+
{
|
|
14984
|
+
"$ref": "#/components/parameters/listLimit"
|
|
14962
14985
|
}
|
|
14963
14986
|
],
|
|
14964
|
-
"
|
|
14965
|
-
"
|
|
14966
|
-
|
|
14967
|
-
"
|
|
14968
|
-
"
|
|
14969
|
-
"
|
|
14970
|
-
|
|
14971
|
-
|
|
14972
|
-
|
|
14973
|
-
|
|
14974
|
-
|
|
14975
|
-
|
|
14976
|
-
|
|
14977
|
-
|
|
14978
|
-
|
|
14979
|
-
|
|
14980
|
-
|
|
14981
|
-
|
|
14982
|
-
|
|
14983
|
-
|
|
14984
|
-
|
|
14985
|
-
|
|
14987
|
+
"responses": {
|
|
14988
|
+
"200": {
|
|
14989
|
+
"description": "OK",
|
|
14990
|
+
"content": {
|
|
14991
|
+
"application/json": {
|
|
14992
|
+
"schema": {
|
|
14993
|
+
"allOf": [
|
|
14994
|
+
{
|
|
14995
|
+
"$ref": "#/components/schemas/List"
|
|
14996
|
+
},
|
|
14997
|
+
{
|
|
14998
|
+
"type": "object",
|
|
14999
|
+
"required": [
|
|
15000
|
+
"items"
|
|
15001
|
+
],
|
|
15002
|
+
"properties": {
|
|
15003
|
+
"items": {
|
|
15004
|
+
"type": "array",
|
|
15005
|
+
"items": {
|
|
15006
|
+
"$ref": "#/components/schemas/SiteQuestion"
|
|
15007
|
+
}
|
|
15008
|
+
}
|
|
14986
15009
|
}
|
|
14987
|
-
|
|
14988
|
-
|
|
14989
|
-
"spaceId": {
|
|
14990
|
-
"type": "string",
|
|
14991
|
-
"description": "The content that this site space points to. If not set, the space will remain unchanged."
|
|
14992
|
-
},
|
|
14993
|
-
"hidden": {
|
|
14994
|
-
"type": "boolean",
|
|
14995
|
-
"description": "Whether the site space is hidden. If true, the site space will not be shown in the site's navigation. If not set, the hidden state will remain unchanged. If set to false, the site space will be shown in site navigation."
|
|
14996
|
-
}
|
|
15010
|
+
}
|
|
15011
|
+
]
|
|
14997
15012
|
}
|
|
14998
15013
|
}
|
|
14999
15014
|
}
|
|
15000
15015
|
}
|
|
15001
|
-
}
|
|
15016
|
+
}
|
|
15017
|
+
}
|
|
15018
|
+
},
|
|
15019
|
+
"/orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}": {
|
|
15020
|
+
"get": {
|
|
15021
|
+
"operationId": "getSiteQuestionById",
|
|
15022
|
+
"summary": "Get a site question by ID",
|
|
15023
|
+
"tags": [
|
|
15024
|
+
"site-questions"
|
|
15025
|
+
],
|
|
15026
|
+
"security": [
|
|
15027
|
+
{
|
|
15028
|
+
"user": []
|
|
15029
|
+
}
|
|
15030
|
+
],
|
|
15031
|
+
"parameters": [
|
|
15032
|
+
{
|
|
15033
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15034
|
+
},
|
|
15035
|
+
{
|
|
15036
|
+
"$ref": "#/components/parameters/siteId"
|
|
15037
|
+
},
|
|
15038
|
+
{
|
|
15039
|
+
"$ref": "#/components/parameters/siteQuestionId"
|
|
15040
|
+
}
|
|
15041
|
+
],
|
|
15002
15042
|
"responses": {
|
|
15003
15043
|
"200": {
|
|
15004
15044
|
"description": "OK",
|
|
15005
15045
|
"content": {
|
|
15006
15046
|
"application/json": {
|
|
15007
15047
|
"schema": {
|
|
15008
|
-
"$ref": "#/components/schemas/
|
|
15048
|
+
"$ref": "#/components/schemas/SiteQuestion"
|
|
15009
15049
|
}
|
|
15010
15050
|
}
|
|
15011
15051
|
}
|
|
15012
15052
|
}
|
|
15013
15053
|
}
|
|
15014
|
-
}
|
|
15015
|
-
|
|
15016
|
-
|
|
15017
|
-
|
|
15054
|
+
}
|
|
15055
|
+
},
|
|
15056
|
+
"/orgs/{organizationId}/sites/{siteId}/answers": {
|
|
15057
|
+
"get": {
|
|
15058
|
+
"operationId": "listSiteQuestionAnswers",
|
|
15059
|
+
"summary": "List all answers for a site",
|
|
15018
15060
|
"tags": [
|
|
15019
|
-
"site-
|
|
15061
|
+
"site-questions"
|
|
15020
15062
|
],
|
|
15021
15063
|
"security": [
|
|
15022
15064
|
{
|
|
@@ -15031,25 +15073,151 @@
|
|
|
15031
15073
|
"$ref": "#/components/parameters/siteId"
|
|
15032
15074
|
},
|
|
15033
15075
|
{
|
|
15034
|
-
"
|
|
15076
|
+
"name": "question",
|
|
15077
|
+
"in": "query",
|
|
15078
|
+
"description": "Filter answers to a specific site question ID.",
|
|
15079
|
+
"schema": {
|
|
15080
|
+
"type": "string"
|
|
15081
|
+
}
|
|
15082
|
+
},
|
|
15083
|
+
{
|
|
15084
|
+
"name": "language",
|
|
15085
|
+
"in": "query",
|
|
15086
|
+
"description": "Filter answers by ISO language code.",
|
|
15087
|
+
"schema": {
|
|
15088
|
+
"type": "string"
|
|
15089
|
+
}
|
|
15090
|
+
},
|
|
15091
|
+
{
|
|
15092
|
+
"name": "answered",
|
|
15093
|
+
"in": "query",
|
|
15094
|
+
"description": "Filter answers by answered resolution.",
|
|
15095
|
+
"schema": {
|
|
15096
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerResolution"
|
|
15097
|
+
}
|
|
15098
|
+
},
|
|
15099
|
+
{
|
|
15100
|
+
"name": "confidence",
|
|
15101
|
+
"in": "query",
|
|
15102
|
+
"description": "Filter answers by answered confidence.",
|
|
15103
|
+
"schema": {
|
|
15104
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerConfidence"
|
|
15105
|
+
}
|
|
15106
|
+
},
|
|
15107
|
+
{
|
|
15108
|
+
"name": "relevance",
|
|
15109
|
+
"in": "query",
|
|
15110
|
+
"description": "Filter answers by question relevance.",
|
|
15111
|
+
"schema": {
|
|
15112
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
15113
|
+
}
|
|
15114
|
+
},
|
|
15115
|
+
{
|
|
15116
|
+
"name": "question.type",
|
|
15117
|
+
"in": "query",
|
|
15118
|
+
"description": "Filter answers by question type.",
|
|
15119
|
+
"schema": {
|
|
15120
|
+
"$ref": "#/components/schemas/SiteQuestionType"
|
|
15121
|
+
}
|
|
15122
|
+
},
|
|
15123
|
+
{
|
|
15124
|
+
"name": "topic",
|
|
15125
|
+
"in": "query",
|
|
15126
|
+
"description": "Filter answers by associated site topic ID.",
|
|
15127
|
+
"schema": {
|
|
15128
|
+
"type": "string"
|
|
15129
|
+
}
|
|
15130
|
+
},
|
|
15131
|
+
{
|
|
15132
|
+
"name": "thread",
|
|
15133
|
+
"in": "query",
|
|
15134
|
+
"description": "Filter answers by thread root answer ID. Includes the root answer itself.",
|
|
15135
|
+
"schema": {
|
|
15136
|
+
"type": "string"
|
|
15137
|
+
}
|
|
15138
|
+
},
|
|
15139
|
+
{
|
|
15140
|
+
"$ref": "#/components/parameters/listPage"
|
|
15141
|
+
},
|
|
15142
|
+
{
|
|
15143
|
+
"$ref": "#/components/parameters/listLimit"
|
|
15035
15144
|
}
|
|
15036
15145
|
],
|
|
15037
15146
|
"responses": {
|
|
15038
|
-
"
|
|
15039
|
-
"description": "
|
|
15147
|
+
"200": {
|
|
15148
|
+
"description": "OK",
|
|
15149
|
+
"content": {
|
|
15150
|
+
"application/json": {
|
|
15151
|
+
"schema": {
|
|
15152
|
+
"allOf": [
|
|
15153
|
+
{
|
|
15154
|
+
"$ref": "#/components/schemas/List"
|
|
15155
|
+
},
|
|
15156
|
+
{
|
|
15157
|
+
"type": "object",
|
|
15158
|
+
"required": [
|
|
15159
|
+
"items"
|
|
15160
|
+
],
|
|
15161
|
+
"properties": {
|
|
15162
|
+
"items": {
|
|
15163
|
+
"type": "array",
|
|
15164
|
+
"items": {
|
|
15165
|
+
"$ref": "#/components/schemas/SiteQuestionAnswer"
|
|
15166
|
+
}
|
|
15167
|
+
}
|
|
15168
|
+
}
|
|
15169
|
+
}
|
|
15170
|
+
]
|
|
15171
|
+
}
|
|
15172
|
+
}
|
|
15173
|
+
}
|
|
15174
|
+
}
|
|
15175
|
+
}
|
|
15176
|
+
}
|
|
15177
|
+
},
|
|
15178
|
+
"/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}": {
|
|
15179
|
+
"get": {
|
|
15180
|
+
"operationId": "getSiteQuestionAnswerById",
|
|
15181
|
+
"summary": "Get a site answer by ID",
|
|
15182
|
+
"tags": [
|
|
15183
|
+
"site-questions"
|
|
15184
|
+
],
|
|
15185
|
+
"security": [
|
|
15186
|
+
{
|
|
15187
|
+
"user": []
|
|
15188
|
+
}
|
|
15189
|
+
],
|
|
15190
|
+
"parameters": [
|
|
15191
|
+
{
|
|
15192
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15040
15193
|
},
|
|
15041
|
-
|
|
15042
|
-
"
|
|
15194
|
+
{
|
|
15195
|
+
"$ref": "#/components/parameters/siteId"
|
|
15196
|
+
},
|
|
15197
|
+
{
|
|
15198
|
+
"$ref": "#/components/parameters/siteQuestionAnswerId"
|
|
15199
|
+
}
|
|
15200
|
+
],
|
|
15201
|
+
"responses": {
|
|
15202
|
+
"200": {
|
|
15203
|
+
"description": "OK",
|
|
15204
|
+
"content": {
|
|
15205
|
+
"application/json": {
|
|
15206
|
+
"schema": {
|
|
15207
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerWithResponse"
|
|
15208
|
+
}
|
|
15209
|
+
}
|
|
15210
|
+
}
|
|
15043
15211
|
}
|
|
15044
15212
|
}
|
|
15045
15213
|
}
|
|
15046
15214
|
},
|
|
15047
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
15215
|
+
"/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}/sources": {
|
|
15048
15216
|
"get": {
|
|
15049
|
-
"operationId": "
|
|
15050
|
-
"summary": "
|
|
15217
|
+
"operationId": "listSiteQuestionAnswerSources",
|
|
15218
|
+
"summary": "List the sources for an answer",
|
|
15051
15219
|
"tags": [
|
|
15052
|
-
"site-
|
|
15220
|
+
"site-questions"
|
|
15053
15221
|
],
|
|
15054
15222
|
"security": [
|
|
15055
15223
|
{
|
|
@@ -15064,10 +15232,13 @@
|
|
|
15064
15232
|
"$ref": "#/components/parameters/siteId"
|
|
15065
15233
|
},
|
|
15066
15234
|
{
|
|
15067
|
-
"$ref": "#/components/parameters/
|
|
15235
|
+
"$ref": "#/components/parameters/siteQuestionAnswerId"
|
|
15068
15236
|
},
|
|
15069
15237
|
{
|
|
15070
|
-
"$ref": "#/components/parameters/
|
|
15238
|
+
"$ref": "#/components/parameters/listPage"
|
|
15239
|
+
},
|
|
15240
|
+
{
|
|
15241
|
+
"$ref": "#/components/parameters/listLimit"
|
|
15071
15242
|
}
|
|
15072
15243
|
],
|
|
15073
15244
|
"responses": {
|
|
@@ -15076,21 +15247,185 @@
|
|
|
15076
15247
|
"content": {
|
|
15077
15248
|
"application/json": {
|
|
15078
15249
|
"schema": {
|
|
15079
|
-
"
|
|
15250
|
+
"allOf": [
|
|
15251
|
+
{
|
|
15252
|
+
"$ref": "#/components/schemas/List"
|
|
15253
|
+
},
|
|
15254
|
+
{
|
|
15255
|
+
"type": "object",
|
|
15256
|
+
"required": [
|
|
15257
|
+
"items"
|
|
15258
|
+
],
|
|
15259
|
+
"properties": {
|
|
15260
|
+
"items": {
|
|
15261
|
+
"type": "array",
|
|
15262
|
+
"items": {
|
|
15263
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerSource"
|
|
15264
|
+
}
|
|
15265
|
+
}
|
|
15266
|
+
}
|
|
15267
|
+
}
|
|
15268
|
+
]
|
|
15080
15269
|
}
|
|
15081
15270
|
}
|
|
15082
15271
|
}
|
|
15083
|
-
},
|
|
15084
|
-
"400": {
|
|
15085
|
-
"$ref": "#/components/responses/BadRequestError"
|
|
15086
15272
|
}
|
|
15087
15273
|
}
|
|
15088
|
-
}
|
|
15274
|
+
}
|
|
15275
|
+
},
|
|
15276
|
+
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}": {
|
|
15089
15277
|
"patch": {
|
|
15090
|
-
"operationId": "
|
|
15091
|
-
"summary": "
|
|
15278
|
+
"operationId": "updateSiteSpaceById",
|
|
15279
|
+
"summary": "Update a site space",
|
|
15092
15280
|
"tags": [
|
|
15093
|
-
"site-
|
|
15281
|
+
"site-spaces"
|
|
15282
|
+
],
|
|
15283
|
+
"security": [
|
|
15284
|
+
{
|
|
15285
|
+
"user": []
|
|
15286
|
+
}
|
|
15287
|
+
],
|
|
15288
|
+
"parameters": [
|
|
15289
|
+
{
|
|
15290
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15291
|
+
},
|
|
15292
|
+
{
|
|
15293
|
+
"$ref": "#/components/parameters/siteId"
|
|
15294
|
+
},
|
|
15295
|
+
{
|
|
15296
|
+
"$ref": "#/components/parameters/siteSpaceId"
|
|
15297
|
+
}
|
|
15298
|
+
],
|
|
15299
|
+
"requestBody": {
|
|
15300
|
+
"required": true,
|
|
15301
|
+
"content": {
|
|
15302
|
+
"application/json": {
|
|
15303
|
+
"schema": {
|
|
15304
|
+
"type": "object",
|
|
15305
|
+
"properties": {
|
|
15306
|
+
"path": {
|
|
15307
|
+
"$ref": "#/components/schemas/SiteSpacePath"
|
|
15308
|
+
},
|
|
15309
|
+
"condition": {
|
|
15310
|
+
"description": "Conditional expression used to evaluate whether the site space should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.",
|
|
15311
|
+
"oneOf": [
|
|
15312
|
+
{
|
|
15313
|
+
"$ref": "#/components/schemas/Expression"
|
|
15314
|
+
},
|
|
15315
|
+
{
|
|
15316
|
+
"type": "string",
|
|
15317
|
+
"nullable": true,
|
|
15318
|
+
"enum": [
|
|
15319
|
+
null
|
|
15320
|
+
]
|
|
15321
|
+
}
|
|
15322
|
+
]
|
|
15323
|
+
},
|
|
15324
|
+
"spaceId": {
|
|
15325
|
+
"type": "string",
|
|
15326
|
+
"description": "The content that this site space points to. If not set, the space will remain unchanged."
|
|
15327
|
+
},
|
|
15328
|
+
"hidden": {
|
|
15329
|
+
"type": "boolean",
|
|
15330
|
+
"description": "Whether the site space is hidden. If true, the site space will not be shown in the site's navigation. If not set, the hidden state will remain unchanged. If set to false, the site space will be shown in site navigation."
|
|
15331
|
+
}
|
|
15332
|
+
}
|
|
15333
|
+
}
|
|
15334
|
+
}
|
|
15335
|
+
}
|
|
15336
|
+
},
|
|
15337
|
+
"responses": {
|
|
15338
|
+
"200": {
|
|
15339
|
+
"description": "OK",
|
|
15340
|
+
"content": {
|
|
15341
|
+
"application/json": {
|
|
15342
|
+
"schema": {
|
|
15343
|
+
"$ref": "#/components/schemas/SiteSpace"
|
|
15344
|
+
}
|
|
15345
|
+
}
|
|
15346
|
+
}
|
|
15347
|
+
}
|
|
15348
|
+
}
|
|
15349
|
+
},
|
|
15350
|
+
"delete": {
|
|
15351
|
+
"operationId": "deleteSiteSpaceById",
|
|
15352
|
+
"summary": "Delete a site space",
|
|
15353
|
+
"tags": [
|
|
15354
|
+
"site-spaces"
|
|
15355
|
+
],
|
|
15356
|
+
"security": [
|
|
15357
|
+
{
|
|
15358
|
+
"user": []
|
|
15359
|
+
}
|
|
15360
|
+
],
|
|
15361
|
+
"parameters": [
|
|
15362
|
+
{
|
|
15363
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15364
|
+
},
|
|
15365
|
+
{
|
|
15366
|
+
"$ref": "#/components/parameters/siteId"
|
|
15367
|
+
},
|
|
15368
|
+
{
|
|
15369
|
+
"$ref": "#/components/parameters/siteSpaceId"
|
|
15370
|
+
}
|
|
15371
|
+
],
|
|
15372
|
+
"responses": {
|
|
15373
|
+
"204": {
|
|
15374
|
+
"description": "Site space did not exist"
|
|
15375
|
+
},
|
|
15376
|
+
"205": {
|
|
15377
|
+
"description": "Site space has been deleted"
|
|
15378
|
+
}
|
|
15379
|
+
}
|
|
15380
|
+
}
|
|
15381
|
+
},
|
|
15382
|
+
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization": {
|
|
15383
|
+
"get": {
|
|
15384
|
+
"operationId": "getSiteSpaceCustomizationById",
|
|
15385
|
+
"summary": "Get a site space customization settings",
|
|
15386
|
+
"tags": [
|
|
15387
|
+
"site-customization"
|
|
15388
|
+
],
|
|
15389
|
+
"security": [
|
|
15390
|
+
{
|
|
15391
|
+
"user": []
|
|
15392
|
+
}
|
|
15393
|
+
],
|
|
15394
|
+
"parameters": [
|
|
15395
|
+
{
|
|
15396
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15397
|
+
},
|
|
15398
|
+
{
|
|
15399
|
+
"$ref": "#/components/parameters/siteId"
|
|
15400
|
+
},
|
|
15401
|
+
{
|
|
15402
|
+
"$ref": "#/components/parameters/siteSpaceId"
|
|
15403
|
+
},
|
|
15404
|
+
{
|
|
15405
|
+
"$ref": "#/components/parameters/siteCustomizationUnmasked"
|
|
15406
|
+
}
|
|
15407
|
+
],
|
|
15408
|
+
"responses": {
|
|
15409
|
+
"200": {
|
|
15410
|
+
"description": "OK",
|
|
15411
|
+
"content": {
|
|
15412
|
+
"application/json": {
|
|
15413
|
+
"schema": {
|
|
15414
|
+
"$ref": "#/components/schemas/SiteCustomizationSettings"
|
|
15415
|
+
}
|
|
15416
|
+
}
|
|
15417
|
+
}
|
|
15418
|
+
},
|
|
15419
|
+
"400": {
|
|
15420
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
15421
|
+
}
|
|
15422
|
+
}
|
|
15423
|
+
},
|
|
15424
|
+
"patch": {
|
|
15425
|
+
"operationId": "overrideSiteSpaceCustomizationById",
|
|
15426
|
+
"summary": "Override a site space customization settings",
|
|
15427
|
+
"tags": [
|
|
15428
|
+
"site-customization"
|
|
15094
15429
|
],
|
|
15095
15430
|
"security": [
|
|
15096
15431
|
{
|
|
@@ -16392,6 +16727,9 @@
|
|
|
16392
16727
|
},
|
|
16393
16728
|
"toolCall": {
|
|
16394
16729
|
"$ref": "#/components/schemas/AIToolCallResult"
|
|
16730
|
+
},
|
|
16731
|
+
"session": {
|
|
16732
|
+
"$ref": "#/components/schemas/SiteInsightsSession"
|
|
16395
16733
|
}
|
|
16396
16734
|
}
|
|
16397
16735
|
}
|
|
@@ -16626,7 +16964,7 @@
|
|
|
16626
16964
|
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
16627
16965
|
},
|
|
16628
16966
|
"destination": {
|
|
16629
|
-
"$ref": "#/components/schemas/
|
|
16967
|
+
"$ref": "#/components/schemas/SiteRedirectInputDestination"
|
|
16630
16968
|
}
|
|
16631
16969
|
},
|
|
16632
16970
|
"required": [
|
|
@@ -16650,6 +16988,157 @@
|
|
|
16650
16988
|
}
|
|
16651
16989
|
}
|
|
16652
16990
|
},
|
|
16991
|
+
"put": {
|
|
16992
|
+
"operationId": "bulkUpsertSiteRedirects",
|
|
16993
|
+
"summary": "Create or update site redirects in bulk",
|
|
16994
|
+
"tags": [
|
|
16995
|
+
"site-redirects"
|
|
16996
|
+
],
|
|
16997
|
+
"security": [
|
|
16998
|
+
{
|
|
16999
|
+
"user": []
|
|
17000
|
+
}
|
|
17001
|
+
],
|
|
17002
|
+
"parameters": [
|
|
17003
|
+
{
|
|
17004
|
+
"$ref": "#/components/parameters/organizationId"
|
|
17005
|
+
},
|
|
17006
|
+
{
|
|
17007
|
+
"$ref": "#/components/parameters/siteId"
|
|
17008
|
+
}
|
|
17009
|
+
],
|
|
17010
|
+
"requestBody": {
|
|
17011
|
+
"required": true,
|
|
17012
|
+
"content": {
|
|
17013
|
+
"application/json": {
|
|
17014
|
+
"schema": {
|
|
17015
|
+
"type": "object",
|
|
17016
|
+
"properties": {
|
|
17017
|
+
"redirects": {
|
|
17018
|
+
"type": "array",
|
|
17019
|
+
"minItems": 1,
|
|
17020
|
+
"maxItems": 500,
|
|
17021
|
+
"items": {
|
|
17022
|
+
"type": "object",
|
|
17023
|
+
"properties": {
|
|
17024
|
+
"source": {
|
|
17025
|
+
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
17026
|
+
},
|
|
17027
|
+
"destination": {
|
|
17028
|
+
"$ref": "#/components/schemas/SiteRedirectInputDestination"
|
|
17029
|
+
}
|
|
17030
|
+
},
|
|
17031
|
+
"required": [
|
|
17032
|
+
"source",
|
|
17033
|
+
"destination"
|
|
17034
|
+
]
|
|
17035
|
+
}
|
|
17036
|
+
}
|
|
17037
|
+
},
|
|
17038
|
+
"required": [
|
|
17039
|
+
"redirects"
|
|
17040
|
+
]
|
|
17041
|
+
}
|
|
17042
|
+
}
|
|
17043
|
+
}
|
|
17044
|
+
},
|
|
17045
|
+
"responses": {
|
|
17046
|
+
"200": {
|
|
17047
|
+
"description": "List of results for each redirect processed.",
|
|
17048
|
+
"content": {
|
|
17049
|
+
"application/json": {
|
|
17050
|
+
"schema": {
|
|
17051
|
+
"type": "object",
|
|
17052
|
+
"properties": {
|
|
17053
|
+
"results": {
|
|
17054
|
+
"type": "array",
|
|
17055
|
+
"items": {
|
|
17056
|
+
"oneOf": [
|
|
17057
|
+
{
|
|
17058
|
+
"type": "object",
|
|
17059
|
+
"properties": {
|
|
17060
|
+
"status": {
|
|
17061
|
+
"type": "string",
|
|
17062
|
+
"enum": [
|
|
17063
|
+
"created"
|
|
17064
|
+
],
|
|
17065
|
+
"description": "The redirect was created."
|
|
17066
|
+
},
|
|
17067
|
+
"source": {
|
|
17068
|
+
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
17069
|
+
},
|
|
17070
|
+
"id": {
|
|
17071
|
+
"type": "string",
|
|
17072
|
+
"description": "The ID of the created redirect."
|
|
17073
|
+
}
|
|
17074
|
+
},
|
|
17075
|
+
"required": [
|
|
17076
|
+
"status",
|
|
17077
|
+
"source",
|
|
17078
|
+
"id"
|
|
17079
|
+
]
|
|
17080
|
+
},
|
|
17081
|
+
{
|
|
17082
|
+
"type": "object",
|
|
17083
|
+
"properties": {
|
|
17084
|
+
"status": {
|
|
17085
|
+
"type": "string",
|
|
17086
|
+
"enum": [
|
|
17087
|
+
"updated"
|
|
17088
|
+
],
|
|
17089
|
+
"description": "The redirect was updated."
|
|
17090
|
+
},
|
|
17091
|
+
"source": {
|
|
17092
|
+
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
17093
|
+
},
|
|
17094
|
+
"id": {
|
|
17095
|
+
"type": "string",
|
|
17096
|
+
"description": "The ID of the updated redirect."
|
|
17097
|
+
}
|
|
17098
|
+
},
|
|
17099
|
+
"required": [
|
|
17100
|
+
"status",
|
|
17101
|
+
"source",
|
|
17102
|
+
"id"
|
|
17103
|
+
]
|
|
17104
|
+
},
|
|
17105
|
+
{
|
|
17106
|
+
"type": "object",
|
|
17107
|
+
"properties": {
|
|
17108
|
+
"status": {
|
|
17109
|
+
"type": "string",
|
|
17110
|
+
"enum": [
|
|
17111
|
+
"error"
|
|
17112
|
+
],
|
|
17113
|
+
"description": "There was an error processing the redirect."
|
|
17114
|
+
},
|
|
17115
|
+
"source": {
|
|
17116
|
+
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
17117
|
+
},
|
|
17118
|
+
"error": {
|
|
17119
|
+
"type": "string",
|
|
17120
|
+
"description": "The error message."
|
|
17121
|
+
}
|
|
17122
|
+
},
|
|
17123
|
+
"required": [
|
|
17124
|
+
"status",
|
|
17125
|
+
"source",
|
|
17126
|
+
"error"
|
|
17127
|
+
]
|
|
17128
|
+
}
|
|
17129
|
+
]
|
|
17130
|
+
}
|
|
17131
|
+
}
|
|
17132
|
+
},
|
|
17133
|
+
"required": [
|
|
17134
|
+
"results"
|
|
17135
|
+
]
|
|
17136
|
+
}
|
|
17137
|
+
}
|
|
17138
|
+
}
|
|
17139
|
+
}
|
|
17140
|
+
}
|
|
17141
|
+
},
|
|
16653
17142
|
"get": {
|
|
16654
17143
|
"operationId": "listSiteRedirects",
|
|
16655
17144
|
"summary": "List all site redirects",
|
|
@@ -18304,11 +18793,29 @@
|
|
|
18304
18793
|
"type": "string"
|
|
18305
18794
|
}
|
|
18306
18795
|
},
|
|
18307
|
-
"
|
|
18308
|
-
"name": "
|
|
18796
|
+
"siteTopicId": {
|
|
18797
|
+
"name": "siteTopicId",
|
|
18798
|
+
"in": "path",
|
|
18799
|
+
"required": true,
|
|
18800
|
+
"description": "The unique id of the topic",
|
|
18801
|
+
"schema": {
|
|
18802
|
+
"type": "string"
|
|
18803
|
+
}
|
|
18804
|
+
},
|
|
18805
|
+
"siteQuestionId": {
|
|
18806
|
+
"name": "siteQuestionId",
|
|
18807
|
+
"in": "path",
|
|
18808
|
+
"required": true,
|
|
18809
|
+
"description": "The unique id of the site question",
|
|
18810
|
+
"schema": {
|
|
18811
|
+
"type": "string"
|
|
18812
|
+
}
|
|
18813
|
+
},
|
|
18814
|
+
"siteQuestionAnswerId": {
|
|
18815
|
+
"name": "siteQuestionAnswerId",
|
|
18309
18816
|
"in": "path",
|
|
18310
18817
|
"required": true,
|
|
18311
|
-
"description": "The unique id of the
|
|
18818
|
+
"description": "The unique id of the site question answer",
|
|
18312
18819
|
"schema": {
|
|
18313
18820
|
"type": "string"
|
|
18314
18821
|
}
|
|
@@ -25106,21 +25613,48 @@
|
|
|
25106
25613
|
]
|
|
25107
25614
|
},
|
|
25108
25615
|
"RevisionTag": {
|
|
25109
|
-
"
|
|
25110
|
-
|
|
25111
|
-
|
|
25112
|
-
|
|
25113
|
-
"
|
|
25114
|
-
|
|
25616
|
+
"allOf": [
|
|
25617
|
+
{
|
|
25618
|
+
"type": "object",
|
|
25619
|
+
"description": "A reusable tag that different types of content can be associated to (e.g. pages, update entries)",
|
|
25620
|
+
"properties": {
|
|
25621
|
+
"slug": {
|
|
25622
|
+
"type": "string",
|
|
25623
|
+
"description": "The slug identifier for the tag, immutable after creation."
|
|
25624
|
+
},
|
|
25625
|
+
"label": {
|
|
25626
|
+
"type": "string",
|
|
25627
|
+
"description": "Display label for the tag. Can be renamed and differ from the slug."
|
|
25628
|
+
}
|
|
25629
|
+
},
|
|
25630
|
+
"required": [
|
|
25631
|
+
"slug",
|
|
25632
|
+
"label"
|
|
25633
|
+
]
|
|
25115
25634
|
},
|
|
25116
|
-
|
|
25117
|
-
"
|
|
25118
|
-
|
|
25635
|
+
{
|
|
25636
|
+
"oneOf": [
|
|
25637
|
+
{
|
|
25638
|
+
"type": "object",
|
|
25639
|
+
"properties": {
|
|
25640
|
+
"emoji": {
|
|
25641
|
+
"$ref": "#/components/schemas/Emoji"
|
|
25642
|
+
}
|
|
25643
|
+
},
|
|
25644
|
+
"required": [
|
|
25645
|
+
"emoji"
|
|
25646
|
+
]
|
|
25647
|
+
},
|
|
25648
|
+
{
|
|
25649
|
+
"type": "object",
|
|
25650
|
+
"properties": {
|
|
25651
|
+
"icon": {
|
|
25652
|
+
"$ref": "#/components/schemas/Icon"
|
|
25653
|
+
}
|
|
25654
|
+
}
|
|
25655
|
+
}
|
|
25656
|
+
]
|
|
25119
25657
|
}
|
|
25120
|
-
},
|
|
25121
|
-
"required": [
|
|
25122
|
-
"slug",
|
|
25123
|
-
"label"
|
|
25124
25658
|
]
|
|
25125
25659
|
},
|
|
25126
25660
|
"GitSyncCommit": {
|
|
@@ -25535,7 +26069,8 @@
|
|
|
25535
26069
|
"type": "string",
|
|
25536
26070
|
"description": "Name of the organization",
|
|
25537
26071
|
"minLength": 2,
|
|
25538
|
-
"maxLength": 255
|
|
26072
|
+
"maxLength": 255,
|
|
26073
|
+
"pattern": "\\S.*\\S"
|
|
25539
26074
|
},
|
|
25540
26075
|
"OrganizationEmailDomains": {
|
|
25541
26076
|
"type": "array",
|
|
@@ -33100,6 +33635,12 @@
|
|
|
33100
33635
|
"type": "object",
|
|
33101
33636
|
"description": "Search result representing a space.",
|
|
33102
33637
|
"properties": {
|
|
33638
|
+
"type": {
|
|
33639
|
+
"type": "string",
|
|
33640
|
+
"enum": [
|
|
33641
|
+
"space"
|
|
33642
|
+
]
|
|
33643
|
+
},
|
|
33103
33644
|
"id": {
|
|
33104
33645
|
"type": "string"
|
|
33105
33646
|
},
|
|
@@ -33114,6 +33655,7 @@
|
|
|
33114
33655
|
}
|
|
33115
33656
|
},
|
|
33116
33657
|
"required": [
|
|
33658
|
+
"type",
|
|
33117
33659
|
"id",
|
|
33118
33660
|
"title",
|
|
33119
33661
|
"pages"
|
|
@@ -36413,6 +36955,41 @@
|
|
|
36413
36955
|
}
|
|
36414
36956
|
]
|
|
36415
36957
|
},
|
|
36958
|
+
"SearchRecordResult": {
|
|
36959
|
+
"type": "object",
|
|
36960
|
+
"description": "Search result representing a site context record.",
|
|
36961
|
+
"properties": {
|
|
36962
|
+
"type": {
|
|
36963
|
+
"type": "string",
|
|
36964
|
+
"enum": [
|
|
36965
|
+
"record"
|
|
36966
|
+
]
|
|
36967
|
+
},
|
|
36968
|
+
"id": {
|
|
36969
|
+
"type": "string",
|
|
36970
|
+
"description": "The ID of the context record."
|
|
36971
|
+
},
|
|
36972
|
+
"title": {
|
|
36973
|
+
"type": "string",
|
|
36974
|
+
"description": "The title of the record."
|
|
36975
|
+
},
|
|
36976
|
+
"description": {
|
|
36977
|
+
"type": "string",
|
|
36978
|
+
"description": "The description of the record."
|
|
36979
|
+
},
|
|
36980
|
+
"url": {
|
|
36981
|
+
"type": "string",
|
|
36982
|
+
"format": "uri",
|
|
36983
|
+
"description": "URL of the record in the source system."
|
|
36984
|
+
}
|
|
36985
|
+
},
|
|
36986
|
+
"required": [
|
|
36987
|
+
"type",
|
|
36988
|
+
"id",
|
|
36989
|
+
"title",
|
|
36990
|
+
"url"
|
|
36991
|
+
]
|
|
36992
|
+
},
|
|
36416
36993
|
"ContextRecordType": {
|
|
36417
36994
|
"type": "string",
|
|
36418
36995
|
"enum": [
|
|
@@ -36762,7 +37339,74 @@
|
|
|
36762
37339
|
}
|
|
36763
37340
|
]
|
|
36764
37341
|
},
|
|
36765
|
-
"
|
|
37342
|
+
"SiteQuestionStatsFeedback": {
|
|
37343
|
+
"type": "object",
|
|
37344
|
+
"description": "Aggregated feedback for answers linked to a site question.",
|
|
37345
|
+
"properties": {
|
|
37346
|
+
"positive": {
|
|
37347
|
+
"type": "number",
|
|
37348
|
+
"description": "Count of answers with positive feedback."
|
|
37349
|
+
},
|
|
37350
|
+
"negative": {
|
|
37351
|
+
"type": "number",
|
|
37352
|
+
"description": "Count of answers with negative feedback."
|
|
37353
|
+
},
|
|
37354
|
+
"unrated": {
|
|
37355
|
+
"type": "number",
|
|
37356
|
+
"description": "Count of answers without feedback."
|
|
37357
|
+
}
|
|
37358
|
+
},
|
|
37359
|
+
"required": [
|
|
37360
|
+
"positive",
|
|
37361
|
+
"negative",
|
|
37362
|
+
"unrated"
|
|
37363
|
+
]
|
|
37364
|
+
},
|
|
37365
|
+
"SiteQuestionStatsAnswered": {
|
|
37366
|
+
"type": "object",
|
|
37367
|
+
"description": "Aggregated answered assessment for answers linked to a site question.",
|
|
37368
|
+
"properties": {
|
|
37369
|
+
"yes": {
|
|
37370
|
+
"type": "number",
|
|
37371
|
+
"description": "Count of answers assessed as fully answered."
|
|
37372
|
+
},
|
|
37373
|
+
"partially": {
|
|
37374
|
+
"type": "number",
|
|
37375
|
+
"description": "Count of answers assessed as partially answered."
|
|
37376
|
+
},
|
|
37377
|
+
"no": {
|
|
37378
|
+
"type": "number",
|
|
37379
|
+
"description": "Count of answers assessed as not answered."
|
|
37380
|
+
}
|
|
37381
|
+
},
|
|
37382
|
+
"required": [
|
|
37383
|
+
"yes",
|
|
37384
|
+
"partially",
|
|
37385
|
+
"no"
|
|
37386
|
+
]
|
|
37387
|
+
},
|
|
37388
|
+
"SiteQuestionStats": {
|
|
37389
|
+
"type": "object",
|
|
37390
|
+
"description": "Aggregated stats for answers linked to a site question.",
|
|
37391
|
+
"properties": {
|
|
37392
|
+
"answers": {
|
|
37393
|
+
"type": "number",
|
|
37394
|
+
"description": "Total count of answers linked to the question."
|
|
37395
|
+
},
|
|
37396
|
+
"feedback": {
|
|
37397
|
+
"$ref": "#/components/schemas/SiteQuestionStatsFeedback"
|
|
37398
|
+
},
|
|
37399
|
+
"answered": {
|
|
37400
|
+
"$ref": "#/components/schemas/SiteQuestionStatsAnswered"
|
|
37401
|
+
}
|
|
37402
|
+
},
|
|
37403
|
+
"required": [
|
|
37404
|
+
"answers",
|
|
37405
|
+
"feedback",
|
|
37406
|
+
"answered"
|
|
37407
|
+
]
|
|
37408
|
+
},
|
|
37409
|
+
"SiteTopic": {
|
|
36766
37410
|
"type": "object",
|
|
36767
37411
|
"properties": {
|
|
36768
37412
|
"object": {
|
|
@@ -36779,6 +37423,24 @@
|
|
|
36779
37423
|
"type": "string",
|
|
36780
37424
|
"description": "The label of the topic"
|
|
36781
37425
|
},
|
|
37426
|
+
"parent": {
|
|
37427
|
+
"type": "object",
|
|
37428
|
+
"description": "The parent topic when this topic is nested under another one",
|
|
37429
|
+
"properties": {
|
|
37430
|
+
"id": {
|
|
37431
|
+
"type": "string",
|
|
37432
|
+
"description": "The ID of the parent topic"
|
|
37433
|
+
},
|
|
37434
|
+
"label": {
|
|
37435
|
+
"type": "string",
|
|
37436
|
+
"description": "The label of the parent topic"
|
|
37437
|
+
}
|
|
37438
|
+
},
|
|
37439
|
+
"required": [
|
|
37440
|
+
"id",
|
|
37441
|
+
"label"
|
|
37442
|
+
]
|
|
37443
|
+
},
|
|
36782
37444
|
"createdAt": {
|
|
36783
37445
|
"$ref": "#/components/schemas/Timestamp"
|
|
36784
37446
|
},
|
|
@@ -36798,30 +37460,21 @@
|
|
|
36798
37460
|
"type": "array",
|
|
36799
37461
|
"minItems": 13,
|
|
36800
37462
|
"maxItems": 13,
|
|
36801
|
-
"description": "The weekly pulse of
|
|
37463
|
+
"description": "The weekly pulse of related question answers for the past 3 months",
|
|
36802
37464
|
"items": {
|
|
36803
37465
|
"type": "number"
|
|
36804
37466
|
}
|
|
36805
37467
|
},
|
|
36806
|
-
"
|
|
36807
|
-
"type": "
|
|
36808
|
-
"
|
|
36809
|
-
"type": "number",
|
|
36810
|
-
"description": "The number of records for the connector"
|
|
36811
|
-
}
|
|
37468
|
+
"pages": {
|
|
37469
|
+
"type": "number",
|
|
37470
|
+
"description": "The number of pages associated with the topic"
|
|
36812
37471
|
},
|
|
36813
|
-
"
|
|
36814
|
-
"type": "
|
|
36815
|
-
"description": "The
|
|
36816
|
-
|
|
36817
|
-
|
|
36818
|
-
|
|
36819
|
-
"description": "The number of records in the topic"
|
|
36820
|
-
}
|
|
36821
|
-
},
|
|
36822
|
-
"required": [
|
|
36823
|
-
"records"
|
|
36824
|
-
]
|
|
37472
|
+
"records": {
|
|
37473
|
+
"type": "number",
|
|
37474
|
+
"description": "The number of records in the topic"
|
|
37475
|
+
},
|
|
37476
|
+
"questions": {
|
|
37477
|
+
"$ref": "#/components/schemas/SiteQuestionStats"
|
|
36825
37478
|
},
|
|
36826
37479
|
"urls": {
|
|
36827
37480
|
"type": "object",
|
|
@@ -36845,764 +37498,698 @@
|
|
|
36845
37498
|
"summary",
|
|
36846
37499
|
"icon",
|
|
36847
37500
|
"usageSettings",
|
|
36848
|
-
"
|
|
36849
|
-
"
|
|
37501
|
+
"pages",
|
|
37502
|
+
"records",
|
|
37503
|
+
"questions",
|
|
36850
37504
|
"weeklyPulse",
|
|
36851
37505
|
"createdAt",
|
|
36852
37506
|
"updatedAt",
|
|
36853
37507
|
"urls"
|
|
36854
37508
|
]
|
|
36855
37509
|
},
|
|
36856
|
-
"
|
|
36857
|
-
"
|
|
36858
|
-
|
|
36859
|
-
|
|
36860
|
-
|
|
36861
|
-
|
|
36862
|
-
|
|
36863
|
-
|
|
36864
|
-
|
|
36865
|
-
"type": "boolean",
|
|
36866
|
-
"description": "Indicates whether the site customization settings have been overridden."
|
|
36867
|
-
}
|
|
36868
|
-
},
|
|
36869
|
-
"required": [
|
|
36870
|
-
"hasOverrides"
|
|
36871
|
-
]
|
|
36872
|
-
}
|
|
37510
|
+
"SiteQuestionType": {
|
|
37511
|
+
"type": "string",
|
|
37512
|
+
"description": "Type classification of the user question.",
|
|
37513
|
+
"enum": [
|
|
37514
|
+
"exploring",
|
|
37515
|
+
"how-to",
|
|
37516
|
+
"troubleshooting",
|
|
37517
|
+
"reference",
|
|
37518
|
+
"unknown"
|
|
36873
37519
|
]
|
|
36874
37520
|
},
|
|
36875
|
-
"
|
|
37521
|
+
"SiteQuestion": {
|
|
36876
37522
|
"type": "object",
|
|
36877
37523
|
"properties": {
|
|
36878
|
-
"
|
|
37524
|
+
"object": {
|
|
36879
37525
|
"type": "string",
|
|
36880
37526
|
"enum": [
|
|
36881
|
-
"site-
|
|
36882
|
-
"site-section-group"
|
|
37527
|
+
"site-question"
|
|
36883
37528
|
]
|
|
36884
37529
|
},
|
|
36885
37530
|
"id": {
|
|
36886
37531
|
"type": "string",
|
|
36887
|
-
"description": "
|
|
37532
|
+
"description": "The ID of the site question."
|
|
37533
|
+
},
|
|
37534
|
+
"question": {
|
|
37535
|
+
"type": "string",
|
|
37536
|
+
"description": "Canonical text for the unique site question."
|
|
37537
|
+
},
|
|
37538
|
+
"type": {
|
|
37539
|
+
"$ref": "#/components/schemas/SiteQuestionType"
|
|
37540
|
+
},
|
|
37541
|
+
"createdAt": {
|
|
37542
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
37543
|
+
},
|
|
37544
|
+
"stats": {
|
|
37545
|
+
"$ref": "#/components/schemas/SiteQuestionStats"
|
|
37546
|
+
},
|
|
37547
|
+
"urls": {
|
|
37548
|
+
"type": "object",
|
|
37549
|
+
"description": "URLs associated with the site question.",
|
|
37550
|
+
"properties": {
|
|
37551
|
+
"location": {
|
|
37552
|
+
"type": "string",
|
|
37553
|
+
"format": "uri",
|
|
37554
|
+
"description": "URL of the site question in the API."
|
|
37555
|
+
}
|
|
37556
|
+
},
|
|
37557
|
+
"required": [
|
|
37558
|
+
"location"
|
|
37559
|
+
]
|
|
36888
37560
|
}
|
|
36889
37561
|
},
|
|
36890
37562
|
"required": [
|
|
37563
|
+
"object",
|
|
37564
|
+
"id",
|
|
37565
|
+
"question",
|
|
36891
37566
|
"type",
|
|
36892
|
-
"
|
|
37567
|
+
"createdAt",
|
|
37568
|
+
"stats",
|
|
37569
|
+
"urls"
|
|
36893
37570
|
]
|
|
36894
37571
|
},
|
|
36895
|
-
"
|
|
36896
|
-
"type": "
|
|
36897
|
-
"description": "
|
|
36898
|
-
"
|
|
36899
|
-
"
|
|
36900
|
-
|
|
36901
|
-
|
|
36902
|
-
|
|
36903
|
-
"$ref": "#/components/schemas/SiteSectionGroupPointer"
|
|
36904
|
-
}
|
|
36905
|
-
}
|
|
37572
|
+
"SiteQuestionAnswerResolution": {
|
|
37573
|
+
"type": "string",
|
|
37574
|
+
"description": "Whether the response answered the question.",
|
|
37575
|
+
"enum": [
|
|
37576
|
+
"no",
|
|
37577
|
+
"partially",
|
|
37578
|
+
"yes"
|
|
37579
|
+
]
|
|
36906
37580
|
},
|
|
36907
|
-
"
|
|
37581
|
+
"SiteQuestionAnswerConfidence": {
|
|
37582
|
+
"type": "string",
|
|
37583
|
+
"description": "Confidence in whether the response answered the question.",
|
|
37584
|
+
"enum": [
|
|
37585
|
+
"low",
|
|
37586
|
+
"medium",
|
|
37587
|
+
"high"
|
|
37588
|
+
]
|
|
37589
|
+
},
|
|
37590
|
+
"SiteQuestionAnswerRelevance": {
|
|
37591
|
+
"type": "string",
|
|
37592
|
+
"description": "Relevance classification of the user question.",
|
|
37593
|
+
"enum": [
|
|
37594
|
+
"relevant",
|
|
37595
|
+
"spam",
|
|
37596
|
+
"off-topic",
|
|
37597
|
+
"unclear"
|
|
37598
|
+
]
|
|
37599
|
+
},
|
|
37600
|
+
"SiteInsightsSession": {
|
|
36908
37601
|
"type": "object",
|
|
37602
|
+
"description": "Identifiers for a GitBook site session, used for analytics and adaptive content.",
|
|
36909
37603
|
"properties": {
|
|
36910
|
-
"
|
|
37604
|
+
"visitorId": {
|
|
36911
37605
|
"type": "string",
|
|
36912
|
-
"
|
|
36913
|
-
"site-section"
|
|
36914
|
-
]
|
|
37606
|
+
"description": "GitBook's unique identifier of the visitor."
|
|
36915
37607
|
},
|
|
36916
|
-
"
|
|
37608
|
+
"sessionId": {
|
|
36917
37609
|
"type": "string",
|
|
36918
|
-
"description": "
|
|
37610
|
+
"description": "GitBook's unique identifier of the visitor's session."
|
|
36919
37611
|
}
|
|
36920
37612
|
},
|
|
36921
37613
|
"required": [
|
|
36922
|
-
"
|
|
36923
|
-
"
|
|
37614
|
+
"visitorId",
|
|
37615
|
+
"sessionId"
|
|
36924
37616
|
]
|
|
36925
37617
|
},
|
|
36926
|
-
"
|
|
36927
|
-
"type": "object",
|
|
36928
|
-
"description": "Position at which to move the site section to.",
|
|
36929
|
-
"properties": {
|
|
36930
|
-
"before": {
|
|
36931
|
-
"$ref": "#/components/schemas/SiteSectionPointer"
|
|
36932
|
-
},
|
|
36933
|
-
"after": {
|
|
36934
|
-
"$ref": "#/components/schemas/SiteSectionPointer"
|
|
36935
|
-
}
|
|
36936
|
-
}
|
|
36937
|
-
},
|
|
36938
|
-
"SiteSpacePointer": {
|
|
37618
|
+
"SiteQuestionAnswer": {
|
|
36939
37619
|
"type": "object",
|
|
36940
37620
|
"properties": {
|
|
36941
|
-
"
|
|
37621
|
+
"object": {
|
|
36942
37622
|
"type": "string",
|
|
36943
37623
|
"enum": [
|
|
36944
|
-
"site-
|
|
37624
|
+
"site-question-answer"
|
|
36945
37625
|
]
|
|
36946
37626
|
},
|
|
36947
|
-
"
|
|
37627
|
+
"id": {
|
|
36948
37628
|
"type": "string",
|
|
36949
|
-
"description": "
|
|
36950
|
-
}
|
|
36951
|
-
},
|
|
36952
|
-
"required": [
|
|
36953
|
-
"type",
|
|
36954
|
-
"siteSpace"
|
|
36955
|
-
]
|
|
36956
|
-
},
|
|
36957
|
-
"SiteSpaceMovePosition": {
|
|
36958
|
-
"type": "object",
|
|
36959
|
-
"description": "Position at which to move the site space to.",
|
|
36960
|
-
"properties": {
|
|
36961
|
-
"before": {
|
|
36962
|
-
"$ref": "#/components/schemas/SiteSpacePointer"
|
|
37629
|
+
"description": "The ID of the site question answer."
|
|
36963
37630
|
},
|
|
36964
|
-
"
|
|
36965
|
-
"$ref": "#/components/schemas/SiteSpacePointer"
|
|
36966
|
-
}
|
|
36967
|
-
}
|
|
36968
|
-
},
|
|
36969
|
-
"InviteSiteUsersAndTeams": {
|
|
36970
|
-
"type": "object",
|
|
36971
|
-
"properties": {
|
|
36972
|
-
"role": {
|
|
36973
|
-
"description": "Role to set.",
|
|
36974
|
-
"$ref": "#/components/schemas/MemberRole"
|
|
36975
|
-
}
|
|
36976
|
-
},
|
|
36977
|
-
"anyOf": [
|
|
36978
|
-
{
|
|
37631
|
+
"question": {
|
|
36979
37632
|
"type": "object",
|
|
36980
37633
|
"properties": {
|
|
36981
|
-
"
|
|
36982
|
-
"type": "
|
|
36983
|
-
"
|
|
36984
|
-
|
|
36985
|
-
|
|
36986
|
-
|
|
36987
|
-
}
|
|
37634
|
+
"id": {
|
|
37635
|
+
"type": "string",
|
|
37636
|
+
"description": "The ID of the parent site question."
|
|
37637
|
+
},
|
|
37638
|
+
"type": {
|
|
37639
|
+
"$ref": "#/components/schemas/SiteQuestionType"
|
|
36988
37640
|
}
|
|
36989
37641
|
},
|
|
36990
37642
|
"required": [
|
|
36991
|
-
"
|
|
37643
|
+
"id",
|
|
37644
|
+
"type"
|
|
36992
37645
|
]
|
|
36993
37646
|
},
|
|
36994
|
-
{
|
|
37647
|
+
"topics": {
|
|
37648
|
+
"type": "array",
|
|
37649
|
+
"description": "The IDs of the associated site topics.",
|
|
37650
|
+
"items": {
|
|
37651
|
+
"type": "string"
|
|
37652
|
+
}
|
|
37653
|
+
},
|
|
37654
|
+
"input": {
|
|
36995
37655
|
"type": "object",
|
|
36996
37656
|
"properties": {
|
|
36997
|
-
"
|
|
36998
|
-
"type": "
|
|
36999
|
-
"
|
|
37000
|
-
|
|
37001
|
-
|
|
37002
|
-
|
|
37003
|
-
|
|
37657
|
+
"text": {
|
|
37658
|
+
"type": "string",
|
|
37659
|
+
"description": "Normalized question text for this answer."
|
|
37660
|
+
},
|
|
37661
|
+
"raw": {
|
|
37662
|
+
"type": "string",
|
|
37663
|
+
"description": "Raw question text as asked by the user."
|
|
37664
|
+
}
|
|
37665
|
+
}
|
|
37666
|
+
},
|
|
37667
|
+
"thread": {
|
|
37668
|
+
"type": "object",
|
|
37669
|
+
"required": [
|
|
37670
|
+
"id",
|
|
37671
|
+
"previous"
|
|
37672
|
+
],
|
|
37673
|
+
"properties": {
|
|
37674
|
+
"id": {
|
|
37675
|
+
"type": "string",
|
|
37676
|
+
"description": "The ID of the thread this answer belongs to."
|
|
37677
|
+
},
|
|
37678
|
+
"previous": {
|
|
37679
|
+
"type": "string",
|
|
37680
|
+
"description": "ID of the previous answer in the same thread."
|
|
37681
|
+
}
|
|
37682
|
+
}
|
|
37683
|
+
},
|
|
37684
|
+
"session": {
|
|
37685
|
+
"$ref": "#/components/schemas/SiteInsightsSession"
|
|
37686
|
+
},
|
|
37687
|
+
"feedback": {
|
|
37688
|
+
"type": "object",
|
|
37689
|
+
"required": [
|
|
37690
|
+
"rating"
|
|
37691
|
+
],
|
|
37692
|
+
"properties": {
|
|
37693
|
+
"rating": {
|
|
37694
|
+
"type": "integer",
|
|
37695
|
+
"enum": [
|
|
37696
|
+
-1,
|
|
37697
|
+
1
|
|
37698
|
+
],
|
|
37699
|
+
"description": "Feedback rating provided by the user."
|
|
37700
|
+
}
|
|
37701
|
+
}
|
|
37702
|
+
},
|
|
37703
|
+
"responseId": {
|
|
37704
|
+
"type": "string",
|
|
37705
|
+
"description": "The response identifier for this answer."
|
|
37706
|
+
},
|
|
37707
|
+
"language": {
|
|
37708
|
+
"type": "string",
|
|
37709
|
+
"description": "ISO language code of the question."
|
|
37710
|
+
},
|
|
37711
|
+
"answered": {
|
|
37712
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerResolution"
|
|
37713
|
+
},
|
|
37714
|
+
"confidence": {
|
|
37715
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerConfidence"
|
|
37716
|
+
},
|
|
37717
|
+
"relevance": {
|
|
37718
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
37719
|
+
},
|
|
37720
|
+
"createdAt": {
|
|
37721
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
37722
|
+
},
|
|
37723
|
+
"updatedAt": {
|
|
37724
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
37725
|
+
},
|
|
37726
|
+
"urls": {
|
|
37727
|
+
"type": "object",
|
|
37728
|
+
"description": "URLs associated with the site question answer.",
|
|
37729
|
+
"properties": {
|
|
37730
|
+
"location": {
|
|
37731
|
+
"type": "string",
|
|
37732
|
+
"format": "uri",
|
|
37733
|
+
"description": "URL of the site question answer in the API."
|
|
37004
37734
|
}
|
|
37005
37735
|
},
|
|
37006
37736
|
"required": [
|
|
37007
|
-
"
|
|
37737
|
+
"location"
|
|
37008
37738
|
]
|
|
37009
37739
|
}
|
|
37010
|
-
|
|
37740
|
+
},
|
|
37011
37741
|
"required": [
|
|
37012
|
-
"
|
|
37742
|
+
"object",
|
|
37743
|
+
"id",
|
|
37744
|
+
"question",
|
|
37745
|
+
"topics",
|
|
37746
|
+
"input",
|
|
37747
|
+
"responseId",
|
|
37748
|
+
"language",
|
|
37749
|
+
"answered",
|
|
37750
|
+
"confidence",
|
|
37751
|
+
"relevance",
|
|
37752
|
+
"createdAt",
|
|
37753
|
+
"urls"
|
|
37013
37754
|
]
|
|
37014
37755
|
},
|
|
37015
|
-
"
|
|
37756
|
+
"AIMessageRole": {
|
|
37757
|
+
"type": "string",
|
|
37758
|
+
"enum": [
|
|
37759
|
+
"user",
|
|
37760
|
+
"assistant",
|
|
37761
|
+
"developer"
|
|
37762
|
+
]
|
|
37763
|
+
},
|
|
37764
|
+
"AIToolCallGetPageContent": {
|
|
37016
37765
|
"type": "object",
|
|
37017
37766
|
"properties": {
|
|
37018
|
-
"
|
|
37767
|
+
"tool": {
|
|
37019
37768
|
"type": "string",
|
|
37020
37769
|
"enum": [
|
|
37021
|
-
"
|
|
37770
|
+
"getPageContent"
|
|
37022
37771
|
]
|
|
37023
37772
|
},
|
|
37024
|
-
"
|
|
37773
|
+
"spaceId": {
|
|
37025
37774
|
"type": "string",
|
|
37026
|
-
"description": "
|
|
37027
|
-
}
|
|
37028
|
-
},
|
|
37029
|
-
"required": [
|
|
37030
|
-
"type",
|
|
37031
|
-
"organization"
|
|
37032
|
-
]
|
|
37033
|
-
},
|
|
37034
|
-
"UserSitePermission": {
|
|
37035
|
-
"type": "object",
|
|
37036
|
-
"description": "Permission of a user in a site.",
|
|
37037
|
-
"properties": {
|
|
37038
|
-
"permission": {
|
|
37039
|
-
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
37775
|
+
"description": "The ID of the space being accessed."
|
|
37040
37776
|
},
|
|
37041
|
-
"
|
|
37042
|
-
"
|
|
37777
|
+
"revisionId": {
|
|
37778
|
+
"type": "string",
|
|
37779
|
+
"description": "The ID of the revision within which the page content is being fetched."
|
|
37043
37780
|
},
|
|
37044
|
-
"
|
|
37045
|
-
"
|
|
37046
|
-
"oneOf": [
|
|
37047
|
-
{
|
|
37048
|
-
"$ref": "#/components/schemas/SpacePointer"
|
|
37049
|
-
},
|
|
37050
|
-
{
|
|
37051
|
-
"$ref": "#/components/schemas/OrganizationPointer"
|
|
37052
|
-
}
|
|
37053
|
-
]
|
|
37781
|
+
"page": {
|
|
37782
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
37054
37783
|
}
|
|
37055
37784
|
},
|
|
37056
37785
|
"required": [
|
|
37057
|
-
"
|
|
37058
|
-
"
|
|
37059
|
-
"
|
|
37786
|
+
"tool",
|
|
37787
|
+
"spaceId",
|
|
37788
|
+
"page",
|
|
37789
|
+
"revisionId"
|
|
37060
37790
|
]
|
|
37061
37791
|
},
|
|
37062
|
-
"
|
|
37792
|
+
"AIToolCallGetPages": {
|
|
37063
37793
|
"type": "object",
|
|
37064
|
-
"description": "Permission override of a user in a site.",
|
|
37065
37794
|
"properties": {
|
|
37066
|
-
"
|
|
37067
|
-
"
|
|
37795
|
+
"tool": {
|
|
37796
|
+
"type": "string",
|
|
37797
|
+
"enum": [
|
|
37798
|
+
"getPages"
|
|
37799
|
+
]
|
|
37068
37800
|
},
|
|
37069
|
-
"
|
|
37070
|
-
"
|
|
37801
|
+
"spaceId": {
|
|
37802
|
+
"type": "string",
|
|
37803
|
+
"description": "The ID of the space being accessed."
|
|
37804
|
+
},
|
|
37805
|
+
"revisionId": {
|
|
37806
|
+
"type": "string",
|
|
37807
|
+
"description": "The revision ID of the space."
|
|
37071
37808
|
}
|
|
37072
37809
|
},
|
|
37073
37810
|
"required": [
|
|
37074
|
-
"
|
|
37075
|
-
"
|
|
37811
|
+
"tool",
|
|
37812
|
+
"spaceId",
|
|
37813
|
+
"revisionId"
|
|
37076
37814
|
]
|
|
37077
37815
|
},
|
|
37078
|
-
"
|
|
37816
|
+
"AIToolCallGetReusableContents": {
|
|
37079
37817
|
"type": "object",
|
|
37080
|
-
"description": "Permission override of a team in a site.",
|
|
37081
37818
|
"properties": {
|
|
37082
|
-
"
|
|
37083
|
-
"
|
|
37819
|
+
"tool": {
|
|
37820
|
+
"type": "string",
|
|
37821
|
+
"enum": [
|
|
37822
|
+
"getReusableContents"
|
|
37823
|
+
]
|
|
37084
37824
|
},
|
|
37085
|
-
"
|
|
37086
|
-
"
|
|
37825
|
+
"spaceId": {
|
|
37826
|
+
"type": "string",
|
|
37827
|
+
"description": "The ID of the space being accessed."
|
|
37828
|
+
},
|
|
37829
|
+
"revisionId": {
|
|
37830
|
+
"type": "string",
|
|
37831
|
+
"description": "The revision ID of the space."
|
|
37087
37832
|
}
|
|
37088
37833
|
},
|
|
37089
37834
|
"required": [
|
|
37090
|
-
"
|
|
37091
|
-
"
|
|
37835
|
+
"tool",
|
|
37836
|
+
"spaceId",
|
|
37837
|
+
"revisionId"
|
|
37092
37838
|
]
|
|
37093
37839
|
},
|
|
37094
|
-
"
|
|
37095
|
-
"type": "object",
|
|
37096
|
-
"description": "Context about the current user sending a message.",
|
|
37097
|
-
"properties": {
|
|
37098
|
-
"location": {
|
|
37099
|
-
"type": "object",
|
|
37100
|
-
"properties": {
|
|
37101
|
-
"spaceId": {
|
|
37102
|
-
"type": "string",
|
|
37103
|
-
"description": "ID of the current space."
|
|
37104
|
-
},
|
|
37105
|
-
"pageId": {
|
|
37106
|
-
"type": "string",
|
|
37107
|
-
"description": "ID of the current page."
|
|
37108
|
-
}
|
|
37109
|
-
},
|
|
37110
|
-
"required": [
|
|
37111
|
-
"spaceId",
|
|
37112
|
-
"pageId"
|
|
37113
|
-
]
|
|
37114
|
-
}
|
|
37115
|
-
}
|
|
37116
|
-
},
|
|
37117
|
-
"AIAttachmentImage": {
|
|
37840
|
+
"AIToolCallSearchResultPage": {
|
|
37118
37841
|
"type": "object",
|
|
37842
|
+
"title": "Page result",
|
|
37843
|
+
"description": "Result of a search matching a page.",
|
|
37119
37844
|
"properties": {
|
|
37120
37845
|
"type": {
|
|
37121
37846
|
"type": "string",
|
|
37122
37847
|
"enum": [
|
|
37123
|
-
"
|
|
37848
|
+
"page"
|
|
37124
37849
|
]
|
|
37125
37850
|
},
|
|
37126
|
-
"
|
|
37127
|
-
"
|
|
37851
|
+
"spaceId": {
|
|
37852
|
+
"type": "string",
|
|
37853
|
+
"description": "The ID of the space"
|
|
37854
|
+
},
|
|
37855
|
+
"pageId": {
|
|
37856
|
+
"type": "string",
|
|
37857
|
+
"description": "The ID of the page"
|
|
37858
|
+
},
|
|
37859
|
+
"revisionId": {
|
|
37860
|
+
"type": "string",
|
|
37861
|
+
"description": "The revision ID of the result"
|
|
37862
|
+
},
|
|
37863
|
+
"anchor": {
|
|
37864
|
+
"type": "string",
|
|
37865
|
+
"description": "The anchor of the result"
|
|
37866
|
+
},
|
|
37867
|
+
"title": {
|
|
37868
|
+
"type": "string",
|
|
37869
|
+
"description": "The title of the result"
|
|
37870
|
+
},
|
|
37871
|
+
"description": {
|
|
37872
|
+
"type": "string",
|
|
37873
|
+
"description": "The description of the result"
|
|
37128
37874
|
}
|
|
37129
37875
|
},
|
|
37130
37876
|
"required": [
|
|
37131
37877
|
"type",
|
|
37132
|
-
"
|
|
37878
|
+
"spaceId",
|
|
37879
|
+
"pageId",
|
|
37880
|
+
"revisionId",
|
|
37881
|
+
"title"
|
|
37133
37882
|
]
|
|
37134
37883
|
},
|
|
37135
|
-
"
|
|
37884
|
+
"AIToolCallSearchResultRecord": {
|
|
37136
37885
|
"type": "object",
|
|
37886
|
+
"title": "Site context record result",
|
|
37887
|
+
"description": "Result of a search matching a site context record.",
|
|
37137
37888
|
"properties": {
|
|
37138
37889
|
"type": {
|
|
37139
37890
|
"type": "string",
|
|
37140
37891
|
"enum": [
|
|
37141
|
-
"
|
|
37892
|
+
"record"
|
|
37142
37893
|
]
|
|
37143
37894
|
},
|
|
37144
|
-
"
|
|
37145
|
-
"
|
|
37895
|
+
"siteId": {
|
|
37896
|
+
"type": "string",
|
|
37897
|
+
"description": "The ID of the site owning the context record"
|
|
37146
37898
|
},
|
|
37147
|
-
"
|
|
37899
|
+
"recordId": {
|
|
37148
37900
|
"type": "string",
|
|
37149
|
-
"description": "
|
|
37901
|
+
"description": "The ID of the context record"
|
|
37150
37902
|
},
|
|
37151
|
-
"
|
|
37903
|
+
"title": {
|
|
37152
37904
|
"type": "string",
|
|
37153
|
-
"
|
|
37154
|
-
|
|
37155
|
-
|
|
37905
|
+
"description": "The title of the record"
|
|
37906
|
+
},
|
|
37907
|
+
"description": {
|
|
37908
|
+
"type": "string",
|
|
37909
|
+
"description": "The description of the record"
|
|
37910
|
+
},
|
|
37911
|
+
"url": {
|
|
37912
|
+
"type": "string",
|
|
37913
|
+
"format": "uri",
|
|
37914
|
+
"description": "URL of the record in its original source"
|
|
37156
37915
|
}
|
|
37157
37916
|
},
|
|
37158
37917
|
"required": [
|
|
37159
37918
|
"type",
|
|
37160
|
-
"
|
|
37161
|
-
"
|
|
37162
|
-
"
|
|
37919
|
+
"siteId",
|
|
37920
|
+
"recordId",
|
|
37921
|
+
"title"
|
|
37163
37922
|
]
|
|
37164
37923
|
},
|
|
37165
|
-
"
|
|
37924
|
+
"AIToolCallSearchResult": {
|
|
37925
|
+
"description": "Result of a search",
|
|
37166
37926
|
"oneOf": [
|
|
37167
37927
|
{
|
|
37168
|
-
"$ref": "#/components/schemas/
|
|
37928
|
+
"$ref": "#/components/schemas/AIToolCallSearchResultPage"
|
|
37169
37929
|
},
|
|
37170
37930
|
{
|
|
37171
|
-
"$ref": "#/components/schemas/
|
|
37931
|
+
"$ref": "#/components/schemas/AIToolCallSearchResultRecord"
|
|
37172
37932
|
}
|
|
37173
|
-
]
|
|
37933
|
+
],
|
|
37934
|
+
"discriminator": {
|
|
37935
|
+
"propertyName": "type"
|
|
37936
|
+
}
|
|
37174
37937
|
},
|
|
37175
|
-
"
|
|
37938
|
+
"AIToolCallSearch": {
|
|
37176
37939
|
"type": "object",
|
|
37177
|
-
"description": "
|
|
37940
|
+
"description": "Tool to search for content",
|
|
37178
37941
|
"properties": {
|
|
37179
|
-
"
|
|
37942
|
+
"tool": {
|
|
37180
37943
|
"type": "string",
|
|
37181
37944
|
"enum": [
|
|
37182
|
-
"
|
|
37183
|
-
]
|
|
37184
|
-
},
|
|
37185
|
-
"content": {
|
|
37186
|
-
"oneOf": [
|
|
37187
|
-
{
|
|
37188
|
-
"type": "string",
|
|
37189
|
-
"maxLength": 2048
|
|
37190
|
-
},
|
|
37191
|
-
{
|
|
37192
|
-
"$ref": "#/components/schemas/JSONDocument"
|
|
37193
|
-
}
|
|
37945
|
+
"search"
|
|
37194
37946
|
]
|
|
37195
37947
|
},
|
|
37196
|
-
"
|
|
37197
|
-
"
|
|
37948
|
+
"query": {
|
|
37949
|
+
"type": "string",
|
|
37950
|
+
"description": "The query that has been searched for."
|
|
37198
37951
|
},
|
|
37199
|
-
"
|
|
37952
|
+
"results": {
|
|
37200
37953
|
"type": "array",
|
|
37201
37954
|
"items": {
|
|
37202
|
-
"$ref": "#/components/schemas/
|
|
37955
|
+
"$ref": "#/components/schemas/AIToolCallSearchResult"
|
|
37203
37956
|
}
|
|
37204
37957
|
}
|
|
37205
37958
|
},
|
|
37206
37959
|
"required": [
|
|
37207
|
-
"
|
|
37208
|
-
"
|
|
37209
|
-
|
|
37210
|
-
},
|
|
37211
|
-
"AIModel": {
|
|
37212
|
-
"type": "string",
|
|
37213
|
-
"enum": [
|
|
37214
|
-
"fast",
|
|
37215
|
-
"reasoning-low",
|
|
37216
|
-
"reasoning-medium",
|
|
37217
|
-
"reasoning-high"
|
|
37960
|
+
"tool",
|
|
37961
|
+
"query",
|
|
37962
|
+
"results"
|
|
37218
37963
|
]
|
|
37219
37964
|
},
|
|
37220
|
-
"
|
|
37965
|
+
"AIToolCallEditPage": {
|
|
37221
37966
|
"type": "object",
|
|
37222
|
-
"description": "Description of a tool that can be called from an AI agent.",
|
|
37223
37967
|
"properties": {
|
|
37224
|
-
"
|
|
37225
|
-
"type": "string",
|
|
37226
|
-
"description": "The name of the tool. It should be unique within the agent."
|
|
37227
|
-
},
|
|
37228
|
-
"description": {
|
|
37968
|
+
"tool": {
|
|
37229
37969
|
"type": "string",
|
|
37230
|
-
"
|
|
37231
|
-
|
|
37232
|
-
"inputSchema": {
|
|
37233
|
-
"type": "object",
|
|
37234
|
-
"description": "JSON schema describing the input of the tool.",
|
|
37235
|
-
"properties": {
|
|
37236
|
-
"type": {
|
|
37237
|
-
"type": "string",
|
|
37238
|
-
"enum": [
|
|
37239
|
-
"object"
|
|
37240
|
-
]
|
|
37241
|
-
},
|
|
37242
|
-
"properties": {
|
|
37243
|
-
"type": "object",
|
|
37244
|
-
"additionalProperties": {
|
|
37245
|
-
"type": "object",
|
|
37246
|
-
"properties": {
|
|
37247
|
-
"type": {
|
|
37248
|
-
"type": "string",
|
|
37249
|
-
"enum": [
|
|
37250
|
-
"string",
|
|
37251
|
-
"number",
|
|
37252
|
-
"boolean",
|
|
37253
|
-
"array",
|
|
37254
|
-
"object"
|
|
37255
|
-
]
|
|
37256
|
-
},
|
|
37257
|
-
"description": {
|
|
37258
|
-
"type": "string",
|
|
37259
|
-
"description": "Description of the property."
|
|
37260
|
-
}
|
|
37261
|
-
},
|
|
37262
|
-
"required": [
|
|
37263
|
-
"type",
|
|
37264
|
-
"description"
|
|
37265
|
-
],
|
|
37266
|
-
"additionalProperties": true
|
|
37267
|
-
}
|
|
37268
|
-
}
|
|
37269
|
-
},
|
|
37270
|
-
"required": [
|
|
37271
|
-
"type",
|
|
37272
|
-
"properties"
|
|
37970
|
+
"enum": [
|
|
37971
|
+
"editPage"
|
|
37273
37972
|
]
|
|
37274
|
-
}
|
|
37275
|
-
},
|
|
37276
|
-
"required": [
|
|
37277
|
-
"name",
|
|
37278
|
-
"description"
|
|
37279
|
-
]
|
|
37280
|
-
},
|
|
37281
|
-
"AIToolCallOtherSummary": {
|
|
37282
|
-
"type": "object",
|
|
37283
|
-
"description": "Summary of a generic tool call.",
|
|
37284
|
-
"properties": {
|
|
37285
|
-
"icon": {
|
|
37286
|
-
"$ref": "#/components/schemas/Icon"
|
|
37287
37973
|
},
|
|
37288
|
-
"
|
|
37974
|
+
"spaceId": {
|
|
37289
37975
|
"type": "string",
|
|
37290
|
-
"description": "
|
|
37976
|
+
"description": "The ID of the space being edited."
|
|
37977
|
+
},
|
|
37978
|
+
"page": {
|
|
37979
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
37291
37980
|
}
|
|
37292
37981
|
},
|
|
37293
37982
|
"required": [
|
|
37294
|
-
"
|
|
37295
|
-
"
|
|
37983
|
+
"tool",
|
|
37984
|
+
"spaceId",
|
|
37985
|
+
"page"
|
|
37296
37986
|
]
|
|
37297
37987
|
},
|
|
37298
|
-
"
|
|
37988
|
+
"AIToolCallCreatePage": {
|
|
37299
37989
|
"type": "object",
|
|
37300
|
-
"description": "Result of a tool call.",
|
|
37301
|
-
"required": [
|
|
37302
|
-
"tool",
|
|
37303
|
-
"toolCallId",
|
|
37304
|
-
"output"
|
|
37305
|
-
],
|
|
37306
37990
|
"properties": {
|
|
37307
37991
|
"tool": {
|
|
37308
37992
|
"type": "string",
|
|
37309
|
-
"
|
|
37310
|
-
|
|
37311
|
-
"toolCallId": {
|
|
37312
|
-
"type": "string",
|
|
37313
|
-
"description": "The ID of the tool call."
|
|
37314
|
-
},
|
|
37315
|
-
"output": {
|
|
37316
|
-
"type": "object",
|
|
37317
|
-
"description": "The output to the tool call."
|
|
37318
|
-
},
|
|
37319
|
-
"summary": {
|
|
37320
|
-
"$ref": "#/components/schemas/AIToolCallOtherSummary"
|
|
37321
|
-
}
|
|
37322
|
-
}
|
|
37323
|
-
},
|
|
37324
|
-
"AIMessageTask": {
|
|
37325
|
-
"oneOf": [
|
|
37326
|
-
{
|
|
37327
|
-
"type": "object",
|
|
37328
|
-
"description": "When the agent is responding to a comment.",
|
|
37329
|
-
"properties": {
|
|
37330
|
-
"type": {
|
|
37331
|
-
"type": "string",
|
|
37332
|
-
"enum": [
|
|
37333
|
-
"respond_to_comment"
|
|
37334
|
-
]
|
|
37335
|
-
},
|
|
37336
|
-
"spaceId": {
|
|
37337
|
-
"type": "string",
|
|
37338
|
-
"description": "The ID of the space to respond to the comment in."
|
|
37339
|
-
},
|
|
37340
|
-
"changeRequestId": {
|
|
37341
|
-
"type": "string",
|
|
37342
|
-
"description": "The ID of the change request to respond to the comment in."
|
|
37343
|
-
},
|
|
37344
|
-
"commentId": {
|
|
37345
|
-
"type": "string",
|
|
37346
|
-
"description": "The ID of the comment to respond to."
|
|
37347
|
-
}
|
|
37348
|
-
},
|
|
37349
|
-
"required": [
|
|
37350
|
-
"type",
|
|
37351
|
-
"spaceId",
|
|
37352
|
-
"commentId"
|
|
37993
|
+
"enum": [
|
|
37994
|
+
"createPage"
|
|
37353
37995
|
]
|
|
37354
37996
|
},
|
|
37355
|
-
{
|
|
37356
|
-
"type": "
|
|
37357
|
-
"description": "
|
|
37358
|
-
"properties": {
|
|
37359
|
-
"type": {
|
|
37360
|
-
"type": "string",
|
|
37361
|
-
"enum": [
|
|
37362
|
-
"review_change_request"
|
|
37363
|
-
]
|
|
37364
|
-
},
|
|
37365
|
-
"spaceId": {
|
|
37366
|
-
"type": "string",
|
|
37367
|
-
"description": "The ID of the space the change request is in."
|
|
37368
|
-
},
|
|
37369
|
-
"changeRequestId": {
|
|
37370
|
-
"type": "string",
|
|
37371
|
-
"description": "The ID of the change request to review."
|
|
37372
|
-
}
|
|
37373
|
-
},
|
|
37374
|
-
"required": [
|
|
37375
|
-
"type",
|
|
37376
|
-
"spaceId",
|
|
37377
|
-
"changeRequestId"
|
|
37378
|
-
]
|
|
37997
|
+
"spaceId": {
|
|
37998
|
+
"type": "string",
|
|
37999
|
+
"description": "The ID of the space being edited."
|
|
37379
38000
|
},
|
|
37380
|
-
{
|
|
37381
|
-
"
|
|
37382
|
-
"description": "When the agent is implementing a task in a change request.",
|
|
37383
|
-
"properties": {
|
|
37384
|
-
"type": {
|
|
37385
|
-
"type": "string",
|
|
37386
|
-
"enum": [
|
|
37387
|
-
"implement_change_request"
|
|
37388
|
-
]
|
|
37389
|
-
},
|
|
37390
|
-
"spaceId": {
|
|
37391
|
-
"type": "string",
|
|
37392
|
-
"description": "The ID of the space the change request is in."
|
|
37393
|
-
},
|
|
37394
|
-
"changeRequestId": {
|
|
37395
|
-
"type": "string",
|
|
37396
|
-
"description": "The ID of the change request to implement the task in."
|
|
37397
|
-
}
|
|
37398
|
-
},
|
|
37399
|
-
"required": [
|
|
37400
|
-
"type",
|
|
37401
|
-
"spaceId",
|
|
37402
|
-
"changeRequestId"
|
|
37403
|
-
]
|
|
38001
|
+
"page": {
|
|
38002
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
37404
38003
|
}
|
|
38004
|
+
},
|
|
38005
|
+
"required": [
|
|
38006
|
+
"tool",
|
|
38007
|
+
"spaceId",
|
|
38008
|
+
"page"
|
|
37405
38009
|
]
|
|
37406
38010
|
},
|
|
37407
|
-
"
|
|
38011
|
+
"AIToolCallDeletePage": {
|
|
37408
38012
|
"type": "object",
|
|
37409
|
-
"description": "Message emitted by the server to indicate the start of the AI response.\n",
|
|
37410
38013
|
"properties": {
|
|
37411
|
-
"
|
|
38014
|
+
"tool": {
|
|
37412
38015
|
"type": "string",
|
|
37413
38016
|
"enum": [
|
|
37414
|
-
"
|
|
38017
|
+
"deletePage"
|
|
37415
38018
|
]
|
|
37416
38019
|
},
|
|
37417
|
-
"
|
|
38020
|
+
"spaceId": {
|
|
37418
38021
|
"type": "string",
|
|
37419
|
-
"description": "The ID of the
|
|
38022
|
+
"description": "The ID of the space being edited."
|
|
37420
38023
|
},
|
|
37421
|
-
"
|
|
37422
|
-
"$ref": "#/components/schemas/
|
|
38024
|
+
"page": {
|
|
38025
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
37423
38026
|
}
|
|
37424
38027
|
},
|
|
37425
38028
|
"required": [
|
|
37426
|
-
"
|
|
37427
|
-
"
|
|
38029
|
+
"tool",
|
|
38030
|
+
"spaceId",
|
|
38031
|
+
"page"
|
|
37428
38032
|
]
|
|
37429
38033
|
},
|
|
37430
|
-
"
|
|
37431
|
-
"description": "The response that generated this message.",
|
|
38034
|
+
"AIToolCallRenamePage": {
|
|
37432
38035
|
"type": "object",
|
|
37433
38036
|
"properties": {
|
|
37434
|
-
"
|
|
38037
|
+
"tool": {
|
|
37435
38038
|
"type": "string",
|
|
37436
|
-
"description": "The reason the response was stopped. If not defined, the response finished normally.",
|
|
37437
38039
|
"enum": [
|
|
37438
|
-
"
|
|
38040
|
+
"renamePage"
|
|
37439
38041
|
]
|
|
37440
38042
|
},
|
|
37441
|
-
"
|
|
38043
|
+
"spaceId": {
|
|
37442
38044
|
"type": "string",
|
|
37443
|
-
"description": "The ID of the
|
|
38045
|
+
"description": "The ID of the space being edited."
|
|
37444
38046
|
},
|
|
37445
|
-
"
|
|
38047
|
+
"page": {
|
|
38048
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
38049
|
+
},
|
|
38050
|
+
"title": {
|
|
37446
38051
|
"type": "string",
|
|
37447
|
-
"description": "The
|
|
38052
|
+
"description": "The new title of the page."
|
|
37448
38053
|
}
|
|
37449
|
-
}
|
|
38054
|
+
},
|
|
38055
|
+
"required": [
|
|
38056
|
+
"tool",
|
|
38057
|
+
"spaceId",
|
|
38058
|
+
"page",
|
|
38059
|
+
"title"
|
|
38060
|
+
]
|
|
37450
38061
|
},
|
|
37451
|
-
"
|
|
38062
|
+
"AIToolCallMovePage": {
|
|
37452
38063
|
"type": "object",
|
|
37453
|
-
"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",
|
|
37454
38064
|
"properties": {
|
|
37455
|
-
"
|
|
38065
|
+
"tool": {
|
|
37456
38066
|
"type": "string",
|
|
37457
38067
|
"enum": [
|
|
37458
|
-
"
|
|
38068
|
+
"movePage"
|
|
37459
38069
|
]
|
|
37460
38070
|
},
|
|
37461
|
-
"
|
|
38071
|
+
"spaceId": {
|
|
37462
38072
|
"type": "string",
|
|
37463
|
-
"description": "The ID of the
|
|
38073
|
+
"description": "The ID of the space being edited."
|
|
37464
38074
|
},
|
|
37465
|
-
"
|
|
37466
|
-
"
|
|
37467
|
-
"deprecated": true,
|
|
37468
|
-
"description": "The ID of the response"
|
|
38075
|
+
"page": {
|
|
38076
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
37469
38077
|
},
|
|
37470
|
-
"
|
|
37471
|
-
"
|
|
37472
|
-
|
|
38078
|
+
"to": {
|
|
38079
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
38080
|
+
},
|
|
38081
|
+
"moveType": {
|
|
38082
|
+
"type": "string",
|
|
38083
|
+
"description": "Indicates how the page was moved relative to the \"to\" page.\n- `within`: moved as the last child of the target page (or to the root when `to` is omitted)\n- `before`: moved directly before the target page\n- `after`: moved directly after the target page\n",
|
|
38084
|
+
"enum": [
|
|
38085
|
+
"within",
|
|
38086
|
+
"before",
|
|
38087
|
+
"after"
|
|
38088
|
+
]
|
|
37473
38089
|
}
|
|
37474
38090
|
},
|
|
37475
38091
|
"required": [
|
|
37476
|
-
"
|
|
37477
|
-
"
|
|
37478
|
-
"
|
|
38092
|
+
"tool",
|
|
38093
|
+
"spaceId",
|
|
38094
|
+
"page",
|
|
38095
|
+
"moveType"
|
|
37479
38096
|
]
|
|
37480
38097
|
},
|
|
37481
|
-
"
|
|
38098
|
+
"AIToolCallListModifiedPages": {
|
|
37482
38099
|
"type": "object",
|
|
37483
|
-
"description": "Message emitted by the server to indicate the latest block of the document. The block can either be a new block or an update to the previous block.\n",
|
|
37484
38100
|
"properties": {
|
|
37485
|
-
"
|
|
38101
|
+
"tool": {
|
|
37486
38102
|
"type": "string",
|
|
37487
38103
|
"enum": [
|
|
37488
|
-
"
|
|
37489
|
-
"response_reasoning"
|
|
38104
|
+
"listModifiedPages"
|
|
37490
38105
|
]
|
|
37491
38106
|
},
|
|
37492
|
-
"
|
|
37493
|
-
"type": "string",
|
|
37494
|
-
"description": "The ID of the message that this event is composing.\n"
|
|
37495
|
-
},
|
|
37496
|
-
"stepIndex": {
|
|
37497
|
-
"type": "integer",
|
|
37498
|
-
"description": "The index of the step of the message that this event is composing.\n"
|
|
37499
|
-
},
|
|
37500
|
-
"operation": {
|
|
38107
|
+
"spaceId": {
|
|
37501
38108
|
"type": "string",
|
|
37502
|
-
"
|
|
37503
|
-
"insert",
|
|
37504
|
-
"update"
|
|
37505
|
-
]
|
|
37506
|
-
},
|
|
37507
|
-
"blocks": {
|
|
37508
|
-
"type": "array",
|
|
37509
|
-
"items": {
|
|
37510
|
-
"$ref": "#/components/schemas/DocumentBlocksTopLevels"
|
|
37511
|
-
}
|
|
38109
|
+
"description": "The ID of the space being accessed."
|
|
37512
38110
|
}
|
|
37513
38111
|
},
|
|
37514
38112
|
"required": [
|
|
37515
|
-
"
|
|
37516
|
-
"
|
|
37517
|
-
"stepIndex",
|
|
37518
|
-
"operation",
|
|
37519
|
-
"blocks"
|
|
38113
|
+
"tool",
|
|
38114
|
+
"spaceId"
|
|
37520
38115
|
]
|
|
37521
38116
|
},
|
|
37522
|
-
"
|
|
38117
|
+
"AIToolCallGetPageDiff": {
|
|
37523
38118
|
"type": "object",
|
|
37524
|
-
"description": "Message emitted by the server to indicate a chunk of the JSON object response.\n",
|
|
37525
38119
|
"properties": {
|
|
37526
|
-
"
|
|
38120
|
+
"tool": {
|
|
37527
38121
|
"type": "string",
|
|
37528
38122
|
"enum": [
|
|
37529
|
-
"
|
|
38123
|
+
"getPageDiff"
|
|
37530
38124
|
]
|
|
37531
38125
|
},
|
|
37532
|
-
"
|
|
38126
|
+
"spaceId": {
|
|
37533
38127
|
"type": "string",
|
|
37534
|
-
"description": "The ID of the
|
|
38128
|
+
"description": "The ID of the space being accessed."
|
|
37535
38129
|
},
|
|
37536
|
-
"
|
|
37537
|
-
"
|
|
37538
|
-
"description": "The chunk of the JSON object response"
|
|
38130
|
+
"page": {
|
|
38131
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
37539
38132
|
}
|
|
37540
38133
|
},
|
|
37541
38134
|
"required": [
|
|
37542
|
-
"
|
|
37543
|
-
"
|
|
37544
|
-
"
|
|
38135
|
+
"tool",
|
|
38136
|
+
"spaceId",
|
|
38137
|
+
"page"
|
|
37545
38138
|
]
|
|
37546
38139
|
},
|
|
37547
|
-
"
|
|
38140
|
+
"AIToolCallCreateReusableContent": {
|
|
37548
38141
|
"type": "object",
|
|
37549
38142
|
"properties": {
|
|
37550
38143
|
"tool": {
|
|
37551
38144
|
"type": "string",
|
|
37552
38145
|
"enum": [
|
|
37553
|
-
"
|
|
38146
|
+
"createReusableContent"
|
|
37554
38147
|
]
|
|
37555
38148
|
},
|
|
37556
38149
|
"spaceId": {
|
|
37557
38150
|
"type": "string",
|
|
37558
|
-
"description": "The ID of the space being
|
|
37559
|
-
},
|
|
37560
|
-
"revisionId": {
|
|
37561
|
-
"type": "string",
|
|
37562
|
-
"description": "The ID of the revision within which the page content is being fetched."
|
|
38151
|
+
"description": "The ID of the space being edited."
|
|
37563
38152
|
},
|
|
37564
|
-
"
|
|
37565
|
-
"$ref": "#/components/schemas/
|
|
38153
|
+
"reusableContent": {
|
|
38154
|
+
"$ref": "#/components/schemas/ChangedRevisionReusableContent"
|
|
37566
38155
|
}
|
|
37567
38156
|
},
|
|
37568
38157
|
"required": [
|
|
37569
38158
|
"tool",
|
|
37570
38159
|
"spaceId",
|
|
37571
|
-
"
|
|
37572
|
-
"revisionId"
|
|
38160
|
+
"reusableContent"
|
|
37573
38161
|
]
|
|
37574
38162
|
},
|
|
37575
|
-
"
|
|
38163
|
+
"AIToolCallEditReusableContent": {
|
|
37576
38164
|
"type": "object",
|
|
37577
38165
|
"properties": {
|
|
37578
38166
|
"tool": {
|
|
37579
38167
|
"type": "string",
|
|
37580
38168
|
"enum": [
|
|
37581
|
-
"
|
|
38169
|
+
"editReusableContent"
|
|
37582
38170
|
]
|
|
37583
38171
|
},
|
|
37584
38172
|
"spaceId": {
|
|
37585
38173
|
"type": "string",
|
|
37586
|
-
"description": "The ID of the space being
|
|
38174
|
+
"description": "The ID of the space being edited."
|
|
37587
38175
|
},
|
|
37588
|
-
"
|
|
37589
|
-
"
|
|
37590
|
-
"description": "The revision ID of the space."
|
|
38176
|
+
"reusableContent": {
|
|
38177
|
+
"$ref": "#/components/schemas/ChangedRevisionReusableContent"
|
|
37591
38178
|
}
|
|
37592
38179
|
},
|
|
37593
38180
|
"required": [
|
|
37594
38181
|
"tool",
|
|
37595
38182
|
"spaceId",
|
|
37596
|
-
"
|
|
38183
|
+
"reusableContent"
|
|
37597
38184
|
]
|
|
37598
38185
|
},
|
|
37599
|
-
"
|
|
38186
|
+
"AIToolCallGetReusableContent": {
|
|
37600
38187
|
"type": "object",
|
|
37601
38188
|
"properties": {
|
|
37602
38189
|
"tool": {
|
|
37603
38190
|
"type": "string",
|
|
37604
38191
|
"enum": [
|
|
37605
|
-
"
|
|
38192
|
+
"getReusableContent"
|
|
37606
38193
|
]
|
|
37607
38194
|
},
|
|
37608
38195
|
"spaceId": {
|
|
@@ -37611,649 +38198,1188 @@
|
|
|
37611
38198
|
},
|
|
37612
38199
|
"revisionId": {
|
|
37613
38200
|
"type": "string",
|
|
37614
|
-
"description": "The
|
|
38201
|
+
"description": "The ID of the revision within which the reusable content is being fetched."
|
|
38202
|
+
},
|
|
38203
|
+
"reusableContent": {
|
|
38204
|
+
"$ref": "#/components/schemas/ChangedRevisionReusableContent"
|
|
37615
38205
|
}
|
|
37616
38206
|
},
|
|
37617
38207
|
"required": [
|
|
37618
38208
|
"tool",
|
|
37619
38209
|
"spaceId",
|
|
38210
|
+
"reusableContent",
|
|
37620
38211
|
"revisionId"
|
|
37621
38212
|
]
|
|
37622
38213
|
},
|
|
37623
|
-
"
|
|
38214
|
+
"AIToolCallCreateChangeRequest": {
|
|
37624
38215
|
"type": "object",
|
|
37625
|
-
"title": "Page result",
|
|
37626
|
-
"description": "Result of a search matching a page.",
|
|
37627
38216
|
"properties": {
|
|
37628
|
-
"
|
|
38217
|
+
"tool": {
|
|
37629
38218
|
"type": "string",
|
|
37630
38219
|
"enum": [
|
|
37631
|
-
"
|
|
38220
|
+
"createChangeRequest"
|
|
37632
38221
|
]
|
|
37633
38222
|
},
|
|
37634
38223
|
"spaceId": {
|
|
37635
38224
|
"type": "string",
|
|
37636
|
-
"description": "The ID of the space"
|
|
38225
|
+
"description": "The ID of the space the change request belongs to."
|
|
37637
38226
|
},
|
|
37638
|
-
"
|
|
38227
|
+
"action": {
|
|
37639
38228
|
"type": "string",
|
|
37640
|
-
"
|
|
38229
|
+
"enum": [
|
|
38230
|
+
"create",
|
|
38231
|
+
"update"
|
|
38232
|
+
]
|
|
37641
38233
|
},
|
|
37642
|
-
"
|
|
38234
|
+
"changeRequest": {
|
|
38235
|
+
"type": "object",
|
|
38236
|
+
"properties": {
|
|
38237
|
+
"id": {
|
|
38238
|
+
"type": "string",
|
|
38239
|
+
"description": "The unique identifier of the change request."
|
|
38240
|
+
},
|
|
38241
|
+
"number": {
|
|
38242
|
+
"type": "number",
|
|
38243
|
+
"description": "Incremental identifier of the change request."
|
|
38244
|
+
},
|
|
38245
|
+
"subject": {
|
|
38246
|
+
"type": "string",
|
|
38247
|
+
"description": "A brief summary of the change request."
|
|
38248
|
+
}
|
|
38249
|
+
},
|
|
38250
|
+
"required": [
|
|
38251
|
+
"id",
|
|
38252
|
+
"number",
|
|
38253
|
+
"subject"
|
|
38254
|
+
]
|
|
38255
|
+
}
|
|
38256
|
+
},
|
|
38257
|
+
"required": [
|
|
38258
|
+
"tool",
|
|
38259
|
+
"spaceId",
|
|
38260
|
+
"action",
|
|
38261
|
+
"changeRequest"
|
|
38262
|
+
]
|
|
38263
|
+
},
|
|
38264
|
+
"AIToolCallComment": {
|
|
38265
|
+
"type": "object",
|
|
38266
|
+
"properties": {
|
|
38267
|
+
"tool": {
|
|
37643
38268
|
"type": "string",
|
|
37644
|
-
"
|
|
38269
|
+
"enum": [
|
|
38270
|
+
"comment"
|
|
38271
|
+
]
|
|
37645
38272
|
},
|
|
37646
|
-
"
|
|
38273
|
+
"spaceId": {
|
|
37647
38274
|
"type": "string",
|
|
37648
|
-
"description": "The
|
|
38275
|
+
"description": "The ID of the space being commented."
|
|
37649
38276
|
},
|
|
37650
|
-
"
|
|
37651
|
-
"
|
|
37652
|
-
"
|
|
38277
|
+
"page": {
|
|
38278
|
+
"description": "The page being commented.",
|
|
38279
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
37653
38280
|
},
|
|
37654
|
-
"
|
|
38281
|
+
"commentId": {
|
|
37655
38282
|
"type": "string",
|
|
37656
|
-
"description": "The
|
|
38283
|
+
"description": "The ID of the comment being posted."
|
|
37657
38284
|
}
|
|
37658
38285
|
},
|
|
37659
38286
|
"required": [
|
|
37660
|
-
"
|
|
38287
|
+
"tool",
|
|
37661
38288
|
"spaceId",
|
|
37662
|
-
"
|
|
37663
|
-
"revisionId",
|
|
37664
|
-
"title"
|
|
38289
|
+
"commentId"
|
|
37665
38290
|
]
|
|
37666
38291
|
},
|
|
37667
|
-
"
|
|
38292
|
+
"AIToolCallReplyToComment": {
|
|
37668
38293
|
"type": "object",
|
|
37669
|
-
"title": "Site context record result",
|
|
37670
|
-
"description": "Result of a search matching a site context record.",
|
|
37671
38294
|
"properties": {
|
|
37672
|
-
"
|
|
38295
|
+
"tool": {
|
|
37673
38296
|
"type": "string",
|
|
37674
38297
|
"enum": [
|
|
37675
|
-
"
|
|
38298
|
+
"replyToComment"
|
|
37676
38299
|
]
|
|
37677
38300
|
},
|
|
37678
|
-
"
|
|
37679
|
-
"type": "string",
|
|
37680
|
-
"description": "The ID of the site owning the context record"
|
|
37681
|
-
},
|
|
37682
|
-
"recordId": {
|
|
38301
|
+
"spaceId": {
|
|
37683
38302
|
"type": "string",
|
|
37684
|
-
"description": "The ID of the
|
|
38303
|
+
"description": "The ID of the space being commented."
|
|
37685
38304
|
},
|
|
37686
|
-
"
|
|
37687
|
-
"
|
|
37688
|
-
"
|
|
38305
|
+
"page": {
|
|
38306
|
+
"description": "The page being commented.",
|
|
38307
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
37689
38308
|
},
|
|
37690
|
-
"
|
|
38309
|
+
"commentId": {
|
|
37691
38310
|
"type": "string",
|
|
37692
|
-
"description": "The
|
|
38311
|
+
"description": "The ID of the comment being replied to."
|
|
37693
38312
|
},
|
|
37694
|
-
"
|
|
38313
|
+
"replyId": {
|
|
37695
38314
|
"type": "string",
|
|
37696
|
-
"
|
|
37697
|
-
"description": "URL of the record in its original source"
|
|
38315
|
+
"description": "The ID of the reply being posted."
|
|
37698
38316
|
}
|
|
37699
38317
|
},
|
|
37700
38318
|
"required": [
|
|
37701
|
-
"
|
|
37702
|
-
"
|
|
37703
|
-
"
|
|
37704
|
-
"
|
|
38319
|
+
"tool",
|
|
38320
|
+
"spaceId",
|
|
38321
|
+
"commentId",
|
|
38322
|
+
"replyId"
|
|
37705
38323
|
]
|
|
37706
38324
|
},
|
|
37707
|
-
"
|
|
37708
|
-
"description": "Result of a search",
|
|
37709
|
-
"oneOf": [
|
|
37710
|
-
{
|
|
37711
|
-
"$ref": "#/components/schemas/AIToolCallSearchResultPage"
|
|
37712
|
-
},
|
|
37713
|
-
{
|
|
37714
|
-
"$ref": "#/components/schemas/AIToolCallSearchResultRecord"
|
|
37715
|
-
}
|
|
37716
|
-
],
|
|
37717
|
-
"discriminator": {
|
|
37718
|
-
"propertyName": "type"
|
|
37719
|
-
}
|
|
37720
|
-
},
|
|
37721
|
-
"AIToolCallSearch": {
|
|
38325
|
+
"AIToolCallSubmitChangeRequestReview": {
|
|
37722
38326
|
"type": "object",
|
|
37723
|
-
"description": "Tool to search for content",
|
|
37724
38327
|
"properties": {
|
|
37725
38328
|
"tool": {
|
|
37726
38329
|
"type": "string",
|
|
37727
38330
|
"enum": [
|
|
37728
|
-
"
|
|
38331
|
+
"submitChangeRequestReview"
|
|
37729
38332
|
]
|
|
37730
38333
|
},
|
|
37731
|
-
"
|
|
38334
|
+
"spaceId": {
|
|
37732
38335
|
"type": "string",
|
|
37733
|
-
"description": "The
|
|
38336
|
+
"description": "The ID of the space where the review was submitted."
|
|
37734
38337
|
},
|
|
37735
|
-
"
|
|
37736
|
-
"type": "
|
|
37737
|
-
"
|
|
37738
|
-
|
|
37739
|
-
|
|
38338
|
+
"changeRequestId": {
|
|
38339
|
+
"type": "string",
|
|
38340
|
+
"description": "The ID of the change request being reviewed."
|
|
38341
|
+
},
|
|
38342
|
+
"status": {
|
|
38343
|
+
"$ref": "#/components/schemas/ChangeRequestReviewStatus",
|
|
38344
|
+
"description": "Result of the review."
|
|
38345
|
+
},
|
|
38346
|
+
"reviewId": {
|
|
38347
|
+
"type": "string",
|
|
38348
|
+
"description": "Identifier of the review that was created."
|
|
38349
|
+
},
|
|
38350
|
+
"commentId": {
|
|
38351
|
+
"type": "string",
|
|
38352
|
+
"description": "Identifier of the comment that was created as part of the review."
|
|
37740
38353
|
}
|
|
37741
38354
|
},
|
|
37742
38355
|
"required": [
|
|
37743
38356
|
"tool",
|
|
37744
|
-
"
|
|
37745
|
-
"
|
|
38357
|
+
"spaceId",
|
|
38358
|
+
"changeRequestId",
|
|
38359
|
+
"status",
|
|
38360
|
+
"reviewId",
|
|
38361
|
+
"commentId"
|
|
37746
38362
|
]
|
|
37747
38363
|
},
|
|
37748
|
-
"
|
|
38364
|
+
"AIToolCallMCP": {
|
|
37749
38365
|
"type": "object",
|
|
38366
|
+
"description": "Tool called from an MCP server",
|
|
37750
38367
|
"properties": {
|
|
37751
38368
|
"tool": {
|
|
37752
38369
|
"type": "string",
|
|
37753
38370
|
"enum": [
|
|
37754
|
-
"
|
|
38371
|
+
"mcp"
|
|
37755
38372
|
]
|
|
37756
38373
|
},
|
|
37757
|
-
"
|
|
38374
|
+
"mcpServerId": {
|
|
37758
38375
|
"type": "string",
|
|
37759
|
-
"description": "The ID of the
|
|
38376
|
+
"description": "The ID of the MCP server that has been called."
|
|
37760
38377
|
},
|
|
37761
|
-
"
|
|
37762
|
-
"
|
|
38378
|
+
"mcpToolName": {
|
|
38379
|
+
"type": "string",
|
|
38380
|
+
"description": "The name of the tool that has been called."
|
|
38381
|
+
},
|
|
38382
|
+
"mcpToolTitle": {
|
|
38383
|
+
"type": "string",
|
|
38384
|
+
"description": "The title of the tool that has been called."
|
|
37763
38385
|
}
|
|
37764
38386
|
},
|
|
37765
38387
|
"required": [
|
|
37766
38388
|
"tool",
|
|
37767
|
-
"
|
|
37768
|
-
"
|
|
38389
|
+
"mcpServerId",
|
|
38390
|
+
"mcpToolName"
|
|
37769
38391
|
]
|
|
37770
38392
|
},
|
|
37771
|
-
"
|
|
38393
|
+
"AIToolCallOtherSummary": {
|
|
37772
38394
|
"type": "object",
|
|
38395
|
+
"description": "Summary of a generic tool call.",
|
|
38396
|
+
"properties": {
|
|
38397
|
+
"icon": {
|
|
38398
|
+
"$ref": "#/components/schemas/Icon"
|
|
38399
|
+
},
|
|
38400
|
+
"text": {
|
|
38401
|
+
"type": "string",
|
|
38402
|
+
"description": "Text to display to the user to describe the tool call."
|
|
38403
|
+
}
|
|
38404
|
+
},
|
|
38405
|
+
"required": [
|
|
38406
|
+
"icon",
|
|
38407
|
+
"text"
|
|
38408
|
+
]
|
|
38409
|
+
},
|
|
38410
|
+
"AIToolCallOther": {
|
|
38411
|
+
"type": "object",
|
|
38412
|
+
"description": "Any tool call that is unknown by GitBook",
|
|
37773
38413
|
"properties": {
|
|
37774
38414
|
"tool": {
|
|
37775
38415
|
"type": "string",
|
|
37776
38416
|
"enum": [
|
|
37777
|
-
"
|
|
38417
|
+
"other"
|
|
37778
38418
|
]
|
|
37779
38419
|
},
|
|
37780
|
-
"
|
|
38420
|
+
"summary": {
|
|
38421
|
+
"$ref": "#/components/schemas/AIToolCallOtherSummary"
|
|
38422
|
+
}
|
|
38423
|
+
},
|
|
38424
|
+
"required": [
|
|
38425
|
+
"tool",
|
|
38426
|
+
"summary"
|
|
38427
|
+
]
|
|
38428
|
+
},
|
|
38429
|
+
"AIToolCall": {
|
|
38430
|
+
"oneOf": [
|
|
38431
|
+
{
|
|
38432
|
+
"$ref": "#/components/schemas/AIToolCallGetPageContent"
|
|
38433
|
+
},
|
|
38434
|
+
{
|
|
38435
|
+
"$ref": "#/components/schemas/AIToolCallGetPages"
|
|
38436
|
+
},
|
|
38437
|
+
{
|
|
38438
|
+
"$ref": "#/components/schemas/AIToolCallGetReusableContents"
|
|
38439
|
+
},
|
|
38440
|
+
{
|
|
38441
|
+
"$ref": "#/components/schemas/AIToolCallSearch"
|
|
38442
|
+
},
|
|
38443
|
+
{
|
|
38444
|
+
"$ref": "#/components/schemas/AIToolCallEditPage"
|
|
38445
|
+
},
|
|
38446
|
+
{
|
|
38447
|
+
"$ref": "#/components/schemas/AIToolCallCreatePage"
|
|
38448
|
+
},
|
|
38449
|
+
{
|
|
38450
|
+
"$ref": "#/components/schemas/AIToolCallDeletePage"
|
|
38451
|
+
},
|
|
38452
|
+
{
|
|
38453
|
+
"$ref": "#/components/schemas/AIToolCallRenamePage"
|
|
38454
|
+
},
|
|
38455
|
+
{
|
|
38456
|
+
"$ref": "#/components/schemas/AIToolCallMovePage"
|
|
38457
|
+
},
|
|
38458
|
+
{
|
|
38459
|
+
"$ref": "#/components/schemas/AIToolCallListModifiedPages"
|
|
38460
|
+
},
|
|
38461
|
+
{
|
|
38462
|
+
"$ref": "#/components/schemas/AIToolCallGetPageDiff"
|
|
38463
|
+
},
|
|
38464
|
+
{
|
|
38465
|
+
"$ref": "#/components/schemas/AIToolCallCreateReusableContent"
|
|
38466
|
+
},
|
|
38467
|
+
{
|
|
38468
|
+
"$ref": "#/components/schemas/AIToolCallEditReusableContent"
|
|
38469
|
+
},
|
|
38470
|
+
{
|
|
38471
|
+
"$ref": "#/components/schemas/AIToolCallGetReusableContent"
|
|
38472
|
+
},
|
|
38473
|
+
{
|
|
38474
|
+
"$ref": "#/components/schemas/AIToolCallCreateChangeRequest"
|
|
38475
|
+
},
|
|
38476
|
+
{
|
|
38477
|
+
"$ref": "#/components/schemas/AIToolCallComment"
|
|
38478
|
+
},
|
|
38479
|
+
{
|
|
38480
|
+
"$ref": "#/components/schemas/AIToolCallReplyToComment"
|
|
38481
|
+
},
|
|
38482
|
+
{
|
|
38483
|
+
"$ref": "#/components/schemas/AIToolCallSubmitChangeRequestReview"
|
|
38484
|
+
},
|
|
38485
|
+
{
|
|
38486
|
+
"$ref": "#/components/schemas/AIToolCallMCP"
|
|
38487
|
+
},
|
|
38488
|
+
{
|
|
38489
|
+
"$ref": "#/components/schemas/AIToolCallOther"
|
|
38490
|
+
}
|
|
38491
|
+
]
|
|
38492
|
+
},
|
|
38493
|
+
"Timerange": {
|
|
38494
|
+
"type": "object",
|
|
38495
|
+
"properties": {
|
|
38496
|
+
"start": {
|
|
38497
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
38498
|
+
},
|
|
38499
|
+
"end": {
|
|
38500
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
38501
|
+
}
|
|
38502
|
+
},
|
|
38503
|
+
"required": [
|
|
38504
|
+
"start",
|
|
38505
|
+
"end"
|
|
38506
|
+
]
|
|
38507
|
+
},
|
|
38508
|
+
"AIAttachmentImage": {
|
|
38509
|
+
"type": "object",
|
|
38510
|
+
"properties": {
|
|
38511
|
+
"type": {
|
|
37781
38512
|
"type": "string",
|
|
37782
|
-
"
|
|
38513
|
+
"enum": [
|
|
38514
|
+
"image"
|
|
38515
|
+
]
|
|
37783
38516
|
},
|
|
37784
|
-
"
|
|
37785
|
-
"$ref": "#/components/schemas/
|
|
38517
|
+
"url": {
|
|
38518
|
+
"$ref": "#/components/schemas/URL"
|
|
37786
38519
|
}
|
|
37787
38520
|
},
|
|
37788
38521
|
"required": [
|
|
37789
|
-
"
|
|
37790
|
-
"
|
|
37791
|
-
"page"
|
|
38522
|
+
"type",
|
|
38523
|
+
"url"
|
|
37792
38524
|
]
|
|
37793
38525
|
},
|
|
37794
|
-
"
|
|
38526
|
+
"AIAttachmentFile": {
|
|
37795
38527
|
"type": "object",
|
|
37796
38528
|
"properties": {
|
|
37797
|
-
"
|
|
38529
|
+
"type": {
|
|
37798
38530
|
"type": "string",
|
|
37799
38531
|
"enum": [
|
|
37800
|
-
"
|
|
38532
|
+
"file"
|
|
37801
38533
|
]
|
|
37802
38534
|
},
|
|
37803
|
-
"
|
|
38535
|
+
"url": {
|
|
38536
|
+
"$ref": "#/components/schemas/URL"
|
|
38537
|
+
},
|
|
38538
|
+
"filename": {
|
|
37804
38539
|
"type": "string",
|
|
37805
|
-
"description": "
|
|
38540
|
+
"description": "Name of the file."
|
|
37806
38541
|
},
|
|
37807
|
-
"
|
|
37808
|
-
"
|
|
38542
|
+
"contentType": {
|
|
38543
|
+
"type": "string",
|
|
38544
|
+
"enum": [
|
|
38545
|
+
"application/pdf"
|
|
38546
|
+
]
|
|
37809
38547
|
}
|
|
37810
38548
|
},
|
|
37811
38549
|
"required": [
|
|
37812
|
-
"
|
|
37813
|
-
"
|
|
37814
|
-
"
|
|
38550
|
+
"type",
|
|
38551
|
+
"url",
|
|
38552
|
+
"filename",
|
|
38553
|
+
"contentType"
|
|
37815
38554
|
]
|
|
37816
38555
|
},
|
|
37817
|
-
"
|
|
38556
|
+
"AIAttachment": {
|
|
38557
|
+
"oneOf": [
|
|
38558
|
+
{
|
|
38559
|
+
"$ref": "#/components/schemas/AIAttachmentImage"
|
|
38560
|
+
},
|
|
38561
|
+
{
|
|
38562
|
+
"$ref": "#/components/schemas/AIAttachmentFile"
|
|
38563
|
+
}
|
|
38564
|
+
]
|
|
38565
|
+
},
|
|
38566
|
+
"AIMessageStep": {
|
|
37818
38567
|
"type": "object",
|
|
38568
|
+
"description": "A step in a message from the AI agent.",
|
|
37819
38569
|
"properties": {
|
|
37820
|
-
"
|
|
38570
|
+
"content": {
|
|
38571
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
38572
|
+
},
|
|
38573
|
+
"reasoning": {
|
|
38574
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
38575
|
+
},
|
|
38576
|
+
"toolCalls": {
|
|
38577
|
+
"type": "array",
|
|
38578
|
+
"items": {
|
|
38579
|
+
"$ref": "#/components/schemas/AIToolCall"
|
|
38580
|
+
}
|
|
38581
|
+
},
|
|
38582
|
+
"timing": {
|
|
38583
|
+
"type": "object",
|
|
38584
|
+
"description": "The timing of the step.",
|
|
38585
|
+
"properties": {
|
|
38586
|
+
"reasoning": {
|
|
38587
|
+
"$ref": "#/components/schemas/Timerange"
|
|
38588
|
+
}
|
|
38589
|
+
}
|
|
38590
|
+
},
|
|
38591
|
+
"attachments": {
|
|
38592
|
+
"type": "array",
|
|
38593
|
+
"items": {
|
|
38594
|
+
"$ref": "#/components/schemas/AIAttachment"
|
|
38595
|
+
}
|
|
38596
|
+
}
|
|
38597
|
+
},
|
|
38598
|
+
"required": [
|
|
38599
|
+
"content"
|
|
38600
|
+
]
|
|
38601
|
+
},
|
|
38602
|
+
"AIMessageTask": {
|
|
38603
|
+
"oneOf": [
|
|
38604
|
+
{
|
|
38605
|
+
"type": "object",
|
|
38606
|
+
"description": "When the agent is responding to a comment.",
|
|
38607
|
+
"properties": {
|
|
38608
|
+
"type": {
|
|
38609
|
+
"type": "string",
|
|
38610
|
+
"enum": [
|
|
38611
|
+
"respond_to_comment"
|
|
38612
|
+
]
|
|
38613
|
+
},
|
|
38614
|
+
"spaceId": {
|
|
38615
|
+
"type": "string",
|
|
38616
|
+
"description": "The ID of the space to respond to the comment in."
|
|
38617
|
+
},
|
|
38618
|
+
"changeRequestId": {
|
|
38619
|
+
"type": "string",
|
|
38620
|
+
"description": "The ID of the change request to respond to the comment in."
|
|
38621
|
+
},
|
|
38622
|
+
"commentId": {
|
|
38623
|
+
"type": "string",
|
|
38624
|
+
"description": "The ID of the comment to respond to."
|
|
38625
|
+
}
|
|
38626
|
+
},
|
|
38627
|
+
"required": [
|
|
38628
|
+
"type",
|
|
38629
|
+
"spaceId",
|
|
38630
|
+
"commentId"
|
|
38631
|
+
]
|
|
38632
|
+
},
|
|
38633
|
+
{
|
|
38634
|
+
"type": "object",
|
|
38635
|
+
"description": "When the agent is reviewing a change request.",
|
|
38636
|
+
"properties": {
|
|
38637
|
+
"type": {
|
|
38638
|
+
"type": "string",
|
|
38639
|
+
"enum": [
|
|
38640
|
+
"review_change_request"
|
|
38641
|
+
]
|
|
38642
|
+
},
|
|
38643
|
+
"spaceId": {
|
|
38644
|
+
"type": "string",
|
|
38645
|
+
"description": "The ID of the space the change request is in."
|
|
38646
|
+
},
|
|
38647
|
+
"changeRequestId": {
|
|
38648
|
+
"type": "string",
|
|
38649
|
+
"description": "The ID of the change request to review."
|
|
38650
|
+
}
|
|
38651
|
+
},
|
|
38652
|
+
"required": [
|
|
38653
|
+
"type",
|
|
38654
|
+
"spaceId",
|
|
38655
|
+
"changeRequestId"
|
|
38656
|
+
]
|
|
38657
|
+
},
|
|
38658
|
+
{
|
|
38659
|
+
"type": "object",
|
|
38660
|
+
"description": "When the agent is implementing a task in a change request.",
|
|
38661
|
+
"properties": {
|
|
38662
|
+
"type": {
|
|
38663
|
+
"type": "string",
|
|
38664
|
+
"enum": [
|
|
38665
|
+
"implement_change_request"
|
|
38666
|
+
]
|
|
38667
|
+
},
|
|
38668
|
+
"spaceId": {
|
|
38669
|
+
"type": "string",
|
|
38670
|
+
"description": "The ID of the space the change request is in."
|
|
38671
|
+
},
|
|
38672
|
+
"changeRequestId": {
|
|
38673
|
+
"type": "string",
|
|
38674
|
+
"description": "The ID of the change request to implement the task in."
|
|
38675
|
+
}
|
|
38676
|
+
},
|
|
38677
|
+
"required": [
|
|
38678
|
+
"type",
|
|
38679
|
+
"spaceId",
|
|
38680
|
+
"changeRequestId"
|
|
38681
|
+
]
|
|
38682
|
+
}
|
|
38683
|
+
]
|
|
38684
|
+
},
|
|
38685
|
+
"AIMessageResponseMetadata": {
|
|
38686
|
+
"description": "The response that generated this message.",
|
|
38687
|
+
"type": "object",
|
|
38688
|
+
"properties": {
|
|
38689
|
+
"stopReason": {
|
|
37821
38690
|
"type": "string",
|
|
38691
|
+
"description": "The reason the response was stopped. If not defined, the response finished normally.",
|
|
37822
38692
|
"enum": [
|
|
37823
|
-
"
|
|
38693
|
+
"aborted"
|
|
37824
38694
|
]
|
|
37825
38695
|
},
|
|
37826
|
-
"
|
|
38696
|
+
"id": {
|
|
37827
38697
|
"type": "string",
|
|
37828
|
-
"description": "The ID of the
|
|
37829
|
-
},
|
|
37830
|
-
"page": {
|
|
37831
|
-
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
38698
|
+
"description": "The ID of the response that generated this message. It can be undefined if the stream was aborted."
|
|
37832
38699
|
},
|
|
37833
|
-
"
|
|
38700
|
+
"previous": {
|
|
37834
38701
|
"type": "string",
|
|
37835
|
-
"description": "The
|
|
38702
|
+
"description": "The ID of the previous response that this message is based on."
|
|
38703
|
+
}
|
|
38704
|
+
}
|
|
38705
|
+
},
|
|
38706
|
+
"AIMessage": {
|
|
38707
|
+
"type": "object",
|
|
38708
|
+
"properties": {
|
|
38709
|
+
"id": {
|
|
38710
|
+
"type": "string"
|
|
38711
|
+
},
|
|
38712
|
+
"role": {
|
|
38713
|
+
"$ref": "#/components/schemas/AIMessageRole"
|
|
38714
|
+
},
|
|
38715
|
+
"steps": {
|
|
38716
|
+
"type": "array",
|
|
38717
|
+
"items": {
|
|
38718
|
+
"$ref": "#/components/schemas/AIMessageStep"
|
|
38719
|
+
}
|
|
38720
|
+
},
|
|
38721
|
+
"task": {
|
|
38722
|
+
"$ref": "#/components/schemas/AIMessageTask"
|
|
38723
|
+
},
|
|
38724
|
+
"response": {
|
|
38725
|
+
"$ref": "#/components/schemas/AIMessageResponseMetadata"
|
|
37836
38726
|
}
|
|
37837
38727
|
},
|
|
37838
38728
|
"required": [
|
|
37839
|
-
"
|
|
37840
|
-
"
|
|
37841
|
-
"
|
|
37842
|
-
"title"
|
|
38729
|
+
"id",
|
|
38730
|
+
"role",
|
|
38731
|
+
"steps"
|
|
37843
38732
|
]
|
|
37844
38733
|
},
|
|
37845
|
-
"
|
|
38734
|
+
"SiteQuestionAnswerWithResponse": {
|
|
38735
|
+
"allOf": [
|
|
38736
|
+
{
|
|
38737
|
+
"$ref": "#/components/schemas/SiteQuestionAnswer"
|
|
38738
|
+
},
|
|
38739
|
+
{
|
|
38740
|
+
"type": "object",
|
|
38741
|
+
"properties": {
|
|
38742
|
+
"response": {
|
|
38743
|
+
"$ref": "#/components/schemas/AIMessage"
|
|
38744
|
+
}
|
|
38745
|
+
},
|
|
38746
|
+
"required": [
|
|
38747
|
+
"response"
|
|
38748
|
+
]
|
|
38749
|
+
}
|
|
38750
|
+
]
|
|
38751
|
+
},
|
|
38752
|
+
"SiteQuestionAnswerSourceBase": {
|
|
37846
38753
|
"type": "object",
|
|
37847
38754
|
"properties": {
|
|
37848
|
-
"
|
|
38755
|
+
"object": {
|
|
37849
38756
|
"type": "string",
|
|
37850
38757
|
"enum": [
|
|
37851
|
-
"
|
|
38758
|
+
"site-question-answer-source"
|
|
37852
38759
|
]
|
|
37853
38760
|
},
|
|
37854
|
-
"
|
|
38761
|
+
"id": {
|
|
37855
38762
|
"type": "string",
|
|
37856
|
-
"description": "The ID of the
|
|
38763
|
+
"description": "The ID of the source."
|
|
37857
38764
|
},
|
|
37858
|
-
"
|
|
37859
|
-
"
|
|
37860
|
-
|
|
37861
|
-
"to": {
|
|
37862
|
-
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
38765
|
+
"weight": {
|
|
38766
|
+
"type": "number",
|
|
38767
|
+
"description": "Relative weight of this source in the generated answer."
|
|
37863
38768
|
},
|
|
37864
|
-
"
|
|
38769
|
+
"title": {
|
|
37865
38770
|
"type": "string",
|
|
37866
|
-
"description": "
|
|
37867
|
-
|
|
37868
|
-
|
|
37869
|
-
|
|
37870
|
-
|
|
38771
|
+
"description": "The title of the source."
|
|
38772
|
+
},
|
|
38773
|
+
"urls": {
|
|
38774
|
+
"type": "object",
|
|
38775
|
+
"description": "URLs associated with the site question answer.",
|
|
38776
|
+
"properties": {
|
|
38777
|
+
"location": {
|
|
38778
|
+
"type": "string",
|
|
38779
|
+
"format": "uri",
|
|
38780
|
+
"description": "URL of the site question answer in the API."
|
|
38781
|
+
}
|
|
38782
|
+
},
|
|
38783
|
+
"required": [
|
|
38784
|
+
"location"
|
|
37871
38785
|
]
|
|
37872
38786
|
}
|
|
37873
38787
|
},
|
|
37874
38788
|
"required": [
|
|
37875
|
-
"
|
|
37876
|
-
"
|
|
37877
|
-
"
|
|
37878
|
-
"
|
|
38789
|
+
"object",
|
|
38790
|
+
"id",
|
|
38791
|
+
"title",
|
|
38792
|
+
"weight",
|
|
38793
|
+
"urls"
|
|
37879
38794
|
]
|
|
37880
38795
|
},
|
|
37881
|
-
"
|
|
38796
|
+
"SiteQuestionAnswerSourcePage": {
|
|
38797
|
+
"allOf": [
|
|
38798
|
+
{
|
|
38799
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerSourceBase"
|
|
38800
|
+
},
|
|
38801
|
+
{
|
|
38802
|
+
"type": "object",
|
|
38803
|
+
"title": "Page source",
|
|
38804
|
+
"description": "Source data pointing to a page used for a site question answer.",
|
|
38805
|
+
"properties": {
|
|
38806
|
+
"type": {
|
|
38807
|
+
"type": "string",
|
|
38808
|
+
"enum": [
|
|
38809
|
+
"page"
|
|
38810
|
+
]
|
|
38811
|
+
},
|
|
38812
|
+
"space": {
|
|
38813
|
+
"type": "string",
|
|
38814
|
+
"description": "The space ID of the source page."
|
|
38815
|
+
},
|
|
38816
|
+
"revision": {
|
|
38817
|
+
"type": "string",
|
|
38818
|
+
"description": "The revision ID used for this source page."
|
|
38819
|
+
},
|
|
38820
|
+
"page": {
|
|
38821
|
+
"type": "string",
|
|
38822
|
+
"description": "The page ID of the source page."
|
|
38823
|
+
}
|
|
38824
|
+
},
|
|
38825
|
+
"required": [
|
|
38826
|
+
"type",
|
|
38827
|
+
"space",
|
|
38828
|
+
"revision",
|
|
38829
|
+
"page"
|
|
38830
|
+
]
|
|
38831
|
+
}
|
|
38832
|
+
]
|
|
38833
|
+
},
|
|
38834
|
+
"SiteQuestionAnswerSourceRecord": {
|
|
38835
|
+
"allOf": [
|
|
38836
|
+
{
|
|
38837
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerSourceBase"
|
|
38838
|
+
},
|
|
38839
|
+
{
|
|
38840
|
+
"type": "object",
|
|
38841
|
+
"properties": {
|
|
38842
|
+
"type": {
|
|
38843
|
+
"type": "string",
|
|
38844
|
+
"enum": [
|
|
38845
|
+
"record"
|
|
38846
|
+
]
|
|
38847
|
+
},
|
|
38848
|
+
"record": {
|
|
38849
|
+
"type": "string",
|
|
38850
|
+
"description": "The site context record ID."
|
|
38851
|
+
}
|
|
38852
|
+
},
|
|
38853
|
+
"required": [
|
|
38854
|
+
"type",
|
|
38855
|
+
"record"
|
|
38856
|
+
]
|
|
38857
|
+
}
|
|
38858
|
+
]
|
|
38859
|
+
},
|
|
38860
|
+
"SiteQuestionAnswerSource": {
|
|
38861
|
+
"oneOf": [
|
|
38862
|
+
{
|
|
38863
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerSourcePage"
|
|
38864
|
+
},
|
|
38865
|
+
{
|
|
38866
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerSourceRecord"
|
|
38867
|
+
}
|
|
38868
|
+
],
|
|
38869
|
+
"discriminator": {
|
|
38870
|
+
"propertyName": "type"
|
|
38871
|
+
}
|
|
38872
|
+
},
|
|
38873
|
+
"SiteSpaceCustomizationSettings": {
|
|
38874
|
+
"allOf": [
|
|
38875
|
+
{
|
|
38876
|
+
"$ref": "#/components/schemas/SiteCustomizationSettings"
|
|
38877
|
+
},
|
|
38878
|
+
{
|
|
38879
|
+
"type": "object",
|
|
38880
|
+
"properties": {
|
|
38881
|
+
"hasOverrides": {
|
|
38882
|
+
"type": "boolean",
|
|
38883
|
+
"description": "Indicates whether the site customization settings have been overridden."
|
|
38884
|
+
}
|
|
38885
|
+
},
|
|
38886
|
+
"required": [
|
|
38887
|
+
"hasOverrides"
|
|
38888
|
+
]
|
|
38889
|
+
}
|
|
38890
|
+
]
|
|
38891
|
+
},
|
|
38892
|
+
"SiteSectionGroupPointer": {
|
|
37882
38893
|
"type": "object",
|
|
37883
38894
|
"properties": {
|
|
37884
|
-
"
|
|
38895
|
+
"type": {
|
|
37885
38896
|
"type": "string",
|
|
37886
38897
|
"enum": [
|
|
37887
|
-
"
|
|
38898
|
+
"site-section",
|
|
38899
|
+
"site-section-group"
|
|
37888
38900
|
]
|
|
37889
38901
|
},
|
|
37890
|
-
"
|
|
38902
|
+
"id": {
|
|
37891
38903
|
"type": "string",
|
|
37892
|
-
"description": "
|
|
38904
|
+
"description": "Unique identifier for the site section"
|
|
37893
38905
|
}
|
|
37894
38906
|
},
|
|
37895
38907
|
"required": [
|
|
37896
|
-
"
|
|
37897
|
-
"
|
|
38908
|
+
"type",
|
|
38909
|
+
"id"
|
|
37898
38910
|
]
|
|
37899
38911
|
},
|
|
37900
|
-
"
|
|
38912
|
+
"SiteSectionGroupMovePosition": {
|
|
37901
38913
|
"type": "object",
|
|
38914
|
+
"description": "Position at which to move the site section group.",
|
|
37902
38915
|
"properties": {
|
|
37903
|
-
"
|
|
38916
|
+
"before": {
|
|
38917
|
+
"$ref": "#/components/schemas/SiteSectionGroupPointer"
|
|
38918
|
+
},
|
|
38919
|
+
"after": {
|
|
38920
|
+
"$ref": "#/components/schemas/SiteSectionGroupPointer"
|
|
38921
|
+
}
|
|
38922
|
+
}
|
|
38923
|
+
},
|
|
38924
|
+
"SiteSectionPointer": {
|
|
38925
|
+
"type": "object",
|
|
38926
|
+
"properties": {
|
|
38927
|
+
"type": {
|
|
37904
38928
|
"type": "string",
|
|
37905
38929
|
"enum": [
|
|
37906
|
-
"
|
|
38930
|
+
"site-section"
|
|
37907
38931
|
]
|
|
37908
38932
|
},
|
|
37909
|
-
"
|
|
38933
|
+
"siteSection": {
|
|
37910
38934
|
"type": "string",
|
|
37911
|
-
"description": "
|
|
37912
|
-
},
|
|
37913
|
-
"page": {
|
|
37914
|
-
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
38935
|
+
"description": "Unique identifier for the site section"
|
|
37915
38936
|
}
|
|
37916
38937
|
},
|
|
37917
38938
|
"required": [
|
|
37918
|
-
"
|
|
37919
|
-
"
|
|
37920
|
-
"page"
|
|
38939
|
+
"type",
|
|
38940
|
+
"siteSection"
|
|
37921
38941
|
]
|
|
37922
38942
|
},
|
|
37923
|
-
"
|
|
38943
|
+
"SiteSectionMovePosition": {
|
|
37924
38944
|
"type": "object",
|
|
38945
|
+
"description": "Position at which to move the site section to.",
|
|
37925
38946
|
"properties": {
|
|
37926
|
-
"
|
|
38947
|
+
"before": {
|
|
38948
|
+
"$ref": "#/components/schemas/SiteSectionPointer"
|
|
38949
|
+
},
|
|
38950
|
+
"after": {
|
|
38951
|
+
"$ref": "#/components/schemas/SiteSectionPointer"
|
|
38952
|
+
}
|
|
38953
|
+
}
|
|
38954
|
+
},
|
|
38955
|
+
"SiteSpacePointer": {
|
|
38956
|
+
"type": "object",
|
|
38957
|
+
"properties": {
|
|
38958
|
+
"type": {
|
|
37927
38959
|
"type": "string",
|
|
37928
38960
|
"enum": [
|
|
37929
|
-
"
|
|
38961
|
+
"site-space"
|
|
37930
38962
|
]
|
|
37931
38963
|
},
|
|
37932
|
-
"
|
|
38964
|
+
"siteSpace": {
|
|
37933
38965
|
"type": "string",
|
|
37934
|
-
"description": "
|
|
38966
|
+
"description": "Unique identifier for the site space"
|
|
38967
|
+
}
|
|
38968
|
+
},
|
|
38969
|
+
"required": [
|
|
38970
|
+
"type",
|
|
38971
|
+
"siteSpace"
|
|
38972
|
+
]
|
|
38973
|
+
},
|
|
38974
|
+
"SiteSpaceMovePosition": {
|
|
38975
|
+
"type": "object",
|
|
38976
|
+
"description": "Position at which to move the site space to.",
|
|
38977
|
+
"properties": {
|
|
38978
|
+
"before": {
|
|
38979
|
+
"$ref": "#/components/schemas/SiteSpacePointer"
|
|
37935
38980
|
},
|
|
37936
|
-
"
|
|
37937
|
-
"$ref": "#/components/schemas/
|
|
38981
|
+
"after": {
|
|
38982
|
+
"$ref": "#/components/schemas/SiteSpacePointer"
|
|
38983
|
+
}
|
|
38984
|
+
}
|
|
38985
|
+
},
|
|
38986
|
+
"InviteSiteUsersAndTeams": {
|
|
38987
|
+
"type": "object",
|
|
38988
|
+
"properties": {
|
|
38989
|
+
"role": {
|
|
38990
|
+
"description": "Role to set.",
|
|
38991
|
+
"$ref": "#/components/schemas/MemberRole"
|
|
37938
38992
|
}
|
|
37939
38993
|
},
|
|
38994
|
+
"anyOf": [
|
|
38995
|
+
{
|
|
38996
|
+
"type": "object",
|
|
38997
|
+
"properties": {
|
|
38998
|
+
"teams": {
|
|
38999
|
+
"type": "array",
|
|
39000
|
+
"minItems": 1,
|
|
39001
|
+
"items": {
|
|
39002
|
+
"type": "string",
|
|
39003
|
+
"description": "The ID of the team to be invited"
|
|
39004
|
+
}
|
|
39005
|
+
}
|
|
39006
|
+
},
|
|
39007
|
+
"required": [
|
|
39008
|
+
"teams"
|
|
39009
|
+
]
|
|
39010
|
+
},
|
|
39011
|
+
{
|
|
39012
|
+
"type": "object",
|
|
39013
|
+
"properties": {
|
|
39014
|
+
"users": {
|
|
39015
|
+
"type": "array",
|
|
39016
|
+
"minItems": 1,
|
|
39017
|
+
"items": {
|
|
39018
|
+
"type": "string",
|
|
39019
|
+
"description": "The ID of the user to be invited"
|
|
39020
|
+
}
|
|
39021
|
+
}
|
|
39022
|
+
},
|
|
39023
|
+
"required": [
|
|
39024
|
+
"users"
|
|
39025
|
+
]
|
|
39026
|
+
}
|
|
39027
|
+
],
|
|
37940
39028
|
"required": [
|
|
37941
|
-
"
|
|
37942
|
-
"spaceId",
|
|
37943
|
-
"reusableContent"
|
|
39029
|
+
"role"
|
|
37944
39030
|
]
|
|
37945
39031
|
},
|
|
37946
|
-
"
|
|
39032
|
+
"OrganizationPointer": {
|
|
37947
39033
|
"type": "object",
|
|
37948
39034
|
"properties": {
|
|
37949
|
-
"
|
|
39035
|
+
"type": {
|
|
37950
39036
|
"type": "string",
|
|
37951
39037
|
"enum": [
|
|
37952
|
-
"
|
|
39038
|
+
"organization"
|
|
37953
39039
|
]
|
|
37954
39040
|
},
|
|
37955
|
-
"
|
|
39041
|
+
"organization": {
|
|
37956
39042
|
"type": "string",
|
|
37957
|
-
"description": "
|
|
39043
|
+
"description": "Unique identifier for the organization"
|
|
39044
|
+
}
|
|
39045
|
+
},
|
|
39046
|
+
"required": [
|
|
39047
|
+
"type",
|
|
39048
|
+
"organization"
|
|
39049
|
+
]
|
|
39050
|
+
},
|
|
39051
|
+
"UserSitePermission": {
|
|
39052
|
+
"type": "object",
|
|
39053
|
+
"description": "Permission of a user in a site.",
|
|
39054
|
+
"properties": {
|
|
39055
|
+
"permission": {
|
|
39056
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
37958
39057
|
},
|
|
37959
|
-
"
|
|
37960
|
-
"$ref": "#/components/schemas/
|
|
39058
|
+
"user": {
|
|
39059
|
+
"$ref": "#/components/schemas/User"
|
|
39060
|
+
},
|
|
39061
|
+
"origin": {
|
|
39062
|
+
"description": "The content or organization that enforced this permission level.",
|
|
39063
|
+
"oneOf": [
|
|
39064
|
+
{
|
|
39065
|
+
"$ref": "#/components/schemas/SpacePointer"
|
|
39066
|
+
},
|
|
39067
|
+
{
|
|
39068
|
+
"$ref": "#/components/schemas/OrganizationPointer"
|
|
39069
|
+
}
|
|
39070
|
+
]
|
|
37961
39071
|
}
|
|
37962
39072
|
},
|
|
37963
39073
|
"required": [
|
|
37964
|
-
"
|
|
37965
|
-
"
|
|
37966
|
-
"
|
|
39074
|
+
"permission",
|
|
39075
|
+
"user",
|
|
39076
|
+
"origin"
|
|
37967
39077
|
]
|
|
37968
39078
|
},
|
|
37969
|
-
"
|
|
39079
|
+
"UserSitePermissionOverride": {
|
|
37970
39080
|
"type": "object",
|
|
39081
|
+
"description": "Permission override of a user in a site.",
|
|
37971
39082
|
"properties": {
|
|
37972
|
-
"
|
|
39083
|
+
"permission": {
|
|
39084
|
+
"$ref": "#/components/schemas/MemberRole"
|
|
39085
|
+
},
|
|
39086
|
+
"user": {
|
|
39087
|
+
"$ref": "#/components/schemas/User"
|
|
39088
|
+
}
|
|
39089
|
+
},
|
|
39090
|
+
"required": [
|
|
39091
|
+
"permission",
|
|
39092
|
+
"user"
|
|
39093
|
+
]
|
|
39094
|
+
},
|
|
39095
|
+
"TeamSitePermissionOverride": {
|
|
39096
|
+
"type": "object",
|
|
39097
|
+
"description": "Permission override of a team in a site.",
|
|
39098
|
+
"properties": {
|
|
39099
|
+
"permission": {
|
|
39100
|
+
"$ref": "#/components/schemas/MemberRole"
|
|
39101
|
+
},
|
|
39102
|
+
"team": {
|
|
39103
|
+
"$ref": "#/components/schemas/OrganizationTeam"
|
|
39104
|
+
}
|
|
39105
|
+
},
|
|
39106
|
+
"required": [
|
|
39107
|
+
"permission",
|
|
39108
|
+
"team"
|
|
39109
|
+
]
|
|
39110
|
+
},
|
|
39111
|
+
"AIMessageContext": {
|
|
39112
|
+
"type": "object",
|
|
39113
|
+
"description": "Context about the current user sending a message.",
|
|
39114
|
+
"properties": {
|
|
39115
|
+
"location": {
|
|
39116
|
+
"type": "object",
|
|
39117
|
+
"properties": {
|
|
39118
|
+
"spaceId": {
|
|
39119
|
+
"type": "string",
|
|
39120
|
+
"description": "ID of the current space."
|
|
39121
|
+
},
|
|
39122
|
+
"pageId": {
|
|
39123
|
+
"type": "string",
|
|
39124
|
+
"description": "ID of the current page."
|
|
39125
|
+
}
|
|
39126
|
+
},
|
|
39127
|
+
"required": [
|
|
39128
|
+
"spaceId",
|
|
39129
|
+
"pageId"
|
|
39130
|
+
]
|
|
39131
|
+
}
|
|
39132
|
+
}
|
|
39133
|
+
},
|
|
39134
|
+
"AIMessageInput": {
|
|
39135
|
+
"type": "object",
|
|
39136
|
+
"description": "Input version of an AI message.",
|
|
39137
|
+
"properties": {
|
|
39138
|
+
"role": {
|
|
37973
39139
|
"type": "string",
|
|
37974
39140
|
"enum": [
|
|
37975
|
-
"
|
|
39141
|
+
"user"
|
|
37976
39142
|
]
|
|
37977
39143
|
},
|
|
37978
|
-
"
|
|
37979
|
-
"
|
|
37980
|
-
|
|
39144
|
+
"content": {
|
|
39145
|
+
"oneOf": [
|
|
39146
|
+
{
|
|
39147
|
+
"type": "string",
|
|
39148
|
+
"maxLength": 2048
|
|
39149
|
+
},
|
|
39150
|
+
{
|
|
39151
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
39152
|
+
}
|
|
39153
|
+
]
|
|
37981
39154
|
},
|
|
37982
|
-
"
|
|
37983
|
-
"
|
|
37984
|
-
"description": "The ID of the revision within which the reusable content is being fetched."
|
|
39155
|
+
"context": {
|
|
39156
|
+
"$ref": "#/components/schemas/AIMessageContext"
|
|
37985
39157
|
},
|
|
37986
|
-
"
|
|
37987
|
-
"
|
|
39158
|
+
"attachments": {
|
|
39159
|
+
"type": "array",
|
|
39160
|
+
"items": {
|
|
39161
|
+
"$ref": "#/components/schemas/AIAttachment"
|
|
39162
|
+
}
|
|
37988
39163
|
}
|
|
37989
39164
|
},
|
|
37990
39165
|
"required": [
|
|
37991
|
-
"
|
|
37992
|
-
"
|
|
37993
|
-
|
|
37994
|
-
|
|
39166
|
+
"role",
|
|
39167
|
+
"content"
|
|
39168
|
+
]
|
|
39169
|
+
},
|
|
39170
|
+
"AIModel": {
|
|
39171
|
+
"type": "string",
|
|
39172
|
+
"enum": [
|
|
39173
|
+
"fast",
|
|
39174
|
+
"reasoning-low",
|
|
39175
|
+
"reasoning-medium",
|
|
39176
|
+
"reasoning-high"
|
|
37995
39177
|
]
|
|
37996
39178
|
},
|
|
37997
|
-
"
|
|
39179
|
+
"AIToolDefinition": {
|
|
37998
39180
|
"type": "object",
|
|
39181
|
+
"description": "Description of a tool that can be called from an AI agent.",
|
|
37999
39182
|
"properties": {
|
|
38000
|
-
"
|
|
38001
|
-
"type": "string",
|
|
38002
|
-
"enum": [
|
|
38003
|
-
"createChangeRequest"
|
|
38004
|
-
]
|
|
38005
|
-
},
|
|
38006
|
-
"spaceId": {
|
|
39183
|
+
"name": {
|
|
38007
39184
|
"type": "string",
|
|
38008
|
-
"description": "The
|
|
39185
|
+
"description": "The name of the tool. It should be unique within the agent."
|
|
38009
39186
|
},
|
|
38010
|
-
"
|
|
39187
|
+
"description": {
|
|
38011
39188
|
"type": "string",
|
|
38012
|
-
"
|
|
38013
|
-
"create",
|
|
38014
|
-
"update"
|
|
38015
|
-
]
|
|
39189
|
+
"description": "The description of the tool, passed to the AI agent."
|
|
38016
39190
|
},
|
|
38017
|
-
"
|
|
39191
|
+
"inputSchema": {
|
|
38018
39192
|
"type": "object",
|
|
39193
|
+
"description": "JSON schema describing the input of the tool.",
|
|
38019
39194
|
"properties": {
|
|
38020
|
-
"
|
|
39195
|
+
"type": {
|
|
38021
39196
|
"type": "string",
|
|
38022
|
-
"
|
|
38023
|
-
|
|
38024
|
-
|
|
38025
|
-
"type": "number",
|
|
38026
|
-
"description": "Incremental identifier of the change request."
|
|
39197
|
+
"enum": [
|
|
39198
|
+
"object"
|
|
39199
|
+
]
|
|
38027
39200
|
},
|
|
38028
|
-
"
|
|
38029
|
-
"type": "
|
|
38030
|
-
"
|
|
39201
|
+
"properties": {
|
|
39202
|
+
"type": "object",
|
|
39203
|
+
"additionalProperties": {
|
|
39204
|
+
"type": "object",
|
|
39205
|
+
"properties": {
|
|
39206
|
+
"type": {
|
|
39207
|
+
"type": "string",
|
|
39208
|
+
"enum": [
|
|
39209
|
+
"string",
|
|
39210
|
+
"number",
|
|
39211
|
+
"boolean",
|
|
39212
|
+
"array",
|
|
39213
|
+
"object"
|
|
39214
|
+
]
|
|
39215
|
+
},
|
|
39216
|
+
"description": {
|
|
39217
|
+
"type": "string",
|
|
39218
|
+
"description": "Description of the property."
|
|
39219
|
+
}
|
|
39220
|
+
},
|
|
39221
|
+
"required": [
|
|
39222
|
+
"type",
|
|
39223
|
+
"description"
|
|
39224
|
+
],
|
|
39225
|
+
"additionalProperties": true
|
|
39226
|
+
}
|
|
38031
39227
|
}
|
|
38032
39228
|
},
|
|
38033
39229
|
"required": [
|
|
38034
|
-
"
|
|
38035
|
-
"
|
|
38036
|
-
"subject"
|
|
39230
|
+
"type",
|
|
39231
|
+
"properties"
|
|
38037
39232
|
]
|
|
38038
39233
|
}
|
|
38039
39234
|
},
|
|
38040
39235
|
"required": [
|
|
38041
|
-
"
|
|
38042
|
-
"
|
|
38043
|
-
"action",
|
|
38044
|
-
"changeRequest"
|
|
39236
|
+
"name",
|
|
39237
|
+
"description"
|
|
38045
39238
|
]
|
|
38046
39239
|
},
|
|
38047
|
-
"
|
|
39240
|
+
"AIToolCallResult": {
|
|
38048
39241
|
"type": "object",
|
|
39242
|
+
"description": "Result of a tool call.",
|
|
39243
|
+
"required": [
|
|
39244
|
+
"tool",
|
|
39245
|
+
"toolCallId",
|
|
39246
|
+
"output"
|
|
39247
|
+
],
|
|
38049
39248
|
"properties": {
|
|
38050
39249
|
"tool": {
|
|
38051
39250
|
"type": "string",
|
|
38052
|
-
"
|
|
38053
|
-
"comment"
|
|
38054
|
-
]
|
|
39251
|
+
"description": "The name of the tool that was called."
|
|
38055
39252
|
},
|
|
38056
|
-
"
|
|
39253
|
+
"toolCallId": {
|
|
38057
39254
|
"type": "string",
|
|
38058
|
-
"description": "The ID of the
|
|
39255
|
+
"description": "The ID of the tool call."
|
|
38059
39256
|
},
|
|
38060
|
-
"
|
|
38061
|
-
"
|
|
38062
|
-
"
|
|
39257
|
+
"output": {
|
|
39258
|
+
"type": "object",
|
|
39259
|
+
"description": "The output to the tool call."
|
|
38063
39260
|
},
|
|
38064
|
-
"
|
|
38065
|
-
"
|
|
38066
|
-
"description": "The ID of the comment being posted."
|
|
39261
|
+
"summary": {
|
|
39262
|
+
"$ref": "#/components/schemas/AIToolCallOtherSummary"
|
|
38067
39263
|
}
|
|
38068
|
-
}
|
|
38069
|
-
"required": [
|
|
38070
|
-
"tool",
|
|
38071
|
-
"spaceId",
|
|
38072
|
-
"commentId"
|
|
38073
|
-
]
|
|
39264
|
+
}
|
|
38074
39265
|
},
|
|
38075
|
-
"
|
|
39266
|
+
"AIStreamResponseStart": {
|
|
38076
39267
|
"type": "object",
|
|
39268
|
+
"description": "Message emitted by the server to indicate the start of the AI response.\n",
|
|
38077
39269
|
"properties": {
|
|
38078
|
-
"
|
|
39270
|
+
"type": {
|
|
38079
39271
|
"type": "string",
|
|
38080
39272
|
"enum": [
|
|
38081
|
-
"
|
|
39273
|
+
"response_start"
|
|
38082
39274
|
]
|
|
38083
39275
|
},
|
|
38084
|
-
"
|
|
38085
|
-
"type": "string",
|
|
38086
|
-
"description": "The ID of the space being commented."
|
|
38087
|
-
},
|
|
38088
|
-
"page": {
|
|
38089
|
-
"description": "The page being commented.",
|
|
38090
|
-
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
38091
|
-
},
|
|
38092
|
-
"commentId": {
|
|
39276
|
+
"messageId": {
|
|
38093
39277
|
"type": "string",
|
|
38094
|
-
"description": "The ID of the
|
|
39278
|
+
"description": "The ID of the message that this event is composing.\n"
|
|
38095
39279
|
},
|
|
38096
|
-
"
|
|
38097
|
-
"
|
|
38098
|
-
"description": "The ID of the reply being posted."
|
|
39280
|
+
"task": {
|
|
39281
|
+
"$ref": "#/components/schemas/AIMessageTask"
|
|
38099
39282
|
}
|
|
38100
39283
|
},
|
|
38101
39284
|
"required": [
|
|
38102
|
-
"
|
|
38103
|
-
"
|
|
38104
|
-
"commentId",
|
|
38105
|
-
"replyId"
|
|
39285
|
+
"type",
|
|
39286
|
+
"messageId"
|
|
38106
39287
|
]
|
|
38107
39288
|
},
|
|
38108
|
-
"
|
|
39289
|
+
"AIStreamResponseFinish": {
|
|
38109
39290
|
"type": "object",
|
|
39291
|
+
"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",
|
|
38110
39292
|
"properties": {
|
|
38111
|
-
"
|
|
39293
|
+
"type": {
|
|
38112
39294
|
"type": "string",
|
|
38113
39295
|
"enum": [
|
|
38114
|
-
"
|
|
39296
|
+
"response_finish"
|
|
38115
39297
|
]
|
|
38116
39298
|
},
|
|
38117
|
-
"
|
|
38118
|
-
"type": "string",
|
|
38119
|
-
"description": "The ID of the space where the review was submitted."
|
|
38120
|
-
},
|
|
38121
|
-
"changeRequestId": {
|
|
39299
|
+
"messageId": {
|
|
38122
39300
|
"type": "string",
|
|
38123
|
-
"description": "The ID of the
|
|
38124
|
-
},
|
|
38125
|
-
"status": {
|
|
38126
|
-
"$ref": "#/components/schemas/ChangeRequestReviewStatus",
|
|
38127
|
-
"description": "Result of the review."
|
|
39301
|
+
"description": "The ID of the message that this event is composing.\n"
|
|
38128
39302
|
},
|
|
38129
|
-
"
|
|
39303
|
+
"responseId": {
|
|
38130
39304
|
"type": "string",
|
|
38131
|
-
"
|
|
39305
|
+
"deprecated": true,
|
|
39306
|
+
"description": "The ID of the response"
|
|
38132
39307
|
},
|
|
38133
|
-
"
|
|
38134
|
-
"
|
|
38135
|
-
"
|
|
39308
|
+
"response": {
|
|
39309
|
+
"description": "The response metadata associated with the message.",
|
|
39310
|
+
"$ref": "#/components/schemas/AIMessageResponseMetadata"
|
|
38136
39311
|
}
|
|
38137
39312
|
},
|
|
38138
39313
|
"required": [
|
|
38139
|
-
"
|
|
38140
|
-
"
|
|
38141
|
-
"
|
|
38142
|
-
"status",
|
|
38143
|
-
"reviewId",
|
|
38144
|
-
"commentId"
|
|
39314
|
+
"type",
|
|
39315
|
+
"messageId",
|
|
39316
|
+
"response"
|
|
38145
39317
|
]
|
|
38146
39318
|
},
|
|
38147
|
-
"
|
|
39319
|
+
"AIStreamResponseDocument": {
|
|
38148
39320
|
"type": "object",
|
|
38149
|
-
"description": "
|
|
39321
|
+
"description": "Message emitted by the server to indicate the latest block of the document. The block can either be a new block or an update to the previous block.\n",
|
|
38150
39322
|
"properties": {
|
|
38151
|
-
"
|
|
39323
|
+
"type": {
|
|
38152
39324
|
"type": "string",
|
|
38153
39325
|
"enum": [
|
|
38154
|
-
"
|
|
39326
|
+
"response_document",
|
|
39327
|
+
"response_reasoning"
|
|
38155
39328
|
]
|
|
38156
39329
|
},
|
|
38157
|
-
"
|
|
39330
|
+
"messageId": {
|
|
38158
39331
|
"type": "string",
|
|
38159
|
-
"description": "The ID of the
|
|
39332
|
+
"description": "The ID of the message that this event is composing.\n"
|
|
38160
39333
|
},
|
|
38161
|
-
"
|
|
38162
|
-
"type": "
|
|
38163
|
-
"description": "The
|
|
39334
|
+
"stepIndex": {
|
|
39335
|
+
"type": "integer",
|
|
39336
|
+
"description": "The index of the step of the message that this event is composing.\n"
|
|
38164
39337
|
},
|
|
38165
|
-
"
|
|
39338
|
+
"operation": {
|
|
38166
39339
|
"type": "string",
|
|
38167
|
-
"
|
|
39340
|
+
"enum": [
|
|
39341
|
+
"insert",
|
|
39342
|
+
"update"
|
|
39343
|
+
]
|
|
39344
|
+
},
|
|
39345
|
+
"blocks": {
|
|
39346
|
+
"type": "array",
|
|
39347
|
+
"items": {
|
|
39348
|
+
"$ref": "#/components/schemas/DocumentBlocksTopLevels"
|
|
39349
|
+
}
|
|
38168
39350
|
}
|
|
38169
39351
|
},
|
|
38170
39352
|
"required": [
|
|
38171
|
-
"
|
|
38172
|
-
"
|
|
38173
|
-
"
|
|
39353
|
+
"type",
|
|
39354
|
+
"messageId",
|
|
39355
|
+
"stepIndex",
|
|
39356
|
+
"operation",
|
|
39357
|
+
"blocks"
|
|
38174
39358
|
]
|
|
38175
39359
|
},
|
|
38176
|
-
"
|
|
39360
|
+
"AIStreamResponseObject": {
|
|
38177
39361
|
"type": "object",
|
|
38178
|
-
"description": "
|
|
39362
|
+
"description": "Message emitted by the server to indicate a chunk of the JSON object response.\n",
|
|
38179
39363
|
"properties": {
|
|
38180
|
-
"
|
|
39364
|
+
"type": {
|
|
38181
39365
|
"type": "string",
|
|
38182
39366
|
"enum": [
|
|
38183
|
-
"
|
|
39367
|
+
"response_object"
|
|
38184
39368
|
]
|
|
38185
39369
|
},
|
|
38186
|
-
"
|
|
38187
|
-
"
|
|
39370
|
+
"messageId": {
|
|
39371
|
+
"type": "string",
|
|
39372
|
+
"description": "The ID of the message that this event is composing.\n"
|
|
39373
|
+
},
|
|
39374
|
+
"jsonChunk": {
|
|
39375
|
+
"type": "string",
|
|
39376
|
+
"description": "The chunk of the JSON object response"
|
|
38188
39377
|
}
|
|
38189
39378
|
},
|
|
38190
39379
|
"required": [
|
|
38191
|
-
"
|
|
38192
|
-
"
|
|
38193
|
-
|
|
38194
|
-
},
|
|
38195
|
-
"AIToolCall": {
|
|
38196
|
-
"oneOf": [
|
|
38197
|
-
{
|
|
38198
|
-
"$ref": "#/components/schemas/AIToolCallGetPageContent"
|
|
38199
|
-
},
|
|
38200
|
-
{
|
|
38201
|
-
"$ref": "#/components/schemas/AIToolCallGetPages"
|
|
38202
|
-
},
|
|
38203
|
-
{
|
|
38204
|
-
"$ref": "#/components/schemas/AIToolCallGetReusableContents"
|
|
38205
|
-
},
|
|
38206
|
-
{
|
|
38207
|
-
"$ref": "#/components/schemas/AIToolCallSearch"
|
|
38208
|
-
},
|
|
38209
|
-
{
|
|
38210
|
-
"$ref": "#/components/schemas/AIToolCallEditPage"
|
|
38211
|
-
},
|
|
38212
|
-
{
|
|
38213
|
-
"$ref": "#/components/schemas/AIToolCallCreatePage"
|
|
38214
|
-
},
|
|
38215
|
-
{
|
|
38216
|
-
"$ref": "#/components/schemas/AIToolCallDeletePage"
|
|
38217
|
-
},
|
|
38218
|
-
{
|
|
38219
|
-
"$ref": "#/components/schemas/AIToolCallRenamePage"
|
|
38220
|
-
},
|
|
38221
|
-
{
|
|
38222
|
-
"$ref": "#/components/schemas/AIToolCallMovePage"
|
|
38223
|
-
},
|
|
38224
|
-
{
|
|
38225
|
-
"$ref": "#/components/schemas/AIToolCallListModifiedPages"
|
|
38226
|
-
},
|
|
38227
|
-
{
|
|
38228
|
-
"$ref": "#/components/schemas/AIToolCallGetPageDiff"
|
|
38229
|
-
},
|
|
38230
|
-
{
|
|
38231
|
-
"$ref": "#/components/schemas/AIToolCallCreateReusableContent"
|
|
38232
|
-
},
|
|
38233
|
-
{
|
|
38234
|
-
"$ref": "#/components/schemas/AIToolCallEditReusableContent"
|
|
38235
|
-
},
|
|
38236
|
-
{
|
|
38237
|
-
"$ref": "#/components/schemas/AIToolCallGetReusableContent"
|
|
38238
|
-
},
|
|
38239
|
-
{
|
|
38240
|
-
"$ref": "#/components/schemas/AIToolCallCreateChangeRequest"
|
|
38241
|
-
},
|
|
38242
|
-
{
|
|
38243
|
-
"$ref": "#/components/schemas/AIToolCallComment"
|
|
38244
|
-
},
|
|
38245
|
-
{
|
|
38246
|
-
"$ref": "#/components/schemas/AIToolCallReplyToComment"
|
|
38247
|
-
},
|
|
38248
|
-
{
|
|
38249
|
-
"$ref": "#/components/schemas/AIToolCallSubmitChangeRequestReview"
|
|
38250
|
-
},
|
|
38251
|
-
{
|
|
38252
|
-
"$ref": "#/components/schemas/AIToolCallMCP"
|
|
38253
|
-
},
|
|
38254
|
-
{
|
|
38255
|
-
"$ref": "#/components/schemas/AIToolCallOther"
|
|
38256
|
-
}
|
|
39380
|
+
"type",
|
|
39381
|
+
"messageId",
|
|
39382
|
+
"jsonChunk"
|
|
38257
39383
|
]
|
|
38258
39384
|
},
|
|
38259
39385
|
"AIStreamResponseToolCall": {
|
|
@@ -38420,71 +39546,68 @@
|
|
|
38420
39546
|
]
|
|
38421
39547
|
},
|
|
38422
39548
|
"SiteInsightsEventSession": {
|
|
38423
|
-
"
|
|
38424
|
-
|
|
38425
|
-
|
|
38426
|
-
"visitorId": {
|
|
38427
|
-
"type": "string",
|
|
38428
|
-
"description": "GitBook's unique identifier of the visitor."
|
|
38429
|
-
},
|
|
38430
|
-
"sessionId": {
|
|
38431
|
-
"type": "string",
|
|
38432
|
-
"description": "GitBook's unique identifier of the visitor's session."
|
|
39549
|
+
"allOf": [
|
|
39550
|
+
{
|
|
39551
|
+
"$ref": "#/components/schemas/SiteInsightsSession"
|
|
38433
39552
|
},
|
|
38434
|
-
|
|
39553
|
+
{
|
|
38435
39554
|
"type": "object",
|
|
38436
|
-
"description": "
|
|
38437
|
-
"
|
|
38438
|
-
"
|
|
38439
|
-
|
|
38440
|
-
|
|
38441
|
-
|
|
38442
|
-
|
|
38443
|
-
|
|
38444
|
-
|
|
38445
|
-
|
|
38446
|
-
|
|
38447
|
-
|
|
38448
|
-
|
|
38449
|
-
|
|
38450
|
-
|
|
38451
|
-
|
|
38452
|
-
|
|
38453
|
-
|
|
38454
|
-
"referrer": {
|
|
38455
|
-
"description": "Referrer of the session",
|
|
38456
|
-
"oneOf": [
|
|
38457
|
-
{
|
|
39555
|
+
"description": "Analytics info on the GitBook's site session.",
|
|
39556
|
+
"properties": {
|
|
39557
|
+
"cookies": {
|
|
39558
|
+
"type": "object",
|
|
39559
|
+
"description": "The visitors cookies.",
|
|
39560
|
+
"additionalProperties": {
|
|
39561
|
+
"type": "string"
|
|
39562
|
+
}
|
|
39563
|
+
},
|
|
39564
|
+
"ip": {
|
|
39565
|
+
"type": "string",
|
|
39566
|
+
"description": "IP address of the visitor.\nIf not defined, it'll default to the IP executing the request.\n"
|
|
39567
|
+
},
|
|
39568
|
+
"userAgent": {
|
|
39569
|
+
"type": "string",
|
|
39570
|
+
"description": "User-agent of the visitor.\nhttps://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent\n"
|
|
39571
|
+
},
|
|
39572
|
+
"language": {
|
|
38458
39573
|
"type": "string",
|
|
38459
39574
|
"nullable": true,
|
|
38460
|
-
"
|
|
38461
|
-
|
|
38462
|
-
|
|
39575
|
+
"description": "Language of the visitor.\nhttps://developer.mozilla.org/en-US/docs/Web/API/Navigator/language\n"
|
|
39576
|
+
},
|
|
39577
|
+
"referrer": {
|
|
39578
|
+
"description": "Referrer of the session",
|
|
39579
|
+
"oneOf": [
|
|
39580
|
+
{
|
|
39581
|
+
"type": "string",
|
|
39582
|
+
"nullable": true,
|
|
39583
|
+
"enum": [
|
|
39584
|
+
null,
|
|
39585
|
+
""
|
|
39586
|
+
]
|
|
39587
|
+
},
|
|
39588
|
+
{
|
|
39589
|
+
"$ref": "#/components/schemas/URL"
|
|
39590
|
+
}
|
|
38463
39591
|
]
|
|
38464
39592
|
},
|
|
38465
|
-
{
|
|
38466
|
-
"
|
|
39593
|
+
"visitorAuthToken": {
|
|
39594
|
+
"type": "string",
|
|
39595
|
+
"nullable": true,
|
|
39596
|
+
"deprecated": true,
|
|
39597
|
+
"description": "Deprecated, use visitorAuthClaims instead."
|
|
39598
|
+
},
|
|
39599
|
+
"visitorAuthClaims": {
|
|
39600
|
+
"description": "Claims of the visitor.\nThis is used to identify the visitor with adaptive content.\n",
|
|
39601
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
38467
39602
|
}
|
|
39603
|
+
},
|
|
39604
|
+
"required": [
|
|
39605
|
+
"cookies",
|
|
39606
|
+
"userAgent",
|
|
39607
|
+
"language",
|
|
39608
|
+
"referrer"
|
|
38468
39609
|
]
|
|
38469
|
-
},
|
|
38470
|
-
"visitorAuthToken": {
|
|
38471
|
-
"type": "string",
|
|
38472
|
-
"nullable": true,
|
|
38473
|
-
"deprecated": true,
|
|
38474
|
-
"description": "Deprecated, use visitorAuthClaims instead."
|
|
38475
|
-
},
|
|
38476
|
-
"visitorAuthClaims": {
|
|
38477
|
-
"description": "Claims of the visitor.\nThis is used to identify the visitor with adaptive content.\n",
|
|
38478
|
-
"$ref": "#/components/schemas/PlainObject"
|
|
38479
39610
|
}
|
|
38480
|
-
},
|
|
38481
|
-
"required": [
|
|
38482
|
-
"visitorId",
|
|
38483
|
-
"sessionId",
|
|
38484
|
-
"cookies",
|
|
38485
|
-
"userAgent",
|
|
38486
|
-
"language",
|
|
38487
|
-
"referrer"
|
|
38488
39611
|
]
|
|
38489
39612
|
},
|
|
38490
39613
|
"SiteInsightsDisplayContext": {
|
|
@@ -41049,6 +42172,40 @@
|
|
|
41049
42172
|
"destination"
|
|
41050
42173
|
]
|
|
41051
42174
|
},
|
|
42175
|
+
"SiteRedirectInputDestinationPath": {
|
|
42176
|
+
"type": "object",
|
|
42177
|
+
"properties": {
|
|
42178
|
+
"kind": {
|
|
42179
|
+
"type": "string",
|
|
42180
|
+
"enum": [
|
|
42181
|
+
"path"
|
|
42182
|
+
]
|
|
42183
|
+
},
|
|
42184
|
+
"spaceId": {
|
|
42185
|
+
"type": "string",
|
|
42186
|
+
"description": "Unique identifier for the space containing the page referenced by the path."
|
|
42187
|
+
},
|
|
42188
|
+
"path": {
|
|
42189
|
+
"type": "string",
|
|
42190
|
+
"description": "Path to the page within the space revision to resolve."
|
|
42191
|
+
}
|
|
42192
|
+
},
|
|
42193
|
+
"required": [
|
|
42194
|
+
"kind",
|
|
42195
|
+
"spaceId",
|
|
42196
|
+
"path"
|
|
42197
|
+
]
|
|
42198
|
+
},
|
|
42199
|
+
"SiteRedirectInputDestination": {
|
|
42200
|
+
"oneOf": [
|
|
42201
|
+
{
|
|
42202
|
+
"$ref": "#/components/schemas/SiteRedirectDestination"
|
|
42203
|
+
},
|
|
42204
|
+
{
|
|
42205
|
+
"$ref": "#/components/schemas/SiteRedirectInputDestinationPath"
|
|
42206
|
+
}
|
|
42207
|
+
]
|
|
42208
|
+
},
|
|
41052
42209
|
"SiteMcpServerName": {
|
|
41053
42210
|
"type": "string",
|
|
41054
42211
|
"description": "Name of the MCP server",
|
|
@@ -41840,21 +42997,6 @@
|
|
|
41840
42997
|
}
|
|
41841
42998
|
}
|
|
41842
42999
|
},
|
|
41843
|
-
"Timerange": {
|
|
41844
|
-
"type": "object",
|
|
41845
|
-
"properties": {
|
|
41846
|
-
"start": {
|
|
41847
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
41848
|
-
},
|
|
41849
|
-
"end": {
|
|
41850
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
41851
|
-
}
|
|
41852
|
-
},
|
|
41853
|
-
"required": [
|
|
41854
|
-
"start",
|
|
41855
|
-
"end"
|
|
41856
|
-
]
|
|
41857
|
-
},
|
|
41858
43000
|
"SHA256": {
|
|
41859
43001
|
"type": "string",
|
|
41860
43002
|
"minLength": 64,
|
|
@@ -44620,6 +45762,14 @@
|
|
|
44620
45762
|
"disabled"
|
|
44621
45763
|
]
|
|
44622
45764
|
},
|
|
45765
|
+
"SiteQuestionAnswerSourceType": {
|
|
45766
|
+
"type": "string",
|
|
45767
|
+
"description": "Source type used to answer a site question.",
|
|
45768
|
+
"enum": [
|
|
45769
|
+
"page",
|
|
45770
|
+
"record"
|
|
45771
|
+
]
|
|
45772
|
+
},
|
|
44623
45773
|
"Seat": {
|
|
44624
45774
|
"type": "object",
|
|
44625
45775
|
"properties": {
|
|
@@ -44654,78 +45804,6 @@
|
|
|
44654
45804
|
"updatedAt"
|
|
44655
45805
|
]
|
|
44656
45806
|
},
|
|
44657
|
-
"AIMessageRole": {
|
|
44658
|
-
"type": "string",
|
|
44659
|
-
"enum": [
|
|
44660
|
-
"user",
|
|
44661
|
-
"assistant",
|
|
44662
|
-
"developer"
|
|
44663
|
-
]
|
|
44664
|
-
},
|
|
44665
|
-
"AIMessageStep": {
|
|
44666
|
-
"type": "object",
|
|
44667
|
-
"description": "A step in a message from the AI agent.",
|
|
44668
|
-
"properties": {
|
|
44669
|
-
"content": {
|
|
44670
|
-
"$ref": "#/components/schemas/JSONDocument"
|
|
44671
|
-
},
|
|
44672
|
-
"reasoning": {
|
|
44673
|
-
"$ref": "#/components/schemas/JSONDocument"
|
|
44674
|
-
},
|
|
44675
|
-
"toolCalls": {
|
|
44676
|
-
"type": "array",
|
|
44677
|
-
"items": {
|
|
44678
|
-
"$ref": "#/components/schemas/AIToolCall"
|
|
44679
|
-
}
|
|
44680
|
-
},
|
|
44681
|
-
"timing": {
|
|
44682
|
-
"type": "object",
|
|
44683
|
-
"description": "The timing of the step.",
|
|
44684
|
-
"properties": {
|
|
44685
|
-
"reasoning": {
|
|
44686
|
-
"$ref": "#/components/schemas/Timerange"
|
|
44687
|
-
}
|
|
44688
|
-
}
|
|
44689
|
-
},
|
|
44690
|
-
"attachments": {
|
|
44691
|
-
"type": "array",
|
|
44692
|
-
"items": {
|
|
44693
|
-
"$ref": "#/components/schemas/AIAttachment"
|
|
44694
|
-
}
|
|
44695
|
-
}
|
|
44696
|
-
},
|
|
44697
|
-
"required": [
|
|
44698
|
-
"content"
|
|
44699
|
-
]
|
|
44700
|
-
},
|
|
44701
|
-
"AIMessage": {
|
|
44702
|
-
"type": "object",
|
|
44703
|
-
"properties": {
|
|
44704
|
-
"id": {
|
|
44705
|
-
"type": "string"
|
|
44706
|
-
},
|
|
44707
|
-
"role": {
|
|
44708
|
-
"$ref": "#/components/schemas/AIMessageRole"
|
|
44709
|
-
},
|
|
44710
|
-
"steps": {
|
|
44711
|
-
"type": "array",
|
|
44712
|
-
"items": {
|
|
44713
|
-
"$ref": "#/components/schemas/AIMessageStep"
|
|
44714
|
-
}
|
|
44715
|
-
},
|
|
44716
|
-
"task": {
|
|
44717
|
-
"$ref": "#/components/schemas/AIMessageTask"
|
|
44718
|
-
},
|
|
44719
|
-
"response": {
|
|
44720
|
-
"$ref": "#/components/schemas/AIMessageResponseMetadata"
|
|
44721
|
-
}
|
|
44722
|
-
},
|
|
44723
|
-
"required": [
|
|
44724
|
-
"id",
|
|
44725
|
-
"role",
|
|
44726
|
-
"steps"
|
|
44727
|
-
]
|
|
44728
|
-
},
|
|
44729
45807
|
"AgentStreamMessages": {
|
|
44730
45808
|
"type": "object",
|
|
44731
45809
|
"description": "Payload emitted by the agent to reset the messages.\n",
|