@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/dist/client.d.ts +96 -162
- package/dist/constants.d.ts +1 -1
- package/dist/index.cjs +56 -49
- package/dist/index.js +54 -47
- package/package.json +1 -1
- package/spec/openapi.json +360 -455
- package/spec/openapi.yaml +214 -297
package/spec/openapi.yaml
CHANGED
|
@@ -173,6 +173,12 @@ tags:
|
|
|
173
173
|
x-parent: sites
|
|
174
174
|
description: |
|
|
175
175
|
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.
|
|
176
|
+
- name: site-ai
|
|
177
|
+
x-page-title: Site AI
|
|
178
|
+
x-page-description: Build conversational AI agents for your docs site.
|
|
179
|
+
x-parent: sites
|
|
180
|
+
description: |
|
|
181
|
+
Build advanced conversational AI experiences within your docs site that go beyond basic Q&A.
|
|
176
182
|
- name: site-ask
|
|
177
183
|
x-page-title: Site AI ask
|
|
178
184
|
x-page-description: Allow AI-driven queries within a specific docs site.
|
|
@@ -1336,6 +1342,24 @@ paths:
|
|
|
1336
1342
|
type: array
|
|
1337
1343
|
items:
|
|
1338
1344
|
$ref: "#/components/schemas/ContentLocation"
|
|
1345
|
+
"/spaces/{spaceId}/content/page/{pageId}/meta-links":
|
|
1346
|
+
get:
|
|
1347
|
+
operationId: listSpacePageMetaLinks
|
|
1348
|
+
summary: List all meta links for a space page
|
|
1349
|
+
tags:
|
|
1350
|
+
- space-content
|
|
1351
|
+
security:
|
|
1352
|
+
- user: []
|
|
1353
|
+
parameters:
|
|
1354
|
+
- $ref: "#/components/parameters/spaceId"
|
|
1355
|
+
- $ref: "#/components/parameters/pageId"
|
|
1356
|
+
responses:
|
|
1357
|
+
"200":
|
|
1358
|
+
description: OK
|
|
1359
|
+
content:
|
|
1360
|
+
application/json:
|
|
1361
|
+
schema:
|
|
1362
|
+
$ref: "#/components/schemas/RevisionPageMetaLinks"
|
|
1339
1363
|
"/spaces/{spaceId}/content/path/{pagePath}":
|
|
1340
1364
|
get:
|
|
1341
1365
|
operationId: getPageByPath
|
|
@@ -1513,31 +1537,15 @@ paths:
|
|
|
1513
1537
|
content:
|
|
1514
1538
|
application/json:
|
|
1515
1539
|
schema:
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
additionalProperties: true
|
|
1526
|
-
- oneOf:
|
|
1527
|
-
- type: object
|
|
1528
|
-
properties:
|
|
1529
|
-
agentTaskId:
|
|
1530
|
-
type: string
|
|
1531
|
-
description: ID of the agent task to implement
|
|
1532
|
-
required:
|
|
1533
|
-
- agentTaskId
|
|
1534
|
-
- type: object
|
|
1535
|
-
properties:
|
|
1536
|
-
template:
|
|
1537
|
-
$ref: "#/components/schemas/ApplySpaceTemplate"
|
|
1538
|
-
description: Template to apply to the change request
|
|
1539
|
-
required:
|
|
1540
|
-
- template
|
|
1540
|
+
type: object
|
|
1541
|
+
properties:
|
|
1542
|
+
subject:
|
|
1543
|
+
type: string
|
|
1544
|
+
description: Subject of the change-request
|
|
1545
|
+
template:
|
|
1546
|
+
$ref: "#/components/schemas/ApplySpaceTemplate"
|
|
1547
|
+
description: Template to apply to the change request
|
|
1548
|
+
additionalProperties: true
|
|
1541
1549
|
get:
|
|
1542
1550
|
operationId: listChangeRequestsForSpace
|
|
1543
1551
|
summary: List all change requests
|
|
@@ -2430,6 +2438,25 @@ paths:
|
|
|
2430
2438
|
type: array
|
|
2431
2439
|
items:
|
|
2432
2440
|
$ref: "#/components/schemas/ContentLocation"
|
|
2441
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/meta-links":
|
|
2442
|
+
get:
|
|
2443
|
+
operationId: listChangeRequestPageMetaLinks
|
|
2444
|
+
summary: List all meta links of a change request page
|
|
2445
|
+
tags:
|
|
2446
|
+
- change-request-content
|
|
2447
|
+
security:
|
|
2448
|
+
- user: []
|
|
2449
|
+
parameters:
|
|
2450
|
+
- $ref: "#/components/parameters/spaceId"
|
|
2451
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
2452
|
+
- $ref: "#/components/parameters/pageId"
|
|
2453
|
+
responses:
|
|
2454
|
+
"200":
|
|
2455
|
+
description: OK
|
|
2456
|
+
content:
|
|
2457
|
+
application/json:
|
|
2458
|
+
schema:
|
|
2459
|
+
$ref: "#/components/schemas/RevisionPageMetaLinks"
|
|
2433
2460
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}":
|
|
2434
2461
|
get:
|
|
2435
2462
|
operationId: getReusableContentInChangeRequestById
|
|
@@ -2707,6 +2734,25 @@ paths:
|
|
|
2707
2734
|
oneOf:
|
|
2708
2735
|
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
2709
2736
|
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
2737
|
+
"/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/meta-links":
|
|
2738
|
+
get:
|
|
2739
|
+
operationId: listRevisionPageMetaLinks
|
|
2740
|
+
summary: List all meta links for a revision page
|
|
2741
|
+
tags:
|
|
2742
|
+
- space-content
|
|
2743
|
+
security:
|
|
2744
|
+
- user: []
|
|
2745
|
+
parameters:
|
|
2746
|
+
- $ref: "#/components/parameters/spaceId"
|
|
2747
|
+
- $ref: "#/components/parameters/revisionId"
|
|
2748
|
+
- $ref: "#/components/parameters/pageId"
|
|
2749
|
+
responses:
|
|
2750
|
+
"200":
|
|
2751
|
+
description: OK
|
|
2752
|
+
content:
|
|
2753
|
+
application/json:
|
|
2754
|
+
schema:
|
|
2755
|
+
$ref: "#/components/schemas/RevisionPageMetaLinks"
|
|
2710
2756
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}":
|
|
2711
2757
|
get:
|
|
2712
2758
|
operationId: getPageInChangeRequestByPath
|
|
@@ -6011,17 +6057,6 @@ paths:
|
|
|
6011
6057
|
- updatedAt
|
|
6012
6058
|
- issues
|
|
6013
6059
|
- conversations
|
|
6014
|
-
- tasksTotal
|
|
6015
|
-
- tasksBacklog
|
|
6016
|
-
- tasksStarted
|
|
6017
|
-
- name: status
|
|
6018
|
-
in: query
|
|
6019
|
-
description: Filter by status
|
|
6020
|
-
schema:
|
|
6021
|
-
type: string
|
|
6022
|
-
enum:
|
|
6023
|
-
- pending
|
|
6024
|
-
- analysing
|
|
6025
6060
|
security:
|
|
6026
6061
|
- user: []
|
|
6027
6062
|
responses:
|
|
@@ -6243,7 +6278,7 @@ paths:
|
|
|
6243
6278
|
content:
|
|
6244
6279
|
application/json:
|
|
6245
6280
|
schema:
|
|
6246
|
-
$ref: "#/components/schemas/
|
|
6281
|
+
$ref: "#/components/schemas/AgentSetupState"
|
|
6247
6282
|
"/orgs/{organizationId}/agent-instructions":
|
|
6248
6283
|
get:
|
|
6249
6284
|
operationId: getOrganizationAgentInstructions
|
|
@@ -6291,105 +6326,6 @@ paths:
|
|
|
6291
6326
|
application/json:
|
|
6292
6327
|
schema:
|
|
6293
6328
|
$ref: "#/components/schemas/OrganizationAgentInstructions"
|
|
6294
|
-
"/orgs/{organizationId}/agent-tasks":
|
|
6295
|
-
get:
|
|
6296
|
-
operationId: listAgentTasks
|
|
6297
|
-
summary: List agent tasks
|
|
6298
|
-
tags:
|
|
6299
|
-
- agents
|
|
6300
|
-
parameters:
|
|
6301
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6302
|
-
- $ref: "#/components/parameters/listPage"
|
|
6303
|
-
- $ref: "#/components/parameters/listLimit"
|
|
6304
|
-
- name: cluster
|
|
6305
|
-
in: query
|
|
6306
|
-
description: The ID of the conversations issues cluster to filter the agent tasks by
|
|
6307
|
-
schema:
|
|
6308
|
-
type: string
|
|
6309
|
-
- name: space
|
|
6310
|
-
in: query
|
|
6311
|
-
description: The ID of the space to filter the agent tasks by
|
|
6312
|
-
schema:
|
|
6313
|
-
type: string
|
|
6314
|
-
- name: status
|
|
6315
|
-
in: query
|
|
6316
|
-
description: The statuses of the agent tasks to filter by
|
|
6317
|
-
schema:
|
|
6318
|
-
type: array
|
|
6319
|
-
items:
|
|
6320
|
-
$ref: "#/components/schemas/AgentTaskStatus"
|
|
6321
|
-
security:
|
|
6322
|
-
- user: []
|
|
6323
|
-
responses:
|
|
6324
|
-
"200":
|
|
6325
|
-
description: OK
|
|
6326
|
-
content:
|
|
6327
|
-
application/json:
|
|
6328
|
-
schema:
|
|
6329
|
-
allOf:
|
|
6330
|
-
- $ref: "#/components/schemas/List"
|
|
6331
|
-
- type: object
|
|
6332
|
-
required:
|
|
6333
|
-
- items
|
|
6334
|
-
properties:
|
|
6335
|
-
items:
|
|
6336
|
-
type: array
|
|
6337
|
-
items:
|
|
6338
|
-
$ref: "#/components/schemas/AgentTask"
|
|
6339
|
-
"404":
|
|
6340
|
-
$ref: "#/components/responses/NotFoundError"
|
|
6341
|
-
"/orgs/{organizationId}/agent-tasks/{agentTaskId}":
|
|
6342
|
-
get:
|
|
6343
|
-
operationId: getAgentTask
|
|
6344
|
-
summary: Get an agent task by its identifier
|
|
6345
|
-
tags:
|
|
6346
|
-
- agents
|
|
6347
|
-
parameters:
|
|
6348
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6349
|
-
- $ref: "#/components/parameters/agentTaskId"
|
|
6350
|
-
security:
|
|
6351
|
-
- user: []
|
|
6352
|
-
responses:
|
|
6353
|
-
"200":
|
|
6354
|
-
description: OK
|
|
6355
|
-
content:
|
|
6356
|
-
application/json:
|
|
6357
|
-
schema:
|
|
6358
|
-
$ref: "#/components/schemas/AgentTask"
|
|
6359
|
-
"404":
|
|
6360
|
-
$ref: "#/components/responses/NotFoundError"
|
|
6361
|
-
patch:
|
|
6362
|
-
operationId: updateAgentTask
|
|
6363
|
-
summary: Update an agent task by its identifier
|
|
6364
|
-
tags:
|
|
6365
|
-
- agents
|
|
6366
|
-
parameters:
|
|
6367
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6368
|
-
- $ref: "#/components/parameters/agentTaskId"
|
|
6369
|
-
security:
|
|
6370
|
-
- user: []
|
|
6371
|
-
requestBody:
|
|
6372
|
-
required: true
|
|
6373
|
-
content:
|
|
6374
|
-
application/json:
|
|
6375
|
-
schema:
|
|
6376
|
-
type: object
|
|
6377
|
-
properties:
|
|
6378
|
-
status:
|
|
6379
|
-
type: string
|
|
6380
|
-
enum:
|
|
6381
|
-
- backlog
|
|
6382
|
-
- started
|
|
6383
|
-
- canceled
|
|
6384
|
-
required:
|
|
6385
|
-
- status
|
|
6386
|
-
responses:
|
|
6387
|
-
"200":
|
|
6388
|
-
description: OK
|
|
6389
|
-
content:
|
|
6390
|
-
application/json:
|
|
6391
|
-
schema:
|
|
6392
|
-
$ref: "#/components/schemas/AgentTask"
|
|
6393
6329
|
"/orgs/{organizationId}/translations":
|
|
6394
6330
|
get:
|
|
6395
6331
|
operationId: listTranslations
|
|
@@ -6830,6 +6766,10 @@ paths:
|
|
|
6830
6766
|
$ref: "#/components/schemas/ContentImportSource"
|
|
6831
6767
|
target:
|
|
6832
6768
|
$ref: "#/components/schemas/ContentImportTarget"
|
|
6769
|
+
enhance:
|
|
6770
|
+
description: Enhance the imported content with AI
|
|
6771
|
+
default: true
|
|
6772
|
+
type: boolean
|
|
6833
6773
|
required:
|
|
6834
6774
|
- source
|
|
6835
6775
|
- target
|
|
@@ -8714,7 +8654,7 @@ paths:
|
|
|
8714
8654
|
description: |
|
|
8715
8655
|
Generate an AI response in a conversation.
|
|
8716
8656
|
tags:
|
|
8717
|
-
-
|
|
8657
|
+
- site-ai
|
|
8718
8658
|
security:
|
|
8719
8659
|
- user: []
|
|
8720
8660
|
parameters:
|
|
@@ -8760,7 +8700,7 @@ paths:
|
|
|
8760
8700
|
description: |
|
|
8761
8701
|
Experimental operation to get an existing AI response in a site.
|
|
8762
8702
|
tags:
|
|
8763
|
-
-
|
|
8703
|
+
- site-ai
|
|
8764
8704
|
x-internal: true
|
|
8765
8705
|
security:
|
|
8766
8706
|
- user: []
|
|
@@ -9900,13 +9840,6 @@ components:
|
|
|
9900
9840
|
description: Identifier of the conversation
|
|
9901
9841
|
schema:
|
|
9902
9842
|
type: string
|
|
9903
|
-
agentTaskId:
|
|
9904
|
-
name: agentTaskId
|
|
9905
|
-
in: path
|
|
9906
|
-
required: true
|
|
9907
|
-
description: The unique id of the agent task
|
|
9908
|
-
schema:
|
|
9909
|
-
type: string
|
|
9910
9843
|
translationId:
|
|
9911
9844
|
name: translationId
|
|
9912
9845
|
in: path
|
|
@@ -13202,6 +13135,7 @@ components:
|
|
|
13202
13135
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
13203
13136
|
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
13204
13137
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
13138
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
13205
13139
|
data:
|
|
13206
13140
|
type: object
|
|
13207
13141
|
properties:
|
|
@@ -13274,6 +13208,7 @@ components:
|
|
|
13274
13208
|
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
13275
13209
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
13276
13210
|
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
13211
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
13277
13212
|
isVoid:
|
|
13278
13213
|
type: boolean
|
|
13279
13214
|
enum:
|
|
@@ -13323,6 +13258,91 @@ components:
|
|
|
13323
13258
|
- data
|
|
13324
13259
|
- nodes
|
|
13325
13260
|
- isVoid
|
|
13261
|
+
DocumentBlockUpdate:
|
|
13262
|
+
type: object
|
|
13263
|
+
properties:
|
|
13264
|
+
object:
|
|
13265
|
+
type: string
|
|
13266
|
+
enum:
|
|
13267
|
+
- block
|
|
13268
|
+
type:
|
|
13269
|
+
type: string
|
|
13270
|
+
enum:
|
|
13271
|
+
- update
|
|
13272
|
+
key:
|
|
13273
|
+
type: string
|
|
13274
|
+
nodes:
|
|
13275
|
+
type: array
|
|
13276
|
+
items:
|
|
13277
|
+
oneOf:
|
|
13278
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
13279
|
+
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
13280
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
13281
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
13282
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
13283
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
13284
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
13285
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
13286
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
13287
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
13288
|
+
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
13289
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
13290
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
13291
|
+
data:
|
|
13292
|
+
type: object
|
|
13293
|
+
properties:
|
|
13294
|
+
date:
|
|
13295
|
+
$ref: "#/components/schemas/Timestamp"
|
|
13296
|
+
tags:
|
|
13297
|
+
type: array
|
|
13298
|
+
items:
|
|
13299
|
+
type: string
|
|
13300
|
+
required:
|
|
13301
|
+
- date
|
|
13302
|
+
isVoid:
|
|
13303
|
+
type: boolean
|
|
13304
|
+
enum:
|
|
13305
|
+
- false
|
|
13306
|
+
required:
|
|
13307
|
+
- object
|
|
13308
|
+
- type
|
|
13309
|
+
- nodes
|
|
13310
|
+
- data
|
|
13311
|
+
DocumentBlockUpdates:
|
|
13312
|
+
type: object
|
|
13313
|
+
properties:
|
|
13314
|
+
object:
|
|
13315
|
+
type: string
|
|
13316
|
+
enum:
|
|
13317
|
+
- block
|
|
13318
|
+
type:
|
|
13319
|
+
type: string
|
|
13320
|
+
enum:
|
|
13321
|
+
- updates
|
|
13322
|
+
key:
|
|
13323
|
+
type: string
|
|
13324
|
+
nodes:
|
|
13325
|
+
type: array
|
|
13326
|
+
items:
|
|
13327
|
+
$ref: "#/components/schemas/DocumentBlockUpdate"
|
|
13328
|
+
isVoid:
|
|
13329
|
+
type: boolean
|
|
13330
|
+
enum:
|
|
13331
|
+
- false
|
|
13332
|
+
data:
|
|
13333
|
+
type: object
|
|
13334
|
+
properties:
|
|
13335
|
+
format:
|
|
13336
|
+
type: string
|
|
13337
|
+
enum:
|
|
13338
|
+
- numeric
|
|
13339
|
+
- full
|
|
13340
|
+
default: full
|
|
13341
|
+
additionalProperties: false
|
|
13342
|
+
required:
|
|
13343
|
+
- object
|
|
13344
|
+
- type
|
|
13345
|
+
- nodes
|
|
13326
13346
|
DocumentBlock:
|
|
13327
13347
|
oneOf:
|
|
13328
13348
|
- $ref: "#/components/schemas/DocumentBlockParagraph"
|
|
@@ -13358,6 +13378,8 @@ components:
|
|
|
13358
13378
|
- $ref: "#/components/schemas/DocumentBlockStepperStep"
|
|
13359
13379
|
- $ref: "#/components/schemas/DocumentBlockColumns"
|
|
13360
13380
|
- $ref: "#/components/schemas/DocumentBlockColumn"
|
|
13381
|
+
- $ref: "#/components/schemas/DocumentBlockUpdates"
|
|
13382
|
+
- $ref: "#/components/schemas/DocumentBlockUpdate"
|
|
13361
13383
|
DocumentInlineMention:
|
|
13362
13384
|
type: object
|
|
13363
13385
|
properties:
|
|
@@ -13526,6 +13548,9 @@ components:
|
|
|
13526
13548
|
type: boolean
|
|
13527
13549
|
description: If true, the page is not indexable by search engine robots.
|
|
13528
13550
|
default: false
|
|
13551
|
+
metaLinks:
|
|
13552
|
+
description: Meta links associated with the page.
|
|
13553
|
+
$ref: "#/components/schemas/RevisionPageMetaLinks"
|
|
13529
13554
|
required:
|
|
13530
13555
|
- kind
|
|
13531
13556
|
- type
|
|
@@ -13905,6 +13930,19 @@ components:
|
|
|
13905
13930
|
type: object
|
|
13906
13931
|
additionalProperties:
|
|
13907
13932
|
$ref: "#/components/schemas/VariableValue"
|
|
13933
|
+
RevisionPageMetaLinkTarget:
|
|
13934
|
+
oneOf:
|
|
13935
|
+
- $ref: "#/components/schemas/ContentRefPage"
|
|
13936
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
13937
|
+
RevisionPageMetaLinks:
|
|
13938
|
+
type: object
|
|
13939
|
+
properties:
|
|
13940
|
+
canonical:
|
|
13941
|
+
$ref: "#/components/schemas/RevisionPageMetaLinkTarget"
|
|
13942
|
+
alternates:
|
|
13943
|
+
type: array
|
|
13944
|
+
items:
|
|
13945
|
+
$ref: "#/components/schemas/RevisionPageMetaLinkTarget"
|
|
13908
13946
|
ComputedContentSourceDocumentOpenAPI:
|
|
13909
13947
|
allOf:
|
|
13910
13948
|
- $ref: "#/components/schemas/ComputedContentSourceOpenAPIBase"
|
|
@@ -14616,12 +14654,6 @@ components:
|
|
|
14616
14654
|
$ref: "#/components/schemas/BlockReason"
|
|
14617
14655
|
required:
|
|
14618
14656
|
- reason
|
|
14619
|
-
internal_isOnNewTrial:
|
|
14620
|
-
type: boolean
|
|
14621
|
-
description: Deprecated. Always true. All organizations are on new trials.
|
|
14622
|
-
deprecated: true
|
|
14623
|
-
enum:
|
|
14624
|
-
- true
|
|
14625
14657
|
internal_billingMigration:
|
|
14626
14658
|
type: object
|
|
14627
14659
|
properties:
|
|
@@ -19845,29 +19877,9 @@ components:
|
|
|
19845
19877
|
conversations:
|
|
19846
19878
|
type: number
|
|
19847
19879
|
description: The number of conversations in the conversations issues cluster
|
|
19848
|
-
tasksTotal:
|
|
19849
|
-
type: number
|
|
19850
|
-
description: The number of tasks in the conversations issues cluster
|
|
19851
|
-
tasksBacklog:
|
|
19852
|
-
type: number
|
|
19853
|
-
description: The number of tasks in the backlog in the conversations issues cluster
|
|
19854
|
-
tasksStarted:
|
|
19855
|
-
type: number
|
|
19856
|
-
description: The number of tasks done in the conversations issues cluster
|
|
19857
|
-
tasksCompleted:
|
|
19858
|
-
type: number
|
|
19859
|
-
description: The number of tasks completed in the conversations issues cluster
|
|
19860
|
-
tasksCancelled:
|
|
19861
|
-
type: number
|
|
19862
|
-
description: The number of tasks canceled in the conversations issues cluster
|
|
19863
19880
|
required:
|
|
19864
19881
|
- issues
|
|
19865
19882
|
- conversations
|
|
19866
|
-
- tasksTotal
|
|
19867
|
-
- tasksBacklog
|
|
19868
|
-
- tasksStarted
|
|
19869
|
-
- tasksCompleted
|
|
19870
|
-
- tasksCancelled
|
|
19871
19883
|
urls:
|
|
19872
19884
|
type: object
|
|
19873
19885
|
description: URLs associated with the conversations issues cluster
|
|
@@ -19876,12 +19888,7 @@ components:
|
|
|
19876
19888
|
type: string
|
|
19877
19889
|
description: URL of the conversations issues cluster in the API
|
|
19878
19890
|
format: uri
|
|
19879
|
-
app:
|
|
19880
|
-
type: string
|
|
19881
|
-
description: URL of the conversations issues cluster in the application
|
|
19882
|
-
format: uri
|
|
19883
19891
|
required:
|
|
19884
|
-
- app
|
|
19885
19892
|
- location
|
|
19886
19893
|
required:
|
|
19887
19894
|
- object
|
|
@@ -20047,7 +20054,7 @@ components:
|
|
|
20047
20054
|
- ingestedAt
|
|
20048
20055
|
- conversation
|
|
20049
20056
|
- urls
|
|
20050
|
-
|
|
20057
|
+
AgentSetupState:
|
|
20051
20058
|
type: object
|
|
20052
20059
|
description: State and settings of the agent
|
|
20053
20060
|
properties:
|
|
@@ -20058,18 +20065,6 @@ components:
|
|
|
20058
20065
|
type: object
|
|
20059
20066
|
description: The stats of the agent.
|
|
20060
20067
|
properties:
|
|
20061
|
-
backlogTasks:
|
|
20062
|
-
type: number
|
|
20063
|
-
description: The number of tasks in the backlog.
|
|
20064
|
-
startedTasks:
|
|
20065
|
-
type: number
|
|
20066
|
-
description: The number of tasks in progress.
|
|
20067
|
-
completedTasks:
|
|
20068
|
-
type: number
|
|
20069
|
-
description: The number of tasks that have been completed.
|
|
20070
|
-
canceledTasks:
|
|
20071
|
-
type: number
|
|
20072
|
-
description: The number of tasks that have been canceled.
|
|
20073
20068
|
conversations:
|
|
20074
20069
|
type: number
|
|
20075
20070
|
description: The number of conversations the agent has indexed.
|
|
@@ -20078,17 +20073,13 @@ components:
|
|
|
20078
20073
|
description: The number of issues the agent has indexed.
|
|
20079
20074
|
issuesClusters:
|
|
20080
20075
|
type: number
|
|
20081
|
-
description: The number of
|
|
20076
|
+
description: The number of issue clusters the agent has indexed.
|
|
20082
20077
|
sources:
|
|
20083
20078
|
type: object
|
|
20084
20079
|
additionalProperties:
|
|
20085
20080
|
type: number
|
|
20086
20081
|
description: The number of conversations ingested for the source
|
|
20087
20082
|
required:
|
|
20088
|
-
- backlogTasks
|
|
20089
|
-
- startedTasks
|
|
20090
|
-
- completedTasks
|
|
20091
|
-
- canceledTasks
|
|
20092
20083
|
- conversations
|
|
20093
20084
|
- issues
|
|
20094
20085
|
- issuesClusters
|
|
@@ -20132,74 +20123,6 @@ components:
|
|
|
20132
20123
|
- updatedAt
|
|
20133
20124
|
- updatedBy
|
|
20134
20125
|
- urls
|
|
20135
|
-
AgentTaskStatus:
|
|
20136
|
-
type: string
|
|
20137
|
-
description: |
|
|
20138
|
-
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.
|
|
20139
|
-
enum:
|
|
20140
|
-
- backlog
|
|
20141
|
-
- started
|
|
20142
|
-
- completed
|
|
20143
|
-
- canceled
|
|
20144
|
-
AgentTask:
|
|
20145
|
-
type: object
|
|
20146
|
-
properties:
|
|
20147
|
-
object:
|
|
20148
|
-
type: string
|
|
20149
|
-
enum:
|
|
20150
|
-
- agent-task
|
|
20151
|
-
id:
|
|
20152
|
-
type: string
|
|
20153
|
-
description: The ID of the agent task
|
|
20154
|
-
title:
|
|
20155
|
-
type: string
|
|
20156
|
-
description: The title of the agent task
|
|
20157
|
-
description:
|
|
20158
|
-
type: string
|
|
20159
|
-
description: The description of the agent task
|
|
20160
|
-
instructions:
|
|
20161
|
-
$ref: "#/components/schemas/JSONDocument"
|
|
20162
|
-
status:
|
|
20163
|
-
$ref: "#/components/schemas/AgentTaskStatus"
|
|
20164
|
-
createdAt:
|
|
20165
|
-
$ref: "#/components/schemas/Timestamp"
|
|
20166
|
-
updatedAt:
|
|
20167
|
-
$ref: "#/components/schemas/Timestamp"
|
|
20168
|
-
cluster:
|
|
20169
|
-
type: string
|
|
20170
|
-
description: ID of the cluster the agent task is associated with.
|
|
20171
|
-
space:
|
|
20172
|
-
type: string
|
|
20173
|
-
description: ID of the space the agent task will act on.
|
|
20174
|
-
changeRequest:
|
|
20175
|
-
type: string
|
|
20176
|
-
description: ID of the change request the agent task is associated with.
|
|
20177
|
-
urls:
|
|
20178
|
-
type: object
|
|
20179
|
-
description: URLs associated with the agent task
|
|
20180
|
-
properties:
|
|
20181
|
-
location:
|
|
20182
|
-
type: string
|
|
20183
|
-
description: URL of the agent task in the API
|
|
20184
|
-
format: uri
|
|
20185
|
-
app:
|
|
20186
|
-
type: string
|
|
20187
|
-
description: URL of the agent task in the application
|
|
20188
|
-
format: uri
|
|
20189
|
-
required:
|
|
20190
|
-
- app
|
|
20191
|
-
- location
|
|
20192
|
-
required:
|
|
20193
|
-
- object
|
|
20194
|
-
- id
|
|
20195
|
-
- title
|
|
20196
|
-
- description
|
|
20197
|
-
- instructions
|
|
20198
|
-
- space
|
|
20199
|
-
- status
|
|
20200
|
-
- createdAt
|
|
20201
|
-
- updatedAt
|
|
20202
|
-
- urls
|
|
20203
20126
|
TranslationStatus:
|
|
20204
20127
|
type: string
|
|
20205
20128
|
enum:
|
|
@@ -20532,7 +20455,9 @@ components:
|
|
|
20532
20455
|
enum:
|
|
20533
20456
|
- file
|
|
20534
20457
|
files:
|
|
20458
|
+
description: Files to import
|
|
20535
20459
|
type: array
|
|
20460
|
+
maxItems: 50
|
|
20536
20461
|
items:
|
|
20537
20462
|
description: Key of file
|
|
20538
20463
|
type: string
|
|
@@ -20575,7 +20500,7 @@ components:
|
|
|
20575
20500
|
- failed
|
|
20576
20501
|
- cancelled
|
|
20577
20502
|
pages:
|
|
20578
|
-
description:
|
|
20503
|
+
description: Pages included in the import
|
|
20579
20504
|
type: array
|
|
20580
20505
|
items:
|
|
20581
20506
|
type: object
|
|
@@ -20586,8 +20511,22 @@ components:
|
|
|
20586
20511
|
sourceURL:
|
|
20587
20512
|
description: Source URL where the page has been imported from
|
|
20588
20513
|
type: string
|
|
20514
|
+
type:
|
|
20515
|
+
description: Type of page
|
|
20516
|
+
type: string
|
|
20517
|
+
enum:
|
|
20518
|
+
- page
|
|
20519
|
+
- folder
|
|
20520
|
+
status:
|
|
20521
|
+
description: Status of the page
|
|
20522
|
+
type: string
|
|
20523
|
+
enum:
|
|
20524
|
+
- complete
|
|
20525
|
+
- pending
|
|
20589
20526
|
required:
|
|
20590
20527
|
- id
|
|
20528
|
+
- type
|
|
20529
|
+
- status
|
|
20591
20530
|
required:
|
|
20592
20531
|
- id
|
|
20593
20532
|
- status
|
|
@@ -25108,6 +25047,16 @@ components:
|
|
|
25108
25047
|
type: array
|
|
25109
25048
|
items:
|
|
25110
25049
|
$ref: "#/components/schemas/InputFile"
|
|
25050
|
+
BillingStatus:
|
|
25051
|
+
type: string
|
|
25052
|
+
enum:
|
|
25053
|
+
- trialing
|
|
25054
|
+
- active
|
|
25055
|
+
- past_due
|
|
25056
|
+
- incomplete_expired
|
|
25057
|
+
- canceled
|
|
25058
|
+
- unpaid
|
|
25059
|
+
- paused
|
|
25111
25060
|
APIIntegrationScope:
|
|
25112
25061
|
type: string
|
|
25113
25062
|
enum:
|
|
@@ -26101,38 +26050,6 @@ components:
|
|
|
26101
26050
|
required:
|
|
26102
26051
|
- channel
|
|
26103
26052
|
- translation
|
|
26104
|
-
AgentTaskChannel:
|
|
26105
|
-
type: object
|
|
26106
|
-
description: Subscription channel for an agent task.
|
|
26107
|
-
properties:
|
|
26108
|
-
channel:
|
|
26109
|
-
type: string
|
|
26110
|
-
enum:
|
|
26111
|
-
- agent-task
|
|
26112
|
-
organization:
|
|
26113
|
-
type: string
|
|
26114
|
-
description: The ID of the organization.
|
|
26115
|
-
agentTask:
|
|
26116
|
-
type: string
|
|
26117
|
-
description: The ID of the agent task.
|
|
26118
|
-
required:
|
|
26119
|
-
- channel
|
|
26120
|
-
- organization
|
|
26121
|
-
- agentTask
|
|
26122
|
-
AgentTasksChannel:
|
|
26123
|
-
type: object
|
|
26124
|
-
description: Subscription channel for agent tasks.
|
|
26125
|
-
properties:
|
|
26126
|
-
channel:
|
|
26127
|
-
type: string
|
|
26128
|
-
enum:
|
|
26129
|
-
- agent-tasks
|
|
26130
|
-
organization:
|
|
26131
|
-
type: string
|
|
26132
|
-
description: The ID of the organization.
|
|
26133
|
-
required:
|
|
26134
|
-
- channel
|
|
26135
|
-
- organization
|
|
26136
26053
|
ImportRunChannel:
|
|
26137
26054
|
type: object
|
|
26138
26055
|
properties:
|
|
@@ -26216,8 +26133,6 @@ components:
|
|
|
26216
26133
|
- $ref: "#/components/schemas/SubdomainChannel"
|
|
26217
26134
|
- $ref: "#/components/schemas/TranslationChannel"
|
|
26218
26135
|
- $ref: "#/components/schemas/TranslationRunChannel"
|
|
26219
|
-
- $ref: "#/components/schemas/AgentTaskChannel"
|
|
26220
|
-
- $ref: "#/components/schemas/AgentTasksChannel"
|
|
26221
26136
|
- $ref: "#/components/schemas/ImportRunChannel"
|
|
26222
26137
|
discriminator:
|
|
26223
26138
|
propertyName: channel
|
|
@@ -26614,6 +26529,8 @@ components:
|
|
|
26614
26529
|
$ref: "#/components/schemas/SiteRedirectDestinationSiteSpace"
|
|
26615
26530
|
OpenAPISpecSourceURL:
|
|
26616
26531
|
$ref: "#/components/schemas/URL"
|
|
26532
|
+
AgentsSetupState:
|
|
26533
|
+
$ref: "#/components/schemas/AgentSetupState"
|
|
26617
26534
|
responses:
|
|
26618
26535
|
NotFoundError:
|
|
26619
26536
|
description: Not Found
|