@gitbook/api 0.184.0 → 0.186.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/spec/openapi.json CHANGED
@@ -480,6 +480,11 @@
480
480
  "security": [
481
481
  {
482
482
  "user": []
483
+ },
484
+ {
485
+ "oauth": [
486
+ "user:read"
487
+ ]
483
488
  }
484
489
  ],
485
490
  "description": "Returns details about the user associated with the authentication provided in the request's authorization header.\n",
@@ -626,6 +631,7 @@
626
631
  "get": {
627
632
  "operationId": "getSpaceById",
628
633
  "summary": "Get a space by its ID",
634
+ "x-gitbook-mcp": true,
629
635
  "tags": [
630
636
  "spaces",
631
637
  "critical"
@@ -665,6 +671,7 @@
665
671
  "patch": {
666
672
  "operationId": "updateSpaceById",
667
673
  "summary": "Update a space",
674
+ "x-gitbook-mcp": true,
668
675
  "tags": [
669
676
  "spaces"
670
677
  ],
@@ -793,6 +800,7 @@
793
800
  "post": {
794
801
  "operationId": "duplicateSpace",
795
802
  "summary": "Duplicate a space",
803
+ "x-gitbook-mcp": true,
796
804
  "tags": [
797
805
  "spaces"
798
806
  ],
@@ -832,6 +840,7 @@
832
840
  "post": {
833
841
  "operationId": "restoreSpace",
834
842
  "summary": "Restore a deleted space",
843
+ "x-gitbook-mcp": true,
835
844
  "description": "Only spaces deleted in the last 7 days can be restored.",
836
845
  "tags": [
837
846
  "spaces"
@@ -864,6 +873,7 @@
864
873
  "post": {
865
874
  "operationId": "moveSpace",
866
875
  "summary": "Move a space to a new position",
876
+ "x-gitbook-mcp": true,
867
877
  "tags": [
868
878
  "spaces"
869
879
  ],
@@ -931,6 +941,7 @@
931
941
  "get": {
932
942
  "operationId": "getEmbedByUrlInSpace",
933
943
  "summary": "Resolve a URL to an embed in a given space",
944
+ "x-gitbook-mcp": true,
934
945
  "tags": [
935
946
  "space-embeds"
936
947
  ],
@@ -971,6 +982,7 @@
971
982
  "get": {
972
983
  "operationId": "searchSpaceContent",
973
984
  "summary": "Search content in a space",
985
+ "x-gitbook-mcp": true,
974
986
  "tags": [
975
987
  "space-content"
976
988
  ],
@@ -1035,6 +1047,7 @@
1035
1047
  "post": {
1036
1048
  "operationId": "importGitRepository",
1037
1049
  "summary": "Import a Git repository",
1050
+ "x-gitbook-mcp": true,
1038
1051
  "tags": [
1039
1052
  "space-git"
1040
1053
  ],
@@ -1075,6 +1088,7 @@
1075
1088
  "post": {
1076
1089
  "operationId": "exportToGitRepository",
1077
1090
  "summary": "Export the to a Git repository",
1091
+ "x-gitbook-mcp": true,
1078
1092
  "tags": [
1079
1093
  "space-git"
1080
1094
  ],
@@ -1115,6 +1129,7 @@
1115
1129
  "get": {
1116
1130
  "operationId": "getSpaceGitInfo",
1117
1131
  "summary": "Get space Git info",
1132
+ "x-gitbook-mcp": true,
1118
1133
  "description": "Get metadata about the Git Sync provider currently set up on the space.",
1119
1134
  "tags": [
1120
1135
  "space-git"
@@ -1499,6 +1514,7 @@
1499
1514
  "get": {
1500
1515
  "operationId": "getCurrentRevision",
1501
1516
  "summary": "Get a space current revision",
1517
+ "x-gitbook-mcp": true,
1502
1518
  "tags": [
1503
1519
  "space-content"
1504
1520
  ],
@@ -1542,6 +1558,7 @@
1542
1558
  "post": {
1543
1559
  "operationId": "applyTemplateToSpace",
1544
1560
  "summary": "Apply a template to a space.",
1561
+ "x-gitbook-mcp": true,
1545
1562
  "tags": [
1546
1563
  "space-content"
1547
1564
  ],
@@ -1589,6 +1606,7 @@
1589
1606
  "get": {
1590
1607
  "operationId": "listPages",
1591
1608
  "summary": "List all space pages",
1609
+ "x-gitbook-mcp": true,
1592
1610
  "tags": [
1593
1611
  "space-content"
1594
1612
  ],
@@ -1637,6 +1655,7 @@
1637
1655
  "get": {
1638
1656
  "operationId": "listFiles",
1639
1657
  "summary": "List all space files",
1658
+ "x-gitbook-mcp": true,
1640
1659
  "tags": [
1641
1660
  "space-content"
1642
1661
  ],
@@ -1698,6 +1717,7 @@
1698
1717
  "get": {
1699
1718
  "operationId": "getFileById",
1700
1719
  "summary": "Get a space file by its ID",
1720
+ "x-gitbook-mcp": true,
1701
1721
  "tags": [
1702
1722
  "space-content"
1703
1723
  ],
@@ -1738,6 +1758,7 @@
1738
1758
  "get": {
1739
1759
  "operationId": "listSpaceFileBacklinks",
1740
1760
  "summary": "List all space file backlink locations",
1761
+ "x-gitbook-mcp": true,
1741
1762
  "tags": [
1742
1763
  "space-content"
1743
1764
  ],
@@ -1796,6 +1817,7 @@
1796
1817
  "get": {
1797
1818
  "operationId": "getPageById",
1798
1819
  "summary": "Get a space page by its ID",
1820
+ "x-gitbook-mcp": true,
1799
1821
  "tags": [
1800
1822
  "space-content"
1801
1823
  ],
@@ -1848,6 +1870,7 @@
1848
1870
  "get": {
1849
1871
  "operationId": "listPageLinksInSpace",
1850
1872
  "summary": "List all space page links",
1873
+ "x-gitbook-mcp": true,
1851
1874
  "tags": [
1852
1875
  "space-content",
1853
1876
  "links",
@@ -1919,6 +1942,7 @@
1919
1942
  "get": {
1920
1943
  "operationId": "listSpacePageBacklinks",
1921
1944
  "summary": "List all space page backlink locations",
1945
+ "x-gitbook-mcp": true,
1922
1946
  "tags": [
1923
1947
  "space-content"
1924
1948
  ],
@@ -1977,6 +2001,7 @@
1977
2001
  "get": {
1978
2002
  "operationId": "listSpacePageMetaLinks",
1979
2003
  "summary": "List all meta links for a space page",
2004
+ "x-gitbook-mcp": true,
1980
2005
  "tags": [
1981
2006
  "space-content"
1982
2007
  ],
@@ -2011,6 +2036,7 @@
2011
2036
  "get": {
2012
2037
  "operationId": "getPageByPath",
2013
2038
  "summary": "Get a space page by its path",
2039
+ "x-gitbook-mcp": true,
2014
2040
  "tags": [
2015
2041
  "space-content"
2016
2042
  ],
@@ -2070,6 +2096,7 @@
2070
2096
  "get": {
2071
2097
  "operationId": "getReusableContentById",
2072
2098
  "summary": "Get a space reusable content by its ID",
2099
+ "x-gitbook-mcp": true,
2073
2100
  "tags": [
2074
2101
  "space-content"
2075
2102
  ],
@@ -2110,6 +2137,7 @@
2110
2137
  "post": {
2111
2138
  "operationId": "getComputedDocument",
2112
2139
  "summary": "Get a space computed document",
2140
+ "x-gitbook-mcp": true,
2113
2141
  "tags": [
2114
2142
  "space-content"
2115
2143
  ],
@@ -2167,6 +2195,7 @@
2167
2195
  "post": {
2168
2196
  "operationId": "getComputedRevision",
2169
2197
  "summary": "Get a space computed revision",
2198
+ "x-gitbook-mcp": true,
2170
2199
  "tags": [
2171
2200
  "space-content"
2172
2201
  ],
@@ -2246,6 +2275,7 @@
2246
2275
  "get": {
2247
2276
  "operationId": "getDocumentById",
2248
2277
  "summary": "Get a space document by its ID",
2278
+ "x-gitbook-mcp": true,
2249
2279
  "tags": [
2250
2280
  "space-content"
2251
2281
  ],
@@ -2289,6 +2319,7 @@
2289
2319
  "post": {
2290
2320
  "operationId": "createChangeRequest",
2291
2321
  "summary": "Create a change request",
2322
+ "x-gitbook-mcp": true,
2292
2323
  "tags": [
2293
2324
  "change-requests"
2294
2325
  ],
@@ -2347,6 +2378,7 @@
2347
2378
  "get": {
2348
2379
  "operationId": "listChangeRequestsForSpace",
2349
2380
  "summary": "List all change requests",
2381
+ "x-gitbook-mcp": true,
2350
2382
  "tags": [
2351
2383
  "change-requests"
2352
2384
  ],
@@ -2456,6 +2488,7 @@
2456
2488
  "get": {
2457
2489
  "operationId": "getChangeRequestById",
2458
2490
  "summary": "Get a change request by its ID",
2491
+ "x-gitbook-mcp": true,
2459
2492
  "tags": [
2460
2493
  "change-requests"
2461
2494
  ],
@@ -2492,6 +2525,7 @@
2492
2525
  "patch": {
2493
2526
  "operationId": "updateChangeRequestById",
2494
2527
  "summary": "Update a change request",
2528
+ "x-gitbook-mcp": true,
2495
2529
  "tags": [
2496
2530
  "change-requests"
2497
2531
  ],
@@ -2555,6 +2589,7 @@
2555
2589
  "post": {
2556
2590
  "operationId": "mergeChangeRequest",
2557
2591
  "summary": "Merge a change request",
2592
+ "x-gitbook-mcp": true,
2558
2593
  "tags": [
2559
2594
  "change-requests"
2560
2595
  ],
@@ -2606,6 +2641,7 @@
2606
2641
  "post": {
2607
2642
  "operationId": "updateChangeRequest",
2608
2643
  "summary": "Pull primary content into the change request",
2644
+ "x-gitbook-mcp": true,
2609
2645
  "tags": [
2610
2646
  "change-requests"
2611
2647
  ],
@@ -2657,6 +2693,7 @@
2657
2693
  "get": {
2658
2694
  "operationId": "getReviewsByChangeRequestId",
2659
2695
  "summary": "List all change request reviews",
2696
+ "x-gitbook-mcp": true,
2660
2697
  "tags": [
2661
2698
  "change-requests-reviews"
2662
2699
  ],
@@ -2728,6 +2765,7 @@
2728
2765
  "post": {
2729
2766
  "operationId": "submitChangeRequestReview",
2730
2767
  "summary": "Submit a change request review",
2768
+ "x-gitbook-mcp": true,
2731
2769
  "tags": [
2732
2770
  "change-requests-reviews"
2733
2771
  ],
@@ -2793,6 +2831,7 @@
2793
2831
  "get": {
2794
2832
  "operationId": "getChangeRequestReviewById",
2795
2833
  "summary": "Get a change request review by its ID",
2834
+ "x-gitbook-mcp": true,
2796
2835
  "tags": [
2797
2836
  "change-requests-reviews"
2798
2837
  ],
@@ -2837,6 +2876,7 @@
2837
2876
  "get": {
2838
2877
  "operationId": "getRequestedReviewersByChangeRequestId",
2839
2878
  "summary": "Get all change request reviewers",
2879
+ "x-gitbook-mcp": true,
2840
2880
  "tags": [
2841
2881
  "change-request-reviewers"
2842
2882
  ],
@@ -2893,6 +2933,7 @@
2893
2933
  "post": {
2894
2934
  "operationId": "requestReviewersForChangeRequest",
2895
2935
  "summary": "Request change request reviewers",
2936
+ "x-gitbook-mcp": true,
2896
2937
  "tags": [
2897
2938
  "change-request-reviewers"
2898
2939
  ],
@@ -2995,10 +3036,155 @@
2995
3036
  }
2996
3037
  }
2997
3038
  },
3039
+ "/spaces/{spaceId}/change-requests/{changeRequestId}/conversations": {
3040
+ "get": {
3041
+ "operationId": "listChangeRequestConversations",
3042
+ "summary": "List the agent conversations of a change request",
3043
+ "x-gitbook-mcp": true,
3044
+ "tags": [
3045
+ "change-request-conversations"
3046
+ ],
3047
+ "security": [
3048
+ {
3049
+ "user": []
3050
+ }
3051
+ ],
3052
+ "parameters": [
3053
+ {
3054
+ "$ref": "#/components/parameters/spaceId"
3055
+ },
3056
+ {
3057
+ "$ref": "#/components/parameters/changeRequestId"
3058
+ },
3059
+ {
3060
+ "$ref": "#/components/parameters/listPage"
3061
+ },
3062
+ {
3063
+ "$ref": "#/components/parameters/listLimit"
3064
+ }
3065
+ ],
3066
+ "responses": {
3067
+ "200": {
3068
+ "description": "A list of agent conversations",
3069
+ "content": {
3070
+ "application/json": {
3071
+ "schema": {
3072
+ "allOf": [
3073
+ {
3074
+ "$ref": "#/components/schemas/List"
3075
+ },
3076
+ {
3077
+ "type": "object",
3078
+ "required": [
3079
+ "items"
3080
+ ],
3081
+ "properties": {
3082
+ "items": {
3083
+ "type": "array",
3084
+ "items": {
3085
+ "$ref": "#/components/schemas/AgentConversation"
3086
+ }
3087
+ }
3088
+ }
3089
+ }
3090
+ ]
3091
+ }
3092
+ }
3093
+ }
3094
+ }
3095
+ }
3096
+ }
3097
+ },
3098
+ "/spaces/{spaceId}/change-requests/{changeRequestId}/conversations/{conversationId}": {
3099
+ "patch": {
3100
+ "operationId": "updateChangeRequestConversation",
3101
+ "summary": "Update an agent conversation",
3102
+ "x-gitbook-mcp": true,
3103
+ "tags": [
3104
+ "change-request-conversations"
3105
+ ],
3106
+ "security": [
3107
+ {
3108
+ "user": []
3109
+ }
3110
+ ],
3111
+ "parameters": [
3112
+ {
3113
+ "$ref": "#/components/parameters/spaceId"
3114
+ },
3115
+ {
3116
+ "$ref": "#/components/parameters/changeRequestId"
3117
+ },
3118
+ {
3119
+ "$ref": "#/components/parameters/conversationId"
3120
+ }
3121
+ ],
3122
+ "requestBody": {
3123
+ "required": true,
3124
+ "content": {
3125
+ "application/json": {
3126
+ "schema": {
3127
+ "type": "object",
3128
+ "properties": {
3129
+ "title": {
3130
+ "type": "string",
3131
+ "description": "The new title of the conversation."
3132
+ }
3133
+ },
3134
+ "required": [
3135
+ "title"
3136
+ ]
3137
+ }
3138
+ }
3139
+ }
3140
+ },
3141
+ "responses": {
3142
+ "200": {
3143
+ "description": "The updated conversation.",
3144
+ "content": {
3145
+ "application/json": {
3146
+ "schema": {
3147
+ "$ref": "#/components/schemas/AgentConversation"
3148
+ }
3149
+ }
3150
+ }
3151
+ }
3152
+ }
3153
+ },
3154
+ "delete": {
3155
+ "operationId": "deleteChangeRequestConversation",
3156
+ "summary": "Delete an agent conversation",
3157
+ "tags": [
3158
+ "change-request-conversations"
3159
+ ],
3160
+ "security": [
3161
+ {
3162
+ "user": []
3163
+ }
3164
+ ],
3165
+ "parameters": [
3166
+ {
3167
+ "$ref": "#/components/parameters/spaceId"
3168
+ },
3169
+ {
3170
+ "$ref": "#/components/parameters/changeRequestId"
3171
+ },
3172
+ {
3173
+ "$ref": "#/components/parameters/conversationId"
3174
+ }
3175
+ ],
3176
+ "responses": {
3177
+ "205": {
3178
+ "description": "The conversation has been deleted."
3179
+ }
3180
+ }
3181
+ }
3182
+ },
2998
3183
  "/spaces/{spaceId}/change-requests/{changeRequestId}/links": {
2999
3184
  "get": {
3000
3185
  "operationId": "listChangeRequestLinks",
3001
3186
  "summary": "List all change request links",
3187
+ "x-gitbook-mcp": true,
3002
3188
  "tags": [
3003
3189
  "change-requests-links",
3004
3190
  "links",
@@ -3087,6 +3273,7 @@
3087
3273
  "get": {
3088
3274
  "operationId": "listCommentsInChangeRequest",
3089
3275
  "summary": "List all change request comments",
3276
+ "x-gitbook-mcp": true,
3090
3277
  "tags": [
3091
3278
  "change-request-comments"
3092
3279
  ],
@@ -3158,6 +3345,7 @@
3158
3345
  "post": {
3159
3346
  "operationId": "postCommentInChangeRequest",
3160
3347
  "summary": "Create a change request comment",
3348
+ "x-gitbook-mcp": true,
3161
3349
  "tags": [
3162
3350
  "change-request-comments"
3163
3351
  ],
@@ -3202,6 +3390,7 @@
3202
3390
  "get": {
3203
3391
  "operationId": "getCommentInChangeRequest",
3204
3392
  "summary": "Get a change request comment",
3393
+ "x-gitbook-mcp": true,
3205
3394
  "tags": [
3206
3395
  "change-request-comments"
3207
3396
  ],
@@ -3271,6 +3460,7 @@
3271
3460
  "put": {
3272
3461
  "operationId": "updateCommentInChangeRequest",
3273
3462
  "summary": "Update a change request comment",
3463
+ "x-gitbook-mcp": true,
3274
3464
  "tags": [
3275
3465
  "change-request-comments"
3276
3466
  ],
@@ -3318,6 +3508,7 @@
3318
3508
  "get": {
3319
3509
  "operationId": "listCommentRepliesInChangeRequest",
3320
3510
  "summary": "List all change request comment replies",
3511
+ "x-gitbook-mcp": true,
3321
3512
  "tags": [
3322
3513
  "change-request-comments"
3323
3514
  ],
@@ -3380,6 +3571,7 @@
3380
3571
  "post": {
3381
3572
  "operationId": "postCommentReplyInChangeRequest",
3382
3573
  "summary": "Create a change request comment reply",
3574
+ "x-gitbook-mcp": true,
3383
3575
  "tags": [
3384
3576
  "change-request-comments"
3385
3577
  ],
@@ -3430,6 +3622,7 @@
3430
3622
  "get": {
3431
3623
  "operationId": "getCommentReplyInChangeRequest",
3432
3624
  "summary": "Get a change request comment reply",
3625
+ "x-gitbook-mcp": true,
3433
3626
  "tags": [
3434
3627
  "change-request-comments"
3435
3628
  ],
@@ -3471,6 +3664,7 @@
3471
3664
  "put": {
3472
3665
  "operationId": "updateCommentReplyInChangeRequest",
3473
3666
  "summary": "Update a change request comment reply",
3667
+ "x-gitbook-mcp": true,
3474
3668
  "tags": [
3475
3669
  "change-request-comments"
3476
3670
  ],
@@ -3555,6 +3749,7 @@
3555
3749
  "get": {
3556
3750
  "operationId": "getContributorsByChangeRequestId",
3557
3751
  "summary": "Get all contribors of a change request",
3752
+ "x-gitbook-mcp": true,
3558
3753
  "tags": [
3559
3754
  "change-request-contributors"
3560
3755
  ],
@@ -3611,6 +3806,7 @@
3611
3806
  "get": {
3612
3807
  "operationId": "getRevisionOfChangeRequestById",
3613
3808
  "summary": "Get a change request the latest content revision",
3809
+ "x-gitbook-mcp": true,
3614
3810
  "tags": [
3615
3811
  "change-request-content"
3616
3812
  ],
@@ -3645,12 +3841,74 @@
3645
3841
  }
3646
3842
  }
3647
3843
  }
3844
+ },
3845
+ "post": {
3846
+ "operationId": "updateChangeRequestContent",
3847
+ "summary": "Update the content of a change request",
3848
+ "description": "This endpoint allows you to update the content of a change request by providing an array of changes.\nEach change is ran sequentially. This operation will create a single new revision in the change request, apply all changes, and then point the change request to the new revision.\nThis endpoint will only run if all changes in the request are valid. If any change fails, the entire request will fail and no changes will be applied.\n",
3849
+ "x-gitbook-mcp": true,
3850
+ "tags": [
3851
+ "change-request-content"
3852
+ ],
3853
+ "security": [
3854
+ {
3855
+ "user": []
3856
+ }
3857
+ ],
3858
+ "parameters": [
3859
+ {
3860
+ "$ref": "#/components/parameters/spaceId"
3861
+ },
3862
+ {
3863
+ "$ref": "#/components/parameters/changeRequestId"
3864
+ }
3865
+ ],
3866
+ "requestBody": {
3867
+ "required": true,
3868
+ "content": {
3869
+ "application/json": {
3870
+ "schema": {
3871
+ "type": "object",
3872
+ "required": [
3873
+ "changes"
3874
+ ],
3875
+ "properties": {
3876
+ "changes": {
3877
+ "type": "array",
3878
+ "minItems": 1,
3879
+ "maxItems": 50,
3880
+ "items": {
3881
+ "$ref": "#/components/schemas/ChangeRequestContentChange"
3882
+ }
3883
+ }
3884
+ }
3885
+ }
3886
+ }
3887
+ }
3888
+ },
3889
+ "responses": {
3890
+ "200": {
3891
+ "description": "The change request has been updated",
3892
+ "content": {
3893
+ "application/json": {
3894
+ "schema": {
3895
+ "$ref": "#/components/schemas/ChangeRequest"
3896
+ }
3897
+ }
3898
+ }
3899
+ },
3900
+ "404": {
3901
+ "description": "The change request could not be found.",
3902
+ "$ref": "#/components/responses/NotFoundError"
3903
+ }
3904
+ }
3648
3905
  }
3649
3906
  },
3650
3907
  "/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages": {
3651
3908
  "get": {
3652
3909
  "operationId": "listPagesInChangeRequest",
3653
3910
  "summary": "List all change request pages",
3911
+ "x-gitbook-mcp": true,
3654
3912
  "tags": [
3655
3913
  "change-request-content"
3656
3914
  ],
@@ -3702,6 +3960,7 @@
3702
3960
  "get": {
3703
3961
  "operationId": "listFilesInChangeRequestById",
3704
3962
  "summary": "List all change request files",
3963
+ "x-gitbook-mcp": true,
3705
3964
  "tags": [
3706
3965
  "change-request-content"
3707
3966
  ],
@@ -3766,6 +4025,7 @@
3766
4025
  "get": {
3767
4026
  "operationId": "getFileInChangeRequestById",
3768
4027
  "summary": "Get a change request file by its ID",
4028
+ "x-gitbook-mcp": true,
3769
4029
  "tags": [
3770
4030
  "change-request-content"
3771
4031
  ],
@@ -3809,6 +4069,7 @@
3809
4069
  "get": {
3810
4070
  "operationId": "listChangeRequestFileBacklinks",
3811
4071
  "summary": "List all backlink locations of a change request file",
4072
+ "x-gitbook-mcp": true,
3812
4073
  "tags": [
3813
4074
  "change-request-content"
3814
4075
  ],
@@ -3870,6 +4131,7 @@
3870
4131
  "get": {
3871
4132
  "operationId": "getPageInChangeRequestById",
3872
4133
  "summary": "Get a change request page by its ID",
4134
+ "x-gitbook-mcp": true,
3873
4135
  "tags": [
3874
4136
  "change-request-content"
3875
4137
  ],
@@ -3925,6 +4187,7 @@
3925
4187
  "get": {
3926
4188
  "operationId": "listPageLinksInChangeRequest",
3927
4189
  "summary": "List all change request links",
4190
+ "x-gitbook-mcp": true,
3928
4191
  "tags": [
3929
4192
  "change-request-content",
3930
4193
  "critical"
@@ -3991,6 +4254,7 @@
3991
4254
  "get": {
3992
4255
  "operationId": "listChangeRequestPageBacklinks",
3993
4256
  "summary": "List all backlink locations of a change request page",
4257
+ "x-gitbook-mcp": true,
3994
4258
  "tags": [
3995
4259
  "change-request-content"
3996
4260
  ],
@@ -4052,6 +4316,7 @@
4052
4316
  "get": {
4053
4317
  "operationId": "listChangeRequestPageMetaLinks",
4054
4318
  "summary": "List all meta links of a change request page",
4319
+ "x-gitbook-mcp": true,
4055
4320
  "tags": [
4056
4321
  "change-request-content"
4057
4322
  ],
@@ -4089,6 +4354,7 @@
4089
4354
  "get": {
4090
4355
  "operationId": "getReusableContentInChangeRequestById",
4091
4356
  "summary": "Get a change request reusable content by its ID",
4357
+ "x-gitbook-mcp": true,
4092
4358
  "tags": [
4093
4359
  "change-request-content"
4094
4360
  ],
@@ -4132,6 +4398,7 @@
4132
4398
  "get": {
4133
4399
  "operationId": "getChangeRequestChanges",
4134
4400
  "summary": "Get change request semantic changes",
4401
+ "x-gitbook-mcp": true,
4135
4402
  "description": "Return the semantic changes between a change request and its base revision.",
4136
4403
  "tags": [
4137
4404
  "change-request-content"
@@ -4180,6 +4447,7 @@
4180
4447
  "get": {
4181
4448
  "operationId": "getChangeRequestPDF",
4182
4449
  "summary": "Get a URL of the content of a change request as PDF",
4450
+ "x-gitbook-mcp": true,
4183
4451
  "tags": [
4184
4452
  "change-requests"
4185
4453
  ],
@@ -4239,6 +4507,7 @@
4239
4507
  "get": {
4240
4508
  "operationId": "getRevisionById",
4241
4509
  "summary": "Get a space revision",
4510
+ "x-gitbook-mcp": true,
4242
4511
  "tags": [
4243
4512
  "space-content"
4244
4513
  ],
@@ -4285,6 +4554,7 @@
4285
4554
  "get": {
4286
4555
  "operationId": "getRevisionSemanticChanges",
4287
4556
  "summary": "Get space revision semantic changes",
4557
+ "x-gitbook-mcp": true,
4288
4558
  "description": "Return the semantic changes between a revision and its parent.",
4289
4559
  "tags": [
4290
4560
  "space-content"
@@ -4340,6 +4610,7 @@
4340
4610
  "/spaces/{spaceId}/revisions/{revisionId}/pages": {
4341
4611
  "get": {
4342
4612
  "summary": "List all pages in a space revision",
4613
+ "x-gitbook-mcp": true,
4343
4614
  "operationId": "listPagesInRevisionById",
4344
4615
  "tags": [
4345
4616
  "space-content"
@@ -4391,6 +4662,7 @@
4391
4662
  "/spaces/{spaceId}/revisions/{revisionId}/files": {
4392
4663
  "get": {
4393
4664
  "summary": "List all space revision files",
4665
+ "x-gitbook-mcp": true,
4394
4666
  "operationId": "listFilesInRevisionById",
4395
4667
  "tags": [
4396
4668
  "space-content"
@@ -4455,6 +4727,7 @@
4455
4727
  "/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}": {
4456
4728
  "get": {
4457
4729
  "summary": "Get a space revision file by its ID",
4730
+ "x-gitbook-mcp": true,
4458
4731
  "operationId": "getFileInRevisionById",
4459
4732
  "tags": [
4460
4733
  "space-content"
@@ -4499,6 +4772,7 @@
4499
4772
  "get": {
4500
4773
  "operationId": "getPageInRevisionById",
4501
4774
  "summary": "Get a space revision page by its ID",
4775
+ "x-gitbook-mcp": true,
4502
4776
  "tags": [
4503
4777
  "space-content"
4504
4778
  ],
@@ -4560,6 +4834,7 @@
4560
4834
  "get": {
4561
4835
  "operationId": "getPageDocumentInRevisionById",
4562
4836
  "summary": "Get the document of a page in a revision",
4837
+ "x-gitbook-mcp": true,
4563
4838
  "tags": [
4564
4839
  "space-content"
4565
4840
  ],
@@ -4603,6 +4878,7 @@
4603
4878
  "get": {
4604
4879
  "operationId": "getPageInRevisionByPath",
4605
4880
  "summary": "Get a space revision page by its path",
4881
+ "x-gitbook-mcp": true,
4606
4882
  "tags": [
4607
4883
  "space-content"
4608
4884
  ],
@@ -4665,6 +4941,7 @@
4665
4941
  "get": {
4666
4942
  "operationId": "listRevisionPageMetaLinks",
4667
4943
  "summary": "List all meta links for a revision page",
4944
+ "x-gitbook-mcp": true,
4668
4945
  "tags": [
4669
4946
  "space-content"
4670
4947
  ],
@@ -4702,6 +4979,7 @@
4702
4979
  "get": {
4703
4980
  "operationId": "getPageInChangeRequestByPath",
4704
4981
  "summary": "Get a change request page by its path",
4982
+ "x-gitbook-mcp": true,
4705
4983
  "tags": [
4706
4984
  "change-request-content"
4707
4985
  ],
@@ -4764,6 +5042,7 @@
4764
5042
  "get": {
4765
5043
  "operationId": "getReusableContentInRevisionById",
4766
5044
  "summary": "Get a space revision reusable content by its ID",
5045
+ "x-gitbook-mcp": true,
4767
5046
  "tags": [
4768
5047
  "space-content"
4769
5048
  ],
@@ -4807,6 +5086,7 @@
4807
5086
  "get": {
4808
5087
  "operationId": "getReusableContentDocumentInRevisionById",
4809
5088
  "summary": "Get the document of a reusable content in a revision",
5089
+ "x-gitbook-mcp": true,
4810
5090
  "tags": [
4811
5091
  "space-content"
4812
5092
  ],
@@ -4850,6 +5130,7 @@
4850
5130
  "get": {
4851
5131
  "operationId": "listCommentsInSpace",
4852
5132
  "summary": "List all space comments",
5133
+ "x-gitbook-mcp": true,
4853
5134
  "tags": [
4854
5135
  "space-comments",
4855
5136
  "critical"
@@ -4919,6 +5200,7 @@
4919
5200
  "post": {
4920
5201
  "operationId": "postCommentInSpace",
4921
5202
  "summary": "Create a space comment",
5203
+ "x-gitbook-mcp": true,
4922
5204
  "tags": [
4923
5205
  "space-comments"
4924
5206
  ],
@@ -4960,6 +5242,7 @@
4960
5242
  "get": {
4961
5243
  "operationId": "getCommentInSpace",
4962
5244
  "summary": "Get a space comment",
5245
+ "x-gitbook-mcp": true,
4963
5246
  "tags": [
4964
5247
  "space-comments"
4965
5248
  ],
@@ -5023,6 +5306,7 @@
5023
5306
  "put": {
5024
5307
  "operationId": "updateCommentInSpace",
5025
5308
  "summary": "Update a space comment",
5309
+ "x-gitbook-mcp": true,
5026
5310
  "tags": [
5027
5311
  "space-comments"
5028
5312
  ],
@@ -5067,6 +5351,7 @@
5067
5351
  "get": {
5068
5352
  "operationId": "listCommentRepliesInSpace",
5069
5353
  "summary": "List all space comment replies",
5354
+ "x-gitbook-mcp": true,
5070
5355
  "tags": [
5071
5356
  "space-comment"
5072
5357
  ],
@@ -5126,6 +5411,7 @@
5126
5411
  "post": {
5127
5412
  "operationId": "postCommentReplyInSpace",
5128
5413
  "summary": "Create a space comment reply",
5414
+ "x-gitbook-mcp": true,
5129
5415
  "tags": [
5130
5416
  "space-comments"
5131
5417
  ],
@@ -5170,6 +5456,7 @@
5170
5456
  "get": {
5171
5457
  "operationId": "getCommentReplyInSpace",
5172
5458
  "summary": "Get a space comment reply",
5459
+ "x-gitbook-mcp": true,
5173
5460
  "tags": [
5174
5461
  "space-comments"
5175
5462
  ],
@@ -5208,6 +5495,7 @@
5208
5495
  "put": {
5209
5496
  "operationId": "updateCommentReplyInSpace",
5210
5497
  "summary": "Update a space comment reply",
5498
+ "x-gitbook-mcp": true,
5211
5499
  "tags": [
5212
5500
  "space-comments"
5213
5501
  ],
@@ -5286,6 +5574,7 @@
5286
5574
  "get": {
5287
5575
  "operationId": "listCommentersInSpace",
5288
5576
  "summary": "List all users who commented in a space",
5577
+ "x-gitbook-mcp": true,
5289
5578
  "tags": [
5290
5579
  "space-comments",
5291
5580
  "critical"
@@ -5342,6 +5631,7 @@
5342
5631
  "get": {
5343
5632
  "operationId": "listCommentersInChangeRequest",
5344
5633
  "summary": "List all users who commented in a CR",
5634
+ "x-gitbook-mcp": true,
5345
5635
  "tags": [
5346
5636
  "change-request-comments",
5347
5637
  "critical"
@@ -5464,6 +5754,7 @@
5464
5754
  "get": {
5465
5755
  "operationId": "listSpaceIntegrations",
5466
5756
  "summary": "List integrations enabled in a space",
5757
+ "x-gitbook-mcp": true,
5467
5758
  "tags": [
5468
5759
  "space-integrations"
5469
5760
  ],
@@ -5516,6 +5807,7 @@
5516
5807
  "get": {
5517
5808
  "operationId": "listSpaceIntegrationsBlocks",
5518
5809
  "summary": "List all space integrations blocks",
5810
+ "x-gitbook-mcp": true,
5519
5811
  "tags": [
5520
5812
  "space-integrations"
5521
5813
  ],
@@ -5545,6 +5837,7 @@
5545
5837
  "get": {
5546
5838
  "operationId": "getSpacePDF",
5547
5839
  "summary": "Get a URL of the content of a space as PDF",
5840
+ "x-gitbook-mcp": true,
5548
5841
  "tags": [
5549
5842
  "space-content"
5550
5843
  ],
@@ -5601,6 +5894,7 @@
5601
5894
  "get": {
5602
5895
  "operationId": "listSpaceLinks",
5603
5896
  "summary": "Get all links in a space including their status and location where they appear.",
5897
+ "x-gitbook-mcp": true,
5604
5898
  "tags": [
5605
5899
  "spaces",
5606
5900
  "links",
@@ -5679,6 +5973,11 @@
5679
5973
  "security": [
5680
5974
  {
5681
5975
  "user": []
5976
+ },
5977
+ {
5978
+ "oauth": [
5979
+ "space:read"
5980
+ ]
5682
5981
  }
5683
5982
  ],
5684
5983
  "parameters": [
@@ -5708,6 +6007,11 @@
5708
6007
  "security": [
5709
6008
  {
5710
6009
  "user": []
6010
+ },
6011
+ {
6012
+ "oauth": [
6013
+ "space:write"
6014
+ ]
5711
6015
  }
5712
6016
  ],
5713
6017
  "parameters": [
@@ -5758,6 +6062,11 @@
5758
6062
  "security": [
5759
6063
  {
5760
6064
  "user": []
6065
+ },
6066
+ {
6067
+ "oauth": [
6068
+ "space:write"
6069
+ ]
5761
6070
  }
5762
6071
  ],
5763
6072
  "parameters": [
@@ -5785,6 +6094,11 @@
5785
6094
  "security": [
5786
6095
  {
5787
6096
  "user": []
6097
+ },
6098
+ {
6099
+ "oauth": [
6100
+ "space:read"
6101
+ ]
5788
6102
  }
5789
6103
  ],
5790
6104
  "parameters": [
@@ -5840,6 +6154,11 @@
5840
6154
  "security": [
5841
6155
  {
5842
6156
  "user": []
6157
+ },
6158
+ {
6159
+ "oauth": [
6160
+ "space:write"
6161
+ ]
5843
6162
  }
5844
6163
  ],
5845
6164
  "parameters": [
@@ -5907,6 +6226,11 @@
5907
6226
  "security": [
5908
6227
  {
5909
6228
  "user": []
6229
+ },
6230
+ {
6231
+ "oauth": [
6232
+ "space:write"
6233
+ ]
5910
6234
  }
5911
6235
  ],
5912
6236
  "parameters": [
@@ -5969,6 +6293,11 @@
5969
6293
  "security": [
5970
6294
  {
5971
6295
  "user": []
6296
+ },
6297
+ {
6298
+ "oauth": [
6299
+ "space:permissions:write"
6300
+ ]
5972
6301
  }
5973
6302
  ],
5974
6303
  "parameters": [
@@ -6007,6 +6336,11 @@
6007
6336
  "security": [
6008
6337
  {
6009
6338
  "user": []
6339
+ },
6340
+ {
6341
+ "oauth": [
6342
+ "space:permissions:read"
6343
+ ]
6010
6344
  }
6011
6345
  ],
6012
6346
  "parameters": [
@@ -6075,6 +6409,11 @@
6075
6409
  "security": [
6076
6410
  {
6077
6411
  "user": []
6412
+ },
6413
+ {
6414
+ "oauth": [
6415
+ "space:permissions:write"
6416
+ ]
6078
6417
  }
6079
6418
  ],
6080
6419
  "parameters": [
@@ -6119,6 +6458,11 @@
6119
6458
  "security": [
6120
6459
  {
6121
6460
  "user": []
6461
+ },
6462
+ {
6463
+ "oauth": [
6464
+ "space:permissions:write"
6465
+ ]
6122
6466
  }
6123
6467
  ],
6124
6468
  "parameters": [
@@ -6149,6 +6493,11 @@
6149
6493
  "security": [
6150
6494
  {
6151
6495
  "user": []
6496
+ },
6497
+ {
6498
+ "oauth": [
6499
+ "space:permissions:read"
6500
+ ]
6152
6501
  }
6153
6502
  ],
6154
6503
  "parameters": [
@@ -6208,6 +6557,11 @@
6208
6557
  "security": [
6209
6558
  {
6210
6559
  "user": []
6560
+ },
6561
+ {
6562
+ "oauth": [
6563
+ "space:permissions:write"
6564
+ ]
6211
6565
  }
6212
6566
  ],
6213
6567
  "parameters": [
@@ -6252,6 +6606,11 @@
6252
6606
  "security": [
6253
6607
  {
6254
6608
  "user": []
6609
+ },
6610
+ {
6611
+ "oauth": [
6612
+ "space:permissions:write"
6613
+ ]
6255
6614
  }
6256
6615
  ],
6257
6616
  "parameters": [
@@ -6282,6 +6641,11 @@
6282
6641
  "security": [
6283
6642
  {
6284
6643
  "user": []
6644
+ },
6645
+ {
6646
+ "oauth": [
6647
+ "space:permissions:read"
6648
+ ]
6285
6649
  }
6286
6650
  ],
6287
6651
  "parameters": [
@@ -9145,6 +9509,7 @@
9145
9509
  "get": {
9146
9510
  "operationId": "listChangeRequestsForOrganization",
9147
9511
  "summary": "List all change requests in an organization",
9512
+ "x-gitbook-mcp": true,
9148
9513
  "tags": [
9149
9514
  "change-requests"
9150
9515
  ],
@@ -9232,6 +9597,19 @@
9232
9597
  },
9233
9598
  "description": "If defined, only change requests linked to this site topic will be returned."
9234
9599
  },
9600
+ {
9601
+ "name": "finding",
9602
+ "in": "query",
9603
+ "required": false,
9604
+ "schema": {
9605
+ "type": "string",
9606
+ "enum": [
9607
+ "none",
9608
+ "all"
9609
+ ]
9610
+ },
9611
+ "description": "Controls whether change requests from triage are included. Pass `none` to exclude change requests from triage, or `all` to include them. Default is `none`."
9612
+ },
9235
9613
  {
9236
9614
  "name": "orderBy",
9237
9615
  "in": "query",
@@ -9277,6 +9655,7 @@
9277
9655
  "get": {
9278
9656
  "operationId": "listSpacesInOrganizationById",
9279
9657
  "summary": "List all spaces",
9658
+ "x-gitbook-mcp": true,
9280
9659
  "tags": [
9281
9660
  "spaces"
9282
9661
  ],
@@ -9333,6 +9712,7 @@
9333
9712
  "post": {
9334
9713
  "operationId": "createSpace",
9335
9714
  "summary": "Create a space",
9715
+ "x-gitbook-mcp": true,
9336
9716
  "tags": [
9337
9717
  "spaces"
9338
9718
  ],
@@ -9387,6 +9767,11 @@
9387
9767
  "security": [
9388
9768
  {
9389
9769
  "user": []
9770
+ },
9771
+ {
9772
+ "oauth": [
9773
+ "space:read"
9774
+ ]
9390
9775
  }
9391
9776
  ],
9392
9777
  "parameters": [
@@ -9449,6 +9834,11 @@
9449
9834
  "security": [
9450
9835
  {
9451
9836
  "user": []
9837
+ },
9838
+ {
9839
+ "oauth": [
9840
+ "space:write"
9841
+ ]
9452
9842
  }
9453
9843
  ],
9454
9844
  "parameters": [
@@ -10223,6 +10613,11 @@
10223
10613
  "security": [
10224
10614
  {
10225
10615
  "user": []
10616
+ },
10617
+ {
10618
+ "oauth": [
10619
+ "openapi:read"
10620
+ ]
10226
10621
  }
10227
10622
  ],
10228
10623
  "parameters": [
@@ -10276,6 +10671,11 @@
10276
10671
  "security": [
10277
10672
  {
10278
10673
  "user": []
10674
+ },
10675
+ {
10676
+ "oauth": [
10677
+ "openapi:write"
10678
+ ]
10279
10679
  }
10280
10680
  ],
10281
10681
  "parameters": [
@@ -10332,6 +10732,11 @@
10332
10732
  "security": [
10333
10733
  {
10334
10734
  "user": []
10735
+ },
10736
+ {
10737
+ "oauth": [
10738
+ "openapi:read"
10739
+ ]
10335
10740
  }
10336
10741
  ],
10337
10742
  "parameters": [
@@ -10368,6 +10773,11 @@
10368
10773
  "security": [
10369
10774
  {
10370
10775
  "user": []
10776
+ },
10777
+ {
10778
+ "oauth": [
10779
+ "openapi:write"
10780
+ ]
10371
10781
  }
10372
10782
  ],
10373
10783
  "parameters": [
@@ -10431,6 +10841,11 @@
10431
10841
  "security": [
10432
10842
  {
10433
10843
  "user": []
10844
+ },
10845
+ {
10846
+ "oauth": [
10847
+ "openapi:write"
10848
+ ]
10434
10849
  }
10435
10850
  ],
10436
10851
  "parameters": [
@@ -10488,6 +10903,11 @@
10488
10903
  "security": [
10489
10904
  {
10490
10905
  "user": []
10906
+ },
10907
+ {
10908
+ "oauth": [
10909
+ "openapi:write"
10910
+ ]
10491
10911
  }
10492
10912
  ],
10493
10913
  "parameters": [
@@ -10518,6 +10938,11 @@
10518
10938
  "security": [
10519
10939
  {
10520
10940
  "user": []
10941
+ },
10942
+ {
10943
+ "oauth": [
10944
+ "openapi:read"
10945
+ ]
10521
10946
  }
10522
10947
  ],
10523
10948
  "parameters": [
@@ -10580,6 +11005,11 @@
10580
11005
  "security": [
10581
11006
  {
10582
11007
  "user": []
11008
+ },
11009
+ {
11010
+ "oauth": [
11011
+ "openapi:read"
11012
+ ]
10583
11013
  }
10584
11014
  ],
10585
11015
  "parameters": [
@@ -10618,6 +11048,11 @@
10618
11048
  "security": [
10619
11049
  {
10620
11050
  "user": []
11051
+ },
11052
+ {
11053
+ "oauth": [
11054
+ "openapi:read"
11055
+ ]
10621
11056
  }
10622
11057
  ],
10623
11058
  "parameters": [
@@ -10656,6 +11091,11 @@
10656
11091
  "security": [
10657
11092
  {
10658
11093
  "user": []
11094
+ },
11095
+ {
11096
+ "oauth": [
11097
+ "openapi:read"
11098
+ ]
10659
11099
  }
10660
11100
  ],
10661
11101
  "parameters": [
@@ -10697,6 +11137,11 @@
10697
11137
  "security": [
10698
11138
  {
10699
11139
  "user": []
11140
+ },
11141
+ {
11142
+ "oauth": [
11143
+ "openapi:read"
11144
+ ]
10700
11145
  }
10701
11146
  ],
10702
11147
  "parameters": [
@@ -11657,6 +12102,7 @@
11657
12102
  "get": {
11658
12103
  "operationId": "listSites",
11659
12104
  "summary": "List all sites",
12105
+ "x-gitbook-mcp": true,
11660
12106
  "tags": [
11661
12107
  "sites",
11662
12108
  "critical"
@@ -11750,6 +12196,7 @@
11750
12196
  "post": {
11751
12197
  "operationId": "createSite",
11752
12198
  "summary": "Create a site",
12199
+ "x-gitbook-mcp": true,
11753
12200
  "tags": [
11754
12201
  "sites"
11755
12202
  ],
@@ -11817,6 +12264,7 @@
11817
12264
  "get": {
11818
12265
  "operationId": "getSiteById",
11819
12266
  "summary": "Get a site by its ID",
12267
+ "x-gitbook-mcp": true,
11820
12268
  "tags": [
11821
12269
  "sites"
11822
12270
  ],
@@ -11848,6 +12296,7 @@
11848
12296
  "patch": {
11849
12297
  "operationId": "updateSiteById",
11850
12298
  "summary": "Update a site",
12299
+ "x-gitbook-mcp": true,
11851
12300
  "tags": [
11852
12301
  "sites"
11853
12302
  ],
@@ -12013,6 +12462,7 @@
12013
12462
  "get": {
12014
12463
  "operationId": "getSiteAdaptiveSchema",
12015
12464
  "summary": "Get the JSON schema describing the attributes expected for an Adaptive content site visitor.",
12465
+ "x-gitbook-mcp": true,
12016
12466
  "tags": [
12017
12467
  "sites"
12018
12468
  ],
@@ -12058,6 +12508,7 @@
12058
12508
  "put": {
12059
12509
  "operationId": "updateSiteAdaptiveSchema",
12060
12510
  "summary": "Update the JSON schema of the attributes expected for an Adaptive content site visitor.",
12511
+ "x-gitbook-mcp": true,
12061
12512
  "tags": [
12062
12513
  "sites"
12063
12514
  ],
@@ -12123,6 +12574,7 @@
12123
12574
  "get": {
12124
12575
  "operationId": "listSiteAdaptiveTemplateConditions",
12125
12576
  "summary": "List templates of conditions generated based on the site visitor schema that can be used in adaptive content expressions.",
12577
+ "x-gitbook-mcp": true,
12126
12578
  "tags": [
12127
12579
  "sites"
12128
12580
  ],
@@ -12163,6 +12615,7 @@
12163
12615
  "get": {
12164
12616
  "operationId": "getPublishedContentSite",
12165
12617
  "summary": "Get a published site",
12618
+ "x-gitbook-mcp": true,
12166
12619
  "description": "Get the complete profile of a site in an organization to provide the published experience. It includes site, customization, structure, integration scripts etc.",
12167
12620
  "tags": [
12168
12621
  "sites"
@@ -12205,6 +12658,7 @@
12205
12658
  "post": {
12206
12659
  "operationId": "publishSite",
12207
12660
  "summary": "Publish a site",
12661
+ "x-gitbook-mcp": true,
12208
12662
  "tags": [
12209
12663
  "sites"
12210
12664
  ],
@@ -12263,6 +12717,7 @@
12263
12717
  "post": {
12264
12718
  "operationId": "unpublishSite",
12265
12719
  "summary": "Unpublish a site",
12720
+ "x-gitbook-mcp": true,
12266
12721
  "tags": [
12267
12722
  "sites"
12268
12723
  ],
@@ -12297,6 +12752,7 @@
12297
12752
  "get": {
12298
12753
  "operationId": "listSiteShareLinks",
12299
12754
  "summary": "List all share links",
12755
+ "x-gitbook-mcp": true,
12300
12756
  "tags": [
12301
12757
  "site-share-links"
12302
12758
  ],
@@ -12361,6 +12817,7 @@
12361
12817
  "post": {
12362
12818
  "operationId": "createSiteShareLink",
12363
12819
  "summary": "Create a share link",
12820
+ "x-gitbook-mcp": true,
12364
12821
  "tags": [
12365
12822
  "site-share-links"
12366
12823
  ],
@@ -12421,6 +12878,7 @@
12421
12878
  "patch": {
12422
12879
  "operationId": "updateSiteShareLinkById",
12423
12880
  "summary": "Update a share link",
12881
+ "x-gitbook-mcp": true,
12424
12882
  "tags": [
12425
12883
  "site-share-links"
12426
12884
  ],
@@ -12508,6 +12966,7 @@
12508
12966
  "get": {
12509
12967
  "operationId": "getSiteStructure",
12510
12968
  "summary": "Get a site structure",
12969
+ "x-gitbook-mcp": true,
12511
12970
  "description": "Get the complete structure of a site that includes all its site-sections and site-spaces.",
12512
12971
  "tags": [
12513
12972
  "site-structure"
@@ -12550,6 +13009,7 @@
12550
13009
  "patch": {
12551
13010
  "operationId": "sortSiteStructure",
12552
13011
  "summary": "Move a site space, site section or site section group to a new position in the site structure.",
13012
+ "x-gitbook-mcp": true,
12553
13013
  "tags": [
12554
13014
  "sites"
12555
13015
  ],
@@ -12618,6 +13078,7 @@
12618
13078
  "get": {
12619
13079
  "operationId": "getSitePublishingAuthById",
12620
13080
  "summary": "Get a site auth config",
13081
+ "x-gitbook-mcp": true,
12621
13082
  "tags": [
12622
13083
  "site-publishing-auth"
12623
13084
  ],
@@ -12653,6 +13114,7 @@
12653
13114
  "patch": {
12654
13115
  "operationId": "updateSitePublishingAuthById",
12655
13116
  "summary": "Update a site auth config",
13117
+ "x-gitbook-mcp": true,
12656
13118
  "tags": [
12657
13119
  "site-publishing-auth"
12658
13120
  ],
@@ -12700,6 +13162,7 @@
12700
13162
  "post": {
12701
13163
  "operationId": "regenerateSitePublishingAuthById",
12702
13164
  "summary": "Regenerate a site auth",
13165
+ "x-gitbook-mcp": true,
12703
13166
  "description": "Regenerate the publishing authentication settings for a site. This will re-generate the private key.",
12704
13167
  "tags": [
12705
13168
  "site-publishing-auth"
@@ -12738,6 +13201,7 @@
12738
13201
  "get": {
12739
13202
  "operationId": "getSitePublishingPreviewById",
12740
13203
  "summary": "Get a site preview URL",
13204
+ "x-gitbook-mcp": true,
12741
13205
  "description": "Generate a URL to preview the published content of a site. The URL will be valid for 1 hour.",
12742
13206
  "tags": [
12743
13207
  "site-preview"
@@ -12817,6 +13281,7 @@
12817
13281
  "get": {
12818
13282
  "operationId": "getSiteCustomizationById",
12819
13283
  "summary": "Get a site customization settings",
13284
+ "x-gitbook-mcp": true,
12820
13285
  "tags": [
12821
13286
  "site-customization"
12822
13287
  ],
@@ -12855,6 +13320,7 @@
12855
13320
  "put": {
12856
13321
  "operationId": "updateSiteCustomizationById",
12857
13322
  "summary": "Update a site customization settings",
13323
+ "x-gitbook-mcp": true,
12858
13324
  "tags": [
12859
13325
  "site-customization"
12860
13326
  ],
@@ -12902,6 +13368,7 @@
12902
13368
  "get": {
12903
13369
  "operationId": "listSiteIntegrationScripts",
12904
13370
  "summary": "List the scripts to embed in published content for a site.",
13371
+ "x-gitbook-mcp": true,
12905
13372
  "tags": [
12906
13373
  "integrations",
12907
13374
  "sites"
@@ -12943,6 +13410,7 @@
12943
13410
  "get": {
12944
13411
  "operationId": "listSiteIntegrations",
12945
13412
  "summary": "List integrations enabled in a site.",
13413
+ "x-gitbook-mcp": true,
12946
13414
  "tags": [
12947
13415
  "integrations",
12948
13416
  "sites"
@@ -12999,6 +13467,7 @@
12999
13467
  "post": {
13000
13468
  "operationId": "addSpaceToSite",
13001
13469
  "summary": "Add a space to a site",
13470
+ "x-gitbook-mcp": true,
13002
13471
  "tags": [
13003
13472
  "site-spaces"
13004
13473
  ],
@@ -13067,6 +13536,7 @@
13067
13536
  "get": {
13068
13537
  "operationId": "listSiteSpaces",
13069
13538
  "summary": "List all the site spaces",
13539
+ "x-gitbook-mcp": true,
13070
13540
  "tags": [
13071
13541
  "site-spaces",
13072
13542
  "critical"
@@ -13137,6 +13607,7 @@
13137
13607
  "get": {
13138
13608
  "operationId": "listSiteSectionGroups",
13139
13609
  "summary": "List all site section groups",
13610
+ "x-gitbook-mcp": true,
13140
13611
  "tags": [
13141
13612
  "site-section-groups"
13142
13613
  ],
@@ -13193,6 +13664,7 @@
13193
13664
  "post": {
13194
13665
  "operationId": "addSectionGroupToSite",
13195
13666
  "summary": "Add a section group to a site",
13667
+ "x-gitbook-mcp": true,
13196
13668
  "tags": [
13197
13669
  "site-section-groups"
13198
13670
  ],
@@ -13278,6 +13750,7 @@
13278
13750
  "patch": {
13279
13751
  "operationId": "updateSiteSectionGroupById",
13280
13752
  "summary": "Update a site section group",
13753
+ "x-gitbook-mcp": true,
13281
13754
  "tags": [
13282
13755
  "site-section-groups"
13283
13756
  ],
@@ -13378,6 +13851,7 @@
13378
13851
  "post": {
13379
13852
  "operationId": "addSectionToSite",
13380
13853
  "summary": "Add a section to a site",
13854
+ "x-gitbook-mcp": true,
13381
13855
  "tags": [
13382
13856
  "site-sections"
13383
13857
  ],
@@ -13465,6 +13939,7 @@
13465
13939
  "get": {
13466
13940
  "operationId": "listSiteSections",
13467
13941
  "summary": "List all site sections",
13942
+ "x-gitbook-mcp": true,
13468
13943
  "tags": [
13469
13944
  "site-sections"
13470
13945
  ],
@@ -13526,6 +14001,7 @@
13526
14001
  "patch": {
13527
14002
  "operationId": "updateSiteSectionById",
13528
14003
  "summary": "Update a site section",
14004
+ "x-gitbook-mcp": true,
13529
14005
  "tags": [
13530
14006
  "site-sections"
13531
14007
  ],
@@ -13668,6 +14144,7 @@
13668
14144
  "post": {
13669
14145
  "operationId": "searchSiteContent",
13670
14146
  "summary": "Search in a site",
14147
+ "x-gitbook-mcp": true,
13671
14148
  "tags": [
13672
14149
  "sites"
13673
14150
  ],
@@ -13875,6 +14352,11 @@
13875
14352
  "properties": {
13876
14353
  "siteSpaceId": {
13877
14354
  "type": "string"
14355
+ },
14356
+ "goal": {
14357
+ "type": "string",
14358
+ "maxLength": 1024,
14359
+ "description": "The end goal the agent is trying to accomplish on behalf of the user. Unlike the question, which is the immediate query, the goal describes the broader task or outcome the agent is working towards. GitBook uses this to steer the answer towards what is ultimately useful for that goal.\n"
13878
14360
  }
13879
14361
  }
13880
14362
  },
@@ -14449,6 +14931,7 @@
14449
14931
  "type": "string",
14450
14932
  "enum": [
14451
14933
  "open",
14934
+ "done",
14452
14935
  "canceled"
14453
14936
  ]
14454
14937
  }
@@ -15934,6 +16417,7 @@
15934
16417
  "patch": {
15935
16418
  "operationId": "updateSiteSpaceById",
15936
16419
  "summary": "Update a site space",
16420
+ "x-gitbook-mcp": true,
15937
16421
  "tags": [
15938
16422
  "site-spaces"
15939
16423
  ],
@@ -16040,6 +16524,7 @@
16040
16524
  "get": {
16041
16525
  "operationId": "getSiteSpaceCustomizationById",
16042
16526
  "summary": "Get a site space customization settings",
16527
+ "x-gitbook-mcp": true,
16043
16528
  "tags": [
16044
16529
  "site-customization"
16045
16530
  ],
@@ -16081,6 +16566,7 @@
16081
16566
  "patch": {
16082
16567
  "operationId": "overrideSiteSpaceCustomizationById",
16083
16568
  "summary": "Override a site space customization settings",
16569
+ "x-gitbook-mcp": true,
16084
16570
  "tags": [
16085
16571
  "site-customization"
16086
16572
  ],
@@ -16491,21 +16977,6 @@
16491
16977
  }
16492
16978
  }
16493
16979
  },
16494
- "pdf": {
16495
- "type": "object",
16496
- "properties": {
16497
- "enabled": {
16498
- "type": [
16499
- "boolean",
16500
- "null"
16501
- ],
16502
- "description": "If true, PDF export is enabled for the published site. Set to null to reset the override."
16503
- }
16504
- },
16505
- "required": [
16506
- "enabled"
16507
- ]
16508
- },
16509
16980
  "feedback": {
16510
16981
  "type": "object",
16511
16982
  "properties": {
@@ -16521,21 +16992,6 @@
16521
16992
  "enabled"
16522
16993
  ]
16523
16994
  },
16524
- "git": {
16525
- "type": "object",
16526
- "properties": {
16527
- "showEditLink": {
16528
- "type": [
16529
- "boolean",
16530
- "null"
16531
- ],
16532
- "description": "Whether the published site should show a link to edit the content on the git provider set up in the Git Sync. Set to null to reset the override."
16533
- }
16534
- },
16535
- "required": [
16536
- "showEditLink"
16537
- ]
16538
- },
16539
16995
  "externalLinks": {
16540
16996
  "type": "object",
16541
16997
  "properties": {
@@ -17332,6 +17788,7 @@
17332
17788
  "get": {
17333
17789
  "operationId": "getSiteAgentSettingsById",
17334
17790
  "summary": "Get site agent settings",
17791
+ "x-gitbook-mcp": true,
17335
17792
  "tags": [
17336
17793
  "site-agent-settings"
17337
17794
  ],
@@ -17367,6 +17824,7 @@
17367
17824
  "put": {
17368
17825
  "operationId": "updateSiteAgentSettingsById",
17369
17826
  "summary": "Update site agent settings",
17827
+ "x-gitbook-mcp": true,
17370
17828
  "tags": [
17371
17829
  "site-agent-settings"
17372
17830
  ],
@@ -17414,6 +17872,7 @@
17414
17872
  "post": {
17415
17873
  "operationId": "createSiteStyleguideById",
17416
17874
  "summary": "Create or return a site's styleguide",
17875
+ "x-gitbook-mcp": true,
17417
17876
  "description": "Ensures the site has a site-owned styleguide backing space and returns\na reference to it.\n",
17418
17877
  "tags": [
17419
17878
  "sites"
@@ -17615,6 +18074,7 @@
17615
18074
  "post": {
17616
18075
  "operationId": "updateSiteAdsById",
17617
18076
  "summary": "Update a site ads settings",
18077
+ "x-gitbook-mcp": true,
17618
18078
  "tags": [
17619
18079
  "site-ads"
17620
18080
  ],
@@ -17664,6 +18124,7 @@
17664
18124
  "post": {
17665
18125
  "operationId": "createSiteRedirect",
17666
18126
  "summary": "Create a site redirect",
18127
+ "x-gitbook-mcp": true,
17667
18128
  "tags": [
17668
18129
  "site-redirects"
17669
18130
  ],
@@ -17728,6 +18189,7 @@
17728
18189
  "put": {
17729
18190
  "operationId": "bulkUpsertSiteRedirects",
17730
18191
  "summary": "Create or update site redirects in bulk",
18192
+ "x-gitbook-mcp": true,
17731
18193
  "tags": [
17732
18194
  "site-redirects"
17733
18195
  ],
@@ -17992,6 +18454,7 @@
17992
18454
  "get": {
17993
18455
  "operationId": "listSiteRedirects",
17994
18456
  "summary": "List all site redirects",
18457
+ "x-gitbook-mcp": true,
17995
18458
  "tags": [
17996
18459
  "site-redirects"
17997
18460
  ],
@@ -18067,6 +18530,7 @@
18067
18530
  "patch": {
18068
18531
  "operationId": "updateSiteRedirectById",
18069
18532
  "summary": "Update a site redirect",
18533
+ "x-gitbook-mcp": true,
18070
18534
  "tags": [
18071
18535
  "site-redirects"
18072
18536
  ],
@@ -18161,6 +18625,7 @@
18161
18625
  "get": {
18162
18626
  "operationId": "getSiteRedirectBySource",
18163
18627
  "summary": "Get a site redirect by its source",
18628
+ "x-gitbook-mcp": true,
18164
18629
  "tags": [
18165
18630
  "site-redirects"
18166
18631
  ],
@@ -18223,6 +18688,7 @@
18223
18688
  "get": {
18224
18689
  "operationId": "listSiteMcpServers",
18225
18690
  "summary": "List all MCP servers for a site",
18691
+ "x-gitbook-mcp": true,
18226
18692
  "tags": [
18227
18693
  "site-mcp-servers"
18228
18694
  ],
@@ -18279,6 +18745,7 @@
18279
18745
  "post": {
18280
18746
  "operationId": "createSiteMcpServer",
18281
18747
  "summary": "Create a new MCP server",
18748
+ "x-gitbook-mcp": true,
18282
18749
  "tags": [
18283
18750
  "site-mcp-servers"
18284
18751
  ],
@@ -18353,6 +18820,7 @@
18353
18820
  "get": {
18354
18821
  "operationId": "getSiteMcpServerById",
18355
18822
  "summary": "Get a site MCP server",
18823
+ "x-gitbook-mcp": true,
18356
18824
  "tags": [
18357
18825
  "site-mcp-servers"
18358
18826
  ],
@@ -18388,6 +18856,7 @@
18388
18856
  "patch": {
18389
18857
  "operationId": "updateSiteMcpServerById",
18390
18858
  "summary": "Update a site MCP server",
18859
+ "x-gitbook-mcp": true,
18391
18860
  "tags": [
18392
18861
  "site-mcp-servers"
18393
18862
  ],
@@ -18493,6 +18962,7 @@
18493
18962
  "get": {
18494
18963
  "operationId": "listSiteChannels",
18495
18964
  "summary": "List all site channels for a site",
18965
+ "x-gitbook-mcp": true,
18496
18966
  "tags": [
18497
18967
  "site-channels"
18498
18968
  ],
@@ -18549,6 +19019,7 @@
18549
19019
  "post": {
18550
19020
  "operationId": "createSiteChannel",
18551
19021
  "summary": "Create a site channel",
19022
+ "x-gitbook-mcp": true,
18552
19023
  "tags": [
18553
19024
  "site-channels"
18554
19025
  ],
@@ -18605,6 +19076,7 @@
18605
19076
  "get": {
18606
19077
  "operationId": "getSiteChannelById",
18607
19078
  "summary": "Get a site channel",
19079
+ "x-gitbook-mcp": true,
18608
19080
  "tags": [
18609
19081
  "site-channels"
18610
19082
  ],
@@ -18640,6 +19112,7 @@
18640
19112
  "patch": {
18641
19113
  "operationId": "updateSiteChannelById",
18642
19114
  "summary": "Update a site channel",
19115
+ "x-gitbook-mcp": true,
18643
19116
  "tags": [
18644
19117
  "site-channels"
18645
19118
  ],
@@ -19753,7 +20226,30 @@
19753
20226
  "authorizationUrl": "https://oauth.gitbook.com/authorize",
19754
20227
  "tokenUrl": "https://oauth.gitbook.com/token",
19755
20228
  "scopes": {
19756
- "api:read": "Read GitBook API resources."
20229
+ "user:read": "Read your GitBook user profile.",
20230
+ "organization:read": "Read organization settings and metadata.",
20231
+ "organization:write": "Create and update organization settings.",
20232
+ "organization:members:read": "Read organization members, invites and link invites.",
20233
+ "organization:members:write": "Manage organization members, invites and link invites.",
20234
+ "organization:ask": "Ask AI questions across an organization's content.",
20235
+ "organization:search": "Search across an organization's content.",
20236
+ "space:read": "Read spaces and their content.",
20237
+ "space:write": "Create, update and delete spaces and their content, including imports.",
20238
+ "space:permissions:read": "Read space permissions.",
20239
+ "space:permissions:write": "Manage space permissions.",
20240
+ "change-request:merge": "Merge change requests, publishing their changes to the space.",
20241
+ "site:read": "Read sites and their settings.",
20242
+ "site:write": "Create, update and delete sites, sections and their settings.",
20243
+ "site:publish": "Publish and unpublish sites, controlling their public exposure.",
20244
+ "site:permissions:read": "Read site permissions.",
20245
+ "site:permissions:write": "Manage site permissions.",
20246
+ "site:auth:read": "Read site authentication and security configuration.",
20247
+ "site:auth:write": "Manage site authentication and security configuration.",
20248
+ "site:insights:read": "Read site analytics and insights.",
20249
+ "site:ask": "Ask AI questions across a site's content.",
20250
+ "site:search": "Search across a site's content.",
20251
+ "openapi:read": "Read OpenAPI specifications.",
20252
+ "openapi:write": "Create, update and delete OpenAPI specifications."
19757
20253
  }
19758
20254
  }
19759
20255
  }
@@ -19969,6 +20465,15 @@
19969
20465
  "type": "string"
19970
20466
  }
19971
20467
  },
20468
+ "conversationId": {
20469
+ "name": "conversationId",
20470
+ "in": "path",
20471
+ "required": true,
20472
+ "description": "The unique ID of the agent conversation (its client-generated local id, or \"default\" for the default conversation)",
20473
+ "schema": {
20474
+ "type": "string"
20475
+ }
20476
+ },
19972
20477
  "listOrder": {
19973
20478
  "name": "order",
19974
20479
  "in": "query",
@@ -21840,7 +22345,8 @@
21840
22345
  "properties": {
21841
22346
  "markdown": {
21842
22347
  "type": "string",
21843
- "description": "Content of the document formatted as markdown"
22348
+ "description": "Content of the document formatted as markdown",
22349
+ "example": "# Hello World\n\nThis is a markdown document linking to [another page](/pages/page_id).\n"
21844
22350
  }
21845
22351
  },
21846
22352
  "required": [
@@ -23778,6 +24284,10 @@
23778
24284
  "fullWidth": {
23779
24285
  "type": "boolean",
23780
24286
  "description": "Whether to render the block as a full width one"
24287
+ },
24288
+ "search": {
24289
+ "type": "boolean",
24290
+ "description": "Whether to show the search bar on the table. When unset, search is shown automatically on grid tables once they have enough rows."
23781
24291
  }
23782
24292
  },
23783
24293
  "required": [
@@ -24044,6 +24554,68 @@
24044
24554
  "data"
24045
24555
  ]
24046
24556
  },
24557
+ "DocumentBlockPrompt": {
24558
+ "type": "object",
24559
+ "properties": {
24560
+ "object": {
24561
+ "type": "string",
24562
+ "enum": [
24563
+ "block"
24564
+ ]
24565
+ },
24566
+ "type": {
24567
+ "type": "string",
24568
+ "enum": [
24569
+ "prompt"
24570
+ ]
24571
+ },
24572
+ "key": {
24573
+ "type": "string"
24574
+ },
24575
+ "data": {
24576
+ "type": "object",
24577
+ "properties": {
24578
+ "description": {
24579
+ "type": "string"
24580
+ },
24581
+ "icon": {
24582
+ "$ref": "#/components/schemas/Icon"
24583
+ },
24584
+ "openInAIProviders": {
24585
+ "type": "boolean"
24586
+ }
24587
+ },
24588
+ "required": [
24589
+ "description"
24590
+ ],
24591
+ "additionalProperties": false
24592
+ },
24593
+ "nodes": {
24594
+ "type": "array",
24595
+ "items": {
24596
+ "oneOf": [
24597
+ {
24598
+ "$ref": "#/components/schemas/DocumentBlockCode"
24599
+ }
24600
+ ]
24601
+ },
24602
+ "minItems": 1,
24603
+ "maxItems": 1
24604
+ },
24605
+ "isVoid": {
24606
+ "type": "boolean",
24607
+ "enum": [
24608
+ false
24609
+ ]
24610
+ }
24611
+ },
24612
+ "required": [
24613
+ "object",
24614
+ "type",
24615
+ "data",
24616
+ "nodes"
24617
+ ]
24618
+ },
24047
24619
  "DocumentBlocksTopLevels": {
24048
24620
  "oneOf": [
24049
24621
  {
@@ -24055,6 +24627,9 @@
24055
24627
  {
24056
24628
  "$ref": "#/components/schemas/DocumentBlockHint"
24057
24629
  },
24630
+ {
24631
+ "$ref": "#/components/schemas/DocumentBlockPrompt"
24632
+ },
24058
24633
  {
24059
24634
  "$ref": "#/components/schemas/DocumentBlockImages"
24060
24635
  },
@@ -24890,6 +25465,9 @@
24890
25465
  {
24891
25466
  "$ref": "#/components/schemas/DocumentBlockHint"
24892
25467
  },
25468
+ {
25469
+ "$ref": "#/components/schemas/DocumentBlockPrompt"
25470
+ },
24893
25471
  {
24894
25472
  "$ref": "#/components/schemas/DocumentBlockQuote"
24895
25473
  },
@@ -25025,6 +25603,9 @@
25025
25603
  {
25026
25604
  "$ref": "#/components/schemas/DocumentBlockHint"
25027
25605
  },
25606
+ {
25607
+ "$ref": "#/components/schemas/DocumentBlockPrompt"
25608
+ },
25028
25609
  {
25029
25610
  "$ref": "#/components/schemas/DocumentBlockQuote"
25030
25611
  },
@@ -25502,6 +26083,9 @@
25502
26083
  {
25503
26084
  "$ref": "#/components/schemas/DocumentBlockHint"
25504
26085
  },
26086
+ {
26087
+ "$ref": "#/components/schemas/DocumentBlockPrompt"
26088
+ },
25505
26089
  {
25506
26090
  "$ref": "#/components/schemas/DocumentBlockQuote"
25507
26091
  },
@@ -25615,6 +26199,9 @@
25615
26199
  {
25616
26200
  "$ref": "#/components/schemas/DocumentBlockHint"
25617
26201
  },
26202
+ {
26203
+ "$ref": "#/components/schemas/DocumentBlockPrompt"
26204
+ },
25618
26205
  {
25619
26206
  "$ref": "#/components/schemas/DocumentBlockContentRef"
25620
26207
  },
@@ -25767,6 +26354,9 @@
25767
26354
  {
25768
26355
  "$ref": "#/components/schemas/DocumentBlockHint"
25769
26356
  },
26357
+ {
26358
+ "$ref": "#/components/schemas/DocumentBlockPrompt"
26359
+ },
25770
26360
  {
25771
26361
  "$ref": "#/components/schemas/DocumentBlockQuote"
25772
26362
  },
@@ -25902,6 +26492,9 @@
25902
26492
  {
25903
26493
  "$ref": "#/components/schemas/DocumentBlockHint"
25904
26494
  },
26495
+ {
26496
+ "$ref": "#/components/schemas/DocumentBlockPrompt"
26497
+ },
25905
26498
  {
25906
26499
  "$ref": "#/components/schemas/DocumentBlockIf"
25907
26500
  },
@@ -26191,7 +26784,30 @@
26191
26784
  "object",
26192
26785
  "data",
26193
26786
  "nodes"
26194
- ]
26787
+ ],
26788
+ "example": {
26789
+ "object": "document",
26790
+ "data": {},
26791
+ "nodes": [
26792
+ {
26793
+ "object": "block",
26794
+ "type": "paragraph",
26795
+ "data": {},
26796
+ "nodes": [
26797
+ {
26798
+ "object": "text",
26799
+ "leaves": [
26800
+ {
26801
+ "object": "leaf",
26802
+ "text": "Hello world",
26803
+ "marks": []
26804
+ }
26805
+ ]
26806
+ }
26807
+ ]
26808
+ }
26809
+ ]
26810
+ }
26195
26811
  },
26196
26812
  "Document": {
26197
26813
  "oneOf": [
@@ -28129,6 +28745,14 @@
28129
28745
  "paidUltimateSites": {
28130
28746
  "description": "The number of paid ultimate sites on the current subscription.",
28131
28747
  "type": "number"
28748
+ },
28749
+ "canChangeInterval": {
28750
+ "description": "Whether changing billing interval is allowed",
28751
+ "type": "boolean"
28752
+ },
28753
+ "canUseSAML": {
28754
+ "description": "Whether configuring SAML is allowed",
28755
+ "type": "boolean"
28132
28756
  }
28133
28757
  },
28134
28758
  "required": [
@@ -28138,7 +28762,9 @@
28138
28762
  "canCheckout",
28139
28763
  "isScheduledToCancel",
28140
28764
  "pricing",
28141
- "usageAddons"
28765
+ "usageAddons",
28766
+ "canChangeInterval",
28767
+ "canUseSAML"
28142
28768
  ]
28143
28769
  },
28144
28770
  "BillingTrialStatus": {
@@ -29520,6 +30146,38 @@
29520
30146
  }
29521
30147
  ]
29522
30148
  },
30149
+ "AgentConversation": {
30150
+ "type": "object",
30151
+ "properties": {
30152
+ "object": {
30153
+ "type": "string",
30154
+ "description": "Type of Object, always equals to \"agent-conversation\"",
30155
+ "enum": [
30156
+ "agent-conversation"
30157
+ ]
30158
+ },
30159
+ "id": {
30160
+ "type": "string",
30161
+ "description": "The unique ID of the conversation. This is the client-generated identifier used to address the conversation; for the default conversation of a change request it is \"default\"."
30162
+ },
30163
+ "title": {
30164
+ "type": "string",
30165
+ "description": "The title of the conversation, generated from the first message. Absent until generated."
30166
+ },
30167
+ "createdAt": {
30168
+ "$ref": "#/components/schemas/Timestamp"
30169
+ },
30170
+ "updatedAt": {
30171
+ "$ref": "#/components/schemas/Timestamp"
30172
+ }
30173
+ },
30174
+ "required": [
30175
+ "object",
30176
+ "id",
30177
+ "createdAt",
30178
+ "updatedAt"
30179
+ ]
30180
+ },
29523
30181
  "PostCommentSchema": {
29524
30182
  "type": "object",
29525
30183
  "properties": {
@@ -29687,6 +30345,122 @@
29687
30345
  }
29688
30346
  ]
29689
30347
  },
30348
+ "ChangeRequestContentChangeUpdatePage": {
30349
+ "type": "object",
30350
+ "description": "Replace the document of an existing page with another document.",
30351
+ "required": [
30352
+ "operation",
30353
+ "page",
30354
+ "document"
30355
+ ],
30356
+ "properties": {
30357
+ "operation": {
30358
+ "type": "string",
30359
+ "enum": [
30360
+ "update_page"
30361
+ ]
30362
+ },
30363
+ "page": {
30364
+ "type": "string",
30365
+ "description": "ID of the page whose content should be updated."
30366
+ },
30367
+ "document": {
30368
+ "$ref": "#/components/schemas/Document"
30369
+ }
30370
+ },
30371
+ "example": {
30372
+ "operation": "update_page",
30373
+ "page": "page_id",
30374
+ "document": {
30375
+ "markdown": "# Hello World\n\nThis is a markdown document linking to [another page](/pages/page_id).\n"
30376
+ }
30377
+ }
30378
+ },
30379
+ "ChangeRequestContentChangeInsertPage": {
30380
+ "type": "object",
30381
+ "description": "Insert a new page into the change request.",
30382
+ "required": [
30383
+ "operation",
30384
+ "title",
30385
+ "document"
30386
+ ],
30387
+ "properties": {
30388
+ "operation": {
30389
+ "type": "string",
30390
+ "enum": [
30391
+ "insert_page"
30392
+ ]
30393
+ },
30394
+ "title": {
30395
+ "type": "string",
30396
+ "description": "Title of the new page."
30397
+ },
30398
+ "into": {
30399
+ "type": "string",
30400
+ "description": "ID of the parent page to insert the new page into. If omitted, the page is inserted as a root page."
30401
+ },
30402
+ "at": {
30403
+ "type": "integer",
30404
+ "minimum": 0,
30405
+ "description": "Zero-based index to insert the page at among its siblings. If omitted, the page is appended at the end."
30406
+ },
30407
+ "document": {
30408
+ "$ref": "#/components/schemas/Document"
30409
+ }
30410
+ },
30411
+ "example": {
30412
+ "operation": "insert_page",
30413
+ "title": "New page",
30414
+ "document": {
30415
+ "markdown": "# New page\n\nThis is a new page.\n"
30416
+ }
30417
+ }
30418
+ },
30419
+ "ChangeRequestContentChangeDeletePage": {
30420
+ "type": "object",
30421
+ "description": "Delete an existing page (and its subpages) from the change request.",
30422
+ "required": [
30423
+ "operation",
30424
+ "page"
30425
+ ],
30426
+ "properties": {
30427
+ "operation": {
30428
+ "type": "string",
30429
+ "enum": [
30430
+ "delete_page"
30431
+ ]
30432
+ },
30433
+ "page": {
30434
+ "type": "string",
30435
+ "description": "ID of the page to delete."
30436
+ }
30437
+ },
30438
+ "example": {
30439
+ "operation": "delete_page",
30440
+ "page": "page_id"
30441
+ }
30442
+ },
30443
+ "ChangeRequestContentChange": {
30444
+ "oneOf": [
30445
+ {
30446
+ "$ref": "#/components/schemas/ChangeRequestContentChangeUpdatePage"
30447
+ },
30448
+ {
30449
+ "$ref": "#/components/schemas/ChangeRequestContentChangeInsertPage"
30450
+ },
30451
+ {
30452
+ "$ref": "#/components/schemas/ChangeRequestContentChangeDeletePage"
30453
+ }
30454
+ ],
30455
+ "discriminator": {
30456
+ "propertyName": "operation",
30457
+ "mapping": {
30458
+ "update_page": "#/components/schemas/ChangeRequestContentChangeUpdatePage",
30459
+ "insert_page": "#/components/schemas/ChangeRequestContentChangeInsertPage",
30460
+ "delete_page": "#/components/schemas/ChangeRequestContentChangeDeletePage"
30461
+ }
30462
+ }
30463
+ },
29690
30464
  "RevisionPageType": {
29691
30465
  "type": "string",
29692
30466
  "enum": [
@@ -38363,19 +39137,6 @@
38363
39137
  "toggeable"
38364
39138
  ]
38365
39139
  },
38366
- "pdf": {
38367
- "type": "object",
38368
- "properties": {
38369
- "enabled": {
38370
- "type": "boolean",
38371
- "deprecated": true,
38372
- "description": "Deprecated: use `pageActions.items` instead. If true, PDF export is enabled for the published site. Kept in sync with the presence of `pdf` in `pageActions.items`."
38373
- }
38374
- },
38375
- "required": [
38376
- "enabled"
38377
- ]
38378
- },
38379
39140
  "feedback": {
38380
39141
  "type": "object",
38381
39142
  "properties": {
@@ -38414,49 +39175,18 @@
38414
39175
  "enabled"
38415
39176
  ]
38416
39177
  },
38417
- "git": {
38418
- "type": "object",
38419
- "properties": {
38420
- "showEditLink": {
38421
- "type": "boolean",
38422
- "deprecated": true,
38423
- "description": "Deprecated: use `pageActions.items` instead. Whether the published site should show a link to edit the content on the git provider set up in the Git Sync. Kept in sync with the presence of `git` in `pageActions.items`."
38424
- }
38425
- },
38426
- "required": [
38427
- "showEditLink"
38428
- ]
38429
- },
38430
39178
  "pageActions": {
38431
39179
  "type": "object",
38432
39180
  "properties": {
38433
- "externalAI": {
38434
- "type": "boolean",
38435
- "deprecated": true,
38436
- "description": "Deprecated: use `items` instead. Whether actions to open ChatGPT, Anthropic, etc. should be available in the page menu. Kept in sync with the presence of `external-ai` in `items`."
38437
- },
38438
- "markdown": {
38439
- "type": "boolean",
38440
- "deprecated": true,
38441
- "description": "Deprecated: use `items` instead. Whether the copy and open the markdown version of the page should be available in the page menu. Kept in sync with the presence of `markdown` in `items`."
38442
- },
38443
- "mcp": {
38444
- "type": "boolean",
38445
- "deprecated": true,
38446
- "description": "Deprecated: use `items` instead. Whether an action to connect to the docs using the MCP server should be available in the page menu. Kept in sync with the presence of `mcp` in `items`."
38447
- },
38448
39181
  "items": {
38449
39182
  "type": "array",
38450
- "description": "Ordered list of the page actions enabled in the page menu. This is the source of truth for\nwhich actions are enabled and in which order: the position defines the display order, the\nfirst action is the default one, surfaced as the main button on the page, and actions not\npresent in the list are disabled. When omitted on input, the deprecated `externalAI`,\n`markdown`, `mcp`, `pdf` and `git` flags are used to derive the list. The `assistant` action\nis governed by the `ai.mode` setting rather than this list: it is always present (prepended\nby default if missing, otherwise keeping its position) when the assistant is enabled, and\nalways absent when it is disabled.\n",
39183
+ "description": "Ordered list of the page actions enabled in the page menu. This is the source of truth for\nwhich actions are enabled and in which order: the position defines the display order, the\nfirst action is the default one, surfaced as the main button on the page, and actions not\npresent in the list are disabled. The `assistant` action is governed by the `ai.mode` setting\nrather than this list: it is always present (prepended by default if missing, otherwise\nkeeping its position) when the assistant is enabled, and always absent when it is disabled.\n",
38451
39184
  "items": {
38452
39185
  "$ref": "#/components/schemas/CustomizationPageActionType"
38453
39186
  }
38454
39187
  }
38455
39188
  },
38456
39189
  "required": [
38457
- "externalAI",
38458
- "markdown",
38459
- "mcp",
38460
39190
  "items"
38461
39191
  ]
38462
39192
  },
@@ -38535,7 +39265,6 @@
38535
39265
  "header",
38536
39266
  "footer",
38537
39267
  "themes",
38538
- "pdf",
38539
39268
  "feedback",
38540
39269
  "ai",
38541
39270
  "advancedCustomization",
@@ -38543,7 +39272,6 @@
38543
39272
  "externalLinks",
38544
39273
  "pagination",
38545
39274
  "pageActions",
38546
- "git",
38547
39275
  "privacyPolicy",
38548
39276
  "socialPreview",
38549
39277
  "socialAccounts",
@@ -39038,7 +39766,8 @@
39038
39766
  "builtin:youtube",
39039
39767
  "builtin:github-discussions",
39040
39768
  "builtin:github-issues",
39041
- "builtin:intercom"
39769
+ "builtin:intercom",
39770
+ "builtin:zendesk"
39042
39771
  ]
39043
39772
  }
39044
39773
  ]
@@ -39903,6 +40632,43 @@
39903
40632
  "connector",
39904
40633
  "setupSettings"
39905
40634
  ]
40635
+ },
40636
+ {
40637
+ "type": "object",
40638
+ "properties": {
40639
+ "connector": {
40640
+ "type": "string",
40641
+ "enum": [
40642
+ "builtin:zendesk"
40643
+ ]
40644
+ },
40645
+ "setupSettings": {
40646
+ "type": "object",
40647
+ "properties": {
40648
+ "subdomain": {
40649
+ "type": "string",
40650
+ "minLength": 1
40651
+ },
40652
+ "email": {
40653
+ "type": "string",
40654
+ "minLength": 1
40655
+ },
40656
+ "apiToken": {
40657
+ "type": "string",
40658
+ "minLength": 1
40659
+ }
40660
+ },
40661
+ "required": [
40662
+ "subdomain",
40663
+ "email",
40664
+ "apiToken"
40665
+ ]
40666
+ }
40667
+ },
40668
+ "required": [
40669
+ "connector",
40670
+ "setupSettings"
40671
+ ]
39906
40672
  }
39907
40673
  ]
39908
40674
  },
@@ -41148,6 +41914,54 @@
41148
41914
  "changeRequest"
41149
41915
  ]
41150
41916
  },
41917
+ "AIToolCallGetChangeRequestDetails": {
41918
+ "type": "object",
41919
+ "properties": {
41920
+ "tool": {
41921
+ "type": "string",
41922
+ "enum": [
41923
+ "getChangeRequestDetails"
41924
+ ]
41925
+ },
41926
+ "spaceId": {
41927
+ "type": "string",
41928
+ "description": "The ID of the space the change request belongs to."
41929
+ },
41930
+ "changeRequestId": {
41931
+ "type": "string",
41932
+ "description": "The ID of the change request."
41933
+ }
41934
+ },
41935
+ "required": [
41936
+ "tool",
41937
+ "spaceId",
41938
+ "changeRequestId"
41939
+ ]
41940
+ },
41941
+ "AIToolCallSetChangeRequestDetails": {
41942
+ "type": "object",
41943
+ "properties": {
41944
+ "tool": {
41945
+ "type": "string",
41946
+ "enum": [
41947
+ "setChangeRequestDetails"
41948
+ ]
41949
+ },
41950
+ "spaceId": {
41951
+ "type": "string",
41952
+ "description": "The ID of the space the change request belongs to."
41953
+ },
41954
+ "changeRequestId": {
41955
+ "type": "string",
41956
+ "description": "The ID of the change request."
41957
+ }
41958
+ },
41959
+ "required": [
41960
+ "tool",
41961
+ "spaceId",
41962
+ "changeRequestId"
41963
+ ]
41964
+ },
41151
41965
  "AIToolCallComment": {
41152
41966
  "type": "object",
41153
41967
  "properties": {
@@ -41375,6 +42189,12 @@
41375
42189
  {
41376
42190
  "$ref": "#/components/schemas/AIToolCallCreateChangeRequest"
41377
42191
  },
42192
+ {
42193
+ "$ref": "#/components/schemas/AIToolCallGetChangeRequestDetails"
42194
+ },
42195
+ {
42196
+ "$ref": "#/components/schemas/AIToolCallSetChangeRequestDetails"
42197
+ },
41378
42198
  {
41379
42199
  "$ref": "#/components/schemas/AIToolCallComment"
41380
42200
  },
@@ -42012,15 +42832,6 @@
42012
42832
  "team"
42013
42833
  ]
42014
42834
  },
42015
- "AIMessageMode": {
42016
- "type": "string",
42017
- "description": "The mode influences the response time and quality of the AI's answer. Fast mode will prioritize quicker responses with potentially less well reasoned answers and normal mode will allow for more comprehensive responses at the cost of longer response time.",
42018
- "default": "normal",
42019
- "enum": [
42020
- "normal",
42021
- "fast"
42022
- ]
42023
- },
42024
42835
  "AIMessageInput": {
42025
42836
  "type": "object",
42026
42837
  "description": "Input version of an AI message.",
@@ -42047,9 +42858,6 @@
42047
42858
  "items": {
42048
42859
  "$ref": "#/components/schemas/AIAttachment"
42049
42860
  }
42050
- },
42051
- "mode": {
42052
- "$ref": "#/components/schemas/AIMessageMode"
42053
42861
  }
42054
42862
  },
42055
42863
  "required": [
@@ -46411,6 +47219,70 @@
46411
47219
  "spaces"
46412
47220
  ]
46413
47221
  },
47222
+ "OrganizationBillingDateOverride": {
47223
+ "description": "Date-based billing override value, either indefinite or a timestamp.",
47224
+ "oneOf": [
47225
+ {
47226
+ "type": "boolean",
47227
+ "enum": [
47228
+ true
47229
+ ]
47230
+ },
47231
+ {
47232
+ "$ref": "#/components/schemas/Timestamp"
47233
+ }
47234
+ ]
47235
+ },
47236
+ "OrganizationBillingNumericOverride": {
47237
+ "type": "integer",
47238
+ "minimum": 0,
47239
+ "description": "Current numeric billing override, when set."
47240
+ },
47241
+ "OrganizationBillingOverrides": {
47242
+ "type": "object",
47243
+ "properties": {
47244
+ "overrides": {
47245
+ "type": "object",
47246
+ "properties": {
47247
+ "frozenInterval": {
47248
+ "description": "Current interval-change override, when set.",
47249
+ "$ref": "#/components/schemas/OrganizationBillingDateOverride"
47250
+ },
47251
+ "enableSAML": {
47252
+ "description": "Current SAML override, when set.",
47253
+ "$ref": "#/components/schemas/OrganizationBillingDateOverride"
47254
+ },
47255
+ "minUsers": {
47256
+ "description": "Current minimum users override, when set.",
47257
+ "$ref": "#/components/schemas/OrganizationBillingNumericOverride"
47258
+ },
47259
+ "maxUsers": {
47260
+ "description": "Current maximum users override, when set.",
47261
+ "$ref": "#/components/schemas/OrganizationBillingNumericOverride"
47262
+ },
47263
+ "minPremiumSites": {
47264
+ "description": "Current minimum premium sites override, when set.",
47265
+ "$ref": "#/components/schemas/OrganizationBillingNumericOverride"
47266
+ },
47267
+ "maxPremiumSites": {
47268
+ "description": "Current maximum premium sites override, when set.",
47269
+ "$ref": "#/components/schemas/OrganizationBillingNumericOverride"
47270
+ },
47271
+ "minUltimateSites": {
47272
+ "description": "Current minimum ultimate sites override, when set.",
47273
+ "$ref": "#/components/schemas/OrganizationBillingNumericOverride"
47274
+ },
47275
+ "maxUltimateSites": {
47276
+ "description": "Current maximum ultimate sites override, when set.",
47277
+ "$ref": "#/components/schemas/OrganizationBillingNumericOverride"
47278
+ }
47279
+ }
47280
+ }
47281
+ },
47282
+ "required": [
47283
+ "overrides"
47284
+ ]
47285
+ },
46414
47286
  "BackOfficeSite": {
46415
47287
  "allOf": [
46416
47288
  {
@@ -47273,6 +48145,890 @@
47273
48145
  "updatedAt"
47274
48146
  ]
47275
48147
  },
48148
+ "GitSyncSiteStructureSectionGroup": {
48149
+ "type": "object",
48150
+ "additionalProperties": false,
48151
+ "description": "A section group — a container that nests sections (and other section\ngroups). Discriminated by `type: section-group`. Up to one level of nested\nsection groups is allowed.\n",
48152
+ "properties": {
48153
+ "type": {
48154
+ "type": "string",
48155
+ "enum": [
48156
+ "section-group"
48157
+ ],
48158
+ "description": "Discriminator for a section group node."
48159
+ },
48160
+ "key": {
48161
+ "type": "string",
48162
+ "description": "Stable identifier for this section group, used as the Git Sync key.\nMust be unique amongst all other section groups of the site. For\nexample: `section-group-product` or `section-group-1`.\n",
48163
+ "minLength": 1
48164
+ },
48165
+ "title": {
48166
+ "$ref": "#/components/schemas/SiteSectionGroupTitle"
48167
+ },
48168
+ "localizedTitle": {
48169
+ "$ref": "#/components/schemas/LocalizedString128"
48170
+ },
48171
+ "icon": {
48172
+ "$ref": "#/components/schemas/Icon"
48173
+ },
48174
+ "draft": {
48175
+ "type": "boolean",
48176
+ "description": "Whether the section group is draft and not live."
48177
+ },
48178
+ "children": {
48179
+ "type": "array",
48180
+ "description": "Section or section group nodes nested under this group.",
48181
+ "items": {
48182
+ "oneOf": [
48183
+ {
48184
+ "$ref": "#/components/schemas/GitSyncSiteStructureSectionGroup"
48185
+ },
48186
+ {
48187
+ "$ref": "#/components/schemas/GitSyncSiteStructureSection"
48188
+ }
48189
+ ]
48190
+ }
48191
+ }
48192
+ },
48193
+ "required": [
48194
+ "type",
48195
+ "key",
48196
+ "title"
48197
+ ]
48198
+ },
48199
+ "GitSyncSiteStructureSpace": {
48200
+ "type": "object",
48201
+ "additionalProperties": false,
48202
+ "description": "A space — a single content unit in the site's navigation tree. Discriminated\nby `type: space`.\n\nThe space's content lives in the synced repository at the directory pointed\nto by `content.directory`. Hierarchy comes from where the space appears in\nthe YAML (under a section, a section group, or at the root), not from an\nexplicit parent reference.\n",
48203
+ "properties": {
48204
+ "type": {
48205
+ "type": "string",
48206
+ "enum": [
48207
+ "space"
48208
+ ],
48209
+ "description": "Discriminator for a space node."
48210
+ },
48211
+ "key": {
48212
+ "type": "string",
48213
+ "description": "Stable identifier for this space, used as the Git Sync key. Must be\nunique amongst all other spaces of the site. For example: `space-docs`\nor `space-1`.\n",
48214
+ "minLength": 1
48215
+ },
48216
+ "title": {
48217
+ "type": "string",
48218
+ "minLength": 1
48219
+ },
48220
+ "localizedTitle": {
48221
+ "$ref": "#/components/schemas/LocalizedString128"
48222
+ },
48223
+ "path": {
48224
+ "$ref": "#/components/schemas/SiteSpacePath"
48225
+ },
48226
+ "default": {
48227
+ "type": "boolean",
48228
+ "description": "Whether this is the default space for the site."
48229
+ },
48230
+ "hidden": {
48231
+ "type": "boolean",
48232
+ "description": "Whether the space is hidden from the site's navigation."
48233
+ },
48234
+ "draft": {
48235
+ "type": "boolean",
48236
+ "description": "Whether the space is draft and not live."
48237
+ },
48238
+ "condition": {
48239
+ "$ref": "#/components/schemas/Expression"
48240
+ },
48241
+ "content": {
48242
+ "type": "object",
48243
+ "additionalProperties": false,
48244
+ "description": "Where the space's content lives in the synced repository.",
48245
+ "properties": {
48246
+ "directory": {
48247
+ "type": "string",
48248
+ "description": "Repository-relative directory containing this space's content.",
48249
+ "minLength": 1
48250
+ },
48251
+ "language": {
48252
+ "$ref": "#/components/schemas/TranslationLanguage"
48253
+ }
48254
+ },
48255
+ "required": [
48256
+ "directory"
48257
+ ]
48258
+ }
48259
+ },
48260
+ "required": [
48261
+ "type",
48262
+ "key",
48263
+ "title",
48264
+ "path",
48265
+ "content"
48266
+ ]
48267
+ },
48268
+ "GitSyncSiteStructureSection": {
48269
+ "type": "object",
48270
+ "additionalProperties": false,
48271
+ "description": "A section — a group of spaces sharing a top-level navigation entry.\nDiscriminated by `type: section`.\n\nSpaces inside a section are listed inline under `children`. A site with\nsections must mark exactly one section with `default: true`.\n",
48272
+ "properties": {
48273
+ "type": {
48274
+ "type": "string",
48275
+ "enum": [
48276
+ "section"
48277
+ ],
48278
+ "description": "Discriminator for a section node."
48279
+ },
48280
+ "key": {
48281
+ "type": "string",
48282
+ "description": "Stable identifier for this section, used as the Git Sync key. Must be\nunique amongst all other sections of the site. For example:\n`section-guides` or `section-1`.\n",
48283
+ "minLength": 1
48284
+ },
48285
+ "title": {
48286
+ "$ref": "#/components/schemas/SiteSectionTitle"
48287
+ },
48288
+ "localizedTitle": {
48289
+ "$ref": "#/components/schemas/LocalizedString128"
48290
+ },
48291
+ "description": {
48292
+ "$ref": "#/components/schemas/SiteSectionDescription"
48293
+ },
48294
+ "localizedDescription": {
48295
+ "$ref": "#/components/schemas/LocalizedString256"
48296
+ },
48297
+ "icon": {
48298
+ "$ref": "#/components/schemas/Icon"
48299
+ },
48300
+ "default": {
48301
+ "type": "boolean",
48302
+ "description": "Whether this is the default section for the site."
48303
+ },
48304
+ "draft": {
48305
+ "type": "boolean",
48306
+ "description": "Whether the section is draft and not live."
48307
+ },
48308
+ "path": {
48309
+ "$ref": "#/components/schemas/SiteSectionPath"
48310
+ },
48311
+ "condition": {
48312
+ "$ref": "#/components/schemas/Expression"
48313
+ },
48314
+ "children": {
48315
+ "type": "array",
48316
+ "description": "Space nodes nested under this section.",
48317
+ "items": {
48318
+ "$ref": "#/components/schemas/GitSyncSiteStructureSpace"
48319
+ }
48320
+ }
48321
+ },
48322
+ "required": [
48323
+ "type",
48324
+ "key",
48325
+ "title",
48326
+ "path"
48327
+ ]
48328
+ },
48329
+ "GitSyncSiteStructureNode": {
48330
+ "description": "A single node in a Git Sync site structure tree — a section group, a\nsection, or a space, discriminated by `type`.\n",
48331
+ "oneOf": [
48332
+ {
48333
+ "$ref": "#/components/schemas/GitSyncSiteStructureSectionGroup"
48334
+ },
48335
+ {
48336
+ "$ref": "#/components/schemas/GitSyncSiteStructureSection"
48337
+ },
48338
+ {
48339
+ "$ref": "#/components/schemas/GitSyncSiteStructureSpace"
48340
+ }
48341
+ ]
48342
+ },
48343
+ "GitSyncSiteStructure": {
48344
+ "type": "array",
48345
+ "description": "Hierarchical structure of a site in a Git Sync YAML. Each entry is one of\nthree node types: a section group, a section, or a space.\n",
48346
+ "items": {
48347
+ "$ref": "#/components/schemas/GitSyncSiteStructureNode"
48348
+ }
48349
+ },
48350
+ "GitSyncSiteCustomizationFontSource": {
48351
+ "type": "string",
48352
+ "description": "Reserved repository-relative path to the font file:\n`.gitbook/assets/<key>-<weight>.<ext>`, where `<key>` is the parent\nfont definition's `key`, `<weight>` is this face's `weight`, and\n`<ext>` is one of `woff2`, `woff`.\n\nFor example, a font with `key: brand` and a `700` face is read from\n`.gitbook/assets/brand-700.woff2`. Any other path is rejected.\n",
48353
+ "minLength": 1
48354
+ },
48355
+ "GitSyncSiteCustomizationFontDefinition": {
48356
+ "type": "object",
48357
+ "description": "Custom font definition for a `site.fonts[]` entry. Referenced from\n`customization.styling.font` or `customization.styling.monospaceFont` via\nits `key`.\n\nRules enforced on a definition:\n- It must declare exactly one face for the `400` weight and one for the\n `700` weight; the `600` weight is optional. No other weights are allowed,\n and a weight may not be declared more than once.\n- Each face has a single source file whose `url` is the reserved repository\n asset path `.gitbook/assets/<key>-<weight>.<ext>` (`<ext>` is `woff2` or\n `woff`). For example a definition with `key: brand` is read from\n `.gitbook/assets/brand-400.woff2` and `.gitbook/assets/brand-700.woff2`.\n",
48358
+ "properties": {
48359
+ "key": {
48360
+ "type": "string",
48361
+ "description": "Stable identifier referenced from `styling.font` /\n`styling.monospaceFont`, and used as the prefix of each face's\nreserved asset path (`.gitbook/assets/<key>-<weight>.<ext>`).\n",
48362
+ "minLength": 1,
48363
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
48364
+ },
48365
+ "fontFamily": {
48366
+ "$ref": "#/components/schemas/FontFamily"
48367
+ },
48368
+ "fontFaces": {
48369
+ "type": "object",
48370
+ "description": "Font-face declarations keyed by weight, each specifying its single\nsource file. The `400` and `700` weights are required; `600` is\noptional.\n",
48371
+ "properties": {
48372
+ "400": {
48373
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationFontSource"
48374
+ },
48375
+ "600": {
48376
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationFontSource"
48377
+ },
48378
+ "700": {
48379
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationFontSource"
48380
+ }
48381
+ },
48382
+ "required": [
48383
+ "400",
48384
+ "700"
48385
+ ],
48386
+ "additionalProperties": false
48387
+ }
48388
+ },
48389
+ "required": [
48390
+ "key",
48391
+ "fontFamily",
48392
+ "fontFaces"
48393
+ ]
48394
+ },
48395
+ "GitSyncSiteCustomizationThemedColor": {
48396
+ "type": "object",
48397
+ "description": "Themed color (light + dark).\n",
48398
+ "properties": {
48399
+ "light": {
48400
+ "$ref": "#/components/schemas/Color"
48401
+ },
48402
+ "dark": {
48403
+ "$ref": "#/components/schemas/Color"
48404
+ }
48405
+ },
48406
+ "required": [
48407
+ "light",
48408
+ "dark"
48409
+ ]
48410
+ },
48411
+ "GitSyncSiteCustomizationTint": {
48412
+ "type": "object",
48413
+ "description": "Tint configuration.\n",
48414
+ "properties": {
48415
+ "color": {
48416
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
48417
+ }
48418
+ },
48419
+ "required": [
48420
+ "color"
48421
+ ]
48422
+ },
48423
+ "GitSyncSiteCustomizationFontReference": {
48424
+ "type": "object",
48425
+ "description": "Reference to a custom font defined under `site.fonts[]`. Matches by `key`.\n",
48426
+ "properties": {
48427
+ "key": {
48428
+ "type": "string",
48429
+ "description": "Matches the `key` of an entry in `site.fonts[]`.",
48430
+ "minLength": 1
48431
+ }
48432
+ },
48433
+ "required": [
48434
+ "key"
48435
+ ]
48436
+ },
48437
+ "GitSyncSiteCustomizationFont": {
48438
+ "description": "Body font for the site. Either one of the built-in `CustomizationDefaultFont`\nvalues, or a reference to a custom font declared in `site.fonts[]`.\n",
48439
+ "oneOf": [
48440
+ {
48441
+ "$ref": "#/components/schemas/CustomizationDefaultFont"
48442
+ },
48443
+ {
48444
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationFontReference"
48445
+ }
48446
+ ]
48447
+ },
48448
+ "GitSyncSiteCustomizationMonospaceFont": {
48449
+ "description": "Monospace font for the site. Either one of the built-in\n`CustomizationDefaultMonospaceFont` values, or a reference to a custom font\ndeclared in `site.fonts[]`.\n",
48450
+ "oneOf": [
48451
+ {
48452
+ "$ref": "#/components/schemas/CustomizationDefaultMonospaceFont"
48453
+ },
48454
+ {
48455
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationFontReference"
48456
+ }
48457
+ ]
48458
+ },
48459
+ "GitSyncSiteCustomizationThemedCodeTheme": {
48460
+ "type": "object",
48461
+ "description": "Themed code theme (light + dark).\n",
48462
+ "properties": {
48463
+ "light": {
48464
+ "$ref": "#/components/schemas/CustomizationCodeTheme"
48465
+ },
48466
+ "dark": {
48467
+ "$ref": "#/components/schemas/CustomizationCodeTheme"
48468
+ }
48469
+ },
48470
+ "required": [
48471
+ "light",
48472
+ "dark"
48473
+ ]
48474
+ },
48475
+ "GitSyncSiteCustomizationCodeThemes": {
48476
+ "type": "object",
48477
+ "description": "Code-block syntax-highlighting themes — one for default code blocks and one for OpenAPI request/response samples.\n",
48478
+ "properties": {
48479
+ "default": {
48480
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationThemedCodeTheme"
48481
+ },
48482
+ "openapi": {
48483
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationThemedCodeTheme"
48484
+ }
48485
+ },
48486
+ "required": [
48487
+ "default",
48488
+ "openapi"
48489
+ ]
48490
+ },
48491
+ "GitSyncSiteCustomizationSidebar": {
48492
+ "type": "object",
48493
+ "description": "Sidebar style settings.\n",
48494
+ "properties": {
48495
+ "background": {
48496
+ "$ref": "#/components/schemas/CustomizationSidebarBackgroundStyle"
48497
+ },
48498
+ "list": {
48499
+ "$ref": "#/components/schemas/CustomizationSidebarListStyle"
48500
+ }
48501
+ },
48502
+ "required": [
48503
+ "background",
48504
+ "list"
48505
+ ]
48506
+ },
48507
+ "GitSyncSiteCustomizationStyling": {
48508
+ "type": "object",
48509
+ "description": "Styling settings.\n",
48510
+ "properties": {
48511
+ "theme": {
48512
+ "$ref": "#/components/schemas/CustomizationTheme"
48513
+ },
48514
+ "primaryColor": {
48515
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
48516
+ },
48517
+ "tint": {
48518
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationTint"
48519
+ },
48520
+ "infoColor": {
48521
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
48522
+ },
48523
+ "successColor": {
48524
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
48525
+ },
48526
+ "warningColor": {
48527
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
48528
+ },
48529
+ "dangerColor": {
48530
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
48531
+ },
48532
+ "corners": {
48533
+ "$ref": "#/components/schemas/CustomizationCorners"
48534
+ },
48535
+ "depth": {
48536
+ "$ref": "#/components/schemas/CustomizationDepth"
48537
+ },
48538
+ "links": {
48539
+ "$ref": "#/components/schemas/CustomizationLinksStyle"
48540
+ },
48541
+ "font": {
48542
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationFont"
48543
+ },
48544
+ "monospaceFont": {
48545
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationMonospaceFont"
48546
+ },
48547
+ "icons": {
48548
+ "$ref": "#/components/schemas/CustomizationIconsStyle"
48549
+ },
48550
+ "codeTheme": {
48551
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationCodeThemes"
48552
+ },
48553
+ "sidebar": {
48554
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationSidebar"
48555
+ },
48556
+ "search": {
48557
+ "$ref": "#/components/schemas/CustomizationSearchStyle"
48558
+ }
48559
+ }
48560
+ },
48561
+ "GitSyncSiteCustomizationAssetPath": {
48562
+ "type": "string",
48563
+ "description": "Repository-relative path to an asset in a site Git Sync, e.g.\n`.gitbook/assets/header-logo-light.svg`. Absolute URLs are not accepted\nhere — Git Sync assets must live in the synced repository under\n`.gitbook/assets/`.\n\nThis is the shared base type and only validates the `.gitbook/assets/`\nprefix. Each field that uses it additionally reserves a specific filename\nand set of allowed extensions (e.g. the header logo must be\n`header-logo-light.<ext>` / `header-logo-dark.<ext>`); see the description\non the consuming field for the exact reserved path.\n",
48564
+ "pattern": "^\\.gitbook/assets/.+",
48565
+ "maxLength": 2048
48566
+ },
48567
+ "GitSyncSiteCustomizationThemedAssetPath": {
48568
+ "type": "object",
48569
+ "description": "Light/dark variants of a Git Sync repository asset path. Used for logos and\nfavicons that switch with the active theme. Both variants are required.\n\nEach consuming field reserves the exact light/dark filenames and allowed\nextensions (e.g. header logo → `header-logo-light.<ext>` /\n`header-logo-dark.<ext>`); see the description on the consuming field.\n",
48570
+ "properties": {
48571
+ "light": {
48572
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationAssetPath"
48573
+ },
48574
+ "dark": {
48575
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationAssetPath"
48576
+ }
48577
+ },
48578
+ "required": [
48579
+ "light",
48580
+ "dark"
48581
+ ]
48582
+ },
48583
+ "GitSyncSiteCustomizationFavicon": {
48584
+ "description": "Favicon for the published site. The `icon` variant references a repository asset path; the `emoji` variant uses a single emoji character;\n",
48585
+ "oneOf": [
48586
+ {
48587
+ "type": "object",
48588
+ "properties": {
48589
+ "icon": {
48590
+ "description": "Themed favicon. Each variant must use its reserved repository\nasset path — light: `.gitbook/assets/favicon-light.<ext>`,\ndark: `.gitbook/assets/favicon-dark.<ext>`, where `<ext>` is\nthe image's file extension (e.g. `png`, `svg`, `ico`). Any\nother filename is rejected.\n",
48591
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
48592
+ }
48593
+ },
48594
+ "required": [
48595
+ "icon"
48596
+ ]
48597
+ },
48598
+ {
48599
+ "type": "object",
48600
+ "properties": {
48601
+ "emoji": {
48602
+ "$ref": "#/components/schemas/Emoji"
48603
+ }
48604
+ },
48605
+ "required": [
48606
+ "emoji"
48607
+ ]
48608
+ }
48609
+ ]
48610
+ },
48611
+ "GitSyncSiteCustomizationContentLinkTo": {
48612
+ "type": "string",
48613
+ "description": "Link destination, written as a path-string in YAML. Same format as\nmarkdown content links, e.g. `https://example.com`, `/pages/<id>`,\n`/spaces/<id>/pages/<id>`, `#anchor`, `/files/<id>`, `/spaces/<id>`.\n"
48614
+ },
48615
+ "GitSyncSiteCustomizationContentLink": {
48616
+ "type": "object",
48617
+ "description": "A label plus a destination, used inside header items, footer groups, and announcements.\n",
48618
+ "properties": {
48619
+ "title": {
48620
+ "$ref": "#/components/schemas/CustomizationContentLinkTitle"
48621
+ },
48622
+ "localizedTitle": {
48623
+ "description": "Localized overrides for the link title, keyed by locale.",
48624
+ "$ref": "#/components/schemas/LocalizedString64"
48625
+ },
48626
+ "to": {
48627
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
48628
+ }
48629
+ },
48630
+ "required": [
48631
+ "title",
48632
+ "to"
48633
+ ]
48634
+ },
48635
+ "GitSyncSiteCustomizationHeaderItem": {
48636
+ "type": "object",
48637
+ "description": "A single item in the published site's top navigation bar.\n",
48638
+ "properties": {
48639
+ "title": {
48640
+ "type": "string"
48641
+ },
48642
+ "localizedTitle": {
48643
+ "description": "Localized overrides for the header item title, keyed by locale.",
48644
+ "$ref": "#/components/schemas/LocalizedString"
48645
+ },
48646
+ "style": {
48647
+ "type": "string",
48648
+ "enum": [
48649
+ "link",
48650
+ "button-primary",
48651
+ "button-secondary"
48652
+ ]
48653
+ },
48654
+ "to": {
48655
+ "description": "Header item destination. Use `null` for items that act as a\ndropdown root without a link of their own.\n",
48656
+ "oneOf": [
48657
+ {
48658
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
48659
+ },
48660
+ {
48661
+ "type": "null"
48662
+ }
48663
+ ]
48664
+ },
48665
+ "links": {
48666
+ "type": "array",
48667
+ "description": "Sub-links shown as a dropdown under this header item. Empty array means no dropdown.",
48668
+ "items": {
48669
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationContentLink"
48670
+ }
48671
+ },
48672
+ "condition": {
48673
+ "description": "Conditional expression evaluated to decide whether the item is shown to the visitor.",
48674
+ "$ref": "#/components/schemas/Expression"
48675
+ }
48676
+ },
48677
+ "required": [
48678
+ "title",
48679
+ "to",
48680
+ "links"
48681
+ ]
48682
+ },
48683
+ "GitSyncSiteCustomizationHeader": {
48684
+ "type": "object",
48685
+ "description": "Header settings.\n",
48686
+ "properties": {
48687
+ "logo": {
48688
+ "description": "Themed header logo. Each variant must use its reserved repository\nasset path — light: `.gitbook/assets/header-logo-light.<ext>`, dark:\n`.gitbook/assets/header-logo-dark.<ext>`, where `<ext>` is the\nimage's file extension (e.g. `png`, `svg`). Any other filename is\nrejected.\n",
48689
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
48690
+ },
48691
+ "primaryLink": {
48692
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
48693
+ },
48694
+ "links": {
48695
+ "type": "array",
48696
+ "items": {
48697
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationHeaderItem"
48698
+ }
48699
+ }
48700
+ }
48701
+ },
48702
+ "GitSyncSiteCustomizationFooterGroup": {
48703
+ "type": "object",
48704
+ "description": "A group of links shown in the published site's footer.\n",
48705
+ "properties": {
48706
+ "title": {
48707
+ "type": "string"
48708
+ },
48709
+ "localizedTitle": {
48710
+ "description": "Localized overrides for the footer group title, keyed by locale.",
48711
+ "$ref": "#/components/schemas/LocalizedString"
48712
+ },
48713
+ "links": {
48714
+ "type": "array",
48715
+ "items": {
48716
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationContentLink"
48717
+ }
48718
+ }
48719
+ },
48720
+ "required": [
48721
+ "title",
48722
+ "links"
48723
+ ]
48724
+ },
48725
+ "GitSyncSiteCustomizationFooter": {
48726
+ "type": "object",
48727
+ "description": "Footer settings.\n",
48728
+ "properties": {
48729
+ "logo": {
48730
+ "description": "Themed footer logo. Each variant must use its reserved repository\nasset path — light: `.gitbook/assets/footer-logo-light.<ext>`, dark:\n`.gitbook/assets/footer-logo-dark.<ext>`, where `<ext>` is the\nimage's file extension (e.g. `png`, `svg`). Any other filename is\nrejected.\n",
48731
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
48732
+ },
48733
+ "groups": {
48734
+ "type": "array",
48735
+ "items": {
48736
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationFooterGroup"
48737
+ }
48738
+ },
48739
+ "copyright": {
48740
+ "type": "string",
48741
+ "maxLength": 300
48742
+ }
48743
+ }
48744
+ },
48745
+ "GitSyncSiteCustomizationAnnouncement": {
48746
+ "type": "object",
48747
+ "description": "Announcement banner shown above the published site.\n",
48748
+ "properties": {
48749
+ "enabled": {
48750
+ "description": "Whether to show the site's announcement.",
48751
+ "type": "boolean"
48752
+ },
48753
+ "message": {
48754
+ "$ref": "#/components/schemas/CustomizationAnnouncementMessage"
48755
+ },
48756
+ "localizedMessage": {
48757
+ "description": "Localized overrides for the announcement message, keyed by locale.",
48758
+ "$ref": "#/components/schemas/LocalizedString128"
48759
+ },
48760
+ "link": {
48761
+ "description": "The content or URL the announcement links to when clicked.",
48762
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationContentLink"
48763
+ },
48764
+ "style": {
48765
+ "description": "Semantic style of the announcement banner.",
48766
+ "type": "string",
48767
+ "enum": [
48768
+ "info",
48769
+ "warning",
48770
+ "danger",
48771
+ "success"
48772
+ ]
48773
+ }
48774
+ },
48775
+ "required": [
48776
+ "enabled",
48777
+ "message",
48778
+ "style"
48779
+ ]
48780
+ },
48781
+ "GitSyncSiteCustomizationThemeModes": {
48782
+ "type": "object",
48783
+ "description": "Dark/light theme mode settings.\n",
48784
+ "properties": {
48785
+ "default": {
48786
+ "$ref": "#/components/schemas/CustomizationDefaultThemeMode"
48787
+ },
48788
+ "toggeable": {
48789
+ "description": "Whether readers can switch between dark and light mode.",
48790
+ "type": "boolean"
48791
+ }
48792
+ },
48793
+ "required": [
48794
+ "default",
48795
+ "toggeable"
48796
+ ]
48797
+ },
48798
+ "GitSyncSiteCustomizationFeedback": {
48799
+ "type": "object",
48800
+ "description": "Reader feedback settings.\n",
48801
+ "properties": {
48802
+ "enabled": {
48803
+ "type": "boolean",
48804
+ "description": "Whether reader feedback gathering is enabled."
48805
+ }
48806
+ },
48807
+ "required": [
48808
+ "enabled"
48809
+ ]
48810
+ },
48811
+ "GitSyncSiteCustomizationAI": {
48812
+ "type": "object",
48813
+ "description": "AI assistant settings.\n",
48814
+ "properties": {
48815
+ "mode": {
48816
+ "$ref": "#/components/schemas/CustomizationAIMode"
48817
+ },
48818
+ "suggestions": {
48819
+ "$ref": "#/components/schemas/CustomizationSuggestedQuestions"
48820
+ }
48821
+ },
48822
+ "required": [
48823
+ "mode"
48824
+ ]
48825
+ },
48826
+ "GitSyncSiteCustomizationPageActions": {
48827
+ "type": "array",
48828
+ "description": "Ordered page-level action buttons exposed in the published site's page menu.\n",
48829
+ "uniqueItems": true,
48830
+ "items": {
48831
+ "$ref": "#/components/schemas/CustomizationPageActionType"
48832
+ }
48833
+ },
48834
+ "GitSyncSiteCustomizationExternalLinks": {
48835
+ "type": "object",
48836
+ "description": "External link behavior.\n",
48837
+ "properties": {
48838
+ "target": {
48839
+ "$ref": "#/components/schemas/SiteExternalLinksTarget"
48840
+ }
48841
+ },
48842
+ "required": [
48843
+ "target"
48844
+ ]
48845
+ },
48846
+ "GitSyncSiteCustomizationPagination": {
48847
+ "type": "object",
48848
+ "description": "Pagination navigation settings.\n",
48849
+ "properties": {
48850
+ "enabled": {
48851
+ "type": "boolean",
48852
+ "description": "Whether the prev/next pagination navigation is shown on pages."
48853
+ }
48854
+ },
48855
+ "required": [
48856
+ "enabled"
48857
+ ]
48858
+ },
48859
+ "GitSyncSiteCustomizationPrivacyPolicy": {
48860
+ "type": "object",
48861
+ "description": "Privacy policy link shown on the published site.\n",
48862
+ "properties": {
48863
+ "url": {
48864
+ "$ref": "#/components/schemas/URL"
48865
+ }
48866
+ }
48867
+ },
48868
+ "GitSyncSiteCustomizationSocialPreview": {
48869
+ "type": "object",
48870
+ "description": "Social preview asset.\n",
48871
+ "properties": {
48872
+ "url": {
48873
+ "description": "Reserved repository asset path for the social preview image:\n`.gitbook/assets/social-preview.<ext>`, where `<ext>` is the\nimage's file extension (e.g. `png`, `jpg`). Any other filename is\nrejected.\n",
48874
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationAssetPath"
48875
+ }
48876
+ }
48877
+ },
48878
+ "GitSyncSiteCustomizationSocialAccount": {
48879
+ "type": "object",
48880
+ "description": "A single social account entry.\n",
48881
+ "properties": {
48882
+ "platform": {
48883
+ "$ref": "#/components/schemas/SiteSocialAccountPlatform"
48884
+ },
48885
+ "handle": {
48886
+ "$ref": "#/components/schemas/SiteSocialAccountHandle"
48887
+ },
48888
+ "display": {
48889
+ "type": "object",
48890
+ "properties": {
48891
+ "footer": {
48892
+ "type": "boolean"
48893
+ },
48894
+ "header": {
48895
+ "type": "boolean"
48896
+ }
48897
+ },
48898
+ "required": [
48899
+ "footer",
48900
+ "header"
48901
+ ]
48902
+ }
48903
+ },
48904
+ "required": [
48905
+ "platform",
48906
+ "handle",
48907
+ "display"
48908
+ ]
48909
+ },
48910
+ "GitSyncSiteCustomizationInsights": {
48911
+ "type": "object",
48912
+ "description": "Visitor insights settings.\n",
48913
+ "properties": {
48914
+ "trackingCookie": {
48915
+ "type": "boolean",
48916
+ "description": "Whether GitBook identifies visitors on the site using a cookie."
48917
+ }
48918
+ },
48919
+ "required": [
48920
+ "trackingCookie"
48921
+ ]
48922
+ },
48923
+ "GitSyncSiteCustomization": {
48924
+ "type": "object",
48925
+ "description": "Customization settings for the published site, authored in `docs.yaml`.\n\nEvery top-level field is optional — a Git Sync YAML is a **sparse override** of\nthe live customization. Fields you don't include stay at whatever the site\nhas as default.\n\nCustom fonts referenced from `styling.font` / `styling.monospaceFont` must\nhave a matching definition under `site.fonts[]`.\n",
48926
+ "properties": {
48927
+ "publishedTitle": {
48928
+ "description": "Title to use for the published site. If omitted, falls back to the default site title.",
48929
+ "$ref": "#/components/schemas/SiteTitle"
48930
+ },
48931
+ "localizedPublishedTitles": {
48932
+ "description": "Localized titles for the published site, keyed by locale.",
48933
+ "$ref": "#/components/schemas/LocalizedString128"
48934
+ },
48935
+ "styling": {
48936
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationStyling"
48937
+ },
48938
+ "favicon": {
48939
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationFavicon"
48940
+ },
48941
+ "header": {
48942
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationHeader"
48943
+ },
48944
+ "footer": {
48945
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationFooter"
48946
+ },
48947
+ "announcement": {
48948
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationAnnouncement"
48949
+ },
48950
+ "themeModes": {
48951
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationThemeModes"
48952
+ },
48953
+ "feedback": {
48954
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationFeedback"
48955
+ },
48956
+ "ai": {
48957
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationAI"
48958
+ },
48959
+ "pageActions": {
48960
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationPageActions"
48961
+ },
48962
+ "externalLinks": {
48963
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationExternalLinks"
48964
+ },
48965
+ "pagination": {
48966
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationPagination"
48967
+ },
48968
+ "privacyPolicy": {
48969
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationPrivacyPolicy"
48970
+ },
48971
+ "socialPreview": {
48972
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationSocialPreview"
48973
+ },
48974
+ "socialAccounts": {
48975
+ "type": "array",
48976
+ "description": "Social accounts to surface on the site.",
48977
+ "items": {
48978
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationSocialAccount"
48979
+ },
48980
+ "maxItems": 10
48981
+ },
48982
+ "insights": {
48983
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationInsights"
48984
+ }
48985
+ }
48986
+ },
48987
+ "GitSyncSiteConfig": {
48988
+ "type": "object",
48989
+ "description": "Schema for a site `docs.yaml` file — the canonical contract for what\ncan be authored in Git Sync to drive a site's customization and structure.\n",
48990
+ "properties": {
48991
+ "version": {
48992
+ "type": "integer",
48993
+ "description": "Reserved for future use. When a breaking schema change ships, this\nfield lets the parser branch on the version; absence means v1.\n",
48994
+ "enum": [
48995
+ 1
48996
+ ],
48997
+ "default": 1
48998
+ },
48999
+ "site": {
49000
+ "type": "object",
49001
+ "additionalProperties": false,
49002
+ "properties": {
49003
+ "title": {
49004
+ "type": "string",
49005
+ "description": "Display title for the site.",
49006
+ "minLength": 1
49007
+ },
49008
+ "structure": {
49009
+ "$ref": "#/components/schemas/GitSyncSiteStructure"
49010
+ },
49011
+ "fonts": {
49012
+ "type": "array",
49013
+ "description": "Custom font definitions referenced from `site.customization.styling`.",
49014
+ "items": {
49015
+ "$ref": "#/components/schemas/GitSyncSiteCustomizationFontDefinition"
49016
+ }
49017
+ },
49018
+ "customization": {
49019
+ "$ref": "#/components/schemas/GitSyncSiteCustomization"
49020
+ }
49021
+ },
49022
+ "required": [
49023
+ "title",
49024
+ "structure"
49025
+ ]
49026
+ }
49027
+ },
49028
+ "required": [
49029
+ "site"
49030
+ ]
49031
+ },
47276
49032
  "IntegrationEnvironmentSpaceInstallation": {
47277
49033
  "allOf": [
47278
49034
  {
@@ -49614,6 +51370,71 @@
49614
51370
  "errored"
49615
51371
  ]
49616
51372
  },
51373
+ "AgentActivity": {
51374
+ "type": "object",
51375
+ "description": "Describes what the agent is currently doing while processing, used to display a live activity indicator in the conversation.\n",
51376
+ "properties": {
51377
+ "type": {
51378
+ "type": "string",
51379
+ "description": "The kind of activity the agent is currently performing. `thinking` while it reasons or decides on a next action, `tool` while it runs a tool, and `responding` while it writes its answer.\n",
51380
+ "enum": [
51381
+ "thinking",
51382
+ "tool",
51383
+ "responding"
51384
+ ]
51385
+ },
51386
+ "tool": {
51387
+ "type": "string",
51388
+ "description": "When `type` is `tool`, the name of the tool being called (matches `AIToolCall.tool`).\n"
51389
+ }
51390
+ },
51391
+ "required": [
51392
+ "type"
51393
+ ]
51394
+ },
51395
+ "AgentQuestionOption": {
51396
+ "type": "object",
51397
+ "description": "An option the user can pick when answering a question asked by the agent.",
51398
+ "properties": {
51399
+ "label": {
51400
+ "type": "string",
51401
+ "description": "Short label for the option, displayed as a button and used as the answer."
51402
+ },
51403
+ "description": {
51404
+ "type": "string",
51405
+ "description": "Optional longer description to clarify what the option means."
51406
+ }
51407
+ },
51408
+ "required": [
51409
+ "label"
51410
+ ]
51411
+ },
51412
+ "AgentPendingQuestion": {
51413
+ "type": "object",
51414
+ "description": "A question the agent is waiting for the user to answer. While set, the client replaces the prompt with a choice control. The user can pick one of the options or answer with a custom free-text message; either way the answer resolves the pending tool call.\n",
51415
+ "properties": {
51416
+ "toolCallId": {
51417
+ "type": "string",
51418
+ "description": "ID of the tool call this question resolves, used to continue the conversation."
51419
+ },
51420
+ "question": {
51421
+ "type": "string",
51422
+ "description": "The question to display to the user."
51423
+ },
51424
+ "options": {
51425
+ "type": "array",
51426
+ "description": "The options the user can choose from.",
51427
+ "items": {
51428
+ "$ref": "#/components/schemas/AgentQuestionOption"
51429
+ }
51430
+ }
51431
+ },
51432
+ "required": [
51433
+ "toolCallId",
51434
+ "question",
51435
+ "options"
51436
+ ]
51437
+ },
49617
51438
  "AgentState": {
49618
51439
  "type": "object",
49619
51440
  "properties": {
@@ -49633,6 +51454,14 @@
49633
51454
  "items": {
49634
51455
  "$ref": "#/components/schemas/AIMessageInput"
49635
51456
  }
51457
+ },
51458
+ "activity": {
51459
+ "$ref": "#/components/schemas/AgentActivity",
51460
+ "description": "What the agent is currently doing. Only set while the agent is processing.\n"
51461
+ },
51462
+ "pendingQuestion": {
51463
+ "$ref": "#/components/schemas/AgentPendingQuestion",
51464
+ "description": "A question the agent is waiting for the user to answer. While set, the client replaces the prompt with a choice control.\n"
49636
51465
  }
49637
51466
  },
49638
51467
  "required": [