@gitbook/api 0.146.0 → 0.148.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
@@ -168,6 +168,13 @@
168
168
  "x-parent": "sites",
169
169
  "description": "This API delivers insights about how visitors interact with your site, including page views and user engagement, helping you measure and optimize your content strategy.\n"
170
170
  },
171
+ {
172
+ "name": "site-ai",
173
+ "x-page-title": "Site AI",
174
+ "x-page-description": "Build conversational AI agents for your docs site.",
175
+ "x-parent": "sites",
176
+ "description": "Build advanced conversational AI experiences within your docs site that go beyond basic Q&A.\n"
177
+ },
171
178
  {
172
179
  "name": "site-ask",
173
180
  "x-page-title": "Site AI ask",
@@ -1572,7 +1579,20 @@
1572
1579
  "content": {
1573
1580
  "application/json": {
1574
1581
  "schema": {
1575
- "$ref": "#/components/schemas/ApplySpaceTemplate"
1582
+ "allOf": [
1583
+ {
1584
+ "$ref": "#/components/schemas/ApplySpaceTemplate"
1585
+ },
1586
+ {
1587
+ "type": "object",
1588
+ "properties": {
1589
+ "changeRequestId": {
1590
+ "type": "string",
1591
+ "description": "The ID of the change request to apply the template to. If not provided, the template is applied to the main content."
1592
+ }
1593
+ }
1594
+ }
1595
+ ]
1576
1596
  }
1577
1597
  }
1578
1598
  }
@@ -2281,11 +2301,12 @@
2281
2301
  "type": "string",
2282
2302
  "description": "Subject of the change-request"
2283
2303
  },
2284
- "agentTaskId": {
2285
- "type": "string",
2286
- "description": "ID of the agent task to implement"
2304
+ "template": {
2305
+ "$ref": "#/components/schemas/ApplySpaceTemplate",
2306
+ "description": "Template to apply to the change request"
2287
2307
  }
2288
- }
2308
+ },
2309
+ "additionalProperties": true
2289
2310
  }
2290
2311
  }
2291
2312
  }
@@ -10519,22 +10540,7 @@
10519
10540
  "enum": [
10520
10541
  "updatedAt",
10521
10542
  "issues",
10522
- "conversations",
10523
- "tasksTotal",
10524
- "tasksBacklog",
10525
- "tasksStarted"
10526
- ]
10527
- }
10528
- },
10529
- {
10530
- "name": "status",
10531
- "in": "query",
10532
- "description": "Filter by status",
10533
- "schema": {
10534
- "type": "string",
10535
- "enum": [
10536
- "pending",
10537
- "analysing"
10543
+ "conversations"
10538
10544
  ]
10539
10545
  }
10540
10546
  }
@@ -10933,7 +10939,7 @@
10933
10939
  "content": {
10934
10940
  "application/json": {
10935
10941
  "schema": {
10936
- "$ref": "#/components/schemas/AgentsSetupState"
10942
+ "$ref": "#/components/schemas/AgentSetupState"
10937
10943
  }
10938
10944
  }
10939
10945
  }
@@ -11022,183 +11028,6 @@
11022
11028
  }
11023
11029
  }
11024
11030
  },
11025
- "/orgs/{organizationId}/agent-tasks": {
11026
- "get": {
11027
- "operationId": "listAgentTasks",
11028
- "summary": "List agent tasks",
11029
- "tags": [
11030
- "agents"
11031
- ],
11032
- "parameters": [
11033
- {
11034
- "$ref": "#/components/parameters/organizationId"
11035
- },
11036
- {
11037
- "$ref": "#/components/parameters/listPage"
11038
- },
11039
- {
11040
- "$ref": "#/components/parameters/listLimit"
11041
- },
11042
- {
11043
- "name": "cluster",
11044
- "in": "query",
11045
- "description": "The ID of the conversations issues cluster to filter the agent tasks by",
11046
- "schema": {
11047
- "type": "string"
11048
- }
11049
- },
11050
- {
11051
- "name": "space",
11052
- "in": "query",
11053
- "description": "The ID of the space to filter the agent tasks by",
11054
- "schema": {
11055
- "type": "string"
11056
- }
11057
- },
11058
- {
11059
- "name": "status",
11060
- "in": "query",
11061
- "description": "The statuses of the agent tasks to filter by",
11062
- "schema": {
11063
- "type": "array",
11064
- "items": {
11065
- "$ref": "#/components/schemas/AgentTaskStatus"
11066
- }
11067
- }
11068
- }
11069
- ],
11070
- "security": [
11071
- {
11072
- "user": []
11073
- }
11074
- ],
11075
- "responses": {
11076
- "200": {
11077
- "description": "OK",
11078
- "content": {
11079
- "application/json": {
11080
- "schema": {
11081
- "allOf": [
11082
- {
11083
- "$ref": "#/components/schemas/List"
11084
- },
11085
- {
11086
- "type": "object",
11087
- "required": [
11088
- "items"
11089
- ],
11090
- "properties": {
11091
- "items": {
11092
- "type": "array",
11093
- "items": {
11094
- "$ref": "#/components/schemas/AgentTask"
11095
- }
11096
- }
11097
- }
11098
- }
11099
- ]
11100
- }
11101
- }
11102
- }
11103
- },
11104
- "404": {
11105
- "$ref": "#/components/responses/NotFoundError"
11106
- }
11107
- }
11108
- }
11109
- },
11110
- "/orgs/{organizationId}/agent-tasks/{agentTaskId}": {
11111
- "get": {
11112
- "operationId": "getAgentTask",
11113
- "summary": "Get an agent task by its identifier",
11114
- "tags": [
11115
- "agents"
11116
- ],
11117
- "parameters": [
11118
- {
11119
- "$ref": "#/components/parameters/organizationId"
11120
- },
11121
- {
11122
- "$ref": "#/components/parameters/agentTaskId"
11123
- }
11124
- ],
11125
- "security": [
11126
- {
11127
- "user": []
11128
- }
11129
- ],
11130
- "responses": {
11131
- "200": {
11132
- "description": "OK",
11133
- "content": {
11134
- "application/json": {
11135
- "schema": {
11136
- "$ref": "#/components/schemas/AgentTask"
11137
- }
11138
- }
11139
- }
11140
- },
11141
- "404": {
11142
- "$ref": "#/components/responses/NotFoundError"
11143
- }
11144
- }
11145
- },
11146
- "patch": {
11147
- "operationId": "updateAgentTask",
11148
- "summary": "Update an agent task by its identifier",
11149
- "tags": [
11150
- "agents"
11151
- ],
11152
- "parameters": [
11153
- {
11154
- "$ref": "#/components/parameters/organizationId"
11155
- },
11156
- {
11157
- "$ref": "#/components/parameters/agentTaskId"
11158
- }
11159
- ],
11160
- "security": [
11161
- {
11162
- "user": []
11163
- }
11164
- ],
11165
- "requestBody": {
11166
- "required": true,
11167
- "content": {
11168
- "application/json": {
11169
- "schema": {
11170
- "type": "object",
11171
- "properties": {
11172
- "status": {
11173
- "type": "string",
11174
- "enum": [
11175
- "backlog",
11176
- "started",
11177
- "canceled"
11178
- ]
11179
- }
11180
- },
11181
- "required": [
11182
- "status"
11183
- ]
11184
- }
11185
- }
11186
- }
11187
- },
11188
- "responses": {
11189
- "200": {
11190
- "description": "OK",
11191
- "content": {
11192
- "application/json": {
11193
- "schema": {
11194
- "$ref": "#/components/schemas/AgentTask"
11195
- }
11196
- }
11197
- }
11198
- }
11199
- }
11200
- }
11201
- },
11202
11031
  "/orgs/{organizationId}/translations": {
11203
11032
  "get": {
11204
11033
  "operationId": "listTranslations",
@@ -11964,6 +11793,11 @@
11964
11793
  },
11965
11794
  "target": {
11966
11795
  "$ref": "#/components/schemas/ContentImportTarget"
11796
+ },
11797
+ "enhance": {
11798
+ "description": "Enhance the imported content with AI",
11799
+ "default": true,
11800
+ "type": "boolean"
11967
11801
  }
11968
11802
  },
11969
11803
  "required": [
@@ -15349,9 +15183,8 @@
15349
15183
  "summary": "Generate an AI response in a site",
15350
15184
  "description": "Generate an AI response in a conversation.\n",
15351
15185
  "tags": [
15352
- "sites"
15186
+ "site-ai"
15353
15187
  ],
15354
- "x-internal": true,
15355
15188
  "security": [
15356
15189
  {
15357
15190
  "user": []
@@ -15424,7 +15257,7 @@
15424
15257
  "summary": "Get an existing AI response in a site",
15425
15258
  "description": "Experimental operation to get an existing AI response in a site.\n",
15426
15259
  "tags": [
15427
- "sites"
15260
+ "site-ai"
15428
15261
  ],
15429
15262
  "x-internal": true,
15430
15263
  "security": [
@@ -17254,15 +17087,6 @@
17254
17087
  "type": "string"
17255
17088
  }
17256
17089
  },
17257
- "agentTaskId": {
17258
- "name": "agentTaskId",
17259
- "in": "path",
17260
- "required": true,
17261
- "description": "The unique id of the agent task",
17262
- "schema": {
17263
- "type": "string"
17264
- }
17265
- },
17266
17090
  "translationId": {
17267
17091
  "name": "translationId",
17268
17092
  "in": "path",
@@ -18415,6 +18239,21 @@
18415
18239
  "$ref": "#/components/schemas/SearchSectionResult"
18416
18240
  }
18417
18241
  },
18242
+ "ancestors": {
18243
+ "type": "array",
18244
+ "description": "Data about the ancestors of the current page, from top-level to direct parent.",
18245
+ "items": {
18246
+ "type": "object",
18247
+ "properties": {
18248
+ "title": {
18249
+ "type": "string"
18250
+ }
18251
+ },
18252
+ "required": [
18253
+ "title"
18254
+ ]
18255
+ }
18256
+ },
18418
18257
  "urls": {
18419
18258
  "type": "object",
18420
18259
  "description": "URLs associated with the object",
@@ -18434,6 +18273,7 @@
18434
18273
  "id",
18435
18274
  "title",
18436
18275
  "path",
18276
+ "ancestors",
18437
18277
  "urls"
18438
18278
  ]
18439
18279
  },
@@ -22314,6 +22154,9 @@
22314
22154
  },
22315
22155
  {
22316
22156
  "$ref": "#/components/schemas/DocumentBlockIntegration"
22157
+ },
22158
+ {
22159
+ "$ref": "#/components/schemas/DocumentBlockExpandable"
22317
22160
  }
22318
22161
  ]
22319
22162
  }
@@ -22439,6 +22282,9 @@
22439
22282
  },
22440
22283
  {
22441
22284
  "$ref": "#/components/schemas/DocumentBlockTable"
22285
+ },
22286
+ {
22287
+ "$ref": "#/components/schemas/DocumentBlockExpandable"
22442
22288
  }
22443
22289
  ]
22444
22290
  }
@@ -23065,6 +22911,10 @@
23065
22911
  "properties": {
23066
22912
  "models": {
23067
22913
  "type": "boolean"
22914
+ },
22915
+ "downloadLink": {
22916
+ "type": "boolean",
22917
+ "description": "Whether to show a link to download the OpenAPI spec."
23068
22918
  }
23069
22919
  },
23070
22920
  "required": [
@@ -24534,14 +24384,6 @@
24534
24384
  "reason"
24535
24385
  ]
24536
24386
  },
24537
- "internal_isOnNewTrial": {
24538
- "type": "boolean",
24539
- "description": "Deprecated. Always true. All organizations are on new trials.",
24540
- "deprecated": true,
24541
- "enum": [
24542
- true
24543
- ]
24544
- },
24545
24387
  "internal_billingMigration": {
24546
24388
  "type": "object",
24547
24389
  "properties": {
@@ -25021,7 +24863,7 @@
25021
24863
  "type": "string",
25022
24864
  "minLength": 1,
25023
24865
  "maxLength": 100,
25024
- "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
24866
+ "pattern": "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$"
25025
24867
  },
25026
24868
  "OpenAPISpecProcessingState": {
25027
24869
  "description": "Processing state",
@@ -31169,6 +31011,7 @@
31169
31011
  "$ref": "#/components/schemas/SiteType"
31170
31012
  }
31171
31013
  },
31014
+ "additionalProperties": false,
31172
31015
  "required": [
31173
31016
  "id",
31174
31017
  "type"
@@ -31182,15 +31025,36 @@
31182
31025
  "type": "string"
31183
31026
  },
31184
31027
  "isPublished": {
31185
- "description": "Can be set to `false` to unpublish a site",
31186
- "type": "boolean",
31187
- "enum": [
31188
- false
31189
- ]
31028
+ "description": "Can be set to `false` or `true` to either unpublish or publish a site",
31029
+ "type": "boolean"
31030
+ }
31031
+ },
31032
+ "additionalProperties": false,
31033
+ "required": [
31034
+ "id",
31035
+ "isPublished"
31036
+ ]
31037
+ },
31038
+ {
31039
+ "type": "object",
31040
+ "properties": {
31041
+ "id": {
31042
+ "description": "The site identifier",
31043
+ "type": "string"
31044
+ },
31045
+ "type": {
31046
+ "description": "The site type to migrate to",
31047
+ "$ref": "#/components/schemas/SiteType"
31048
+ },
31049
+ "isPublished": {
31050
+ "description": "Can be set to `false` or `true` to either unpublish or publish a site",
31051
+ "type": "boolean"
31190
31052
  }
31191
31053
  },
31054
+ "additionalProperties": false,
31192
31055
  "required": [
31193
31056
  "id",
31057
+ "type",
31194
31058
  "isPublished"
31195
31059
  ]
31196
31060
  }
@@ -32316,36 +32180,11 @@
32316
32180
  "conversations": {
32317
32181
  "type": "number",
32318
32182
  "description": "The number of conversations in the conversations issues cluster"
32319
- },
32320
- "tasksTotal": {
32321
- "type": "number",
32322
- "description": "The number of tasks in the conversations issues cluster"
32323
- },
32324
- "tasksBacklog": {
32325
- "type": "number",
32326
- "description": "The number of tasks in the backlog in the conversations issues cluster"
32327
- },
32328
- "tasksStarted": {
32329
- "type": "number",
32330
- "description": "The number of tasks done in the conversations issues cluster"
32331
- },
32332
- "tasksCompleted": {
32333
- "type": "number",
32334
- "description": "The number of tasks completed in the conversations issues cluster"
32335
- },
32336
- "tasksCancelled": {
32337
- "type": "number",
32338
- "description": "The number of tasks canceled in the conversations issues cluster"
32339
32183
  }
32340
32184
  },
32341
32185
  "required": [
32342
32186
  "issues",
32343
- "conversations",
32344
- "tasksTotal",
32345
- "tasksBacklog",
32346
- "tasksStarted",
32347
- "tasksCompleted",
32348
- "tasksCancelled"
32187
+ "conversations"
32349
32188
  ]
32350
32189
  },
32351
32190
  "urls": {
@@ -32356,15 +32195,9 @@
32356
32195
  "type": "string",
32357
32196
  "description": "URL of the conversations issues cluster in the API",
32358
32197
  "format": "uri"
32359
- },
32360
- "app": {
32361
- "type": "string",
32362
- "description": "URL of the conversations issues cluster in the application",
32363
- "format": "uri"
32364
32198
  }
32365
32199
  },
32366
32200
  "required": [
32367
- "app",
32368
32201
  "location"
32369
32202
  ]
32370
32203
  }
@@ -32599,7 +32432,7 @@
32599
32432
  "urls"
32600
32433
  ]
32601
32434
  },
32602
- "AgentsSetupState": {
32435
+ "AgentSetupState": {
32603
32436
  "type": "object",
32604
32437
  "description": "State and settings of the agent",
32605
32438
  "properties": {
@@ -32611,22 +32444,6 @@
32611
32444
  "type": "object",
32612
32445
  "description": "The stats of the agent.",
32613
32446
  "properties": {
32614
- "backlogTasks": {
32615
- "type": "number",
32616
- "description": "The number of tasks in the backlog."
32617
- },
32618
- "startedTasks": {
32619
- "type": "number",
32620
- "description": "The number of tasks in progress."
32621
- },
32622
- "completedTasks": {
32623
- "type": "number",
32624
- "description": "The number of tasks that have been completed."
32625
- },
32626
- "canceledTasks": {
32627
- "type": "number",
32628
- "description": "The number of tasks that have been canceled."
32629
- },
32630
32447
  "conversations": {
32631
32448
  "type": "number",
32632
32449
  "description": "The number of conversations the agent has indexed."
@@ -32637,7 +32454,7 @@
32637
32454
  },
32638
32455
  "issuesClusters": {
32639
32456
  "type": "number",
32640
- "description": "The number of issues clusters the agent has indexed."
32457
+ "description": "The number of issue clusters the agent has indexed."
32641
32458
  },
32642
32459
  "sources": {
32643
32460
  "type": "object",
@@ -32648,10 +32465,6 @@
32648
32465
  }
32649
32466
  },
32650
32467
  "required": [
32651
- "backlogTasks",
32652
- "startedTasks",
32653
- "completedTasks",
32654
- "canceledTasks",
32655
32468
  "conversations",
32656
32469
  "issues",
32657
32470
  "issuesClusters",
@@ -32713,95 +32526,6 @@
32713
32526
  "urls"
32714
32527
  ]
32715
32528
  },
32716
- "AgentTaskStatus": {
32717
- "type": "string",
32718
- "description": "The status of the agent task. - `backlog`: The task has not been started yet, a human should review its specification. - `started`: The task is open, a change request is associated with it. - `completed`: The task is completed. - `canceled`: The task has been canceled by a human.\n",
32719
- "enum": [
32720
- "backlog",
32721
- "started",
32722
- "completed",
32723
- "canceled"
32724
- ]
32725
- },
32726
- "AgentTask": {
32727
- "type": "object",
32728
- "properties": {
32729
- "object": {
32730
- "type": "string",
32731
- "enum": [
32732
- "agent-task"
32733
- ]
32734
- },
32735
- "id": {
32736
- "type": "string",
32737
- "description": "The ID of the agent task"
32738
- },
32739
- "title": {
32740
- "type": "string",
32741
- "description": "The title of the agent task"
32742
- },
32743
- "description": {
32744
- "type": "string",
32745
- "description": "The description of the agent task"
32746
- },
32747
- "instructions": {
32748
- "$ref": "#/components/schemas/JSONDocument"
32749
- },
32750
- "status": {
32751
- "$ref": "#/components/schemas/AgentTaskStatus"
32752
- },
32753
- "createdAt": {
32754
- "$ref": "#/components/schemas/Timestamp"
32755
- },
32756
- "updatedAt": {
32757
- "$ref": "#/components/schemas/Timestamp"
32758
- },
32759
- "cluster": {
32760
- "type": "string",
32761
- "description": "ID of the cluster the agent task is associated with."
32762
- },
32763
- "space": {
32764
- "type": "string",
32765
- "description": "ID of the space the agent task will act on."
32766
- },
32767
- "changeRequest": {
32768
- "type": "string",
32769
- "description": "ID of the change request the agent task is associated with."
32770
- },
32771
- "urls": {
32772
- "type": "object",
32773
- "description": "URLs associated with the agent task",
32774
- "properties": {
32775
- "location": {
32776
- "type": "string",
32777
- "description": "URL of the agent task in the API",
32778
- "format": "uri"
32779
- },
32780
- "app": {
32781
- "type": "string",
32782
- "description": "URL of the agent task in the application",
32783
- "format": "uri"
32784
- }
32785
- },
32786
- "required": [
32787
- "app",
32788
- "location"
32789
- ]
32790
- }
32791
- },
32792
- "required": [
32793
- "object",
32794
- "id",
32795
- "title",
32796
- "description",
32797
- "instructions",
32798
- "space",
32799
- "status",
32800
- "createdAt",
32801
- "updatedAt",
32802
- "urls"
32803
- ]
32804
- },
32805
32529
  "TranslationStatus": {
32806
32530
  "type": "string",
32807
32531
  "enum": [
@@ -33272,7 +32996,9 @@
33272
32996
  ]
33273
32997
  },
33274
32998
  "files": {
32999
+ "description": "Files to import",
33275
33000
  "type": "array",
33001
+ "maxItems": 50,
33276
33002
  "items": {
33277
33003
  "description": "Key of file",
33278
33004
  "type": "string"
@@ -33333,7 +33059,7 @@
33333
33059
  ]
33334
33060
  },
33335
33061
  "pages": {
33336
- "description": "Imported pages",
33062
+ "description": "Pages included in the import",
33337
33063
  "type": "array",
33338
33064
  "items": {
33339
33065
  "type": "object",
@@ -33345,10 +33071,28 @@
33345
33071
  "sourceURL": {
33346
33072
  "description": "Source URL where the page has been imported from",
33347
33073
  "type": "string"
33074
+ },
33075
+ "type": {
33076
+ "description": "Type of page",
33077
+ "type": "string",
33078
+ "enum": [
33079
+ "page",
33080
+ "folder"
33081
+ ]
33082
+ },
33083
+ "status": {
33084
+ "description": "Status of the page",
33085
+ "type": "string",
33086
+ "enum": [
33087
+ "complete",
33088
+ "pending"
33089
+ ]
33348
33090
  }
33349
33091
  },
33350
33092
  "required": [
33351
- "id"
33093
+ "id",
33094
+ "type",
33095
+ "status"
33352
33096
  ]
33353
33097
  }
33354
33098
  }
@@ -35527,6 +35271,80 @@
35527
35271
  "page"
35528
35272
  ]
35529
35273
  },
35274
+ "AIToolCallCreateReusableContent": {
35275
+ "type": "object",
35276
+ "properties": {
35277
+ "tool": {
35278
+ "type": "string",
35279
+ "enum": [
35280
+ "createReusableContent"
35281
+ ]
35282
+ },
35283
+ "spaceId": {
35284
+ "type": "string",
35285
+ "description": "The ID of the space being edited."
35286
+ },
35287
+ "reusableContent": {
35288
+ "$ref": "#/components/schemas/ChangedRevisionReusableContent"
35289
+ }
35290
+ },
35291
+ "required": [
35292
+ "tool",
35293
+ "spaceId",
35294
+ "reusableContent"
35295
+ ]
35296
+ },
35297
+ "AIToolCallEditReusableContent": {
35298
+ "type": "object",
35299
+ "properties": {
35300
+ "tool": {
35301
+ "type": "string",
35302
+ "enum": [
35303
+ "editReusableContent"
35304
+ ]
35305
+ },
35306
+ "spaceId": {
35307
+ "type": "string",
35308
+ "description": "The ID of the space being edited."
35309
+ },
35310
+ "reusableContent": {
35311
+ "$ref": "#/components/schemas/ChangedRevisionReusableContent"
35312
+ }
35313
+ },
35314
+ "required": [
35315
+ "tool",
35316
+ "spaceId",
35317
+ "reusableContent"
35318
+ ]
35319
+ },
35320
+ "AIToolCallGetReusableContent": {
35321
+ "type": "object",
35322
+ "properties": {
35323
+ "tool": {
35324
+ "type": "string",
35325
+ "enum": [
35326
+ "getReusableContent"
35327
+ ]
35328
+ },
35329
+ "spaceId": {
35330
+ "type": "string",
35331
+ "description": "The ID of the space being accessed."
35332
+ },
35333
+ "revisionId": {
35334
+ "type": "string",
35335
+ "description": "The ID of the revision within which the reusable content is being fetched."
35336
+ },
35337
+ "reusableContent": {
35338
+ "$ref": "#/components/schemas/ChangedRevisionReusableContent"
35339
+ }
35340
+ },
35341
+ "required": [
35342
+ "tool",
35343
+ "spaceId",
35344
+ "reusableContent",
35345
+ "revisionId"
35346
+ ]
35347
+ },
35530
35348
  "AIToolCallCreateChangeRequest": {
35531
35349
  "type": "object",
35532
35350
  "properties": {
@@ -35757,6 +35575,15 @@
35757
35575
  {
35758
35576
  "$ref": "#/components/schemas/AIToolCallGetPageDiff"
35759
35577
  },
35578
+ {
35579
+ "$ref": "#/components/schemas/AIToolCallCreateReusableContent"
35580
+ },
35581
+ {
35582
+ "$ref": "#/components/schemas/AIToolCallEditReusableContent"
35583
+ },
35584
+ {
35585
+ "$ref": "#/components/schemas/AIToolCallGetReusableContent"
35586
+ },
35760
35587
  {
35761
35588
  "$ref": "#/components/schemas/AIToolCallCreateChangeRequest"
35762
35589
  },
@@ -40055,6 +39882,18 @@
40055
39882
  }
40056
39883
  }
40057
39884
  },
39885
+ "BillingStatus": {
39886
+ "type": "string",
39887
+ "enum": [
39888
+ "trialing",
39889
+ "active",
39890
+ "past_due",
39891
+ "incomplete_expired",
39892
+ "canceled",
39893
+ "unpaid",
39894
+ "paused"
39895
+ ]
39896
+ },
40058
39897
  "APIIntegrationScope": {
40059
39898
  "type": "string",
40060
39899
  "enum": [
@@ -41539,51 +41378,6 @@
41539
41378
  "translation"
41540
41379
  ]
41541
41380
  },
41542
- "AgentTaskChannel": {
41543
- "type": "object",
41544
- "description": "Subscription channel for an agent task.",
41545
- "properties": {
41546
- "channel": {
41547
- "type": "string",
41548
- "enum": [
41549
- "agent-task"
41550
- ]
41551
- },
41552
- "organization": {
41553
- "type": "string",
41554
- "description": "The ID of the organization."
41555
- },
41556
- "agentTask": {
41557
- "type": "string",
41558
- "description": "The ID of the agent task."
41559
- }
41560
- },
41561
- "required": [
41562
- "channel",
41563
- "organization",
41564
- "agentTask"
41565
- ]
41566
- },
41567
- "AgentTasksChannel": {
41568
- "type": "object",
41569
- "description": "Subscription channel for agent tasks.",
41570
- "properties": {
41571
- "channel": {
41572
- "type": "string",
41573
- "enum": [
41574
- "agent-tasks"
41575
- ]
41576
- },
41577
- "organization": {
41578
- "type": "string",
41579
- "description": "The ID of the organization."
41580
- }
41581
- },
41582
- "required": [
41583
- "channel",
41584
- "organization"
41585
- ]
41586
- },
41587
41381
  "ImportRunChannel": {
41588
41382
  "type": "object",
41589
41383
  "properties": {
@@ -41809,12 +41603,6 @@
41809
41603
  {
41810
41604
  "$ref": "#/components/schemas/TranslationRunChannel"
41811
41605
  },
41812
- {
41813
- "$ref": "#/components/schemas/AgentTaskChannel"
41814
- },
41815
- {
41816
- "$ref": "#/components/schemas/AgentTasksChannel"
41817
- },
41818
41606
  {
41819
41607
  "$ref": "#/components/schemas/ImportRunChannel"
41820
41608
  }
@@ -42412,6 +42200,9 @@
42412
42200
  },
42413
42201
  "OpenAPISpecSourceURL": {
42414
42202
  "$ref": "#/components/schemas/URL"
42203
+ },
42204
+ "AgentsSetupState": {
42205
+ "$ref": "#/components/schemas/AgentSetupState"
42415
42206
  }
42416
42207
  },
42417
42208
  "responses": {