@gitbook/api 0.164.0 → 0.165.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 +93 -400
- package/dist/constants.d.ts +3 -5
- package/dist/index.cjs +23 -101
- package/dist/index.js +23 -97
- package/package.json +1 -1
- package/spec/openapi.json +492 -1269
- package/spec/openapi.yaml +163 -667
package/spec/openapi.json
CHANGED
|
@@ -357,13 +357,6 @@
|
|
|
357
357
|
"x-parent": "openapi",
|
|
358
358
|
"description": "Keep a history of your OpenAPI specs, enabling you to compare different versions, revert, or maintain multiple concurrent versions for testing or documentation.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"OpenAPISpecVersion\" grouped=\"false\" %}\n The OpenAPISpecVersion object\n{% endopenapi-schemas %}\n"
|
|
359
359
|
},
|
|
360
|
-
{
|
|
361
|
-
"name": "conversations",
|
|
362
|
-
"x-page-icon": "robot",
|
|
363
|
-
"x-page-title": "Conversations",
|
|
364
|
-
"x-page-description": "Ingest knowledge for Conversations.",
|
|
365
|
-
"description": "The Conversations endpoints let you ingest, manage, and monitor Conversations in GitBook to be processed by Docs Agents.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"ConversationsIssuesCluster\" grouped=\"false\" %}\n The ConversationsIssuesCluster object\n{% endopenapi-schemas %}\n"
|
|
366
|
-
},
|
|
367
360
|
{
|
|
368
361
|
"name": "custom-fonts",
|
|
369
362
|
"x-page-icon": "font",
|
|
@@ -2410,15 +2403,6 @@
|
|
|
2410
2403
|
},
|
|
2411
2404
|
"description": "If defined, only change requests with a requested reviewer for this user will be returned."
|
|
2412
2405
|
},
|
|
2413
|
-
{
|
|
2414
|
-
"name": "conversationsIssuesCluster",
|
|
2415
|
-
"in": "query",
|
|
2416
|
-
"required": false,
|
|
2417
|
-
"schema": {
|
|
2418
|
-
"type": "string"
|
|
2419
|
-
},
|
|
2420
|
-
"description": "If defined, only change requests associated with this conversations issues cluster will be returned."
|
|
2421
|
-
},
|
|
2422
2406
|
{
|
|
2423
2407
|
"name": "orderBy",
|
|
2424
2408
|
"in": "query",
|
|
@@ -9168,15 +9152,6 @@
|
|
|
9168
9152
|
},
|
|
9169
9153
|
"description": "If defined, only change requests with a requested reviewer for this user will be returned."
|
|
9170
9154
|
},
|
|
9171
|
-
{
|
|
9172
|
-
"name": "conversationsIssuesCluster",
|
|
9173
|
-
"in": "query",
|
|
9174
|
-
"required": false,
|
|
9175
|
-
"schema": {
|
|
9176
|
-
"type": "string"
|
|
9177
|
-
},
|
|
9178
|
-
"description": "If defined, only change requests associated with this conversations issues cluster will be returned."
|
|
9179
|
-
},
|
|
9180
9155
|
{
|
|
9181
9156
|
"name": "orderBy",
|
|
9182
9157
|
"in": "query",
|
|
@@ -10664,46 +10639,110 @@
|
|
|
10664
10639
|
}
|
|
10665
10640
|
}
|
|
10666
10641
|
},
|
|
10667
|
-
"/orgs/{organizationId}/
|
|
10642
|
+
"/orgs/{organizationId}/agent-instructions": {
|
|
10668
10643
|
"get": {
|
|
10669
|
-
"operationId": "
|
|
10670
|
-
"summary": "
|
|
10644
|
+
"operationId": "getOrganizationAgentInstructions",
|
|
10645
|
+
"summary": "Get Docs agent instructions for an organization",
|
|
10671
10646
|
"tags": [
|
|
10672
|
-
"
|
|
10647
|
+
"organizations",
|
|
10648
|
+
"agents"
|
|
10649
|
+
],
|
|
10650
|
+
"security": [
|
|
10651
|
+
{
|
|
10652
|
+
"user": []
|
|
10653
|
+
}
|
|
10673
10654
|
],
|
|
10674
10655
|
"parameters": [
|
|
10675
10656
|
{
|
|
10676
10657
|
"$ref": "#/components/parameters/organizationId"
|
|
10677
|
-
}
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
|
|
10681
|
-
|
|
10682
|
-
"
|
|
10683
|
-
|
|
10658
|
+
}
|
|
10659
|
+
],
|
|
10660
|
+
"responses": {
|
|
10661
|
+
"200": {
|
|
10662
|
+
"description": "OK",
|
|
10663
|
+
"content": {
|
|
10664
|
+
"application/json": {
|
|
10665
|
+
"schema": {
|
|
10666
|
+
"$ref": "#/components/schemas/OrganizationAgentInstructions"
|
|
10667
|
+
}
|
|
10668
|
+
}
|
|
10669
|
+
}
|
|
10670
|
+
}
|
|
10671
|
+
}
|
|
10672
|
+
},
|
|
10673
|
+
"put": {
|
|
10674
|
+
"operationId": "updateOrganizationAgentInstructions",
|
|
10675
|
+
"summary": "Update Docs agent instructions for an organization",
|
|
10676
|
+
"tags": [
|
|
10677
|
+
"organizations",
|
|
10678
|
+
"agents"
|
|
10679
|
+
],
|
|
10680
|
+
"security": [
|
|
10684
10681
|
{
|
|
10685
|
-
"
|
|
10686
|
-
}
|
|
10682
|
+
"user": []
|
|
10683
|
+
}
|
|
10684
|
+
],
|
|
10685
|
+
"parameters": [
|
|
10687
10686
|
{
|
|
10688
|
-
"
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
|
|
10696
|
-
"
|
|
10697
|
-
"
|
|
10698
|
-
|
|
10687
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10688
|
+
}
|
|
10689
|
+
],
|
|
10690
|
+
"requestBody": {
|
|
10691
|
+
"required": true,
|
|
10692
|
+
"content": {
|
|
10693
|
+
"application/json": {
|
|
10694
|
+
"schema": {
|
|
10695
|
+
"type": "object",
|
|
10696
|
+
"required": [
|
|
10697
|
+
"instructions"
|
|
10698
|
+
],
|
|
10699
|
+
"properties": {
|
|
10700
|
+
"instructions": {
|
|
10701
|
+
"$ref": "#/components/schemas/JSONDocument",
|
|
10702
|
+
"description": "Document describing the Docs agent instructions."
|
|
10703
|
+
}
|
|
10704
|
+
}
|
|
10705
|
+
}
|
|
10699
10706
|
}
|
|
10700
10707
|
}
|
|
10708
|
+
},
|
|
10709
|
+
"responses": {
|
|
10710
|
+
"200": {
|
|
10711
|
+
"description": "Updated instructions",
|
|
10712
|
+
"content": {
|
|
10713
|
+
"application/json": {
|
|
10714
|
+
"schema": {
|
|
10715
|
+
"$ref": "#/components/schemas/OrganizationAgentInstructions"
|
|
10716
|
+
}
|
|
10717
|
+
}
|
|
10718
|
+
}
|
|
10719
|
+
}
|
|
10720
|
+
}
|
|
10721
|
+
}
|
|
10722
|
+
},
|
|
10723
|
+
"/orgs/{organizationId}/translations": {
|
|
10724
|
+
"get": {
|
|
10725
|
+
"operationId": "listTranslations",
|
|
10726
|
+
"summary": "List all the translations",
|
|
10727
|
+
"tags": [
|
|
10728
|
+
"translations"
|
|
10701
10729
|
],
|
|
10702
10730
|
"security": [
|
|
10703
10731
|
{
|
|
10704
10732
|
"user": []
|
|
10705
10733
|
}
|
|
10706
10734
|
],
|
|
10735
|
+
"parameters": [
|
|
10736
|
+
{
|
|
10737
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10738
|
+
},
|
|
10739
|
+
{
|
|
10740
|
+
"$ref": "#/components/parameters/listPage"
|
|
10741
|
+
},
|
|
10742
|
+
{
|
|
10743
|
+
"$ref": "#/components/parameters/listLimit"
|
|
10744
|
+
}
|
|
10745
|
+
],
|
|
10707
10746
|
"responses": {
|
|
10708
10747
|
"200": {
|
|
10709
10748
|
"description": "OK",
|
|
@@ -10723,7 +10762,7 @@
|
|
|
10723
10762
|
"items": {
|
|
10724
10763
|
"type": "array",
|
|
10725
10764
|
"items": {
|
|
10726
|
-
"$ref": "#/components/schemas/
|
|
10765
|
+
"$ref": "#/components/schemas/Translation"
|
|
10727
10766
|
}
|
|
10728
10767
|
}
|
|
10729
10768
|
}
|
|
@@ -10732,63 +10771,121 @@
|
|
|
10732
10771
|
}
|
|
10733
10772
|
}
|
|
10734
10773
|
}
|
|
10735
|
-
},
|
|
10736
|
-
"404": {
|
|
10737
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
10738
10774
|
}
|
|
10739
10775
|
}
|
|
10740
|
-
}
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
|
|
10744
|
-
"operationId": "getConversationsIssuesCluster",
|
|
10745
|
-
"summary": "Get a conversations issues cluster by its identifier",
|
|
10776
|
+
},
|
|
10777
|
+
"post": {
|
|
10778
|
+
"operationId": "createTranslation",
|
|
10779
|
+
"summary": "Create a translation",
|
|
10746
10780
|
"tags": [
|
|
10747
|
-
"
|
|
10781
|
+
"translations"
|
|
10782
|
+
],
|
|
10783
|
+
"security": [
|
|
10784
|
+
{
|
|
10785
|
+
"user": []
|
|
10786
|
+
}
|
|
10748
10787
|
],
|
|
10749
10788
|
"parameters": [
|
|
10750
10789
|
{
|
|
10751
10790
|
"$ref": "#/components/parameters/organizationId"
|
|
10791
|
+
}
|
|
10792
|
+
],
|
|
10793
|
+
"requestBody": {
|
|
10794
|
+
"required": true,
|
|
10795
|
+
"content": {
|
|
10796
|
+
"application/json": {
|
|
10797
|
+
"schema": {
|
|
10798
|
+
"type": "object",
|
|
10799
|
+
"properties": {
|
|
10800
|
+
"source": {
|
|
10801
|
+
"$ref": "#/components/schemas/TranslationSource"
|
|
10802
|
+
},
|
|
10803
|
+
"language": {
|
|
10804
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
10805
|
+
},
|
|
10806
|
+
"instructions": {
|
|
10807
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
10808
|
+
}
|
|
10809
|
+
},
|
|
10810
|
+
"required": [
|
|
10811
|
+
"language",
|
|
10812
|
+
"source"
|
|
10813
|
+
]
|
|
10814
|
+
}
|
|
10815
|
+
}
|
|
10816
|
+
}
|
|
10817
|
+
},
|
|
10818
|
+
"responses": {
|
|
10819
|
+
"201": {
|
|
10820
|
+
"description": "Translation has been created",
|
|
10821
|
+
"content": {
|
|
10822
|
+
"application/json": {
|
|
10823
|
+
"schema": {
|
|
10824
|
+
"$ref": "#/components/schemas/Translation"
|
|
10825
|
+
}
|
|
10826
|
+
}
|
|
10827
|
+
}
|
|
10752
10828
|
},
|
|
10753
|
-
{
|
|
10754
|
-
"$ref": "#/components/
|
|
10829
|
+
"400": {
|
|
10830
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
10755
10831
|
}
|
|
10832
|
+
}
|
|
10833
|
+
}
|
|
10834
|
+
},
|
|
10835
|
+
"/orgs/{organizationId}/translations/{translationId}": {
|
|
10836
|
+
"get": {
|
|
10837
|
+
"operationId": "getTranslation",
|
|
10838
|
+
"summary": "Get a translation by its ID",
|
|
10839
|
+
"tags": [
|
|
10840
|
+
"translations"
|
|
10756
10841
|
],
|
|
10757
10842
|
"security": [
|
|
10758
10843
|
{
|
|
10759
10844
|
"user": []
|
|
10760
10845
|
}
|
|
10761
10846
|
],
|
|
10847
|
+
"parameters": [
|
|
10848
|
+
{
|
|
10849
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10850
|
+
},
|
|
10851
|
+
{
|
|
10852
|
+
"$ref": "#/components/parameters/translationId"
|
|
10853
|
+
}
|
|
10854
|
+
],
|
|
10762
10855
|
"responses": {
|
|
10763
10856
|
"200": {
|
|
10764
10857
|
"description": "OK",
|
|
10765
10858
|
"content": {
|
|
10766
10859
|
"application/json": {
|
|
10767
10860
|
"schema": {
|
|
10768
|
-
"$ref": "#/components/schemas/
|
|
10861
|
+
"$ref": "#/components/schemas/Translation"
|
|
10769
10862
|
}
|
|
10770
10863
|
}
|
|
10771
10864
|
}
|
|
10865
|
+
},
|
|
10866
|
+
"404": {
|
|
10867
|
+
"description": "No matching translation found",
|
|
10868
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10772
10869
|
}
|
|
10773
10870
|
}
|
|
10774
10871
|
},
|
|
10775
|
-
"
|
|
10776
|
-
"operationId": "
|
|
10777
|
-
"summary": "Update a
|
|
10872
|
+
"put": {
|
|
10873
|
+
"operationId": "updateTranslation",
|
|
10874
|
+
"summary": "Update a translation",
|
|
10778
10875
|
"tags": [
|
|
10779
|
-
"
|
|
10876
|
+
"translations"
|
|
10877
|
+
],
|
|
10878
|
+
"security": [
|
|
10879
|
+
{
|
|
10880
|
+
"user": []
|
|
10881
|
+
}
|
|
10780
10882
|
],
|
|
10781
10883
|
"parameters": [
|
|
10782
10884
|
{
|
|
10783
10885
|
"$ref": "#/components/parameters/organizationId"
|
|
10784
10886
|
},
|
|
10785
10887
|
{
|
|
10786
|
-
"$ref": "#/components/parameters/
|
|
10787
|
-
}
|
|
10788
|
-
],
|
|
10789
|
-
"security": [
|
|
10790
|
-
{
|
|
10791
|
-
"user": []
|
|
10888
|
+
"$ref": "#/components/parameters/translationId"
|
|
10792
10889
|
}
|
|
10793
10890
|
],
|
|
10794
10891
|
"requestBody": {
|
|
@@ -10797,39 +10894,100 @@
|
|
|
10797
10894
|
"application/json": {
|
|
10798
10895
|
"schema": {
|
|
10799
10896
|
"type": "object",
|
|
10897
|
+
"required": [
|
|
10898
|
+
"instructions"
|
|
10899
|
+
],
|
|
10800
10900
|
"properties": {
|
|
10801
|
-
"
|
|
10802
|
-
"
|
|
10803
|
-
"description": "Whether the cluster is muted for change request creation"
|
|
10901
|
+
"instructions": {
|
|
10902
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
10804
10903
|
}
|
|
10805
|
-
}
|
|
10806
|
-
"required": [
|
|
10807
|
-
"muted"
|
|
10808
|
-
]
|
|
10904
|
+
}
|
|
10809
10905
|
}
|
|
10810
10906
|
}
|
|
10811
10907
|
}
|
|
10812
10908
|
},
|
|
10813
10909
|
"responses": {
|
|
10814
10910
|
"200": {
|
|
10815
|
-
"description": "
|
|
10911
|
+
"description": "Translation has been updated",
|
|
10816
10912
|
"content": {
|
|
10817
10913
|
"application/json": {
|
|
10818
10914
|
"schema": {
|
|
10819
|
-
"$ref": "#/components/schemas/
|
|
10915
|
+
"$ref": "#/components/schemas/Translation"
|
|
10820
10916
|
}
|
|
10821
10917
|
}
|
|
10822
10918
|
}
|
|
10919
|
+
},
|
|
10920
|
+
"400": {
|
|
10921
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
10922
|
+
}
|
|
10923
|
+
}
|
|
10924
|
+
},
|
|
10925
|
+
"delete": {
|
|
10926
|
+
"operationId": "deleteTranslation",
|
|
10927
|
+
"summary": "Delete a translation",
|
|
10928
|
+
"tags": [
|
|
10929
|
+
"translations"
|
|
10930
|
+
],
|
|
10931
|
+
"security": [
|
|
10932
|
+
{
|
|
10933
|
+
"user": []
|
|
10934
|
+
}
|
|
10935
|
+
],
|
|
10936
|
+
"parameters": [
|
|
10937
|
+
{
|
|
10938
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10939
|
+
},
|
|
10940
|
+
{
|
|
10941
|
+
"$ref": "#/components/parameters/translationId"
|
|
10942
|
+
}
|
|
10943
|
+
],
|
|
10944
|
+
"responses": {
|
|
10945
|
+
"204": {
|
|
10946
|
+
"description": "Translation did not exist"
|
|
10947
|
+
},
|
|
10948
|
+
"205": {
|
|
10949
|
+
"description": "Translation has been deleted"
|
|
10950
|
+
}
|
|
10951
|
+
}
|
|
10952
|
+
}
|
|
10953
|
+
},
|
|
10954
|
+
"/orgs/{organizationId}/translations/{translationId}/run": {
|
|
10955
|
+
"post": {
|
|
10956
|
+
"operationId": "runTranslation",
|
|
10957
|
+
"summary": "Run a translation again",
|
|
10958
|
+
"tags": [
|
|
10959
|
+
"translations"
|
|
10960
|
+
],
|
|
10961
|
+
"security": [
|
|
10962
|
+
{
|
|
10963
|
+
"user": []
|
|
10964
|
+
}
|
|
10965
|
+
],
|
|
10966
|
+
"parameters": [
|
|
10967
|
+
{
|
|
10968
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10969
|
+
},
|
|
10970
|
+
{
|
|
10971
|
+
"$ref": "#/components/parameters/translationId"
|
|
10972
|
+
}
|
|
10973
|
+
],
|
|
10974
|
+
"responses": {
|
|
10975
|
+
"204": {
|
|
10976
|
+
"description": "Translation run triggered"
|
|
10977
|
+
},
|
|
10978
|
+
"404": {
|
|
10979
|
+
"description": "No matching translation found",
|
|
10980
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10823
10981
|
}
|
|
10824
10982
|
}
|
|
10825
10983
|
}
|
|
10826
10984
|
},
|
|
10827
|
-
"/orgs/{organizationId}/
|
|
10985
|
+
"/orgs/{organizationId}/translations-glossary": {
|
|
10828
10986
|
"get": {
|
|
10829
|
-
"operationId": "
|
|
10830
|
-
"summary": "List
|
|
10987
|
+
"operationId": "listGlossaryEntries",
|
|
10988
|
+
"summary": "List glossary entries",
|
|
10831
10989
|
"tags": [
|
|
10832
|
-
"
|
|
10990
|
+
"glossary"
|
|
10833
10991
|
],
|
|
10834
10992
|
"security": [
|
|
10835
10993
|
{
|
|
@@ -10847,709 +11005,11 @@
|
|
|
10847
11005
|
"$ref": "#/components/parameters/listLimit"
|
|
10848
11006
|
},
|
|
10849
11007
|
{
|
|
10850
|
-
"name": "
|
|
11008
|
+
"name": "orderBy",
|
|
10851
11009
|
"in": "query",
|
|
10852
|
-
"description": "
|
|
11010
|
+
"description": "Sort results by language key",
|
|
10853
11011
|
"schema": {
|
|
10854
|
-
"
|
|
10855
|
-
}
|
|
10856
|
-
}
|
|
10857
|
-
],
|
|
10858
|
-
"responses": {
|
|
10859
|
-
"200": {
|
|
10860
|
-
"description": "OK",
|
|
10861
|
-
"content": {
|
|
10862
|
-
"application/json": {
|
|
10863
|
-
"schema": {
|
|
10864
|
-
"allOf": [
|
|
10865
|
-
{
|
|
10866
|
-
"$ref": "#/components/schemas/List"
|
|
10867
|
-
},
|
|
10868
|
-
{
|
|
10869
|
-
"type": "object",
|
|
10870
|
-
"required": [
|
|
10871
|
-
"items"
|
|
10872
|
-
],
|
|
10873
|
-
"properties": {
|
|
10874
|
-
"items": {
|
|
10875
|
-
"type": "array",
|
|
10876
|
-
"items": {
|
|
10877
|
-
"$ref": "#/components/schemas/Conversation"
|
|
10878
|
-
}
|
|
10879
|
-
}
|
|
10880
|
-
}
|
|
10881
|
-
}
|
|
10882
|
-
]
|
|
10883
|
-
}
|
|
10884
|
-
}
|
|
10885
|
-
}
|
|
10886
|
-
}
|
|
10887
|
-
}
|
|
10888
|
-
},
|
|
10889
|
-
"post": {
|
|
10890
|
-
"operationId": "ingestConversation",
|
|
10891
|
-
"summary": "Ingest conversations",
|
|
10892
|
-
"tags": [
|
|
10893
|
-
"conversations"
|
|
10894
|
-
],
|
|
10895
|
-
"security": [
|
|
10896
|
-
{
|
|
10897
|
-
"integration-installation": []
|
|
10898
|
-
}
|
|
10899
|
-
],
|
|
10900
|
-
"parameters": [
|
|
10901
|
-
{
|
|
10902
|
-
"$ref": "#/components/parameters/organizationId"
|
|
10903
|
-
}
|
|
10904
|
-
],
|
|
10905
|
-
"requestBody": {
|
|
10906
|
-
"required": true,
|
|
10907
|
-
"content": {
|
|
10908
|
-
"application/json": {
|
|
10909
|
-
"schema": {
|
|
10910
|
-
"oneOf": [
|
|
10911
|
-
{
|
|
10912
|
-
"$ref": "#/components/schemas/ConversationInput"
|
|
10913
|
-
},
|
|
10914
|
-
{
|
|
10915
|
-
"type": "array",
|
|
10916
|
-
"items": {
|
|
10917
|
-
"$ref": "#/components/schemas/ConversationInput"
|
|
10918
|
-
}
|
|
10919
|
-
}
|
|
10920
|
-
]
|
|
10921
|
-
}
|
|
10922
|
-
}
|
|
10923
|
-
}
|
|
10924
|
-
},
|
|
10925
|
-
"responses": {
|
|
10926
|
-
"204": {
|
|
10927
|
-
"description": "Conversations ingested"
|
|
10928
|
-
}
|
|
10929
|
-
}
|
|
10930
|
-
}
|
|
10931
|
-
},
|
|
10932
|
-
"/orgs/{organizationId}/conversations-issues": {
|
|
10933
|
-
"get": {
|
|
10934
|
-
"operationId": "listConversationsIssues",
|
|
10935
|
-
"summary": "List conversation issues",
|
|
10936
|
-
"tags": [
|
|
10937
|
-
"conversations"
|
|
10938
|
-
],
|
|
10939
|
-
"parameters": [
|
|
10940
|
-
{
|
|
10941
|
-
"$ref": "#/components/parameters/organizationId"
|
|
10942
|
-
},
|
|
10943
|
-
{
|
|
10944
|
-
"$ref": "#/components/parameters/listPage"
|
|
10945
|
-
},
|
|
10946
|
-
{
|
|
10947
|
-
"$ref": "#/components/parameters/listLimit"
|
|
10948
|
-
},
|
|
10949
|
-
{
|
|
10950
|
-
"name": "cluster",
|
|
10951
|
-
"in": "query",
|
|
10952
|
-
"description": "Filter conversation issues by cluster identifier.",
|
|
10953
|
-
"schema": {
|
|
10954
|
-
"type": "string"
|
|
10955
|
-
}
|
|
10956
|
-
},
|
|
10957
|
-
{
|
|
10958
|
-
"name": "conversation",
|
|
10959
|
-
"in": "query",
|
|
10960
|
-
"description": "Filter conversation issues by conversation identifier.",
|
|
10961
|
-
"schema": {
|
|
10962
|
-
"type": "string"
|
|
10963
|
-
}
|
|
10964
|
-
}
|
|
10965
|
-
],
|
|
10966
|
-
"security": [
|
|
10967
|
-
{
|
|
10968
|
-
"user": []
|
|
10969
|
-
}
|
|
10970
|
-
],
|
|
10971
|
-
"responses": {
|
|
10972
|
-
"200": {
|
|
10973
|
-
"description": "OK",
|
|
10974
|
-
"content": {
|
|
10975
|
-
"application/json": {
|
|
10976
|
-
"schema": {
|
|
10977
|
-
"allOf": [
|
|
10978
|
-
{
|
|
10979
|
-
"$ref": "#/components/schemas/List"
|
|
10980
|
-
},
|
|
10981
|
-
{
|
|
10982
|
-
"type": "object",
|
|
10983
|
-
"required": [
|
|
10984
|
-
"items"
|
|
10985
|
-
],
|
|
10986
|
-
"properties": {
|
|
10987
|
-
"items": {
|
|
10988
|
-
"type": "array",
|
|
10989
|
-
"items": {
|
|
10990
|
-
"type": "object",
|
|
10991
|
-
"properties": {
|
|
10992
|
-
"issue": {
|
|
10993
|
-
"$ref": "#/components/schemas/ConversationIssue"
|
|
10994
|
-
},
|
|
10995
|
-
"conversation": {
|
|
10996
|
-
"$ref": "#/components/schemas/Conversation"
|
|
10997
|
-
}
|
|
10998
|
-
},
|
|
10999
|
-
"required": [
|
|
11000
|
-
"issue",
|
|
11001
|
-
"conversation"
|
|
11002
|
-
]
|
|
11003
|
-
}
|
|
11004
|
-
}
|
|
11005
|
-
}
|
|
11006
|
-
}
|
|
11007
|
-
]
|
|
11008
|
-
}
|
|
11009
|
-
}
|
|
11010
|
-
}
|
|
11011
|
-
}
|
|
11012
|
-
}
|
|
11013
|
-
}
|
|
11014
|
-
},
|
|
11015
|
-
"/orgs/{organizationId}/conversations-issues/{issueId}": {
|
|
11016
|
-
"get": {
|
|
11017
|
-
"operationId": "getConversationIssueById",
|
|
11018
|
-
"summary": "Get a conversation issue by ID",
|
|
11019
|
-
"tags": [
|
|
11020
|
-
"conversations"
|
|
11021
|
-
],
|
|
11022
|
-
"security": [
|
|
11023
|
-
{
|
|
11024
|
-
"user": []
|
|
11025
|
-
}
|
|
11026
|
-
],
|
|
11027
|
-
"parameters": [
|
|
11028
|
-
{
|
|
11029
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11030
|
-
},
|
|
11031
|
-
{
|
|
11032
|
-
"$ref": "#/components/parameters/conversationIssueId"
|
|
11033
|
-
}
|
|
11034
|
-
],
|
|
11035
|
-
"responses": {
|
|
11036
|
-
"200": {
|
|
11037
|
-
"description": "OK",
|
|
11038
|
-
"content": {
|
|
11039
|
-
"application/json": {
|
|
11040
|
-
"schema": {
|
|
11041
|
-
"type": "object",
|
|
11042
|
-
"required": [
|
|
11043
|
-
"issue",
|
|
11044
|
-
"conversation"
|
|
11045
|
-
],
|
|
11046
|
-
"properties": {
|
|
11047
|
-
"issue": {
|
|
11048
|
-
"$ref": "#/components/schemas/ConversationIssue"
|
|
11049
|
-
},
|
|
11050
|
-
"conversation": {
|
|
11051
|
-
"$ref": "#/components/schemas/Conversation"
|
|
11052
|
-
}
|
|
11053
|
-
}
|
|
11054
|
-
}
|
|
11055
|
-
}
|
|
11056
|
-
}
|
|
11057
|
-
},
|
|
11058
|
-
"404": {
|
|
11059
|
-
"description": "Conversation issue not found",
|
|
11060
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
11061
|
-
}
|
|
11062
|
-
}
|
|
11063
|
-
}
|
|
11064
|
-
},
|
|
11065
|
-
"/orgs/{organizationId}/conversations/{conversationId}": {
|
|
11066
|
-
"get": {
|
|
11067
|
-
"operationId": "getConversationById",
|
|
11068
|
-
"summary": "Get a conversation by ID",
|
|
11069
|
-
"tags": [
|
|
11070
|
-
"conversations"
|
|
11071
|
-
],
|
|
11072
|
-
"security": [
|
|
11073
|
-
{
|
|
11074
|
-
"user": []
|
|
11075
|
-
}
|
|
11076
|
-
],
|
|
11077
|
-
"parameters": [
|
|
11078
|
-
{
|
|
11079
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11080
|
-
},
|
|
11081
|
-
{
|
|
11082
|
-
"$ref": "#/components/parameters/conversationId"
|
|
11083
|
-
}
|
|
11084
|
-
],
|
|
11085
|
-
"responses": {
|
|
11086
|
-
"200": {
|
|
11087
|
-
"description": "OK",
|
|
11088
|
-
"content": {
|
|
11089
|
-
"application/json": {
|
|
11090
|
-
"schema": {
|
|
11091
|
-
"type": "object",
|
|
11092
|
-
"required": [
|
|
11093
|
-
"conversation",
|
|
11094
|
-
"parts",
|
|
11095
|
-
"metadata"
|
|
11096
|
-
],
|
|
11097
|
-
"properties": {
|
|
11098
|
-
"conversation": {
|
|
11099
|
-
"$ref": "#/components/schemas/Conversation"
|
|
11100
|
-
},
|
|
11101
|
-
"parts": {
|
|
11102
|
-
"type": "array",
|
|
11103
|
-
"items": {
|
|
11104
|
-
"$ref": "#/components/schemas/ConversationPart"
|
|
11105
|
-
}
|
|
11106
|
-
},
|
|
11107
|
-
"metadata": {
|
|
11108
|
-
"$ref": "#/components/schemas/ConversationMetadata"
|
|
11109
|
-
}
|
|
11110
|
-
}
|
|
11111
|
-
}
|
|
11112
|
-
}
|
|
11113
|
-
}
|
|
11114
|
-
},
|
|
11115
|
-
"404": {
|
|
11116
|
-
"description": "Conversation not found",
|
|
11117
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
11118
|
-
}
|
|
11119
|
-
}
|
|
11120
|
-
}
|
|
11121
|
-
},
|
|
11122
|
-
"/orgs/{organizationId}/agents-setup": {
|
|
11123
|
-
"get": {
|
|
11124
|
-
"operationId": "getAgentSetupState",
|
|
11125
|
-
"summary": "Get the agents setup state",
|
|
11126
|
-
"description": "Get the state of the agent.\n",
|
|
11127
|
-
"tags": [
|
|
11128
|
-
"agents",
|
|
11129
|
-
"critical"
|
|
11130
|
-
],
|
|
11131
|
-
"security": [
|
|
11132
|
-
{
|
|
11133
|
-
"user-internal": []
|
|
11134
|
-
}
|
|
11135
|
-
],
|
|
11136
|
-
"parameters": [
|
|
11137
|
-
{
|
|
11138
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11139
|
-
}
|
|
11140
|
-
],
|
|
11141
|
-
"responses": {
|
|
11142
|
-
"200": {
|
|
11143
|
-
"description": "OK",
|
|
11144
|
-
"content": {
|
|
11145
|
-
"application/json": {
|
|
11146
|
-
"schema": {
|
|
11147
|
-
"$ref": "#/components/schemas/AgentSetupState"
|
|
11148
|
-
}
|
|
11149
|
-
}
|
|
11150
|
-
}
|
|
11151
|
-
}
|
|
11152
|
-
}
|
|
11153
|
-
},
|
|
11154
|
-
"delete": {
|
|
11155
|
-
"operationId": "deleteAgentSetup",
|
|
11156
|
-
"summary": "Delete the agents setup data",
|
|
11157
|
-
"description": "Delete all the conversations, conversation issues, and issue clusters used by Docs Agent for an organization.\n",
|
|
11158
|
-
"tags": [
|
|
11159
|
-
"agents",
|
|
11160
|
-
"critical"
|
|
11161
|
-
],
|
|
11162
|
-
"security": [
|
|
11163
|
-
{
|
|
11164
|
-
"user-internal": []
|
|
11165
|
-
}
|
|
11166
|
-
],
|
|
11167
|
-
"parameters": [
|
|
11168
|
-
{
|
|
11169
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11170
|
-
}
|
|
11171
|
-
],
|
|
11172
|
-
"responses": {
|
|
11173
|
-
"204": {
|
|
11174
|
-
"description": "No data was deleted"
|
|
11175
|
-
},
|
|
11176
|
-
"205": {
|
|
11177
|
-
"description": "Deleted the data for Docs Agent"
|
|
11178
|
-
}
|
|
11179
|
-
}
|
|
11180
|
-
}
|
|
11181
|
-
},
|
|
11182
|
-
"/orgs/{organizationId}/agent-instructions": {
|
|
11183
|
-
"get": {
|
|
11184
|
-
"operationId": "getOrganizationAgentInstructions",
|
|
11185
|
-
"summary": "Get Docs agent instructions for an organization",
|
|
11186
|
-
"tags": [
|
|
11187
|
-
"organizations",
|
|
11188
|
-
"agents"
|
|
11189
|
-
],
|
|
11190
|
-
"security": [
|
|
11191
|
-
{
|
|
11192
|
-
"user": []
|
|
11193
|
-
}
|
|
11194
|
-
],
|
|
11195
|
-
"parameters": [
|
|
11196
|
-
{
|
|
11197
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11198
|
-
}
|
|
11199
|
-
],
|
|
11200
|
-
"responses": {
|
|
11201
|
-
"200": {
|
|
11202
|
-
"description": "OK",
|
|
11203
|
-
"content": {
|
|
11204
|
-
"application/json": {
|
|
11205
|
-
"schema": {
|
|
11206
|
-
"$ref": "#/components/schemas/OrganizationAgentInstructions"
|
|
11207
|
-
}
|
|
11208
|
-
}
|
|
11209
|
-
}
|
|
11210
|
-
}
|
|
11211
|
-
}
|
|
11212
|
-
},
|
|
11213
|
-
"put": {
|
|
11214
|
-
"operationId": "updateOrganizationAgentInstructions",
|
|
11215
|
-
"summary": "Update Docs agent instructions for an organization",
|
|
11216
|
-
"tags": [
|
|
11217
|
-
"organizations",
|
|
11218
|
-
"agents"
|
|
11219
|
-
],
|
|
11220
|
-
"security": [
|
|
11221
|
-
{
|
|
11222
|
-
"user": []
|
|
11223
|
-
}
|
|
11224
|
-
],
|
|
11225
|
-
"parameters": [
|
|
11226
|
-
{
|
|
11227
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11228
|
-
}
|
|
11229
|
-
],
|
|
11230
|
-
"requestBody": {
|
|
11231
|
-
"required": true,
|
|
11232
|
-
"content": {
|
|
11233
|
-
"application/json": {
|
|
11234
|
-
"schema": {
|
|
11235
|
-
"type": "object",
|
|
11236
|
-
"required": [
|
|
11237
|
-
"instructions"
|
|
11238
|
-
],
|
|
11239
|
-
"properties": {
|
|
11240
|
-
"instructions": {
|
|
11241
|
-
"$ref": "#/components/schemas/JSONDocument",
|
|
11242
|
-
"description": "Document describing the Docs agent instructions."
|
|
11243
|
-
}
|
|
11244
|
-
}
|
|
11245
|
-
}
|
|
11246
|
-
}
|
|
11247
|
-
}
|
|
11248
|
-
},
|
|
11249
|
-
"responses": {
|
|
11250
|
-
"200": {
|
|
11251
|
-
"description": "Updated instructions",
|
|
11252
|
-
"content": {
|
|
11253
|
-
"application/json": {
|
|
11254
|
-
"schema": {
|
|
11255
|
-
"$ref": "#/components/schemas/OrganizationAgentInstructions"
|
|
11256
|
-
}
|
|
11257
|
-
}
|
|
11258
|
-
}
|
|
11259
|
-
}
|
|
11260
|
-
}
|
|
11261
|
-
}
|
|
11262
|
-
},
|
|
11263
|
-
"/orgs/{organizationId}/translations": {
|
|
11264
|
-
"get": {
|
|
11265
|
-
"operationId": "listTranslations",
|
|
11266
|
-
"summary": "List all the translations",
|
|
11267
|
-
"tags": [
|
|
11268
|
-
"translations"
|
|
11269
|
-
],
|
|
11270
|
-
"security": [
|
|
11271
|
-
{
|
|
11272
|
-
"user": []
|
|
11273
|
-
}
|
|
11274
|
-
],
|
|
11275
|
-
"parameters": [
|
|
11276
|
-
{
|
|
11277
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11278
|
-
},
|
|
11279
|
-
{
|
|
11280
|
-
"$ref": "#/components/parameters/listPage"
|
|
11281
|
-
},
|
|
11282
|
-
{
|
|
11283
|
-
"$ref": "#/components/parameters/listLimit"
|
|
11284
|
-
}
|
|
11285
|
-
],
|
|
11286
|
-
"responses": {
|
|
11287
|
-
"200": {
|
|
11288
|
-
"description": "OK",
|
|
11289
|
-
"content": {
|
|
11290
|
-
"application/json": {
|
|
11291
|
-
"schema": {
|
|
11292
|
-
"allOf": [
|
|
11293
|
-
{
|
|
11294
|
-
"$ref": "#/components/schemas/List"
|
|
11295
|
-
},
|
|
11296
|
-
{
|
|
11297
|
-
"type": "object",
|
|
11298
|
-
"required": [
|
|
11299
|
-
"items"
|
|
11300
|
-
],
|
|
11301
|
-
"properties": {
|
|
11302
|
-
"items": {
|
|
11303
|
-
"type": "array",
|
|
11304
|
-
"items": {
|
|
11305
|
-
"$ref": "#/components/schemas/Translation"
|
|
11306
|
-
}
|
|
11307
|
-
}
|
|
11308
|
-
}
|
|
11309
|
-
}
|
|
11310
|
-
]
|
|
11311
|
-
}
|
|
11312
|
-
}
|
|
11313
|
-
}
|
|
11314
|
-
}
|
|
11315
|
-
}
|
|
11316
|
-
},
|
|
11317
|
-
"post": {
|
|
11318
|
-
"operationId": "createTranslation",
|
|
11319
|
-
"summary": "Create a translation",
|
|
11320
|
-
"tags": [
|
|
11321
|
-
"translations"
|
|
11322
|
-
],
|
|
11323
|
-
"security": [
|
|
11324
|
-
{
|
|
11325
|
-
"user": []
|
|
11326
|
-
}
|
|
11327
|
-
],
|
|
11328
|
-
"parameters": [
|
|
11329
|
-
{
|
|
11330
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11331
|
-
}
|
|
11332
|
-
],
|
|
11333
|
-
"requestBody": {
|
|
11334
|
-
"required": true,
|
|
11335
|
-
"content": {
|
|
11336
|
-
"application/json": {
|
|
11337
|
-
"schema": {
|
|
11338
|
-
"type": "object",
|
|
11339
|
-
"properties": {
|
|
11340
|
-
"source": {
|
|
11341
|
-
"$ref": "#/components/schemas/TranslationSource"
|
|
11342
|
-
},
|
|
11343
|
-
"language": {
|
|
11344
|
-
"$ref": "#/components/schemas/TranslationLanguage"
|
|
11345
|
-
},
|
|
11346
|
-
"instructions": {
|
|
11347
|
-
"$ref": "#/components/schemas/JSONDocument"
|
|
11348
|
-
}
|
|
11349
|
-
},
|
|
11350
|
-
"required": [
|
|
11351
|
-
"language",
|
|
11352
|
-
"source"
|
|
11353
|
-
]
|
|
11354
|
-
}
|
|
11355
|
-
}
|
|
11356
|
-
}
|
|
11357
|
-
},
|
|
11358
|
-
"responses": {
|
|
11359
|
-
"201": {
|
|
11360
|
-
"description": "Translation has been created",
|
|
11361
|
-
"content": {
|
|
11362
|
-
"application/json": {
|
|
11363
|
-
"schema": {
|
|
11364
|
-
"$ref": "#/components/schemas/Translation"
|
|
11365
|
-
}
|
|
11366
|
-
}
|
|
11367
|
-
}
|
|
11368
|
-
},
|
|
11369
|
-
"400": {
|
|
11370
|
-
"$ref": "#/components/responses/BadRequestError"
|
|
11371
|
-
}
|
|
11372
|
-
}
|
|
11373
|
-
}
|
|
11374
|
-
},
|
|
11375
|
-
"/orgs/{organizationId}/translations/{translationId}": {
|
|
11376
|
-
"get": {
|
|
11377
|
-
"operationId": "getTranslation",
|
|
11378
|
-
"summary": "Get a translation by its ID",
|
|
11379
|
-
"tags": [
|
|
11380
|
-
"translations"
|
|
11381
|
-
],
|
|
11382
|
-
"security": [
|
|
11383
|
-
{
|
|
11384
|
-
"user": []
|
|
11385
|
-
}
|
|
11386
|
-
],
|
|
11387
|
-
"parameters": [
|
|
11388
|
-
{
|
|
11389
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11390
|
-
},
|
|
11391
|
-
{
|
|
11392
|
-
"$ref": "#/components/parameters/translationId"
|
|
11393
|
-
}
|
|
11394
|
-
],
|
|
11395
|
-
"responses": {
|
|
11396
|
-
"200": {
|
|
11397
|
-
"description": "OK",
|
|
11398
|
-
"content": {
|
|
11399
|
-
"application/json": {
|
|
11400
|
-
"schema": {
|
|
11401
|
-
"$ref": "#/components/schemas/Translation"
|
|
11402
|
-
}
|
|
11403
|
-
}
|
|
11404
|
-
}
|
|
11405
|
-
},
|
|
11406
|
-
"404": {
|
|
11407
|
-
"description": "No matching translation found",
|
|
11408
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
11409
|
-
}
|
|
11410
|
-
}
|
|
11411
|
-
},
|
|
11412
|
-
"put": {
|
|
11413
|
-
"operationId": "updateTranslation",
|
|
11414
|
-
"summary": "Update a translation",
|
|
11415
|
-
"tags": [
|
|
11416
|
-
"translations"
|
|
11417
|
-
],
|
|
11418
|
-
"security": [
|
|
11419
|
-
{
|
|
11420
|
-
"user": []
|
|
11421
|
-
}
|
|
11422
|
-
],
|
|
11423
|
-
"parameters": [
|
|
11424
|
-
{
|
|
11425
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11426
|
-
},
|
|
11427
|
-
{
|
|
11428
|
-
"$ref": "#/components/parameters/translationId"
|
|
11429
|
-
}
|
|
11430
|
-
],
|
|
11431
|
-
"requestBody": {
|
|
11432
|
-
"required": true,
|
|
11433
|
-
"content": {
|
|
11434
|
-
"application/json": {
|
|
11435
|
-
"schema": {
|
|
11436
|
-
"type": "object",
|
|
11437
|
-
"required": [
|
|
11438
|
-
"instructions"
|
|
11439
|
-
],
|
|
11440
|
-
"properties": {
|
|
11441
|
-
"instructions": {
|
|
11442
|
-
"$ref": "#/components/schemas/JSONDocument"
|
|
11443
|
-
}
|
|
11444
|
-
}
|
|
11445
|
-
}
|
|
11446
|
-
}
|
|
11447
|
-
}
|
|
11448
|
-
},
|
|
11449
|
-
"responses": {
|
|
11450
|
-
"200": {
|
|
11451
|
-
"description": "Translation has been updated",
|
|
11452
|
-
"content": {
|
|
11453
|
-
"application/json": {
|
|
11454
|
-
"schema": {
|
|
11455
|
-
"$ref": "#/components/schemas/Translation"
|
|
11456
|
-
}
|
|
11457
|
-
}
|
|
11458
|
-
}
|
|
11459
|
-
},
|
|
11460
|
-
"400": {
|
|
11461
|
-
"$ref": "#/components/responses/BadRequestError"
|
|
11462
|
-
}
|
|
11463
|
-
}
|
|
11464
|
-
},
|
|
11465
|
-
"delete": {
|
|
11466
|
-
"operationId": "deleteTranslation",
|
|
11467
|
-
"summary": "Delete a translation",
|
|
11468
|
-
"tags": [
|
|
11469
|
-
"translations"
|
|
11470
|
-
],
|
|
11471
|
-
"security": [
|
|
11472
|
-
{
|
|
11473
|
-
"user": []
|
|
11474
|
-
}
|
|
11475
|
-
],
|
|
11476
|
-
"parameters": [
|
|
11477
|
-
{
|
|
11478
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11479
|
-
},
|
|
11480
|
-
{
|
|
11481
|
-
"$ref": "#/components/parameters/translationId"
|
|
11482
|
-
}
|
|
11483
|
-
],
|
|
11484
|
-
"responses": {
|
|
11485
|
-
"204": {
|
|
11486
|
-
"description": "Translation did not exist"
|
|
11487
|
-
},
|
|
11488
|
-
"205": {
|
|
11489
|
-
"description": "Translation has been deleted"
|
|
11490
|
-
}
|
|
11491
|
-
}
|
|
11492
|
-
}
|
|
11493
|
-
},
|
|
11494
|
-
"/orgs/{organizationId}/translations/{translationId}/run": {
|
|
11495
|
-
"post": {
|
|
11496
|
-
"operationId": "runTranslation",
|
|
11497
|
-
"summary": "Run a translation again",
|
|
11498
|
-
"tags": [
|
|
11499
|
-
"translations"
|
|
11500
|
-
],
|
|
11501
|
-
"security": [
|
|
11502
|
-
{
|
|
11503
|
-
"user": []
|
|
11504
|
-
}
|
|
11505
|
-
],
|
|
11506
|
-
"parameters": [
|
|
11507
|
-
{
|
|
11508
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11509
|
-
},
|
|
11510
|
-
{
|
|
11511
|
-
"$ref": "#/components/parameters/translationId"
|
|
11512
|
-
}
|
|
11513
|
-
],
|
|
11514
|
-
"responses": {
|
|
11515
|
-
"204": {
|
|
11516
|
-
"description": "Translation run triggered"
|
|
11517
|
-
},
|
|
11518
|
-
"404": {
|
|
11519
|
-
"description": "No matching translation found",
|
|
11520
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
11521
|
-
}
|
|
11522
|
-
}
|
|
11523
|
-
}
|
|
11524
|
-
},
|
|
11525
|
-
"/orgs/{organizationId}/translations-glossary": {
|
|
11526
|
-
"get": {
|
|
11527
|
-
"operationId": "listGlossaryEntries",
|
|
11528
|
-
"summary": "List glossary entries",
|
|
11529
|
-
"tags": [
|
|
11530
|
-
"glossary"
|
|
11531
|
-
],
|
|
11532
|
-
"security": [
|
|
11533
|
-
{
|
|
11534
|
-
"user": []
|
|
11535
|
-
}
|
|
11536
|
-
],
|
|
11537
|
-
"parameters": [
|
|
11538
|
-
{
|
|
11539
|
-
"$ref": "#/components/parameters/organizationId"
|
|
11540
|
-
},
|
|
11541
|
-
{
|
|
11542
|
-
"$ref": "#/components/parameters/listPage"
|
|
11543
|
-
},
|
|
11544
|
-
{
|
|
11545
|
-
"$ref": "#/components/parameters/listLimit"
|
|
11546
|
-
},
|
|
11547
|
-
{
|
|
11548
|
-
"name": "orderBy",
|
|
11549
|
-
"in": "query",
|
|
11550
|
-
"description": "Sort results by language key",
|
|
11551
|
-
"schema": {
|
|
11552
|
-
"$ref": "#/components/schemas/TranslationLanguage"
|
|
11012
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
11553
11013
|
}
|
|
11554
11014
|
}
|
|
11555
11015
|
],
|
|
@@ -12343,9 +11803,6 @@
|
|
|
12343
11803
|
"adaptiveContent": {
|
|
12344
11804
|
"$ref": "#/components/schemas/SiteAdaptiveContent"
|
|
12345
11805
|
},
|
|
12346
|
-
"agentsContext": {
|
|
12347
|
-
"$ref": "#/components/schemas/SiteAgentsContext"
|
|
12348
|
-
},
|
|
12349
11806
|
"defaultSiteSpace": {
|
|
12350
11807
|
"type": "string",
|
|
12351
11808
|
"description": "ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section."
|
|
@@ -13254,7 +12711,7 @@
|
|
|
13254
12711
|
"content": {
|
|
13255
12712
|
"application/json": {
|
|
13256
12713
|
"schema": {
|
|
13257
|
-
"$ref": "#/components/schemas/
|
|
12714
|
+
"$ref": "#/components/schemas/SiteCustomizationSettingsInput"
|
|
13258
12715
|
}
|
|
13259
12716
|
}
|
|
13260
12717
|
}
|
|
@@ -15090,6 +14547,40 @@
|
|
|
15090
14547
|
}
|
|
15091
14548
|
}
|
|
15092
14549
|
},
|
|
14550
|
+
"/orgs/{organizationId}/sites/{siteId}/question-stats": {
|
|
14551
|
+
"get": {
|
|
14552
|
+
"operationId": "getSiteQuestionStats",
|
|
14553
|
+
"summary": "Get question stats for a site",
|
|
14554
|
+
"tags": [
|
|
14555
|
+
"site-questions"
|
|
14556
|
+
],
|
|
14557
|
+
"security": [
|
|
14558
|
+
{
|
|
14559
|
+
"user": []
|
|
14560
|
+
}
|
|
14561
|
+
],
|
|
14562
|
+
"parameters": [
|
|
14563
|
+
{
|
|
14564
|
+
"$ref": "#/components/parameters/organizationId"
|
|
14565
|
+
},
|
|
14566
|
+
{
|
|
14567
|
+
"$ref": "#/components/parameters/siteId"
|
|
14568
|
+
}
|
|
14569
|
+
],
|
|
14570
|
+
"responses": {
|
|
14571
|
+
"200": {
|
|
14572
|
+
"description": "OK",
|
|
14573
|
+
"content": {
|
|
14574
|
+
"application/json": {
|
|
14575
|
+
"schema": {
|
|
14576
|
+
"$ref": "#/components/schemas/SiteQuestionStats"
|
|
14577
|
+
}
|
|
14578
|
+
}
|
|
14579
|
+
}
|
|
14580
|
+
}
|
|
14581
|
+
}
|
|
14582
|
+
}
|
|
14583
|
+
},
|
|
15093
14584
|
"/orgs/{organizationId}/sites/{siteId}/answers": {
|
|
15094
14585
|
"get": {
|
|
15095
14586
|
"operationId": "listSiteQuestionAnswers",
|
|
@@ -18735,33 +18226,6 @@
|
|
|
18735
18226
|
"type": "string"
|
|
18736
18227
|
}
|
|
18737
18228
|
},
|
|
18738
|
-
"clusterId": {
|
|
18739
|
-
"name": "clusterId",
|
|
18740
|
-
"in": "path",
|
|
18741
|
-
"required": true,
|
|
18742
|
-
"description": "The unique id of the cluster",
|
|
18743
|
-
"schema": {
|
|
18744
|
-
"type": "string"
|
|
18745
|
-
}
|
|
18746
|
-
},
|
|
18747
|
-
"conversationIssueId": {
|
|
18748
|
-
"name": "issueId",
|
|
18749
|
-
"in": "path",
|
|
18750
|
-
"required": true,
|
|
18751
|
-
"description": "Identifier of the conversation issue",
|
|
18752
|
-
"schema": {
|
|
18753
|
-
"type": "string"
|
|
18754
|
-
}
|
|
18755
|
-
},
|
|
18756
|
-
"conversationId": {
|
|
18757
|
-
"name": "conversationId",
|
|
18758
|
-
"in": "path",
|
|
18759
|
-
"required": true,
|
|
18760
|
-
"description": "Identifier of the conversation",
|
|
18761
|
-
"schema": {
|
|
18762
|
-
"type": "string"
|
|
18763
|
-
}
|
|
18764
|
-
},
|
|
18765
18229
|
"translationId": {
|
|
18766
18230
|
"name": "translationId",
|
|
18767
18231
|
"in": "path",
|
|
@@ -19963,6 +19427,10 @@
|
|
|
19963
19427
|
"path": {
|
|
19964
19428
|
"type": "string"
|
|
19965
19429
|
},
|
|
19430
|
+
"score": {
|
|
19431
|
+
"type": "number",
|
|
19432
|
+
"description": "Aggregated relevance score for the page."
|
|
19433
|
+
},
|
|
19966
19434
|
"sections": {
|
|
19967
19435
|
"type": "array",
|
|
19968
19436
|
"items": {
|
|
@@ -20003,6 +19471,7 @@
|
|
|
20003
19471
|
"id",
|
|
20004
19472
|
"title",
|
|
20005
19473
|
"path",
|
|
19474
|
+
"score",
|
|
20006
19475
|
"ancestors",
|
|
20007
19476
|
"urls"
|
|
20008
19477
|
]
|
|
@@ -20824,6 +20293,29 @@
|
|
|
20824
20293
|
"reusableContent"
|
|
20825
20294
|
]
|
|
20826
20295
|
},
|
|
20296
|
+
"ContentRefTag": {
|
|
20297
|
+
"type": "object",
|
|
20298
|
+
"properties": {
|
|
20299
|
+
"kind": {
|
|
20300
|
+
"type": "string",
|
|
20301
|
+
"enum": [
|
|
20302
|
+
"tag"
|
|
20303
|
+
]
|
|
20304
|
+
},
|
|
20305
|
+
"tag": {
|
|
20306
|
+
"type": "string",
|
|
20307
|
+
"description": "The slug of the tag, also used as the ID, and references the tags defined on a revision."
|
|
20308
|
+
},
|
|
20309
|
+
"space": {
|
|
20310
|
+
"type": "string",
|
|
20311
|
+
"description": "The space in which the tag is defined. If undefined, the tag is assumed to be in the same space as the content reference."
|
|
20312
|
+
}
|
|
20313
|
+
},
|
|
20314
|
+
"required": [
|
|
20315
|
+
"kind",
|
|
20316
|
+
"tag"
|
|
20317
|
+
]
|
|
20318
|
+
},
|
|
20827
20319
|
"ContentRefOpenAPI": {
|
|
20828
20320
|
"type": "object",
|
|
20829
20321
|
"properties": {
|
|
@@ -20870,6 +20362,9 @@
|
|
|
20870
20362
|
{
|
|
20871
20363
|
"$ref": "#/components/schemas/ContentRefReusableContent"
|
|
20872
20364
|
},
|
|
20365
|
+
{
|
|
20366
|
+
"$ref": "#/components/schemas/ContentRefTag"
|
|
20367
|
+
},
|
|
20873
20368
|
{
|
|
20874
20369
|
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
20875
20370
|
}
|
|
@@ -22529,6 +22024,9 @@
|
|
|
22529
22024
|
},
|
|
22530
22025
|
{
|
|
22531
22026
|
"$ref": "#/components/schemas/DocumentBlockIf"
|
|
22027
|
+
},
|
|
22028
|
+
{
|
|
22029
|
+
"$ref": "#/components/schemas/DocumentBlockColumns"
|
|
22532
22030
|
}
|
|
22533
22031
|
]
|
|
22534
22032
|
},
|
|
@@ -24103,29 +23601,6 @@
|
|
|
24103
23601
|
"isVoid"
|
|
24104
23602
|
]
|
|
24105
23603
|
},
|
|
24106
|
-
"ContentRefTag": {
|
|
24107
|
-
"type": "object",
|
|
24108
|
-
"properties": {
|
|
24109
|
-
"kind": {
|
|
24110
|
-
"type": "string",
|
|
24111
|
-
"enum": [
|
|
24112
|
-
"tag"
|
|
24113
|
-
]
|
|
24114
|
-
},
|
|
24115
|
-
"tag": {
|
|
24116
|
-
"type": "string",
|
|
24117
|
-
"description": "The slug of the tag, also used as the ID, and references the tags defined on a revision."
|
|
24118
|
-
},
|
|
24119
|
-
"space": {
|
|
24120
|
-
"type": "string",
|
|
24121
|
-
"description": "The space in which the tag is defined. If undefined, the tag is assumed to be in the same space as the content reference."
|
|
24122
|
-
}
|
|
24123
|
-
},
|
|
24124
|
-
"required": [
|
|
24125
|
-
"kind",
|
|
24126
|
-
"tag"
|
|
24127
|
-
]
|
|
24128
|
-
},
|
|
24129
23604
|
"DocumentBlockUpdate": {
|
|
24130
23605
|
"type": "object",
|
|
24131
23606
|
"properties": {
|
|
@@ -25941,10 +25416,6 @@
|
|
|
25941
25416
|
"type": "boolean",
|
|
25942
25417
|
"description": "If true, the change request is not up-to-date with latest changes in the main content."
|
|
25943
25418
|
},
|
|
25944
|
-
"conversationsIssuesCluster": {
|
|
25945
|
-
"type": "string",
|
|
25946
|
-
"description": "ID of the conversations issues cluster associated with this change request."
|
|
25947
|
-
},
|
|
25948
25419
|
"urls": {
|
|
25949
25420
|
"type": "object",
|
|
25950
25421
|
"description": "URLs associated with the object",
|
|
@@ -26339,9 +25810,33 @@
|
|
|
26339
25810
|
"description": "The maximum number of members allowed for this organization",
|
|
26340
25811
|
"type": "number"
|
|
26341
25812
|
},
|
|
25813
|
+
"minPremiumSites": {
|
|
25814
|
+
"description": "The minimum number of premium sites allowed for this organization.",
|
|
25815
|
+
"type": "number"
|
|
25816
|
+
},
|
|
25817
|
+
"maxPremiumSites": {
|
|
25818
|
+
"description": "The maximum number of premium sites allowed for this organization.",
|
|
25819
|
+
"type": "number"
|
|
25820
|
+
},
|
|
25821
|
+
"minUltimateSites": {
|
|
25822
|
+
"description": "The minimum number of ultimate sites allowed for this organization.",
|
|
25823
|
+
"type": "number"
|
|
25824
|
+
},
|
|
25825
|
+
"maxUltimateSites": {
|
|
25826
|
+
"description": "The maximum number of ultimate sites allowed for this organization.",
|
|
25827
|
+
"type": "number"
|
|
25828
|
+
},
|
|
26342
25829
|
"paidMembers": {
|
|
26343
25830
|
"description": "The number of paid members on the current subscription.",
|
|
26344
25831
|
"type": "number"
|
|
25832
|
+
},
|
|
25833
|
+
"paidPremiumSites": {
|
|
25834
|
+
"description": "The number of paid premium sites on the current subscription.",
|
|
25835
|
+
"type": "number"
|
|
25836
|
+
},
|
|
25837
|
+
"paidUltimateSites": {
|
|
25838
|
+
"description": "The number of paid ultimate sites on the current subscription.",
|
|
25839
|
+
"type": "number"
|
|
26345
25840
|
}
|
|
26346
25841
|
},
|
|
26347
25842
|
"required": [
|
|
@@ -26558,10 +26053,6 @@
|
|
|
26558
26053
|
"type": "boolean",
|
|
26559
26054
|
"description": "Can the user create new OpenAPI specifications."
|
|
26560
26055
|
},
|
|
26561
|
-
"ingestConversations": {
|
|
26562
|
-
"type": "boolean",
|
|
26563
|
-
"description": "Can the user ingest conversations in the organization."
|
|
26564
|
-
},
|
|
26565
26056
|
"viewBilling": {
|
|
26566
26057
|
"type": "boolean",
|
|
26567
26058
|
"description": "Can the user view the billing details of the organization."
|
|
@@ -26594,7 +26085,6 @@
|
|
|
26594
26085
|
"ownTeam",
|
|
26595
26086
|
"createContent",
|
|
26596
26087
|
"createOpenAPISpec",
|
|
26597
|
-
"ingestConversations",
|
|
26598
26088
|
"viewBilling",
|
|
26599
26089
|
"listMembers",
|
|
26600
26090
|
"listTeams",
|
|
@@ -28699,9 +28189,9 @@
|
|
|
28699
28189
|
"site:visitor:auth",
|
|
28700
28190
|
"site:adaptive:read",
|
|
28701
28191
|
"site:adaptive:write",
|
|
28192
|
+
"conversations:ingest",
|
|
28702
28193
|
"openapi:read",
|
|
28703
|
-
"openapi:write"
|
|
28704
|
-
"conversations:ingest"
|
|
28194
|
+
"openapi:write"
|
|
28705
28195
|
]
|
|
28706
28196
|
},
|
|
28707
28197
|
"IntegrationScopes": {
|
|
@@ -30961,14 +30451,6 @@
|
|
|
30961
30451
|
}
|
|
30962
30452
|
]
|
|
30963
30453
|
},
|
|
30964
|
-
"SiteAgentsContext": {
|
|
30965
|
-
"type": "string",
|
|
30966
|
-
"description": "Defines if the site will be included in the agent's context.\n- `excluded` means that the agent will not be able to access the site.\n- `included` means that the agent will be able to access the site.\n",
|
|
30967
|
-
"enum": [
|
|
30968
|
-
"excluded",
|
|
30969
|
-
"included"
|
|
30970
|
-
]
|
|
30971
|
-
},
|
|
30972
30454
|
"SiteFeatureKey": {
|
|
30973
30455
|
"type": "string",
|
|
30974
30456
|
"description": "The site feature identifier",
|
|
@@ -31113,9 +30595,6 @@
|
|
|
31113
30595
|
"ads": {
|
|
31114
30596
|
"$ref": "#/components/schemas/SiteAds"
|
|
31115
30597
|
},
|
|
31116
|
-
"agentsContext": {
|
|
31117
|
-
"$ref": "#/components/schemas/SiteAgentsContext"
|
|
31118
|
-
},
|
|
31119
30598
|
"features": {
|
|
31120
30599
|
"description": "A list of all premium features enabled on this site. For each feature we list the plan they belong to and whether the feature is frozen. A frozen feature is still enabled but cannot be changed or modified.\n",
|
|
31121
30600
|
"type": "array",
|
|
@@ -31160,7 +30639,6 @@
|
|
|
31160
30639
|
"createdAt",
|
|
31161
30640
|
"siteSpaces",
|
|
31162
30641
|
"features",
|
|
31163
|
-
"agentsContext",
|
|
31164
30642
|
"urls"
|
|
31165
30643
|
]
|
|
31166
30644
|
},
|
|
@@ -33724,6 +33202,10 @@
|
|
|
33724
33202
|
"title": {
|
|
33725
33203
|
"type": "string"
|
|
33726
33204
|
},
|
|
33205
|
+
"score": {
|
|
33206
|
+
"type": "number",
|
|
33207
|
+
"description": "Aggregated relevance score for the space."
|
|
33208
|
+
},
|
|
33727
33209
|
"pages": {
|
|
33728
33210
|
"type": "array",
|
|
33729
33211
|
"items": {
|
|
@@ -33735,6 +33217,7 @@
|
|
|
33735
33217
|
"type",
|
|
33736
33218
|
"id",
|
|
33737
33219
|
"title",
|
|
33220
|
+
"score",
|
|
33738
33221
|
"pages"
|
|
33739
33222
|
]
|
|
33740
33223
|
},
|
|
@@ -34462,391 +33945,6 @@
|
|
|
34462
33945
|
"url"
|
|
34463
33946
|
]
|
|
34464
33947
|
},
|
|
34465
|
-
"ConversationIssueImpact": {
|
|
34466
|
-
"type": "string",
|
|
34467
|
-
"description": "Estimated end-user impact of a conversation issue.\n\n- low: Minor friction or small polish issues; users can proceed with little to no guidance.\n- medium: Noticeable friction or partial blocking; users can proceed with workarounds or extra guidance.\n- high: Fully or near-fully blocking, severe regression, repeated failures, or risk of data loss; no viable workaround.\n",
|
|
34468
|
-
"enum": [
|
|
34469
|
-
"low",
|
|
34470
|
-
"medium",
|
|
34471
|
-
"high"
|
|
34472
|
-
]
|
|
34473
|
-
},
|
|
34474
|
-
"ConversationsIssuesCluster": {
|
|
34475
|
-
"type": "object",
|
|
34476
|
-
"properties": {
|
|
34477
|
-
"object": {
|
|
34478
|
-
"type": "string",
|
|
34479
|
-
"enum": [
|
|
34480
|
-
"issues-cluster"
|
|
34481
|
-
]
|
|
34482
|
-
},
|
|
34483
|
-
"id": {
|
|
34484
|
-
"type": "string",
|
|
34485
|
-
"description": "The ID of the conversations issues cluster"
|
|
34486
|
-
},
|
|
34487
|
-
"label": {
|
|
34488
|
-
"type": "string",
|
|
34489
|
-
"description": "The label of the conversations issues cluster"
|
|
34490
|
-
},
|
|
34491
|
-
"createdAt": {
|
|
34492
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
34493
|
-
},
|
|
34494
|
-
"updatedAt": {
|
|
34495
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
34496
|
-
},
|
|
34497
|
-
"icon": {
|
|
34498
|
-
"$ref": "#/components/schemas/Icon"
|
|
34499
|
-
},
|
|
34500
|
-
"summary": {
|
|
34501
|
-
"$ref": "#/components/schemas/JSONDocument"
|
|
34502
|
-
},
|
|
34503
|
-
"muted": {
|
|
34504
|
-
"type": "boolean",
|
|
34505
|
-
"description": "Whether the cluster is muted for change request creation"
|
|
34506
|
-
},
|
|
34507
|
-
"impact": {
|
|
34508
|
-
"$ref": "#/components/schemas/ConversationIssueImpact"
|
|
34509
|
-
},
|
|
34510
|
-
"weeklyPulse": {
|
|
34511
|
-
"type": "array",
|
|
34512
|
-
"minItems": 13,
|
|
34513
|
-
"maxItems": 13,
|
|
34514
|
-
"description": "The weekly pulse of the conversations issues cluster for the past 3 months",
|
|
34515
|
-
"items": {
|
|
34516
|
-
"type": "number"
|
|
34517
|
-
}
|
|
34518
|
-
},
|
|
34519
|
-
"sources": {
|
|
34520
|
-
"type": "object",
|
|
34521
|
-
"additionalProperties": {
|
|
34522
|
-
"type": "number",
|
|
34523
|
-
"description": "The number of issues in the conversations issues cluster for the source"
|
|
34524
|
-
}
|
|
34525
|
-
},
|
|
34526
|
-
"stats": {
|
|
34527
|
-
"type": "object",
|
|
34528
|
-
"description": "The stats of the conversations issues cluster",
|
|
34529
|
-
"properties": {
|
|
34530
|
-
"issues": {
|
|
34531
|
-
"type": "number",
|
|
34532
|
-
"description": "The number of issues in the conversations issues cluster"
|
|
34533
|
-
},
|
|
34534
|
-
"conversations": {
|
|
34535
|
-
"type": "number",
|
|
34536
|
-
"description": "The number of conversations in the conversations issues cluster"
|
|
34537
|
-
}
|
|
34538
|
-
},
|
|
34539
|
-
"required": [
|
|
34540
|
-
"issues",
|
|
34541
|
-
"conversations"
|
|
34542
|
-
]
|
|
34543
|
-
},
|
|
34544
|
-
"urls": {
|
|
34545
|
-
"type": "object",
|
|
34546
|
-
"description": "URLs associated with the conversations issues cluster",
|
|
34547
|
-
"properties": {
|
|
34548
|
-
"location": {
|
|
34549
|
-
"type": "string",
|
|
34550
|
-
"description": "URL of the conversations issues cluster in the API",
|
|
34551
|
-
"format": "uri"
|
|
34552
|
-
}
|
|
34553
|
-
},
|
|
34554
|
-
"required": [
|
|
34555
|
-
"location"
|
|
34556
|
-
]
|
|
34557
|
-
}
|
|
34558
|
-
},
|
|
34559
|
-
"required": [
|
|
34560
|
-
"object",
|
|
34561
|
-
"id",
|
|
34562
|
-
"label",
|
|
34563
|
-
"summary",
|
|
34564
|
-
"icon",
|
|
34565
|
-
"muted",
|
|
34566
|
-
"impact",
|
|
34567
|
-
"sources",
|
|
34568
|
-
"stats",
|
|
34569
|
-
"weeklyPulse",
|
|
34570
|
-
"createdAt",
|
|
34571
|
-
"updatedAt",
|
|
34572
|
-
"urls"
|
|
34573
|
-
]
|
|
34574
|
-
},
|
|
34575
|
-
"ConversationSource": {
|
|
34576
|
-
"oneOf": [
|
|
34577
|
-
{
|
|
34578
|
-
"type": "string",
|
|
34579
|
-
"description": "Integration source",
|
|
34580
|
-
"pattern": "^integration:[^:]+:[^:]+$",
|
|
34581
|
-
"x-typescript": "`integration:${string}:${string}`"
|
|
34582
|
-
},
|
|
34583
|
-
{
|
|
34584
|
-
"type": "string",
|
|
34585
|
-
"description": "Email source",
|
|
34586
|
-
"enum": [
|
|
34587
|
-
"email"
|
|
34588
|
-
]
|
|
34589
|
-
}
|
|
34590
|
-
]
|
|
34591
|
-
},
|
|
34592
|
-
"Conversation": {
|
|
34593
|
-
"type": "object",
|
|
34594
|
-
"properties": {
|
|
34595
|
-
"object": {
|
|
34596
|
-
"type": "string",
|
|
34597
|
-
"enum": [
|
|
34598
|
-
"conversation"
|
|
34599
|
-
]
|
|
34600
|
-
},
|
|
34601
|
-
"id": {
|
|
34602
|
-
"type": "string",
|
|
34603
|
-
"description": "The ID of the conversation"
|
|
34604
|
-
},
|
|
34605
|
-
"subject": {
|
|
34606
|
-
"type": "string",
|
|
34607
|
-
"description": "The subject of the conversation"
|
|
34608
|
-
},
|
|
34609
|
-
"createdAt": {
|
|
34610
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
34611
|
-
},
|
|
34612
|
-
"processedAt": {
|
|
34613
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
34614
|
-
},
|
|
34615
|
-
"source": {
|
|
34616
|
-
"$ref": "#/components/schemas/ConversationSource"
|
|
34617
|
-
},
|
|
34618
|
-
"impact": {
|
|
34619
|
-
"$ref": "#/components/schemas/ConversationIssueImpact"
|
|
34620
|
-
},
|
|
34621
|
-
"urls": {
|
|
34622
|
-
"type": "object",
|
|
34623
|
-
"description": "URLs associated with the conversation",
|
|
34624
|
-
"properties": {
|
|
34625
|
-
"location": {
|
|
34626
|
-
"type": "string",
|
|
34627
|
-
"description": "URL of the conversation in the API",
|
|
34628
|
-
"format": "uri"
|
|
34629
|
-
},
|
|
34630
|
-
"source": {
|
|
34631
|
-
"type": "string",
|
|
34632
|
-
"description": "URL of the conversation in the source",
|
|
34633
|
-
"format": "uri"
|
|
34634
|
-
}
|
|
34635
|
-
},
|
|
34636
|
-
"required": [
|
|
34637
|
-
"location"
|
|
34638
|
-
]
|
|
34639
|
-
}
|
|
34640
|
-
},
|
|
34641
|
-
"required": [
|
|
34642
|
-
"object",
|
|
34643
|
-
"id",
|
|
34644
|
-
"createdAt",
|
|
34645
|
-
"source",
|
|
34646
|
-
"impact",
|
|
34647
|
-
"urls"
|
|
34648
|
-
]
|
|
34649
|
-
},
|
|
34650
|
-
"ConversationMetadata": {
|
|
34651
|
-
"type": "object",
|
|
34652
|
-
"properties": {
|
|
34653
|
-
"url": {
|
|
34654
|
-
"type": "string",
|
|
34655
|
-
"description": "URL to the conversation"
|
|
34656
|
-
},
|
|
34657
|
-
"attributes": {
|
|
34658
|
-
"type": "object",
|
|
34659
|
-
"additionalProperties": {
|
|
34660
|
-
"type": "string"
|
|
34661
|
-
}
|
|
34662
|
-
},
|
|
34663
|
-
"createdAt": {
|
|
34664
|
-
"description": "Date of the conversation creation",
|
|
34665
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
34666
|
-
}
|
|
34667
|
-
}
|
|
34668
|
-
},
|
|
34669
|
-
"ConversationPartMessage": {
|
|
34670
|
-
"type": "object",
|
|
34671
|
-
"description": "A message posted in the conversation by a user or a team member.",
|
|
34672
|
-
"properties": {
|
|
34673
|
-
"type": {
|
|
34674
|
-
"type": "string",
|
|
34675
|
-
"enum": [
|
|
34676
|
-
"message"
|
|
34677
|
-
]
|
|
34678
|
-
},
|
|
34679
|
-
"role": {
|
|
34680
|
-
"type": "string",
|
|
34681
|
-
"enum": [
|
|
34682
|
-
"user",
|
|
34683
|
-
"assistant",
|
|
34684
|
-
"team-member"
|
|
34685
|
-
]
|
|
34686
|
-
},
|
|
34687
|
-
"body": {
|
|
34688
|
-
"type": "string",
|
|
34689
|
-
"description": "Markdown or HTML body of the message."
|
|
34690
|
-
}
|
|
34691
|
-
},
|
|
34692
|
-
"required": [
|
|
34693
|
-
"type",
|
|
34694
|
-
"role",
|
|
34695
|
-
"body"
|
|
34696
|
-
]
|
|
34697
|
-
},
|
|
34698
|
-
"ConversationPart": {
|
|
34699
|
-
"oneOf": [
|
|
34700
|
-
{
|
|
34701
|
-
"$ref": "#/components/schemas/ConversationPartMessage"
|
|
34702
|
-
}
|
|
34703
|
-
]
|
|
34704
|
-
},
|
|
34705
|
-
"ConversationInput": {
|
|
34706
|
-
"type": "object",
|
|
34707
|
-
"properties": {
|
|
34708
|
-
"id": {
|
|
34709
|
-
"type": "string",
|
|
34710
|
-
"minLength": 1,
|
|
34711
|
-
"maxLength": 255,
|
|
34712
|
-
"description": "The unique identifier for the conversation, relative to the source in which it was created."
|
|
34713
|
-
},
|
|
34714
|
-
"metadata": {
|
|
34715
|
-
"$ref": "#/components/schemas/ConversationMetadata"
|
|
34716
|
-
},
|
|
34717
|
-
"subject": {
|
|
34718
|
-
"type": "string",
|
|
34719
|
-
"maxLength": 512,
|
|
34720
|
-
"description": "The subject of the conversation."
|
|
34721
|
-
},
|
|
34722
|
-
"parts": {
|
|
34723
|
-
"type": "array",
|
|
34724
|
-
"items": {
|
|
34725
|
-
"$ref": "#/components/schemas/ConversationPart"
|
|
34726
|
-
}
|
|
34727
|
-
}
|
|
34728
|
-
},
|
|
34729
|
-
"required": [
|
|
34730
|
-
"id",
|
|
34731
|
-
"parts"
|
|
34732
|
-
]
|
|
34733
|
-
},
|
|
34734
|
-
"ConversationIssue": {
|
|
34735
|
-
"type": "object",
|
|
34736
|
-
"properties": {
|
|
34737
|
-
"object": {
|
|
34738
|
-
"type": "string",
|
|
34739
|
-
"enum": [
|
|
34740
|
-
"conversation-issue"
|
|
34741
|
-
]
|
|
34742
|
-
},
|
|
34743
|
-
"id": {
|
|
34744
|
-
"type": "string",
|
|
34745
|
-
"description": "The ID of the conversation issue"
|
|
34746
|
-
},
|
|
34747
|
-
"title": {
|
|
34748
|
-
"type": "string",
|
|
34749
|
-
"description": "The title of the conversation issue"
|
|
34750
|
-
},
|
|
34751
|
-
"details": {
|
|
34752
|
-
"$ref": "#/components/schemas/JSONDocument"
|
|
34753
|
-
},
|
|
34754
|
-
"impact": {
|
|
34755
|
-
"$ref": "#/components/schemas/ConversationIssueImpact"
|
|
34756
|
-
},
|
|
34757
|
-
"createdAt": {
|
|
34758
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
34759
|
-
},
|
|
34760
|
-
"ingestedAt": {
|
|
34761
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
34762
|
-
},
|
|
34763
|
-
"conversation": {
|
|
34764
|
-
"type": "string",
|
|
34765
|
-
"description": "The ID of the conversation the issue belongs to"
|
|
34766
|
-
},
|
|
34767
|
-
"cluster": {
|
|
34768
|
-
"type": "string",
|
|
34769
|
-
"description": "The ID of the cluster the issue has been linked to"
|
|
34770
|
-
},
|
|
34771
|
-
"urls": {
|
|
34772
|
-
"type": "object",
|
|
34773
|
-
"description": "URLs associated with the conversation issue",
|
|
34774
|
-
"properties": {
|
|
34775
|
-
"location": {
|
|
34776
|
-
"type": "string",
|
|
34777
|
-
"description": "URL of the conversation issue in the API",
|
|
34778
|
-
"format": "uri"
|
|
34779
|
-
}
|
|
34780
|
-
},
|
|
34781
|
-
"required": [
|
|
34782
|
-
"location"
|
|
34783
|
-
]
|
|
34784
|
-
}
|
|
34785
|
-
},
|
|
34786
|
-
"required": [
|
|
34787
|
-
"object",
|
|
34788
|
-
"id",
|
|
34789
|
-
"title",
|
|
34790
|
-
"details",
|
|
34791
|
-
"impact",
|
|
34792
|
-
"createdAt",
|
|
34793
|
-
"ingestedAt",
|
|
34794
|
-
"conversation",
|
|
34795
|
-
"urls"
|
|
34796
|
-
]
|
|
34797
|
-
},
|
|
34798
|
-
"AgentSetupState": {
|
|
34799
|
-
"type": "object",
|
|
34800
|
-
"description": "State and settings of the agent",
|
|
34801
|
-
"properties": {
|
|
34802
|
-
"email": {
|
|
34803
|
-
"type": "string",
|
|
34804
|
-
"description": "The email address of the agent. Emails can be forwarded to it to ingest conversations."
|
|
34805
|
-
},
|
|
34806
|
-
"stats": {
|
|
34807
|
-
"type": "object",
|
|
34808
|
-
"description": "The stats of the agent.",
|
|
34809
|
-
"properties": {
|
|
34810
|
-
"conversations": {
|
|
34811
|
-
"type": "number",
|
|
34812
|
-
"description": "The number of conversations the agent has indexed."
|
|
34813
|
-
},
|
|
34814
|
-
"issues": {
|
|
34815
|
-
"type": "number",
|
|
34816
|
-
"description": "The number of issues the agent has indexed."
|
|
34817
|
-
},
|
|
34818
|
-
"issuesClusters": {
|
|
34819
|
-
"type": "number",
|
|
34820
|
-
"description": "The number of issue clusters the agent has indexed."
|
|
34821
|
-
},
|
|
34822
|
-
"sources": {
|
|
34823
|
-
"type": "object",
|
|
34824
|
-
"additionalProperties": {
|
|
34825
|
-
"type": "number",
|
|
34826
|
-
"description": "The number of conversations ingested for the source"
|
|
34827
|
-
}
|
|
34828
|
-
}
|
|
34829
|
-
},
|
|
34830
|
-
"required": [
|
|
34831
|
-
"conversations",
|
|
34832
|
-
"issues",
|
|
34833
|
-
"issuesClusters",
|
|
34834
|
-
"sources"
|
|
34835
|
-
]
|
|
34836
|
-
},
|
|
34837
|
-
"settings": {
|
|
34838
|
-
"type": "object",
|
|
34839
|
-
"description": "The settings for the agent.",
|
|
34840
|
-
"properties": {},
|
|
34841
|
-
"additionalProperties": false
|
|
34842
|
-
}
|
|
34843
|
-
},
|
|
34844
|
-
"required": [
|
|
34845
|
-
"email",
|
|
34846
|
-
"settings",
|
|
34847
|
-
"stats"
|
|
34848
|
-
]
|
|
34849
|
-
},
|
|
34850
33948
|
"OrganizationAgentInstructions": {
|
|
34851
33949
|
"type": "object",
|
|
34852
33950
|
"properties": {
|
|
@@ -36275,10 +35373,15 @@
|
|
|
36275
35373
|
"footer": {
|
|
36276
35374
|
"type": "boolean",
|
|
36277
35375
|
"default": true
|
|
35376
|
+
},
|
|
35377
|
+
"header": {
|
|
35378
|
+
"type": "boolean",
|
|
35379
|
+
"default": false
|
|
36278
35380
|
}
|
|
36279
35381
|
},
|
|
36280
35382
|
"required": [
|
|
36281
|
-
"footer"
|
|
35383
|
+
"footer",
|
|
35384
|
+
"header"
|
|
36282
35385
|
]
|
|
36283
35386
|
}
|
|
36284
35387
|
},
|
|
@@ -36296,7 +35399,7 @@
|
|
|
36296
35399
|
},
|
|
36297
35400
|
"maxItems": 10
|
|
36298
35401
|
},
|
|
36299
|
-
"
|
|
35402
|
+
"SiteCustomizationSettingsBase": {
|
|
36300
35403
|
"type": "object",
|
|
36301
35404
|
"properties": {
|
|
36302
35405
|
"title": {
|
|
@@ -36667,6 +35770,22 @@
|
|
|
36667
35770
|
"insights"
|
|
36668
35771
|
]
|
|
36669
35772
|
},
|
|
35773
|
+
"SiteCustomizationSettings": {
|
|
35774
|
+
"allOf": [
|
|
35775
|
+
{
|
|
35776
|
+
"$ref": "#/components/schemas/SiteCustomizationSettingsBase"
|
|
35777
|
+
},
|
|
35778
|
+
{
|
|
35779
|
+
"type": "object",
|
|
35780
|
+
"properties": {
|
|
35781
|
+
"updatedAt": {
|
|
35782
|
+
"description": "When the customization settings were updated. If missing, customization was not updated.",
|
|
35783
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
35784
|
+
}
|
|
35785
|
+
}
|
|
35786
|
+
}
|
|
35787
|
+
]
|
|
35788
|
+
},
|
|
36670
35789
|
"SiteIntegrationScript": {
|
|
36671
35790
|
"type": "object",
|
|
36672
35791
|
"properties": {
|
|
@@ -36971,6 +36090,13 @@
|
|
|
36971
36090
|
}
|
|
36972
36091
|
]
|
|
36973
36092
|
},
|
|
36093
|
+
"SiteCustomizationSettingsInput": {
|
|
36094
|
+
"allOf": [
|
|
36095
|
+
{
|
|
36096
|
+
"$ref": "#/components/schemas/SiteCustomizationSettingsBase"
|
|
36097
|
+
}
|
|
36098
|
+
]
|
|
36099
|
+
},
|
|
36974
36100
|
"SiteSearchScope": {
|
|
36975
36101
|
"oneOf": [
|
|
36976
36102
|
{
|
|
@@ -37050,6 +36176,10 @@
|
|
|
37050
36176
|
"type": "string",
|
|
37051
36177
|
"description": "The title of the record."
|
|
37052
36178
|
},
|
|
36179
|
+
"score": {
|
|
36180
|
+
"type": "number",
|
|
36181
|
+
"description": "Relevance score for the record."
|
|
36182
|
+
},
|
|
37053
36183
|
"description": {
|
|
37054
36184
|
"type": "string",
|
|
37055
36185
|
"description": "The description of the record."
|
|
@@ -37064,6 +36194,7 @@
|
|
|
37064
36194
|
"type",
|
|
37065
36195
|
"id",
|
|
37066
36196
|
"title",
|
|
36197
|
+
"score",
|
|
37067
36198
|
"url"
|
|
37068
36199
|
]
|
|
37069
36200
|
},
|
|
@@ -37462,25 +36593,98 @@
|
|
|
37462
36593
|
"no"
|
|
37463
36594
|
]
|
|
37464
36595
|
},
|
|
36596
|
+
"SiteQuestionStatsRelevance": {
|
|
36597
|
+
"type": "object",
|
|
36598
|
+
"properties": {
|
|
36599
|
+
"relevant": {
|
|
36600
|
+
"type": "number"
|
|
36601
|
+
},
|
|
36602
|
+
"spam": {
|
|
36603
|
+
"type": "number"
|
|
36604
|
+
},
|
|
36605
|
+
"off-topic": {
|
|
36606
|
+
"type": "number"
|
|
36607
|
+
},
|
|
36608
|
+
"unclear": {
|
|
36609
|
+
"type": "number"
|
|
36610
|
+
}
|
|
36611
|
+
},
|
|
36612
|
+
"required": [
|
|
36613
|
+
"relevant",
|
|
36614
|
+
"spam",
|
|
36615
|
+
"off-topic",
|
|
36616
|
+
"unclear"
|
|
36617
|
+
]
|
|
36618
|
+
},
|
|
36619
|
+
"SiteQuestionStatsTypes": {
|
|
36620
|
+
"type": "object",
|
|
36621
|
+
"properties": {
|
|
36622
|
+
"exploring": {
|
|
36623
|
+
"type": "number"
|
|
36624
|
+
},
|
|
36625
|
+
"how-to": {
|
|
36626
|
+
"type": "number"
|
|
36627
|
+
},
|
|
36628
|
+
"troubleshooting": {
|
|
36629
|
+
"type": "number"
|
|
36630
|
+
},
|
|
36631
|
+
"reference": {
|
|
36632
|
+
"type": "number"
|
|
36633
|
+
},
|
|
36634
|
+
"unknown": {
|
|
36635
|
+
"type": "number"
|
|
36636
|
+
}
|
|
36637
|
+
},
|
|
36638
|
+
"required": [
|
|
36639
|
+
"exploring",
|
|
36640
|
+
"how-to",
|
|
36641
|
+
"troubleshooting",
|
|
36642
|
+
"reference",
|
|
36643
|
+
"unknown"
|
|
36644
|
+
]
|
|
36645
|
+
},
|
|
37465
36646
|
"SiteQuestionStats": {
|
|
37466
36647
|
"type": "object",
|
|
37467
|
-
"description": "Aggregated stats for
|
|
36648
|
+
"description": "Aggregated stats for questions and linked answers.",
|
|
37468
36649
|
"properties": {
|
|
36650
|
+
"total": {
|
|
36651
|
+
"type": "number",
|
|
36652
|
+
"description": "Total count of questions included in the aggregation."
|
|
36653
|
+
},
|
|
37469
36654
|
"answers": {
|
|
37470
36655
|
"type": "number",
|
|
37471
|
-
"description": "Total count of answers linked to the
|
|
36656
|
+
"description": "Total count of answers linked to the questions."
|
|
37472
36657
|
},
|
|
37473
36658
|
"feedback": {
|
|
37474
36659
|
"$ref": "#/components/schemas/SiteQuestionStatsFeedback"
|
|
37475
36660
|
},
|
|
37476
36661
|
"answered": {
|
|
37477
36662
|
"$ref": "#/components/schemas/SiteQuestionStatsAnswered"
|
|
36663
|
+
},
|
|
36664
|
+
"relevance": {
|
|
36665
|
+
"$ref": "#/components/schemas/SiteQuestionStatsRelevance"
|
|
36666
|
+
},
|
|
36667
|
+
"types": {
|
|
36668
|
+
"$ref": "#/components/schemas/SiteQuestionStatsTypes"
|
|
36669
|
+
},
|
|
36670
|
+
"weeklyPulse": {
|
|
36671
|
+
"type": "array",
|
|
36672
|
+
"minItems": 13,
|
|
36673
|
+
"maxItems": 13,
|
|
36674
|
+
"description": "Weekly count of related question answers for the past 3 months.",
|
|
36675
|
+
"items": {
|
|
36676
|
+
"type": "number"
|
|
36677
|
+
}
|
|
37478
36678
|
}
|
|
37479
36679
|
},
|
|
37480
36680
|
"required": [
|
|
36681
|
+
"total",
|
|
37481
36682
|
"answers",
|
|
37482
36683
|
"feedback",
|
|
37483
|
-
"answered"
|
|
36684
|
+
"answered",
|
|
36685
|
+
"relevance",
|
|
36686
|
+
"types",
|
|
36687
|
+
"weeklyPulse"
|
|
37484
36688
|
]
|
|
37485
36689
|
},
|
|
37486
36690
|
"SiteTopic": {
|
|
@@ -37533,15 +36737,6 @@
|
|
|
37533
36737
|
"usageSettings": {
|
|
37534
36738
|
"$ref": "#/components/schemas/ContextUsageSettings"
|
|
37535
36739
|
},
|
|
37536
|
-
"weeklyPulse": {
|
|
37537
|
-
"type": "array",
|
|
37538
|
-
"minItems": 13,
|
|
37539
|
-
"maxItems": 13,
|
|
37540
|
-
"description": "The weekly pulse of related question answers for the past 3 months",
|
|
37541
|
-
"items": {
|
|
37542
|
-
"type": "number"
|
|
37543
|
-
}
|
|
37544
|
-
},
|
|
37545
36740
|
"pages": {
|
|
37546
36741
|
"type": "number",
|
|
37547
36742
|
"description": "The number of pages associated with the topic"
|
|
@@ -37578,7 +36773,6 @@
|
|
|
37578
36773
|
"pages",
|
|
37579
36774
|
"records",
|
|
37580
36775
|
"questions",
|
|
37581
|
-
"weeklyPulse",
|
|
37582
36776
|
"createdAt",
|
|
37583
36777
|
"updatedAt",
|
|
37584
36778
|
"urls"
|
|
@@ -39692,7 +38886,8 @@
|
|
|
39692
38886
|
"description": "Context in which the event was recorded.",
|
|
39693
38887
|
"enum": [
|
|
39694
38888
|
"site",
|
|
39695
|
-
"embed"
|
|
38889
|
+
"embed",
|
|
38890
|
+
"mcp"
|
|
39696
38891
|
]
|
|
39697
38892
|
},
|
|
39698
38893
|
"SiteInsightsEventLocation": {
|
|
@@ -41002,7 +40197,17 @@
|
|
|
41002
40197
|
"facebookbot",
|
|
41003
40198
|
"applebot",
|
|
41004
40199
|
"chatgpt",
|
|
41005
|
-
"anthropic"
|
|
40200
|
+
"anthropic",
|
|
40201
|
+
"gemini",
|
|
40202
|
+
"perplexity",
|
|
40203
|
+
"cohere",
|
|
40204
|
+
"mistral",
|
|
40205
|
+
"deepseek",
|
|
40206
|
+
"meta",
|
|
40207
|
+
"bytespider",
|
|
40208
|
+
"ccbot",
|
|
40209
|
+
"amazonbot",
|
|
40210
|
+
"youbot"
|
|
41006
40211
|
]
|
|
41007
40212
|
},
|
|
41008
40213
|
"SiteInsightsQueryEventsValues": {
|
|
@@ -42262,6 +41467,24 @@
|
|
|
42262
41467
|
"pageId"
|
|
42263
41468
|
]
|
|
42264
41469
|
},
|
|
41470
|
+
"SiteRedirectDestinationExternal": {
|
|
41471
|
+
"type": "object",
|
|
41472
|
+
"properties": {
|
|
41473
|
+
"kind": {
|
|
41474
|
+
"type": "string",
|
|
41475
|
+
"enum": [
|
|
41476
|
+
"external"
|
|
41477
|
+
]
|
|
41478
|
+
},
|
|
41479
|
+
"url": {
|
|
41480
|
+
"$ref": "#/components/schemas/URL"
|
|
41481
|
+
}
|
|
41482
|
+
},
|
|
41483
|
+
"required": [
|
|
41484
|
+
"kind",
|
|
41485
|
+
"url"
|
|
41486
|
+
]
|
|
41487
|
+
},
|
|
42265
41488
|
"SiteRedirectDestination": {
|
|
42266
41489
|
"oneOf": [
|
|
42267
41490
|
{
|
|
@@ -42272,6 +41495,9 @@
|
|
|
42272
41495
|
},
|
|
42273
41496
|
{
|
|
42274
41497
|
"$ref": "#/components/schemas/SiteRedirectDestinationPage"
|
|
41498
|
+
},
|
|
41499
|
+
{
|
|
41500
|
+
"$ref": "#/components/schemas/SiteRedirectDestinationExternal"
|
|
42275
41501
|
}
|
|
42276
41502
|
]
|
|
42277
41503
|
},
|
|
@@ -46176,9 +45402,6 @@
|
|
|
46176
45402
|
},
|
|
46177
45403
|
"OpenAPISpecSourceURL": {
|
|
46178
45404
|
"$ref": "#/components/schemas/URL"
|
|
46179
|
-
},
|
|
46180
|
-
"AgentsSetupState": {
|
|
46181
|
-
"$ref": "#/components/schemas/AgentSetupState"
|
|
46182
45405
|
}
|
|
46183
45406
|
},
|
|
46184
45407
|
"responses": {
|