@gitbook/api 0.147.0 → 0.149.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",
@@ -1974,6 +1981,40 @@
1974
1981
  }
1975
1982
  }
1976
1983
  },
1984
+ "/spaces/{spaceId}/content/page/{pageId}/meta-links": {
1985
+ "get": {
1986
+ "operationId": "listSpacePageMetaLinks",
1987
+ "summary": "List all meta links for a space page",
1988
+ "tags": [
1989
+ "space-content"
1990
+ ],
1991
+ "security": [
1992
+ {
1993
+ "user": []
1994
+ }
1995
+ ],
1996
+ "parameters": [
1997
+ {
1998
+ "$ref": "#/components/parameters/spaceId"
1999
+ },
2000
+ {
2001
+ "$ref": "#/components/parameters/pageId"
2002
+ }
2003
+ ],
2004
+ "responses": {
2005
+ "200": {
2006
+ "description": "OK",
2007
+ "content": {
2008
+ "application/json": {
2009
+ "schema": {
2010
+ "$ref": "#/components/schemas/RevisionPageMetaLinks"
2011
+ }
2012
+ }
2013
+ }
2014
+ }
2015
+ }
2016
+ }
2017
+ },
1977
2018
  "/spaces/{spaceId}/content/path/{pagePath}": {
1978
2019
  "get": {
1979
2020
  "operationId": "getPageByPath",
@@ -2288,54 +2329,18 @@
2288
2329
  "content": {
2289
2330
  "application/json": {
2290
2331
  "schema": {
2291
- "allOf": [
2292
- {
2293
- "type": "object",
2294
- "properties": {
2295
- "subject": {
2296
- "type": "string",
2297
- "description": "Subject of the change-request"
2298
- }
2299
- }
2332
+ "type": "object",
2333
+ "properties": {
2334
+ "subject": {
2335
+ "type": "string",
2336
+ "description": "Subject of the change-request"
2300
2337
  },
2301
- {
2302
- "anyOf": [
2303
- {
2304
- "type": "object",
2305
- "properties": {},
2306
- "additionalProperties": true
2307
- },
2308
- {
2309
- "oneOf": [
2310
- {
2311
- "type": "object",
2312
- "properties": {
2313
- "agentTaskId": {
2314
- "type": "string",
2315
- "description": "ID of the agent task to implement"
2316
- }
2317
- },
2318
- "required": [
2319
- "agentTaskId"
2320
- ]
2321
- },
2322
- {
2323
- "type": "object",
2324
- "properties": {
2325
- "template": {
2326
- "$ref": "#/components/schemas/ApplySpaceTemplate",
2327
- "description": "Template to apply to the change request"
2328
- }
2329
- },
2330
- "required": [
2331
- "template"
2332
- ]
2333
- }
2334
- ]
2335
- }
2336
- ]
2338
+ "template": {
2339
+ "$ref": "#/components/schemas/ApplySpaceTemplate",
2340
+ "description": "Template to apply to the change request"
2337
2341
  }
2338
- ]
2342
+ },
2343
+ "additionalProperties": true
2339
2344
  }
2340
2345
  }
2341
2346
  }
@@ -4028,6 +4033,43 @@
4028
4033
  }
4029
4034
  }
4030
4035
  },
4036
+ "/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/meta-links": {
4037
+ "get": {
4038
+ "operationId": "listChangeRequestPageMetaLinks",
4039
+ "summary": "List all meta links of a change request page",
4040
+ "tags": [
4041
+ "change-request-content"
4042
+ ],
4043
+ "security": [
4044
+ {
4045
+ "user": []
4046
+ }
4047
+ ],
4048
+ "parameters": [
4049
+ {
4050
+ "$ref": "#/components/parameters/spaceId"
4051
+ },
4052
+ {
4053
+ "$ref": "#/components/parameters/changeRequestId"
4054
+ },
4055
+ {
4056
+ "$ref": "#/components/parameters/pageId"
4057
+ }
4058
+ ],
4059
+ "responses": {
4060
+ "200": {
4061
+ "description": "OK",
4062
+ "content": {
4063
+ "application/json": {
4064
+ "schema": {
4065
+ "$ref": "#/components/schemas/RevisionPageMetaLinks"
4066
+ }
4067
+ }
4068
+ }
4069
+ }
4070
+ }
4071
+ }
4072
+ },
4031
4073
  "/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}": {
4032
4074
  "get": {
4033
4075
  "operationId": "getReusableContentInChangeRequestById",
@@ -4571,6 +4613,43 @@
4571
4613
  }
4572
4614
  }
4573
4615
  },
4616
+ "/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/meta-links": {
4617
+ "get": {
4618
+ "operationId": "listRevisionPageMetaLinks",
4619
+ "summary": "List all meta links for a revision page",
4620
+ "tags": [
4621
+ "space-content"
4622
+ ],
4623
+ "security": [
4624
+ {
4625
+ "user": []
4626
+ }
4627
+ ],
4628
+ "parameters": [
4629
+ {
4630
+ "$ref": "#/components/parameters/spaceId"
4631
+ },
4632
+ {
4633
+ "$ref": "#/components/parameters/revisionId"
4634
+ },
4635
+ {
4636
+ "$ref": "#/components/parameters/pageId"
4637
+ }
4638
+ ],
4639
+ "responses": {
4640
+ "200": {
4641
+ "description": "OK",
4642
+ "content": {
4643
+ "application/json": {
4644
+ "schema": {
4645
+ "$ref": "#/components/schemas/RevisionPageMetaLinks"
4646
+ }
4647
+ }
4648
+ }
4649
+ }
4650
+ }
4651
+ }
4652
+ },
4574
4653
  "/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}": {
4575
4654
  "get": {
4576
4655
  "operationId": "getPageInChangeRequestByPath",
@@ -10569,22 +10648,7 @@
10569
10648
  "enum": [
10570
10649
  "updatedAt",
10571
10650
  "issues",
10572
- "conversations",
10573
- "tasksTotal",
10574
- "tasksBacklog",
10575
- "tasksStarted"
10576
- ]
10577
- }
10578
- },
10579
- {
10580
- "name": "status",
10581
- "in": "query",
10582
- "description": "Filter by status",
10583
- "schema": {
10584
- "type": "string",
10585
- "enum": [
10586
- "pending",
10587
- "analysing"
10651
+ "conversations"
10588
10652
  ]
10589
10653
  }
10590
10654
  }
@@ -10983,7 +11047,7 @@
10983
11047
  "content": {
10984
11048
  "application/json": {
10985
11049
  "schema": {
10986
- "$ref": "#/components/schemas/AgentsSetupState"
11050
+ "$ref": "#/components/schemas/AgentSetupState"
10987
11051
  }
10988
11052
  }
10989
11053
  }
@@ -11072,183 +11136,6 @@
11072
11136
  }
11073
11137
  }
11074
11138
  },
11075
- "/orgs/{organizationId}/agent-tasks": {
11076
- "get": {
11077
- "operationId": "listAgentTasks",
11078
- "summary": "List agent tasks",
11079
- "tags": [
11080
- "agents"
11081
- ],
11082
- "parameters": [
11083
- {
11084
- "$ref": "#/components/parameters/organizationId"
11085
- },
11086
- {
11087
- "$ref": "#/components/parameters/listPage"
11088
- },
11089
- {
11090
- "$ref": "#/components/parameters/listLimit"
11091
- },
11092
- {
11093
- "name": "cluster",
11094
- "in": "query",
11095
- "description": "The ID of the conversations issues cluster to filter the agent tasks by",
11096
- "schema": {
11097
- "type": "string"
11098
- }
11099
- },
11100
- {
11101
- "name": "space",
11102
- "in": "query",
11103
- "description": "The ID of the space to filter the agent tasks by",
11104
- "schema": {
11105
- "type": "string"
11106
- }
11107
- },
11108
- {
11109
- "name": "status",
11110
- "in": "query",
11111
- "description": "The statuses of the agent tasks to filter by",
11112
- "schema": {
11113
- "type": "array",
11114
- "items": {
11115
- "$ref": "#/components/schemas/AgentTaskStatus"
11116
- }
11117
- }
11118
- }
11119
- ],
11120
- "security": [
11121
- {
11122
- "user": []
11123
- }
11124
- ],
11125
- "responses": {
11126
- "200": {
11127
- "description": "OK",
11128
- "content": {
11129
- "application/json": {
11130
- "schema": {
11131
- "allOf": [
11132
- {
11133
- "$ref": "#/components/schemas/List"
11134
- },
11135
- {
11136
- "type": "object",
11137
- "required": [
11138
- "items"
11139
- ],
11140
- "properties": {
11141
- "items": {
11142
- "type": "array",
11143
- "items": {
11144
- "$ref": "#/components/schemas/AgentTask"
11145
- }
11146
- }
11147
- }
11148
- }
11149
- ]
11150
- }
11151
- }
11152
- }
11153
- },
11154
- "404": {
11155
- "$ref": "#/components/responses/NotFoundError"
11156
- }
11157
- }
11158
- }
11159
- },
11160
- "/orgs/{organizationId}/agent-tasks/{agentTaskId}": {
11161
- "get": {
11162
- "operationId": "getAgentTask",
11163
- "summary": "Get an agent task by its identifier",
11164
- "tags": [
11165
- "agents"
11166
- ],
11167
- "parameters": [
11168
- {
11169
- "$ref": "#/components/parameters/organizationId"
11170
- },
11171
- {
11172
- "$ref": "#/components/parameters/agentTaskId"
11173
- }
11174
- ],
11175
- "security": [
11176
- {
11177
- "user": []
11178
- }
11179
- ],
11180
- "responses": {
11181
- "200": {
11182
- "description": "OK",
11183
- "content": {
11184
- "application/json": {
11185
- "schema": {
11186
- "$ref": "#/components/schemas/AgentTask"
11187
- }
11188
- }
11189
- }
11190
- },
11191
- "404": {
11192
- "$ref": "#/components/responses/NotFoundError"
11193
- }
11194
- }
11195
- },
11196
- "patch": {
11197
- "operationId": "updateAgentTask",
11198
- "summary": "Update an agent task by its identifier",
11199
- "tags": [
11200
- "agents"
11201
- ],
11202
- "parameters": [
11203
- {
11204
- "$ref": "#/components/parameters/organizationId"
11205
- },
11206
- {
11207
- "$ref": "#/components/parameters/agentTaskId"
11208
- }
11209
- ],
11210
- "security": [
11211
- {
11212
- "user": []
11213
- }
11214
- ],
11215
- "requestBody": {
11216
- "required": true,
11217
- "content": {
11218
- "application/json": {
11219
- "schema": {
11220
- "type": "object",
11221
- "properties": {
11222
- "status": {
11223
- "type": "string",
11224
- "enum": [
11225
- "backlog",
11226
- "started",
11227
- "canceled"
11228
- ]
11229
- }
11230
- },
11231
- "required": [
11232
- "status"
11233
- ]
11234
- }
11235
- }
11236
- }
11237
- },
11238
- "responses": {
11239
- "200": {
11240
- "description": "OK",
11241
- "content": {
11242
- "application/json": {
11243
- "schema": {
11244
- "$ref": "#/components/schemas/AgentTask"
11245
- }
11246
- }
11247
- }
11248
- }
11249
- }
11250
- }
11251
- },
11252
11139
  "/orgs/{organizationId}/translations": {
11253
11140
  "get": {
11254
11141
  "operationId": "listTranslations",
@@ -12014,6 +11901,11 @@
12014
11901
  },
12015
11902
  "target": {
12016
11903
  "$ref": "#/components/schemas/ContentImportTarget"
11904
+ },
11905
+ "enhance": {
11906
+ "description": "Enhance the imported content with AI",
11907
+ "default": true,
11908
+ "type": "boolean"
12017
11909
  }
12018
11910
  },
12019
11911
  "required": [
@@ -15399,7 +15291,7 @@
15399
15291
  "summary": "Generate an AI response in a site",
15400
15292
  "description": "Generate an AI response in a conversation.\n",
15401
15293
  "tags": [
15402
- "sites"
15294
+ "site-ai"
15403
15295
  ],
15404
15296
  "security": [
15405
15297
  {
@@ -15473,7 +15365,7 @@
15473
15365
  "summary": "Get an existing AI response in a site",
15474
15366
  "description": "Experimental operation to get an existing AI response in a site.\n",
15475
15367
  "tags": [
15476
- "sites"
15368
+ "site-ai"
15477
15369
  ],
15478
15370
  "x-internal": true,
15479
15371
  "security": [
@@ -17303,15 +17195,6 @@
17303
17195
  "type": "string"
17304
17196
  }
17305
17197
  },
17306
- "agentTaskId": {
17307
- "name": "agentTaskId",
17308
- "in": "path",
17309
- "required": true,
17310
- "description": "The unique id of the agent task",
17311
- "schema": {
17312
- "type": "string"
17313
- }
17314
- },
17315
17198
  "translationId": {
17316
17199
  "name": "translationId",
17317
17200
  "in": "path",
@@ -22379,6 +22262,9 @@
22379
22262
  },
22380
22263
  {
22381
22264
  "$ref": "#/components/schemas/DocumentBlockIntegration"
22265
+ },
22266
+ {
22267
+ "$ref": "#/components/schemas/DocumentBlockExpandable"
22382
22268
  }
22383
22269
  ]
22384
22270
  }
@@ -22504,6 +22390,9 @@
22504
22390
  },
22505
22391
  {
22506
22392
  "$ref": "#/components/schemas/DocumentBlockTable"
22393
+ },
22394
+ {
22395
+ "$ref": "#/components/schemas/DocumentBlockExpandable"
22507
22396
  }
22508
22397
  ]
22509
22398
  }
@@ -22581,6 +22470,152 @@
22581
22470
  "isVoid"
22582
22471
  ]
22583
22472
  },
22473
+ "DocumentBlockUpdate": {
22474
+ "type": "object",
22475
+ "properties": {
22476
+ "object": {
22477
+ "type": "string",
22478
+ "enum": [
22479
+ "block"
22480
+ ]
22481
+ },
22482
+ "type": {
22483
+ "type": "string",
22484
+ "enum": [
22485
+ "update"
22486
+ ]
22487
+ },
22488
+ "key": {
22489
+ "type": "string"
22490
+ },
22491
+ "nodes": {
22492
+ "type": "array",
22493
+ "items": {
22494
+ "oneOf": [
22495
+ {
22496
+ "$ref": "#/components/schemas/DocumentBlocksEssentials"
22497
+ },
22498
+ {
22499
+ "$ref": "#/components/schemas/DocumentBlockContentRef"
22500
+ },
22501
+ {
22502
+ "$ref": "#/components/schemas/DocumentBlockCode"
22503
+ },
22504
+ {
22505
+ "$ref": "#/components/schemas/DocumentBlockEmbed"
22506
+ },
22507
+ {
22508
+ "$ref": "#/components/schemas/DocumentBlockFile"
22509
+ },
22510
+ {
22511
+ "$ref": "#/components/schemas/DocumentBlockImages"
22512
+ },
22513
+ {
22514
+ "$ref": "#/components/schemas/DocumentBlockDrawing"
22515
+ },
22516
+ {
22517
+ "$ref": "#/components/schemas/DocumentBlockHint"
22518
+ },
22519
+ {
22520
+ "$ref": "#/components/schemas/DocumentBlockQuote"
22521
+ },
22522
+ {
22523
+ "$ref": "#/components/schemas/DocumentBlockMath"
22524
+ },
22525
+ {
22526
+ "$ref": "#/components/schemas/DocumentBlockIntegration"
22527
+ },
22528
+ {
22529
+ "$ref": "#/components/schemas/DocumentBlockTabs"
22530
+ },
22531
+ {
22532
+ "$ref": "#/components/schemas/DocumentBlockExpandable"
22533
+ }
22534
+ ]
22535
+ }
22536
+ },
22537
+ "data": {
22538
+ "type": "object",
22539
+ "properties": {
22540
+ "date": {
22541
+ "$ref": "#/components/schemas/Timestamp"
22542
+ },
22543
+ "tags": {
22544
+ "type": "array",
22545
+ "items": {
22546
+ "type": "string"
22547
+ }
22548
+ }
22549
+ },
22550
+ "required": [
22551
+ "date"
22552
+ ]
22553
+ },
22554
+ "isVoid": {
22555
+ "type": "boolean",
22556
+ "enum": [
22557
+ false
22558
+ ]
22559
+ }
22560
+ },
22561
+ "required": [
22562
+ "object",
22563
+ "type",
22564
+ "nodes",
22565
+ "data"
22566
+ ]
22567
+ },
22568
+ "DocumentBlockUpdates": {
22569
+ "type": "object",
22570
+ "properties": {
22571
+ "object": {
22572
+ "type": "string",
22573
+ "enum": [
22574
+ "block"
22575
+ ]
22576
+ },
22577
+ "type": {
22578
+ "type": "string",
22579
+ "enum": [
22580
+ "updates"
22581
+ ]
22582
+ },
22583
+ "key": {
22584
+ "type": "string"
22585
+ },
22586
+ "nodes": {
22587
+ "type": "array",
22588
+ "items": {
22589
+ "$ref": "#/components/schemas/DocumentBlockUpdate"
22590
+ }
22591
+ },
22592
+ "isVoid": {
22593
+ "type": "boolean",
22594
+ "enum": [
22595
+ false
22596
+ ]
22597
+ },
22598
+ "data": {
22599
+ "type": "object",
22600
+ "properties": {
22601
+ "format": {
22602
+ "type": "string",
22603
+ "enum": [
22604
+ "numeric",
22605
+ "full"
22606
+ ],
22607
+ "default": "full"
22608
+ }
22609
+ },
22610
+ "additionalProperties": false
22611
+ }
22612
+ },
22613
+ "required": [
22614
+ "object",
22615
+ "type",
22616
+ "nodes"
22617
+ ]
22618
+ },
22584
22619
  "DocumentBlock": {
22585
22620
  "oneOf": [
22586
22621
  {
@@ -22681,6 +22716,12 @@
22681
22716
  },
22682
22717
  {
22683
22718
  "$ref": "#/components/schemas/DocumentBlockColumn"
22719
+ },
22720
+ {
22721
+ "$ref": "#/components/schemas/DocumentBlockUpdates"
22722
+ },
22723
+ {
22724
+ "$ref": "#/components/schemas/DocumentBlockUpdate"
22684
22725
  }
22685
22726
  ]
22686
22727
  },
@@ -22946,6 +22987,10 @@
22946
22987
  "type": "boolean",
22947
22988
  "description": "If true, the page is not indexable by search engine robots.",
22948
22989
  "default": false
22990
+ },
22991
+ "metaLinks": {
22992
+ "description": "Meta links associated with the page.",
22993
+ "$ref": "#/components/schemas/RevisionPageMetaLinks"
22949
22994
  }
22950
22995
  },
22951
22996
  "required": [
@@ -23547,6 +23592,30 @@
23547
23592
  "$ref": "#/components/schemas/VariableValue"
23548
23593
  }
23549
23594
  },
23595
+ "RevisionPageMetaLinkTarget": {
23596
+ "oneOf": [
23597
+ {
23598
+ "$ref": "#/components/schemas/ContentRefPage"
23599
+ },
23600
+ {
23601
+ "$ref": "#/components/schemas/ContentRefURL"
23602
+ }
23603
+ ]
23604
+ },
23605
+ "RevisionPageMetaLinks": {
23606
+ "type": "object",
23607
+ "properties": {
23608
+ "canonical": {
23609
+ "$ref": "#/components/schemas/RevisionPageMetaLinkTarget"
23610
+ },
23611
+ "alternates": {
23612
+ "type": "array",
23613
+ "items": {
23614
+ "$ref": "#/components/schemas/RevisionPageMetaLinkTarget"
23615
+ }
23616
+ }
23617
+ }
23618
+ },
23550
23619
  "ComputedContentSourceDocumentOpenAPI": {
23551
23620
  "allOf": [
23552
23621
  {
@@ -24603,14 +24672,6 @@
24603
24672
  "reason"
24604
24673
  ]
24605
24674
  },
24606
- "internal_isOnNewTrial": {
24607
- "type": "boolean",
24608
- "description": "Deprecated. Always true. All organizations are on new trials.",
24609
- "deprecated": true,
24610
- "enum": [
24611
- true
24612
- ]
24613
- },
24614
24675
  "internal_billingMigration": {
24615
24676
  "type": "object",
24616
24677
  "properties": {
@@ -32407,36 +32468,11 @@
32407
32468
  "conversations": {
32408
32469
  "type": "number",
32409
32470
  "description": "The number of conversations in the conversations issues cluster"
32410
- },
32411
- "tasksTotal": {
32412
- "type": "number",
32413
- "description": "The number of tasks in the conversations issues cluster"
32414
- },
32415
- "tasksBacklog": {
32416
- "type": "number",
32417
- "description": "The number of tasks in the backlog in the conversations issues cluster"
32418
- },
32419
- "tasksStarted": {
32420
- "type": "number",
32421
- "description": "The number of tasks done in the conversations issues cluster"
32422
- },
32423
- "tasksCompleted": {
32424
- "type": "number",
32425
- "description": "The number of tasks completed in the conversations issues cluster"
32426
- },
32427
- "tasksCancelled": {
32428
- "type": "number",
32429
- "description": "The number of tasks canceled in the conversations issues cluster"
32430
32471
  }
32431
32472
  },
32432
32473
  "required": [
32433
32474
  "issues",
32434
- "conversations",
32435
- "tasksTotal",
32436
- "tasksBacklog",
32437
- "tasksStarted",
32438
- "tasksCompleted",
32439
- "tasksCancelled"
32475
+ "conversations"
32440
32476
  ]
32441
32477
  },
32442
32478
  "urls": {
@@ -32447,15 +32483,9 @@
32447
32483
  "type": "string",
32448
32484
  "description": "URL of the conversations issues cluster in the API",
32449
32485
  "format": "uri"
32450
- },
32451
- "app": {
32452
- "type": "string",
32453
- "description": "URL of the conversations issues cluster in the application",
32454
- "format": "uri"
32455
32486
  }
32456
32487
  },
32457
32488
  "required": [
32458
- "app",
32459
32489
  "location"
32460
32490
  ]
32461
32491
  }
@@ -32690,7 +32720,7 @@
32690
32720
  "urls"
32691
32721
  ]
32692
32722
  },
32693
- "AgentsSetupState": {
32723
+ "AgentSetupState": {
32694
32724
  "type": "object",
32695
32725
  "description": "State and settings of the agent",
32696
32726
  "properties": {
@@ -32702,22 +32732,6 @@
32702
32732
  "type": "object",
32703
32733
  "description": "The stats of the agent.",
32704
32734
  "properties": {
32705
- "backlogTasks": {
32706
- "type": "number",
32707
- "description": "The number of tasks in the backlog."
32708
- },
32709
- "startedTasks": {
32710
- "type": "number",
32711
- "description": "The number of tasks in progress."
32712
- },
32713
- "completedTasks": {
32714
- "type": "number",
32715
- "description": "The number of tasks that have been completed."
32716
- },
32717
- "canceledTasks": {
32718
- "type": "number",
32719
- "description": "The number of tasks that have been canceled."
32720
- },
32721
32735
  "conversations": {
32722
32736
  "type": "number",
32723
32737
  "description": "The number of conversations the agent has indexed."
@@ -32728,7 +32742,7 @@
32728
32742
  },
32729
32743
  "issuesClusters": {
32730
32744
  "type": "number",
32731
- "description": "The number of issues clusters the agent has indexed."
32745
+ "description": "The number of issue clusters the agent has indexed."
32732
32746
  },
32733
32747
  "sources": {
32734
32748
  "type": "object",
@@ -32739,10 +32753,6 @@
32739
32753
  }
32740
32754
  },
32741
32755
  "required": [
32742
- "backlogTasks",
32743
- "startedTasks",
32744
- "completedTasks",
32745
- "canceledTasks",
32746
32756
  "conversations",
32747
32757
  "issues",
32748
32758
  "issuesClusters",
@@ -32804,95 +32814,6 @@
32804
32814
  "urls"
32805
32815
  ]
32806
32816
  },
32807
- "AgentTaskStatus": {
32808
- "type": "string",
32809
- "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",
32810
- "enum": [
32811
- "backlog",
32812
- "started",
32813
- "completed",
32814
- "canceled"
32815
- ]
32816
- },
32817
- "AgentTask": {
32818
- "type": "object",
32819
- "properties": {
32820
- "object": {
32821
- "type": "string",
32822
- "enum": [
32823
- "agent-task"
32824
- ]
32825
- },
32826
- "id": {
32827
- "type": "string",
32828
- "description": "The ID of the agent task"
32829
- },
32830
- "title": {
32831
- "type": "string",
32832
- "description": "The title of the agent task"
32833
- },
32834
- "description": {
32835
- "type": "string",
32836
- "description": "The description of the agent task"
32837
- },
32838
- "instructions": {
32839
- "$ref": "#/components/schemas/JSONDocument"
32840
- },
32841
- "status": {
32842
- "$ref": "#/components/schemas/AgentTaskStatus"
32843
- },
32844
- "createdAt": {
32845
- "$ref": "#/components/schemas/Timestamp"
32846
- },
32847
- "updatedAt": {
32848
- "$ref": "#/components/schemas/Timestamp"
32849
- },
32850
- "cluster": {
32851
- "type": "string",
32852
- "description": "ID of the cluster the agent task is associated with."
32853
- },
32854
- "space": {
32855
- "type": "string",
32856
- "description": "ID of the space the agent task will act on."
32857
- },
32858
- "changeRequest": {
32859
- "type": "string",
32860
- "description": "ID of the change request the agent task is associated with."
32861
- },
32862
- "urls": {
32863
- "type": "object",
32864
- "description": "URLs associated with the agent task",
32865
- "properties": {
32866
- "location": {
32867
- "type": "string",
32868
- "description": "URL of the agent task in the API",
32869
- "format": "uri"
32870
- },
32871
- "app": {
32872
- "type": "string",
32873
- "description": "URL of the agent task in the application",
32874
- "format": "uri"
32875
- }
32876
- },
32877
- "required": [
32878
- "app",
32879
- "location"
32880
- ]
32881
- }
32882
- },
32883
- "required": [
32884
- "object",
32885
- "id",
32886
- "title",
32887
- "description",
32888
- "instructions",
32889
- "space",
32890
- "status",
32891
- "createdAt",
32892
- "updatedAt",
32893
- "urls"
32894
- ]
32895
- },
32896
32817
  "TranslationStatus": {
32897
32818
  "type": "string",
32898
32819
  "enum": [
@@ -33363,7 +33284,9 @@
33363
33284
  ]
33364
33285
  },
33365
33286
  "files": {
33287
+ "description": "Files to import",
33366
33288
  "type": "array",
33289
+ "maxItems": 50,
33367
33290
  "items": {
33368
33291
  "description": "Key of file",
33369
33292
  "type": "string"
@@ -33424,7 +33347,7 @@
33424
33347
  ]
33425
33348
  },
33426
33349
  "pages": {
33427
- "description": "Imported pages",
33350
+ "description": "Pages included in the import",
33428
33351
  "type": "array",
33429
33352
  "items": {
33430
33353
  "type": "object",
@@ -33436,10 +33359,28 @@
33436
33359
  "sourceURL": {
33437
33360
  "description": "Source URL where the page has been imported from",
33438
33361
  "type": "string"
33362
+ },
33363
+ "type": {
33364
+ "description": "Type of page",
33365
+ "type": "string",
33366
+ "enum": [
33367
+ "page",
33368
+ "folder"
33369
+ ]
33370
+ },
33371
+ "status": {
33372
+ "description": "Status of the page",
33373
+ "type": "string",
33374
+ "enum": [
33375
+ "complete",
33376
+ "pending"
33377
+ ]
33439
33378
  }
33440
33379
  },
33441
33380
  "required": [
33442
- "id"
33381
+ "id",
33382
+ "type",
33383
+ "status"
33443
33384
  ]
33444
33385
  }
33445
33386
  }
@@ -40229,6 +40170,18 @@
40229
40170
  }
40230
40171
  }
40231
40172
  },
40173
+ "BillingStatus": {
40174
+ "type": "string",
40175
+ "enum": [
40176
+ "trialing",
40177
+ "active",
40178
+ "past_due",
40179
+ "incomplete_expired",
40180
+ "canceled",
40181
+ "unpaid",
40182
+ "paused"
40183
+ ]
40184
+ },
40232
40185
  "APIIntegrationScope": {
40233
40186
  "type": "string",
40234
40187
  "enum": [
@@ -41713,51 +41666,6 @@
41713
41666
  "translation"
41714
41667
  ]
41715
41668
  },
41716
- "AgentTaskChannel": {
41717
- "type": "object",
41718
- "description": "Subscription channel for an agent task.",
41719
- "properties": {
41720
- "channel": {
41721
- "type": "string",
41722
- "enum": [
41723
- "agent-task"
41724
- ]
41725
- },
41726
- "organization": {
41727
- "type": "string",
41728
- "description": "The ID of the organization."
41729
- },
41730
- "agentTask": {
41731
- "type": "string",
41732
- "description": "The ID of the agent task."
41733
- }
41734
- },
41735
- "required": [
41736
- "channel",
41737
- "organization",
41738
- "agentTask"
41739
- ]
41740
- },
41741
- "AgentTasksChannel": {
41742
- "type": "object",
41743
- "description": "Subscription channel for agent tasks.",
41744
- "properties": {
41745
- "channel": {
41746
- "type": "string",
41747
- "enum": [
41748
- "agent-tasks"
41749
- ]
41750
- },
41751
- "organization": {
41752
- "type": "string",
41753
- "description": "The ID of the organization."
41754
- }
41755
- },
41756
- "required": [
41757
- "channel",
41758
- "organization"
41759
- ]
41760
- },
41761
41669
  "ImportRunChannel": {
41762
41670
  "type": "object",
41763
41671
  "properties": {
@@ -41983,12 +41891,6 @@
41983
41891
  {
41984
41892
  "$ref": "#/components/schemas/TranslationRunChannel"
41985
41893
  },
41986
- {
41987
- "$ref": "#/components/schemas/AgentTaskChannel"
41988
- },
41989
- {
41990
- "$ref": "#/components/schemas/AgentTasksChannel"
41991
- },
41992
41894
  {
41993
41895
  "$ref": "#/components/schemas/ImportRunChannel"
41994
41896
  }
@@ -42586,6 +42488,9 @@
42586
42488
  },
42587
42489
  "OpenAPISpecSourceURL": {
42588
42490
  "$ref": "#/components/schemas/URL"
42491
+ },
42492
+ "AgentsSetupState": {
42493
+ "$ref": "#/components/schemas/AgentSetupState"
42589
42494
  }
42590
42495
  },
42591
42496
  "responses": {