@gitbook/api 0.115.0 → 0.117.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 +649 -164
- package/dist/index.cjs +114 -34
- package/dist/index.js +111 -30
- package/package.json +1 -1
- package/spec/openapi.json +2279 -791
- package/spec/openapi.yaml +1418 -438
package/spec/openapi.yaml
CHANGED
|
@@ -350,6 +350,16 @@ tags:
|
|
|
350
350
|
{% openapi-schemas spec="gitbook" schemas="OpenAPISpecVersion" grouped="false" %}
|
|
351
351
|
The OpenAPISpecVersion object
|
|
352
352
|
{% endopenapi-schemas %}
|
|
353
|
+
- name: conversations
|
|
354
|
+
x-page-icon: robot
|
|
355
|
+
x-page-title: Conversations
|
|
356
|
+
x-page-description: Ingest knowledge for Conversations.
|
|
357
|
+
description: |
|
|
358
|
+
The Conversations endpoints let you ingest, manage, and monitor Conversations in GitBook to be processed by Docs Agents.
|
|
359
|
+
|
|
360
|
+
{% openapi-schemas spec="gitbook" schemas="ConversationsIssuesCluster" grouped="false" %}
|
|
361
|
+
The ConversationsIssuesCluster object
|
|
362
|
+
{% endopenapi-schemas %}
|
|
353
363
|
- name: custom-fonts
|
|
354
364
|
x-page-icon: font
|
|
355
365
|
x-page-title: Custom fonts
|
|
@@ -512,6 +522,43 @@ paths:
|
|
|
512
522
|
"404":
|
|
513
523
|
description: User not found
|
|
514
524
|
$ref: "#/components/responses/NotFoundError"
|
|
525
|
+
patch:
|
|
526
|
+
operationId: updateUserById
|
|
527
|
+
summary: Update a user by its ID
|
|
528
|
+
tags:
|
|
529
|
+
- users
|
|
530
|
+
- critical
|
|
531
|
+
security:
|
|
532
|
+
- user: []
|
|
533
|
+
description: |
|
|
534
|
+
Update a GitBook account's details.
|
|
535
|
+
parameters:
|
|
536
|
+
- $ref: "#/components/parameters/userId"
|
|
537
|
+
requestBody:
|
|
538
|
+
required: true
|
|
539
|
+
content:
|
|
540
|
+
application/json:
|
|
541
|
+
schema:
|
|
542
|
+
type: object
|
|
543
|
+
minProperties: 1
|
|
544
|
+
properties:
|
|
545
|
+
displayName:
|
|
546
|
+
type: string
|
|
547
|
+
description: Full name for the user
|
|
548
|
+
minLength: 1
|
|
549
|
+
maxLength: 64
|
|
550
|
+
photoURL:
|
|
551
|
+
$ref: "#/components/schemas/URL"
|
|
552
|
+
responses:
|
|
553
|
+
"200":
|
|
554
|
+
description: The user has been updated
|
|
555
|
+
content:
|
|
556
|
+
application/json:
|
|
557
|
+
schema:
|
|
558
|
+
$ref: "#/components/schemas/User"
|
|
559
|
+
"404":
|
|
560
|
+
description: User not found
|
|
561
|
+
$ref: "#/components/responses/NotFoundError"
|
|
515
562
|
"/spaces/{spaceId}":
|
|
516
563
|
get:
|
|
517
564
|
operationId: getSpaceById
|
|
@@ -1459,7 +1506,14 @@ paths:
|
|
|
1459
1506
|
content:
|
|
1460
1507
|
application/json:
|
|
1461
1508
|
schema:
|
|
1462
|
-
|
|
1509
|
+
type: object
|
|
1510
|
+
properties:
|
|
1511
|
+
subject:
|
|
1512
|
+
type: string
|
|
1513
|
+
description: Subject of the change-request
|
|
1514
|
+
agentTaskId:
|
|
1515
|
+
type: string
|
|
1516
|
+
description: ID of the agent task to implement
|
|
1463
1517
|
get:
|
|
1464
1518
|
operationId: listChangeRequestsForSpace
|
|
1465
1519
|
summary: List all change requests
|
|
@@ -1819,6 +1873,7 @@ paths:
|
|
|
1819
1873
|
- $ref: "#/components/parameters/documentFormat"
|
|
1820
1874
|
- $ref: "#/components/parameters/status"
|
|
1821
1875
|
- $ref: "#/components/parameters/targetPage"
|
|
1876
|
+
- $ref: "#/components/parameters/authors"
|
|
1822
1877
|
responses:
|
|
1823
1878
|
"200":
|
|
1824
1879
|
description: OK
|
|
@@ -2626,6 +2681,7 @@ paths:
|
|
|
2626
2681
|
- $ref: "#/components/parameters/status"
|
|
2627
2682
|
- $ref: "#/components/parameters/documentFormat"
|
|
2628
2683
|
- $ref: "#/components/parameters/targetPage"
|
|
2684
|
+
- $ref: "#/components/parameters/authors"
|
|
2629
2685
|
responses:
|
|
2630
2686
|
"200":
|
|
2631
2687
|
description: OK
|
|
@@ -2830,6 +2886,67 @@ paths:
|
|
|
2830
2886
|
responses:
|
|
2831
2887
|
"205":
|
|
2832
2888
|
description: The comment has been deleted.
|
|
2889
|
+
"/spaces/{spaceId}/commenters":
|
|
2890
|
+
get:
|
|
2891
|
+
operationId: listCommentersInSpace
|
|
2892
|
+
summary: List all users who commented in a space
|
|
2893
|
+
tags:
|
|
2894
|
+
- space-comments
|
|
2895
|
+
- critical
|
|
2896
|
+
security:
|
|
2897
|
+
- user: []
|
|
2898
|
+
parameters:
|
|
2899
|
+
- $ref: "#/components/parameters/spaceId"
|
|
2900
|
+
- $ref: "#/components/parameters/listPage"
|
|
2901
|
+
- $ref: "#/components/parameters/listLimit"
|
|
2902
|
+
responses:
|
|
2903
|
+
"200":
|
|
2904
|
+
description: OK
|
|
2905
|
+
content:
|
|
2906
|
+
application/json:
|
|
2907
|
+
schema:
|
|
2908
|
+
allOf:
|
|
2909
|
+
- $ref: "#/components/schemas/List"
|
|
2910
|
+
- type: object
|
|
2911
|
+
required:
|
|
2912
|
+
- items
|
|
2913
|
+
- total
|
|
2914
|
+
properties:
|
|
2915
|
+
items:
|
|
2916
|
+
type: array
|
|
2917
|
+
items:
|
|
2918
|
+
$ref: "#/components/schemas/OrganizationMember"
|
|
2919
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/commenters":
|
|
2920
|
+
get:
|
|
2921
|
+
operationId: listCommentersInChangeRequest
|
|
2922
|
+
summary: List all users who commented in a CR
|
|
2923
|
+
tags:
|
|
2924
|
+
- change-request-comments
|
|
2925
|
+
- critical
|
|
2926
|
+
security:
|
|
2927
|
+
- user: []
|
|
2928
|
+
parameters:
|
|
2929
|
+
- $ref: "#/components/parameters/spaceId"
|
|
2930
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
2931
|
+
- $ref: "#/components/parameters/listPage"
|
|
2932
|
+
- $ref: "#/components/parameters/listLimit"
|
|
2933
|
+
responses:
|
|
2934
|
+
"200":
|
|
2935
|
+
description: OK
|
|
2936
|
+
content:
|
|
2937
|
+
application/json:
|
|
2938
|
+
schema:
|
|
2939
|
+
allOf:
|
|
2940
|
+
- $ref: "#/components/schemas/List"
|
|
2941
|
+
- type: object
|
|
2942
|
+
required:
|
|
2943
|
+
- items
|
|
2944
|
+
- total
|
|
2945
|
+
properties:
|
|
2946
|
+
items:
|
|
2947
|
+
type: array
|
|
2948
|
+
items:
|
|
2949
|
+
$ref: "#/components/schemas/OrganizationMember"
|
|
2833
2950
|
"/spaces/{spaceId}/permissions/aggregate":
|
|
2834
2951
|
get:
|
|
2835
2952
|
operationId: listPermissionsAggregateInSpace
|
|
@@ -3423,6 +3540,7 @@ paths:
|
|
|
3423
3540
|
- $ref: "#/components/parameters/integrationSearchBlocks"
|
|
3424
3541
|
- $ref: "#/components/parameters/integrationSearchContentSources"
|
|
3425
3542
|
- $ref: "#/components/parameters/integrationSearchOwner"
|
|
3543
|
+
- $ref: "#/components/parameters/integrationSearchScope"
|
|
3426
3544
|
responses:
|
|
3427
3545
|
"200":
|
|
3428
3546
|
description: Paginated list of integrations
|
|
@@ -5832,18 +5950,39 @@ paths:
|
|
|
5832
5950
|
"404":
|
|
5833
5951
|
description: No matching OpenAPI specification version found
|
|
5834
5952
|
$ref: "#/components/responses/NotFoundError"
|
|
5835
|
-
"/orgs/{organizationId}/
|
|
5953
|
+
"/orgs/{organizationId}/conversations-clusters":
|
|
5836
5954
|
get:
|
|
5837
|
-
operationId:
|
|
5838
|
-
summary: List
|
|
5955
|
+
operationId: listConversationsIssuesClusters
|
|
5956
|
+
summary: List conversations issues clusters
|
|
5839
5957
|
tags:
|
|
5840
|
-
-
|
|
5841
|
-
security:
|
|
5842
|
-
- user: []
|
|
5958
|
+
- agents
|
|
5843
5959
|
parameters:
|
|
5844
5960
|
- $ref: "#/components/parameters/organizationId"
|
|
5845
5961
|
- $ref: "#/components/parameters/listPage"
|
|
5846
5962
|
- $ref: "#/components/parameters/listLimit"
|
|
5963
|
+
- $ref: "#/components/parameters/listOrder"
|
|
5964
|
+
- name: orderBy
|
|
5965
|
+
in: query
|
|
5966
|
+
schema:
|
|
5967
|
+
type: string
|
|
5968
|
+
default: updatedAt
|
|
5969
|
+
enum:
|
|
5970
|
+
- updatedAt
|
|
5971
|
+
- issues
|
|
5972
|
+
- conversations
|
|
5973
|
+
- tasksTotal
|
|
5974
|
+
- tasksBacklog
|
|
5975
|
+
- tasksStarted
|
|
5976
|
+
- name: status
|
|
5977
|
+
in: query
|
|
5978
|
+
description: Filter by status
|
|
5979
|
+
schema:
|
|
5980
|
+
type: string
|
|
5981
|
+
enum:
|
|
5982
|
+
- pending
|
|
5983
|
+
- analysing
|
|
5984
|
+
security:
|
|
5985
|
+
- user: []
|
|
5847
5986
|
responses:
|
|
5848
5987
|
"200":
|
|
5849
5988
|
description: OK
|
|
@@ -5859,115 +5998,138 @@ paths:
|
|
|
5859
5998
|
items:
|
|
5860
5999
|
type: array
|
|
5861
6000
|
items:
|
|
5862
|
-
$ref: "#/components/schemas/
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
6001
|
+
$ref: "#/components/schemas/ConversationsIssuesCluster"
|
|
6002
|
+
"404":
|
|
6003
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6004
|
+
"/orgs/{organizationId}/conversations-clusters/{clusterId}":
|
|
6005
|
+
get:
|
|
6006
|
+
operationId: getConversationsIssuesCluster
|
|
6007
|
+
summary: Get a conversations issues cluster by its identifier
|
|
5866
6008
|
tags:
|
|
5867
|
-
-
|
|
5868
|
-
security:
|
|
5869
|
-
- user: []
|
|
6009
|
+
- agents
|
|
5870
6010
|
parameters:
|
|
5871
6011
|
- $ref: "#/components/parameters/organizationId"
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
application/json:
|
|
5876
|
-
schema:
|
|
5877
|
-
type: object
|
|
5878
|
-
properties:
|
|
5879
|
-
title:
|
|
5880
|
-
type: string
|
|
5881
|
-
description: The title of the translation settings
|
|
5882
|
-
required:
|
|
5883
|
-
- title
|
|
6012
|
+
- $ref: "#/components/parameters/clusterId"
|
|
6013
|
+
security:
|
|
6014
|
+
- user: []
|
|
5884
6015
|
responses:
|
|
5885
|
-
"
|
|
5886
|
-
description:
|
|
6016
|
+
"200":
|
|
6017
|
+
description: OK
|
|
5887
6018
|
content:
|
|
5888
6019
|
application/json:
|
|
5889
6020
|
schema:
|
|
5890
|
-
$ref: "#/components/schemas/
|
|
5891
|
-
|
|
5892
|
-
$ref: "#/components/responses/BadRequestError"
|
|
5893
|
-
"/orgs/{organizationId}/translations/{translationSettingsId}":
|
|
6021
|
+
$ref: "#/components/schemas/ConversationsIssuesCluster"
|
|
6022
|
+
"/orgs/{organizationId}/conversations-clusters/{clusterId}/issues":
|
|
5894
6023
|
get:
|
|
5895
|
-
operationId:
|
|
5896
|
-
summary:
|
|
6024
|
+
operationId: listConversationsIssuesInCluster
|
|
6025
|
+
summary: List conversations issues in a cluster
|
|
5897
6026
|
tags:
|
|
5898
|
-
-
|
|
5899
|
-
security:
|
|
5900
|
-
- user: []
|
|
6027
|
+
- agents
|
|
5901
6028
|
parameters:
|
|
5902
6029
|
- $ref: "#/components/parameters/organizationId"
|
|
5903
|
-
- $ref: "#/components/parameters/
|
|
6030
|
+
- $ref: "#/components/parameters/clusterId"
|
|
6031
|
+
- $ref: "#/components/parameters/listPage"
|
|
6032
|
+
- $ref: "#/components/parameters/listLimit"
|
|
6033
|
+
security:
|
|
6034
|
+
- user: []
|
|
5904
6035
|
responses:
|
|
5905
6036
|
"200":
|
|
5906
6037
|
description: OK
|
|
5907
6038
|
content:
|
|
5908
6039
|
application/json:
|
|
5909
6040
|
schema:
|
|
5910
|
-
|
|
6041
|
+
allOf:
|
|
6042
|
+
- $ref: "#/components/schemas/List"
|
|
6043
|
+
- type: object
|
|
6044
|
+
required:
|
|
6045
|
+
- items
|
|
6046
|
+
properties:
|
|
6047
|
+
items:
|
|
6048
|
+
type: array
|
|
6049
|
+
items:
|
|
6050
|
+
type: object
|
|
6051
|
+
properties:
|
|
6052
|
+
issue:
|
|
6053
|
+
$ref: "#/components/schemas/ConversationIssue"
|
|
6054
|
+
conversation:
|
|
6055
|
+
$ref: "#/components/schemas/Conversation"
|
|
6056
|
+
required:
|
|
6057
|
+
- issue
|
|
6058
|
+
- conversation
|
|
5911
6059
|
"404":
|
|
5912
|
-
description: No matching translation settings found
|
|
5913
6060
|
$ref: "#/components/responses/NotFoundError"
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
6061
|
+
"/orgs/{organizationId}/conversations":
|
|
6062
|
+
post:
|
|
6063
|
+
operationId: ingestConversation
|
|
6064
|
+
summary: Ingest conversations
|
|
5917
6065
|
tags:
|
|
5918
|
-
-
|
|
6066
|
+
- conversations
|
|
5919
6067
|
security:
|
|
5920
|
-
-
|
|
6068
|
+
- integration: []
|
|
5921
6069
|
parameters:
|
|
5922
6070
|
- $ref: "#/components/parameters/organizationId"
|
|
5923
|
-
- $ref: "#/components/parameters/translationSettingsId"
|
|
5924
6071
|
requestBody:
|
|
5925
6072
|
required: true
|
|
5926
6073
|
content:
|
|
5927
6074
|
application/json:
|
|
5928
6075
|
schema:
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
required:
|
|
5935
|
-
- title
|
|
6076
|
+
oneOf:
|
|
6077
|
+
- $ref: "#/components/schemas/ConversationInput"
|
|
6078
|
+
- type: array
|
|
6079
|
+
items:
|
|
6080
|
+
$ref: "#/components/schemas/ConversationInput"
|
|
5936
6081
|
responses:
|
|
5937
|
-
"
|
|
5938
|
-
description:
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
delete:
|
|
5946
|
-
operationId: deleteTranslationSettings
|
|
5947
|
-
summary: Delete a translation settings
|
|
6082
|
+
"204":
|
|
6083
|
+
description: Conversations ingested
|
|
6084
|
+
"/orgs/{organizationId}/agents-setup":
|
|
6085
|
+
get:
|
|
6086
|
+
operationId: getAgentSetupState
|
|
6087
|
+
summary: Get the agents setup state
|
|
6088
|
+
description: |
|
|
6089
|
+
Get the state of the agent.
|
|
5948
6090
|
tags:
|
|
5949
|
-
-
|
|
6091
|
+
- agents
|
|
6092
|
+
- critical
|
|
5950
6093
|
security:
|
|
5951
|
-
- user: []
|
|
6094
|
+
- user-internal: []
|
|
5952
6095
|
parameters:
|
|
5953
6096
|
- $ref: "#/components/parameters/organizationId"
|
|
5954
|
-
- $ref: "#/components/parameters/translationSettingsId"
|
|
5955
6097
|
responses:
|
|
5956
|
-
"
|
|
5957
|
-
description:
|
|
5958
|
-
|
|
6098
|
+
"200":
|
|
6099
|
+
description: OK
|
|
6100
|
+
content:
|
|
6101
|
+
application/json:
|
|
6102
|
+
schema:
|
|
6103
|
+
$ref: "#/components/schemas/AgentsSetupState"
|
|
6104
|
+
"/orgs/{organizationId}/agent-tasks":
|
|
5959
6105
|
get:
|
|
5960
|
-
operationId:
|
|
5961
|
-
summary: List
|
|
6106
|
+
operationId: listAgentTasks
|
|
6107
|
+
summary: List agent tasks
|
|
5962
6108
|
tags:
|
|
5963
|
-
-
|
|
5964
|
-
security:
|
|
5965
|
-
- user: []
|
|
6109
|
+
- agents
|
|
5966
6110
|
parameters:
|
|
5967
6111
|
- $ref: "#/components/parameters/organizationId"
|
|
5968
|
-
- $ref: "#/components/parameters/translationSettingsId"
|
|
5969
6112
|
- $ref: "#/components/parameters/listPage"
|
|
5970
6113
|
- $ref: "#/components/parameters/listLimit"
|
|
6114
|
+
- name: cluster
|
|
6115
|
+
in: query
|
|
6116
|
+
description: The ID of the conversations issues cluster to filter the agent tasks by
|
|
6117
|
+
schema:
|
|
6118
|
+
type: string
|
|
6119
|
+
- name: space
|
|
6120
|
+
in: query
|
|
6121
|
+
description: The ID of the space to filter the agent tasks by
|
|
6122
|
+
schema:
|
|
6123
|
+
type: string
|
|
6124
|
+
- name: status
|
|
6125
|
+
in: query
|
|
6126
|
+
description: The statuses of the agent tasks to filter by
|
|
6127
|
+
schema:
|
|
6128
|
+
type: array
|
|
6129
|
+
items:
|
|
6130
|
+
$ref: "#/components/schemas/AgentTaskStatus"
|
|
6131
|
+
security:
|
|
6132
|
+
- user: []
|
|
5971
6133
|
responses:
|
|
5972
6134
|
"200":
|
|
5973
6135
|
description: OK
|
|
@@ -5983,43 +6145,39 @@ paths:
|
|
|
5983
6145
|
items:
|
|
5984
6146
|
type: array
|
|
5985
6147
|
items:
|
|
5986
|
-
$ref: "#/components/schemas/
|
|
6148
|
+
$ref: "#/components/schemas/AgentTask"
|
|
5987
6149
|
"404":
|
|
5988
|
-
description: No matching translation settings found
|
|
5989
6150
|
$ref: "#/components/responses/NotFoundError"
|
|
5990
|
-
"/orgs/{organizationId}/
|
|
6151
|
+
"/orgs/{organizationId}/agent-tasks/{agentTaskId}":
|
|
5991
6152
|
get:
|
|
5992
|
-
operationId:
|
|
5993
|
-
summary: Get
|
|
6153
|
+
operationId: getAgentTask
|
|
6154
|
+
summary: Get an agent task by its identifier
|
|
5994
6155
|
tags:
|
|
5995
|
-
-
|
|
5996
|
-
security:
|
|
5997
|
-
- user: []
|
|
6156
|
+
- agents
|
|
5998
6157
|
parameters:
|
|
5999
6158
|
- $ref: "#/components/parameters/organizationId"
|
|
6000
|
-
- $ref: "#/components/parameters/
|
|
6001
|
-
|
|
6159
|
+
- $ref: "#/components/parameters/agentTaskId"
|
|
6160
|
+
security:
|
|
6161
|
+
- user: []
|
|
6002
6162
|
responses:
|
|
6003
6163
|
"200":
|
|
6004
6164
|
description: OK
|
|
6005
6165
|
content:
|
|
6006
6166
|
application/json:
|
|
6007
6167
|
schema:
|
|
6008
|
-
$ref: "#/components/schemas/
|
|
6168
|
+
$ref: "#/components/schemas/AgentTask"
|
|
6009
6169
|
"404":
|
|
6010
|
-
description: No matching translation language settings found
|
|
6011
6170
|
$ref: "#/components/responses/NotFoundError"
|
|
6012
|
-
|
|
6013
|
-
operationId:
|
|
6014
|
-
summary:
|
|
6171
|
+
patch:
|
|
6172
|
+
operationId: updateAgentTask
|
|
6173
|
+
summary: Update an agent task by its identifier
|
|
6015
6174
|
tags:
|
|
6016
|
-
-
|
|
6017
|
-
security:
|
|
6018
|
-
- user: []
|
|
6175
|
+
- agents
|
|
6019
6176
|
parameters:
|
|
6020
6177
|
- $ref: "#/components/parameters/organizationId"
|
|
6021
|
-
- $ref: "#/components/parameters/
|
|
6022
|
-
|
|
6178
|
+
- $ref: "#/components/parameters/agentTaskId"
|
|
6179
|
+
security:
|
|
6180
|
+
- user: []
|
|
6023
6181
|
requestBody:
|
|
6024
6182
|
required: true
|
|
6025
6183
|
content:
|
|
@@ -6027,7 +6185,217 @@ paths:
|
|
|
6027
6185
|
schema:
|
|
6028
6186
|
type: object
|
|
6029
6187
|
properties:
|
|
6030
|
-
|
|
6188
|
+
status:
|
|
6189
|
+
type: string
|
|
6190
|
+
enum:
|
|
6191
|
+
- backlog
|
|
6192
|
+
- started
|
|
6193
|
+
- canceled
|
|
6194
|
+
required:
|
|
6195
|
+
- status
|
|
6196
|
+
responses:
|
|
6197
|
+
"200":
|
|
6198
|
+
description: OK
|
|
6199
|
+
content:
|
|
6200
|
+
application/json:
|
|
6201
|
+
schema:
|
|
6202
|
+
$ref: "#/components/schemas/AgentTask"
|
|
6203
|
+
"/orgs/{organizationId}/translations":
|
|
6204
|
+
get:
|
|
6205
|
+
operationId: listTranslationSettings
|
|
6206
|
+
summary: List all the translation settings
|
|
6207
|
+
tags:
|
|
6208
|
+
- translations
|
|
6209
|
+
security:
|
|
6210
|
+
- user: []
|
|
6211
|
+
parameters:
|
|
6212
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6213
|
+
- $ref: "#/components/parameters/listPage"
|
|
6214
|
+
- $ref: "#/components/parameters/listLimit"
|
|
6215
|
+
responses:
|
|
6216
|
+
"200":
|
|
6217
|
+
description: OK
|
|
6218
|
+
content:
|
|
6219
|
+
application/json:
|
|
6220
|
+
schema:
|
|
6221
|
+
allOf:
|
|
6222
|
+
- $ref: "#/components/schemas/List"
|
|
6223
|
+
- type: object
|
|
6224
|
+
required:
|
|
6225
|
+
- items
|
|
6226
|
+
properties:
|
|
6227
|
+
items:
|
|
6228
|
+
type: array
|
|
6229
|
+
items:
|
|
6230
|
+
$ref: "#/components/schemas/TranslationSettings"
|
|
6231
|
+
post:
|
|
6232
|
+
operationId: createTranslationSettings
|
|
6233
|
+
summary: Create a translation settings
|
|
6234
|
+
tags:
|
|
6235
|
+
- translations
|
|
6236
|
+
security:
|
|
6237
|
+
- user: []
|
|
6238
|
+
parameters:
|
|
6239
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6240
|
+
requestBody:
|
|
6241
|
+
required: true
|
|
6242
|
+
content:
|
|
6243
|
+
application/json:
|
|
6244
|
+
schema:
|
|
6245
|
+
type: object
|
|
6246
|
+
properties:
|
|
6247
|
+
title:
|
|
6248
|
+
type: string
|
|
6249
|
+
description: The title of the translation settings
|
|
6250
|
+
required:
|
|
6251
|
+
- title
|
|
6252
|
+
responses:
|
|
6253
|
+
"201":
|
|
6254
|
+
description: Translation settings has been created
|
|
6255
|
+
content:
|
|
6256
|
+
application/json:
|
|
6257
|
+
schema:
|
|
6258
|
+
$ref: "#/components/schemas/TranslationSettings"
|
|
6259
|
+
"400":
|
|
6260
|
+
$ref: "#/components/responses/BadRequestError"
|
|
6261
|
+
"/orgs/{organizationId}/translations/{translationSettingsId}":
|
|
6262
|
+
get:
|
|
6263
|
+
operationId: getTranslationSettings
|
|
6264
|
+
summary: Get a translation settings by its ID
|
|
6265
|
+
tags:
|
|
6266
|
+
- translations
|
|
6267
|
+
security:
|
|
6268
|
+
- user: []
|
|
6269
|
+
parameters:
|
|
6270
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6271
|
+
- $ref: "#/components/parameters/translationSettingsId"
|
|
6272
|
+
responses:
|
|
6273
|
+
"200":
|
|
6274
|
+
description: OK
|
|
6275
|
+
content:
|
|
6276
|
+
application/json:
|
|
6277
|
+
schema:
|
|
6278
|
+
$ref: "#/components/schemas/TranslationSettings"
|
|
6279
|
+
"404":
|
|
6280
|
+
description: No matching translation settings found
|
|
6281
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6282
|
+
put:
|
|
6283
|
+
operationId: updateTranslationSettings
|
|
6284
|
+
summary: Update a translation settings
|
|
6285
|
+
tags:
|
|
6286
|
+
- translations
|
|
6287
|
+
security:
|
|
6288
|
+
- user: []
|
|
6289
|
+
parameters:
|
|
6290
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6291
|
+
- $ref: "#/components/parameters/translationSettingsId"
|
|
6292
|
+
requestBody:
|
|
6293
|
+
required: true
|
|
6294
|
+
content:
|
|
6295
|
+
application/json:
|
|
6296
|
+
schema:
|
|
6297
|
+
type: object
|
|
6298
|
+
properties:
|
|
6299
|
+
title:
|
|
6300
|
+
type: string
|
|
6301
|
+
description: The title of the translation settings
|
|
6302
|
+
required:
|
|
6303
|
+
- title
|
|
6304
|
+
responses:
|
|
6305
|
+
"200":
|
|
6306
|
+
description: Translation settings has been updated
|
|
6307
|
+
content:
|
|
6308
|
+
application/json:
|
|
6309
|
+
schema:
|
|
6310
|
+
$ref: "#/components/schemas/TranslationSettings"
|
|
6311
|
+
"400":
|
|
6312
|
+
$ref: "#/components/responses/BadRequestError"
|
|
6313
|
+
delete:
|
|
6314
|
+
operationId: deleteTranslationSettings
|
|
6315
|
+
summary: Delete a translation settings
|
|
6316
|
+
tags:
|
|
6317
|
+
- translations
|
|
6318
|
+
security:
|
|
6319
|
+
- user: []
|
|
6320
|
+
parameters:
|
|
6321
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6322
|
+
- $ref: "#/components/parameters/translationSettingsId"
|
|
6323
|
+
responses:
|
|
6324
|
+
"205":
|
|
6325
|
+
description: Translation settings has been deleted
|
|
6326
|
+
"/orgs/{organizationId}/translations/{translationSettingsId}/languages":
|
|
6327
|
+
get:
|
|
6328
|
+
operationId: listTranslationLanguages
|
|
6329
|
+
summary: List all translation settings language
|
|
6330
|
+
tags:
|
|
6331
|
+
- translation-languages
|
|
6332
|
+
security:
|
|
6333
|
+
- user: []
|
|
6334
|
+
parameters:
|
|
6335
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6336
|
+
- $ref: "#/components/parameters/translationSettingsId"
|
|
6337
|
+
- $ref: "#/components/parameters/listPage"
|
|
6338
|
+
- $ref: "#/components/parameters/listLimit"
|
|
6339
|
+
responses:
|
|
6340
|
+
"200":
|
|
6341
|
+
description: OK
|
|
6342
|
+
content:
|
|
6343
|
+
application/json:
|
|
6344
|
+
schema:
|
|
6345
|
+
allOf:
|
|
6346
|
+
- $ref: "#/components/schemas/List"
|
|
6347
|
+
- type: object
|
|
6348
|
+
required:
|
|
6349
|
+
- items
|
|
6350
|
+
properties:
|
|
6351
|
+
items:
|
|
6352
|
+
type: array
|
|
6353
|
+
items:
|
|
6354
|
+
$ref: "#/components/schemas/TranslationLanguageSettings"
|
|
6355
|
+
"404":
|
|
6356
|
+
description: No matching translation settings found
|
|
6357
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6358
|
+
"/orgs/{organizationId}/translations/{translationSettingsId}/languages/{translationLanguage}":
|
|
6359
|
+
get:
|
|
6360
|
+
operationId: getTranslationLanguage
|
|
6361
|
+
summary: Get a translation settings language
|
|
6362
|
+
tags:
|
|
6363
|
+
- translation-languages
|
|
6364
|
+
security:
|
|
6365
|
+
- user: []
|
|
6366
|
+
parameters:
|
|
6367
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6368
|
+
- $ref: "#/components/parameters/translationSettingsId"
|
|
6369
|
+
- $ref: "#/components/parameters/translationLanguage"
|
|
6370
|
+
responses:
|
|
6371
|
+
"200":
|
|
6372
|
+
description: OK
|
|
6373
|
+
content:
|
|
6374
|
+
application/json:
|
|
6375
|
+
schema:
|
|
6376
|
+
$ref: "#/components/schemas/TranslationLanguageSettings"
|
|
6377
|
+
"404":
|
|
6378
|
+
description: No matching translation language settings found
|
|
6379
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6380
|
+
put:
|
|
6381
|
+
operationId: createOrUpdateTranslationLanguage
|
|
6382
|
+
summary: Create or update a translation settings language
|
|
6383
|
+
tags:
|
|
6384
|
+
- translation-languages
|
|
6385
|
+
security:
|
|
6386
|
+
- user: []
|
|
6387
|
+
parameters:
|
|
6388
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6389
|
+
- $ref: "#/components/parameters/translationSettingsId"
|
|
6390
|
+
- $ref: "#/components/parameters/translationLanguage"
|
|
6391
|
+
requestBody:
|
|
6392
|
+
required: true
|
|
6393
|
+
content:
|
|
6394
|
+
application/json:
|
|
6395
|
+
schema:
|
|
6396
|
+
type: object
|
|
6397
|
+
properties:
|
|
6398
|
+
instructions:
|
|
6031
6399
|
$ref: "#/components/schemas/JSONDocument"
|
|
6032
6400
|
required:
|
|
6033
6401
|
- instructions
|
|
@@ -8031,6 +8399,9 @@ paths:
|
|
|
8031
8399
|
previousResponseId:
|
|
8032
8400
|
type: string
|
|
8033
8401
|
description: The ID of the previous response to continue from
|
|
8402
|
+
instructions:
|
|
8403
|
+
type: string
|
|
8404
|
+
description: Instructions for the AI
|
|
8034
8405
|
input:
|
|
8035
8406
|
type: array
|
|
8036
8407
|
items:
|
|
@@ -8810,6 +9181,15 @@ components:
|
|
|
8810
9181
|
description: The target page of the comment
|
|
8811
9182
|
schema:
|
|
8812
9183
|
type: string
|
|
9184
|
+
authors:
|
|
9185
|
+
name: authors
|
|
9186
|
+
in: query
|
|
9187
|
+
description: User IDs to filter queried comments on
|
|
9188
|
+
required: false
|
|
9189
|
+
schema:
|
|
9190
|
+
type: array
|
|
9191
|
+
items:
|
|
9192
|
+
type: string
|
|
8813
9193
|
commentId:
|
|
8814
9194
|
name: commentId
|
|
8815
9195
|
in: path
|
|
@@ -8877,6 +9257,12 @@ components:
|
|
|
8877
9257
|
description: If defined, only list integrations owned by the given organization.
|
|
8878
9258
|
schema:
|
|
8879
9259
|
type: string
|
|
9260
|
+
integrationSearchScope:
|
|
9261
|
+
name: scope
|
|
9262
|
+
in: query
|
|
9263
|
+
description: Filter the integrations by scope
|
|
9264
|
+
schema:
|
|
9265
|
+
$ref: "#/components/schemas/IntegrationScope"
|
|
8880
9266
|
integrationName:
|
|
8881
9267
|
name: integrationName
|
|
8882
9268
|
in: path
|
|
@@ -8954,6 +9340,20 @@ components:
|
|
|
8954
9340
|
description: The unique ID of the OpenAPI specification version
|
|
8955
9341
|
schema:
|
|
8956
9342
|
type: string
|
|
9343
|
+
clusterId:
|
|
9344
|
+
name: clusterId
|
|
9345
|
+
in: path
|
|
9346
|
+
required: true
|
|
9347
|
+
description: The unique id of the cluster
|
|
9348
|
+
schema:
|
|
9349
|
+
type: string
|
|
9350
|
+
agentTaskId:
|
|
9351
|
+
name: agentTaskId
|
|
9352
|
+
in: path
|
|
9353
|
+
required: true
|
|
9354
|
+
description: The unique id of the agent task
|
|
9355
|
+
schema:
|
|
9356
|
+
type: string
|
|
8957
9357
|
translationSettingsId:
|
|
8958
9358
|
name: translationSettingsId
|
|
8959
9359
|
in: path
|
|
@@ -9161,6 +9561,10 @@ components:
|
|
|
9161
9561
|
description: The actual token value.
|
|
9162
9562
|
required:
|
|
9163
9563
|
- token
|
|
9564
|
+
URL:
|
|
9565
|
+
type: string
|
|
9566
|
+
format: uri
|
|
9567
|
+
maxLength: 2048
|
|
9164
9568
|
SpaceTitle:
|
|
9165
9569
|
type: string
|
|
9166
9570
|
description: Title of the space
|
|
@@ -9197,10 +9601,6 @@ components:
|
|
|
9197
9601
|
enum:
|
|
9198
9602
|
- live
|
|
9199
9603
|
- locked
|
|
9200
|
-
URL:
|
|
9201
|
-
type: string
|
|
9202
|
-
format: uri
|
|
9203
|
-
maxLength: 2048
|
|
9204
9604
|
GitSyncProvider:
|
|
9205
9605
|
type: string
|
|
9206
9606
|
description: The provider of the Git Sync installation.
|
|
@@ -11908,31 +12308,95 @@ components:
|
|
|
11908
12308
|
- object
|
|
11909
12309
|
- type
|
|
11910
12310
|
- nodes
|
|
11911
|
-
|
|
11912
|
-
|
|
11913
|
-
|
|
11914
|
-
|
|
11915
|
-
|
|
11916
|
-
|
|
11917
|
-
|
|
11918
|
-
|
|
11919
|
-
|
|
11920
|
-
|
|
11921
|
-
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
|
|
11927
|
-
|
|
11928
|
-
|
|
11929
|
-
|
|
11930
|
-
|
|
11931
|
-
|
|
11932
|
-
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
12311
|
+
DocumentBlockColumn:
|
|
12312
|
+
type: object
|
|
12313
|
+
properties:
|
|
12314
|
+
object:
|
|
12315
|
+
type: string
|
|
12316
|
+
enum:
|
|
12317
|
+
- block
|
|
12318
|
+
type:
|
|
12319
|
+
type: string
|
|
12320
|
+
enum:
|
|
12321
|
+
- column
|
|
12322
|
+
key:
|
|
12323
|
+
type: string
|
|
12324
|
+
nodes:
|
|
12325
|
+
type: array
|
|
12326
|
+
items:
|
|
12327
|
+
oneOf:
|
|
12328
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
12329
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
12330
|
+
isVoid:
|
|
12331
|
+
type: boolean
|
|
12332
|
+
enum:
|
|
12333
|
+
- false
|
|
12334
|
+
data:
|
|
12335
|
+
type: object
|
|
12336
|
+
properties: {}
|
|
12337
|
+
additionalProperties: false
|
|
12338
|
+
required:
|
|
12339
|
+
- object
|
|
12340
|
+
- type
|
|
12341
|
+
- nodes
|
|
12342
|
+
- data
|
|
12343
|
+
DocumentBlockColumns:
|
|
12344
|
+
type: object
|
|
12345
|
+
properties:
|
|
12346
|
+
object:
|
|
12347
|
+
type: string
|
|
12348
|
+
enum:
|
|
12349
|
+
- block
|
|
12350
|
+
type:
|
|
12351
|
+
type: string
|
|
12352
|
+
enum:
|
|
12353
|
+
- columns
|
|
12354
|
+
key:
|
|
12355
|
+
type: string
|
|
12356
|
+
data:
|
|
12357
|
+
type: object
|
|
12358
|
+
properties:
|
|
12359
|
+
fullWidth:
|
|
12360
|
+
type: boolean
|
|
12361
|
+
nodes:
|
|
12362
|
+
type: array
|
|
12363
|
+
items:
|
|
12364
|
+
$ref: "#/components/schemas/DocumentBlockColumn"
|
|
12365
|
+
isVoid:
|
|
12366
|
+
type: boolean
|
|
12367
|
+
enum:
|
|
12368
|
+
- false
|
|
12369
|
+
required:
|
|
12370
|
+
- object
|
|
12371
|
+
- type
|
|
12372
|
+
- data
|
|
12373
|
+
- nodes
|
|
12374
|
+
- isVoid
|
|
12375
|
+
DocumentBlock:
|
|
12376
|
+
oneOf:
|
|
12377
|
+
- $ref: "#/components/schemas/DocumentBlockParagraph"
|
|
12378
|
+
- $ref: "#/components/schemas/DocumentBlockHeading"
|
|
12379
|
+
- $ref: "#/components/schemas/DocumentBlockListOrdered"
|
|
12380
|
+
- $ref: "#/components/schemas/DocumentBlockListUnordered"
|
|
12381
|
+
- $ref: "#/components/schemas/DocumentBlockListTasks"
|
|
12382
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
12383
|
+
- $ref: "#/components/schemas/DocumentBlockDivider"
|
|
12384
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
12385
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
12386
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
12387
|
+
- $ref: "#/components/schemas/DocumentBlockImage"
|
|
12388
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
12389
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
12390
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
12391
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
12392
|
+
- $ref: "#/components/schemas/DocumentBlockCodeLine"
|
|
12393
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
12394
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
12395
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
12396
|
+
- $ref: "#/components/schemas/DocumentBlockTabsItem"
|
|
12397
|
+
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
12398
|
+
- $ref: "#/components/schemas/DocumentBlockOpenAPI"
|
|
12399
|
+
- $ref: "#/components/schemas/DocumentBlockOpenAPIOperation"
|
|
11936
12400
|
- $ref: "#/components/schemas/DocumentBlockOpenAPISchemas"
|
|
11937
12401
|
- $ref: "#/components/schemas/DocumentBlockOpenAPIWebhook"
|
|
11938
12402
|
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
@@ -11940,6 +12404,8 @@ components:
|
|
|
11940
12404
|
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
11941
12405
|
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
11942
12406
|
- $ref: "#/components/schemas/DocumentBlockStepperStep"
|
|
12407
|
+
- $ref: "#/components/schemas/DocumentBlockColumns"
|
|
12408
|
+
- $ref: "#/components/schemas/DocumentBlockColumn"
|
|
11943
12409
|
DocumentInlineMention:
|
|
11944
12410
|
type: object
|
|
11945
12411
|
properties:
|
|
@@ -13182,6 +13648,9 @@ components:
|
|
|
13182
13648
|
createOpenAPISpec:
|
|
13183
13649
|
type: boolean
|
|
13184
13650
|
description: Can the user create new OpenAPI specifications.
|
|
13651
|
+
ingestConversations:
|
|
13652
|
+
type: boolean
|
|
13653
|
+
description: Can the user ingest conversations in the organization.
|
|
13185
13654
|
viewBilling:
|
|
13186
13655
|
type: boolean
|
|
13187
13656
|
description: Can the user view the billing details of the organization.
|
|
@@ -13200,6 +13669,7 @@ components:
|
|
|
13200
13669
|
- ownTeam
|
|
13201
13670
|
- createContent
|
|
13202
13671
|
- createOpenAPISpec
|
|
13672
|
+
- ingestConversations
|
|
13203
13673
|
- viewBilling
|
|
13204
13674
|
- listMembers
|
|
13205
13675
|
- listTeams
|
|
@@ -13638,12 +14108,6 @@ components:
|
|
|
13638
14108
|
- relation
|
|
13639
14109
|
- status
|
|
13640
14110
|
- locationReferences
|
|
13641
|
-
CreateChangeRequest:
|
|
13642
|
-
type: object
|
|
13643
|
-
properties:
|
|
13644
|
-
subject:
|
|
13645
|
-
type: string
|
|
13646
|
-
description: Subject of the change-request
|
|
13647
14111
|
ChangeRequestReviewStatus:
|
|
13648
14112
|
type: string
|
|
13649
14113
|
description: Status of a change request review.
|
|
@@ -14043,30 +14507,6 @@ components:
|
|
|
14043
14507
|
- updatedAt
|
|
14044
14508
|
- count
|
|
14045
14509
|
- user
|
|
14046
|
-
ChangeRequestBrainstormStatus:
|
|
14047
|
-
type: string
|
|
14048
|
-
description: |
|
|
14049
|
-
The status of the session.
|
|
14050
|
-
- pending: The session is pending for input from the user.
|
|
14051
|
-
- running: The session is being processed by GitBook.
|
|
14052
|
-
- failed: The session processing has failed.
|
|
14053
|
-
enum:
|
|
14054
|
-
- pending
|
|
14055
|
-
- failed
|
|
14056
|
-
- running
|
|
14057
|
-
ChangeRequestBrainstormActor:
|
|
14058
|
-
type: string
|
|
14059
|
-
enum:
|
|
14060
|
-
- user
|
|
14061
|
-
- agent
|
|
14062
|
-
ChangeRequestBrainstormContext:
|
|
14063
|
-
type: object
|
|
14064
|
-
properties:
|
|
14065
|
-
page:
|
|
14066
|
-
type: string
|
|
14067
|
-
description: Path of the page the user is currently viewing.
|
|
14068
|
-
required:
|
|
14069
|
-
- page
|
|
14070
14510
|
RevisionPageType:
|
|
14071
14511
|
type: string
|
|
14072
14512
|
enum:
|
|
@@ -14089,221 +14529,6 @@ components:
|
|
|
14089
14529
|
- id
|
|
14090
14530
|
- type
|
|
14091
14531
|
- title
|
|
14092
|
-
ChangeRequestBrainstormLog:
|
|
14093
|
-
oneOf:
|
|
14094
|
-
- type: object
|
|
14095
|
-
properties:
|
|
14096
|
-
tool:
|
|
14097
|
-
type: string
|
|
14098
|
-
enum:
|
|
14099
|
-
- get-page
|
|
14100
|
-
intent:
|
|
14101
|
-
type: string
|
|
14102
|
-
page:
|
|
14103
|
-
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
14104
|
-
required:
|
|
14105
|
-
- tool
|
|
14106
|
-
- intent
|
|
14107
|
-
- page
|
|
14108
|
-
- type: object
|
|
14109
|
-
properties:
|
|
14110
|
-
tool:
|
|
14111
|
-
type: string
|
|
14112
|
-
enum:
|
|
14113
|
-
- search-keyword
|
|
14114
|
-
intent:
|
|
14115
|
-
type: string
|
|
14116
|
-
query:
|
|
14117
|
-
type: string
|
|
14118
|
-
required:
|
|
14119
|
-
- tool
|
|
14120
|
-
- intent
|
|
14121
|
-
- query
|
|
14122
|
-
- type: object
|
|
14123
|
-
properties:
|
|
14124
|
-
tool:
|
|
14125
|
-
type: string
|
|
14126
|
-
enum:
|
|
14127
|
-
- search-semantic
|
|
14128
|
-
intent:
|
|
14129
|
-
type: string
|
|
14130
|
-
query:
|
|
14131
|
-
type: string
|
|
14132
|
-
required:
|
|
14133
|
-
- tool
|
|
14134
|
-
- intent
|
|
14135
|
-
- query
|
|
14136
|
-
- type: object
|
|
14137
|
-
properties:
|
|
14138
|
-
tool:
|
|
14139
|
-
type: string
|
|
14140
|
-
enum:
|
|
14141
|
-
- create-page
|
|
14142
|
-
page:
|
|
14143
|
-
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
14144
|
-
required:
|
|
14145
|
-
- tool
|
|
14146
|
-
- page
|
|
14147
|
-
- type: object
|
|
14148
|
-
properties:
|
|
14149
|
-
tool:
|
|
14150
|
-
type: string
|
|
14151
|
-
enum:
|
|
14152
|
-
- delete-page
|
|
14153
|
-
page:
|
|
14154
|
-
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
14155
|
-
required:
|
|
14156
|
-
- tool
|
|
14157
|
-
- page
|
|
14158
|
-
- type: object
|
|
14159
|
-
properties:
|
|
14160
|
-
tool:
|
|
14161
|
-
type: string
|
|
14162
|
-
enum:
|
|
14163
|
-
- edit-page
|
|
14164
|
-
page:
|
|
14165
|
-
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
14166
|
-
required:
|
|
14167
|
-
- tool
|
|
14168
|
-
- page
|
|
14169
|
-
ChangeRequestBrainstormPlanStatus:
|
|
14170
|
-
type: string
|
|
14171
|
-
description: |
|
|
14172
|
-
The status of the plan.
|
|
14173
|
-
- pending: The task is pending for input from the user.
|
|
14174
|
-
- running: The task is being processed by GitBook.
|
|
14175
|
-
- failed: The task processing has failed.
|
|
14176
|
-
- completed: The task has been completed.
|
|
14177
|
-
enum:
|
|
14178
|
-
- pending
|
|
14179
|
-
- failed
|
|
14180
|
-
- running
|
|
14181
|
-
- completed
|
|
14182
|
-
ChangeRequestBrainstormPlanStepTitle:
|
|
14183
|
-
type: string
|
|
14184
|
-
minLength: 1
|
|
14185
|
-
maxLength: 100
|
|
14186
|
-
ChangeRequestBrainstormPlanStepStatus:
|
|
14187
|
-
type: string
|
|
14188
|
-
enum:
|
|
14189
|
-
- pending
|
|
14190
|
-
- succeeded
|
|
14191
|
-
- failed
|
|
14192
|
-
- running
|
|
14193
|
-
ChangeRequestBrainstormPlanStep:
|
|
14194
|
-
type: object
|
|
14195
|
-
properties:
|
|
14196
|
-
title:
|
|
14197
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormPlanStepTitle"
|
|
14198
|
-
status:
|
|
14199
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormPlanStepStatus"
|
|
14200
|
-
instruction:
|
|
14201
|
-
$ref: "#/components/schemas/JSONDocument"
|
|
14202
|
-
implementation:
|
|
14203
|
-
description: Logs related to the implementation phase of the step.
|
|
14204
|
-
type: object
|
|
14205
|
-
properties:
|
|
14206
|
-
summary:
|
|
14207
|
-
description: A summary of the execution phase.
|
|
14208
|
-
$ref: "#/components/schemas/JSONDocument"
|
|
14209
|
-
logs:
|
|
14210
|
-
description: Logs related to the execution phase of the step.
|
|
14211
|
-
items:
|
|
14212
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormLog"
|
|
14213
|
-
required:
|
|
14214
|
-
- logs
|
|
14215
|
-
required:
|
|
14216
|
-
- title
|
|
14217
|
-
- status
|
|
14218
|
-
- instruction
|
|
14219
|
-
ChangeRequestBrainstormPlan:
|
|
14220
|
-
type: object
|
|
14221
|
-
properties:
|
|
14222
|
-
status:
|
|
14223
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormPlanStatus"
|
|
14224
|
-
title:
|
|
14225
|
-
type: string
|
|
14226
|
-
description: The title of the plan.
|
|
14227
|
-
steps:
|
|
14228
|
-
description: The steps of the plan to execute the plan.
|
|
14229
|
-
type: array
|
|
14230
|
-
items:
|
|
14231
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormPlanStep"
|
|
14232
|
-
context:
|
|
14233
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormContext"
|
|
14234
|
-
required:
|
|
14235
|
-
- status
|
|
14236
|
-
- title
|
|
14237
|
-
- steps
|
|
14238
|
-
ChangeRequestBrainstormAttachmentPlan:
|
|
14239
|
-
type: object
|
|
14240
|
-
properties:
|
|
14241
|
-
type:
|
|
14242
|
-
type: string
|
|
14243
|
-
enum:
|
|
14244
|
-
- plan
|
|
14245
|
-
plan:
|
|
14246
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormPlan"
|
|
14247
|
-
required:
|
|
14248
|
-
- type
|
|
14249
|
-
- plan
|
|
14250
|
-
ChangeRequestBrainstormAttachmentMessage:
|
|
14251
|
-
type: object
|
|
14252
|
-
properties:
|
|
14253
|
-
type:
|
|
14254
|
-
type: string
|
|
14255
|
-
enum:
|
|
14256
|
-
- message
|
|
14257
|
-
suggestions:
|
|
14258
|
-
type: array
|
|
14259
|
-
items:
|
|
14260
|
-
type: string
|
|
14261
|
-
required:
|
|
14262
|
-
- type
|
|
14263
|
-
- suggestions
|
|
14264
|
-
ChangeRequestBrainstormAttachment:
|
|
14265
|
-
oneOf:
|
|
14266
|
-
- $ref: "#/components/schemas/ChangeRequestBrainstormAttachmentPlan"
|
|
14267
|
-
- $ref: "#/components/schemas/ChangeRequestBrainstormAttachmentMessage"
|
|
14268
|
-
ChangeRequestBrainstormMessage:
|
|
14269
|
-
type: object
|
|
14270
|
-
properties:
|
|
14271
|
-
id:
|
|
14272
|
-
type: string
|
|
14273
|
-
description: The unique identifier of the chat message.
|
|
14274
|
-
actor:
|
|
14275
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormActor"
|
|
14276
|
-
message:
|
|
14277
|
-
$ref: "#/components/schemas/JSONDocument"
|
|
14278
|
-
context:
|
|
14279
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormContext"
|
|
14280
|
-
logs:
|
|
14281
|
-
description: Logs related to the processing of the message.
|
|
14282
|
-
items:
|
|
14283
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormLog"
|
|
14284
|
-
attachment:
|
|
14285
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormAttachment"
|
|
14286
|
-
required:
|
|
14287
|
-
- id
|
|
14288
|
-
- actor
|
|
14289
|
-
- message
|
|
14290
|
-
ChangeRequestBrainstormSession:
|
|
14291
|
-
type: object
|
|
14292
|
-
properties:
|
|
14293
|
-
id:
|
|
14294
|
-
type: string
|
|
14295
|
-
description: The unique identifier of the session.
|
|
14296
|
-
status:
|
|
14297
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormStatus"
|
|
14298
|
-
messages:
|
|
14299
|
-
description: Conversation messages related to the brainstorming phase of the task.
|
|
14300
|
-
type: array
|
|
14301
|
-
items:
|
|
14302
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormMessage"
|
|
14303
|
-
required:
|
|
14304
|
-
- id
|
|
14305
|
-
- status
|
|
14306
|
-
- messages
|
|
14307
14532
|
RevisionSemanticChangePageCreated:
|
|
14308
14533
|
type: object
|
|
14309
14534
|
properties:
|
|
@@ -14685,19 +14910,60 @@ components:
|
|
|
14685
14910
|
description: Reactions to remove from the comment.
|
|
14686
14911
|
items:
|
|
14687
14912
|
type: string
|
|
14688
|
-
|
|
14689
|
-
type:
|
|
14690
|
-
|
|
14691
|
-
|
|
14692
|
-
|
|
14693
|
-
|
|
14694
|
-
|
|
14695
|
-
|
|
14696
|
-
|
|
14697
|
-
|
|
14698
|
-
|
|
14699
|
-
|
|
14700
|
-
|
|
14913
|
+
OrganizationMember:
|
|
14914
|
+
type: object
|
|
14915
|
+
properties:
|
|
14916
|
+
object:
|
|
14917
|
+
type: string
|
|
14918
|
+
description: Type of Object, always equals to "member"
|
|
14919
|
+
enum:
|
|
14920
|
+
- member
|
|
14921
|
+
id:
|
|
14922
|
+
type: string
|
|
14923
|
+
description: Unique identifier for the user.
|
|
14924
|
+
role:
|
|
14925
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
14926
|
+
user:
|
|
14927
|
+
$ref: "#/components/schemas/User"
|
|
14928
|
+
disabled:
|
|
14929
|
+
type: boolean
|
|
14930
|
+
description: Whatever the membership of this user is disabled and prevent them from accessing content.
|
|
14931
|
+
joinedAt:
|
|
14932
|
+
description: Date at which the user joined the organization.
|
|
14933
|
+
$ref: "#/components/schemas/Timestamp"
|
|
14934
|
+
lastSeenAt:
|
|
14935
|
+
description: Date at which the user was last seen active in the organization.
|
|
14936
|
+
$ref: "#/components/schemas/Timestamp"
|
|
14937
|
+
sso:
|
|
14938
|
+
type: boolean
|
|
14939
|
+
description: Whether the user can login with SSO.
|
|
14940
|
+
spaces:
|
|
14941
|
+
type: number
|
|
14942
|
+
teams:
|
|
14943
|
+
type: number
|
|
14944
|
+
required:
|
|
14945
|
+
- object
|
|
14946
|
+
- id
|
|
14947
|
+
- role
|
|
14948
|
+
- user
|
|
14949
|
+
- disabled
|
|
14950
|
+
- joinedAt
|
|
14951
|
+
- sso
|
|
14952
|
+
- spaces
|
|
14953
|
+
- teams
|
|
14954
|
+
IntegrationTitle:
|
|
14955
|
+
type: string
|
|
14956
|
+
description: Title of the integration
|
|
14957
|
+
minLength: 2
|
|
14958
|
+
maxLength: 30
|
|
14959
|
+
IntegrationDescription:
|
|
14960
|
+
type: string
|
|
14961
|
+
description: Description of the integration
|
|
14962
|
+
maxLength: 100
|
|
14963
|
+
IntegrationSummary:
|
|
14964
|
+
type: string
|
|
14965
|
+
description: Long form markdown summary of the integration
|
|
14966
|
+
maxLength: 2048
|
|
14701
14967
|
IntegrationTarget:
|
|
14702
14968
|
type: string
|
|
14703
14969
|
description: The target on which the integration can operate and needs to be configured for
|
|
@@ -14733,6 +14999,7 @@ components:
|
|
|
14733
14999
|
- site:adaptive:write
|
|
14734
15000
|
- openapi:read
|
|
14735
15001
|
- openapi:write
|
|
15002
|
+
- conversations:ingest
|
|
14736
15003
|
IntegrationScopes:
|
|
14737
15004
|
type: array
|
|
14738
15005
|
description: Permissions that should be granted to the integration
|
|
@@ -17544,47 +17811,6 @@ components:
|
|
|
17544
17811
|
- sites
|
|
17545
17812
|
- spaces
|
|
17546
17813
|
- deletedSpaces
|
|
17547
|
-
OrganizationMember:
|
|
17548
|
-
type: object
|
|
17549
|
-
properties:
|
|
17550
|
-
object:
|
|
17551
|
-
type: string
|
|
17552
|
-
description: Type of Object, always equals to "member"
|
|
17553
|
-
enum:
|
|
17554
|
-
- member
|
|
17555
|
-
id:
|
|
17556
|
-
type: string
|
|
17557
|
-
description: Unique identifier for the user.
|
|
17558
|
-
role:
|
|
17559
|
-
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
17560
|
-
user:
|
|
17561
|
-
$ref: "#/components/schemas/User"
|
|
17562
|
-
disabled:
|
|
17563
|
-
type: boolean
|
|
17564
|
-
description: Whatever the membership of this user is disabled and prevent them from accessing content.
|
|
17565
|
-
joinedAt:
|
|
17566
|
-
description: Date at which the user joined the organization.
|
|
17567
|
-
$ref: "#/components/schemas/Timestamp"
|
|
17568
|
-
lastSeenAt:
|
|
17569
|
-
description: Date at which the user was last seen active in the organization.
|
|
17570
|
-
$ref: "#/components/schemas/Timestamp"
|
|
17571
|
-
sso:
|
|
17572
|
-
type: boolean
|
|
17573
|
-
description: Whether the user can login with SSO.
|
|
17574
|
-
spaces:
|
|
17575
|
-
type: number
|
|
17576
|
-
teams:
|
|
17577
|
-
type: number
|
|
17578
|
-
required:
|
|
17579
|
-
- object
|
|
17580
|
-
- id
|
|
17581
|
-
- role
|
|
17582
|
-
- user
|
|
17583
|
-
- disabled
|
|
17584
|
-
- joinedAt
|
|
17585
|
-
- sso
|
|
17586
|
-
- spaces
|
|
17587
|
-
- teams
|
|
17588
17814
|
MemberContentPermission:
|
|
17589
17815
|
type: object
|
|
17590
17816
|
description: Permission of a member in a content.
|
|
@@ -18119,6 +18345,15 @@ components:
|
|
|
18119
18345
|
SAMLProviderCertificate:
|
|
18120
18346
|
type: string
|
|
18121
18347
|
maxLength: 10000
|
|
18348
|
+
SAMLProviderStatus:
|
|
18349
|
+
type: string
|
|
18350
|
+
description: |
|
|
18351
|
+
Status of the provider.
|
|
18352
|
+
- `active`: The provider is active and can be used to authenticate users.
|
|
18353
|
+
- `pending`: The provider is pending and is not yet fully configured.
|
|
18354
|
+
enum:
|
|
18355
|
+
- active
|
|
18356
|
+
- pending
|
|
18122
18357
|
OrganizationSAMLProvider:
|
|
18123
18358
|
type: object
|
|
18124
18359
|
properties:
|
|
@@ -18145,6 +18380,8 @@ components:
|
|
|
18145
18380
|
createdAt:
|
|
18146
18381
|
description: Date at which the provider was created.
|
|
18147
18382
|
$ref: "#/components/schemas/Timestamp"
|
|
18383
|
+
status:
|
|
18384
|
+
$ref: "#/components/schemas/SAMLProviderStatus"
|
|
18148
18385
|
service:
|
|
18149
18386
|
description: Metadata about the service provider.
|
|
18150
18387
|
properties:
|
|
@@ -18181,6 +18418,7 @@ components:
|
|
|
18181
18418
|
- certificate
|
|
18182
18419
|
- defaultRole
|
|
18183
18420
|
- createdAt
|
|
18421
|
+
- status
|
|
18184
18422
|
- service
|
|
18185
18423
|
- urls
|
|
18186
18424
|
OrganizationSSOProviderLogin:
|
|
@@ -18511,6 +18749,375 @@ components:
|
|
|
18511
18749
|
required:
|
|
18512
18750
|
- filesystem
|
|
18513
18751
|
- url
|
|
18752
|
+
ConversationsIssuesCluster:
|
|
18753
|
+
type: object
|
|
18754
|
+
properties:
|
|
18755
|
+
object:
|
|
18756
|
+
type: string
|
|
18757
|
+
enum:
|
|
18758
|
+
- issues-cluster
|
|
18759
|
+
id:
|
|
18760
|
+
type: string
|
|
18761
|
+
description: The ID of the conversations issues cluster
|
|
18762
|
+
label:
|
|
18763
|
+
type: string
|
|
18764
|
+
description: The label of the conversations issues cluster
|
|
18765
|
+
createdAt:
|
|
18766
|
+
$ref: "#/components/schemas/Timestamp"
|
|
18767
|
+
updatedAt:
|
|
18768
|
+
$ref: "#/components/schemas/Timestamp"
|
|
18769
|
+
icon:
|
|
18770
|
+
$ref: "#/components/schemas/Icon"
|
|
18771
|
+
summary:
|
|
18772
|
+
type: string
|
|
18773
|
+
description: The summary of the conversations issues cluster
|
|
18774
|
+
weeklyPulse:
|
|
18775
|
+
type: array
|
|
18776
|
+
minItems: 13
|
|
18777
|
+
maxItems: 13
|
|
18778
|
+
description: The weekly pulse of the conversations issues cluster for the past 3 months
|
|
18779
|
+
items:
|
|
18780
|
+
type: number
|
|
18781
|
+
sources:
|
|
18782
|
+
type: object
|
|
18783
|
+
additionalProperties:
|
|
18784
|
+
type: number
|
|
18785
|
+
description: The number of issues in the conversations issues cluster for the source
|
|
18786
|
+
stats:
|
|
18787
|
+
type: object
|
|
18788
|
+
description: The stats of the conversations issues cluster
|
|
18789
|
+
properties:
|
|
18790
|
+
issues:
|
|
18791
|
+
type: number
|
|
18792
|
+
description: The number of issues in the conversations issues cluster
|
|
18793
|
+
conversations:
|
|
18794
|
+
type: number
|
|
18795
|
+
description: The number of conversations in the conversations issues cluster
|
|
18796
|
+
tasksTotal:
|
|
18797
|
+
type: number
|
|
18798
|
+
description: The number of tasks in the conversations issues cluster
|
|
18799
|
+
tasksBacklog:
|
|
18800
|
+
type: number
|
|
18801
|
+
description: The number of tasks in the backlog in the conversations issues cluster
|
|
18802
|
+
tasksStarted:
|
|
18803
|
+
type: number
|
|
18804
|
+
description: The number of tasks done in the conversations issues cluster
|
|
18805
|
+
tasksCompleted:
|
|
18806
|
+
type: number
|
|
18807
|
+
description: The number of tasks completed in the conversations issues cluster
|
|
18808
|
+
tasksCancelled:
|
|
18809
|
+
type: number
|
|
18810
|
+
description: The number of tasks canceled in the conversations issues cluster
|
|
18811
|
+
required:
|
|
18812
|
+
- issues
|
|
18813
|
+
- conversations
|
|
18814
|
+
- tasksTotal
|
|
18815
|
+
- tasksBacklog
|
|
18816
|
+
- tasksStarted
|
|
18817
|
+
- tasksCompleted
|
|
18818
|
+
- tasksCancelled
|
|
18819
|
+
urls:
|
|
18820
|
+
type: object
|
|
18821
|
+
description: URLs associated with the conversations issues cluster
|
|
18822
|
+
properties:
|
|
18823
|
+
location:
|
|
18824
|
+
type: string
|
|
18825
|
+
description: URL of the conversations issues cluster in the API
|
|
18826
|
+
format: uri
|
|
18827
|
+
app:
|
|
18828
|
+
type: string
|
|
18829
|
+
description: URL of the conversations issues cluster in the application
|
|
18830
|
+
format: uri
|
|
18831
|
+
required:
|
|
18832
|
+
- app
|
|
18833
|
+
- location
|
|
18834
|
+
required:
|
|
18835
|
+
- object
|
|
18836
|
+
- id
|
|
18837
|
+
- label
|
|
18838
|
+
- summary
|
|
18839
|
+
- icon
|
|
18840
|
+
- sources
|
|
18841
|
+
- stats
|
|
18842
|
+
- weeklyPulse
|
|
18843
|
+
- createdAt
|
|
18844
|
+
- updatedAt
|
|
18845
|
+
- urls
|
|
18846
|
+
ConversationIssue:
|
|
18847
|
+
type: object
|
|
18848
|
+
properties:
|
|
18849
|
+
object:
|
|
18850
|
+
type: string
|
|
18851
|
+
enum:
|
|
18852
|
+
- conversation-issue
|
|
18853
|
+
id:
|
|
18854
|
+
type: string
|
|
18855
|
+
description: The ID of the conversation issue
|
|
18856
|
+
title:
|
|
18857
|
+
type: string
|
|
18858
|
+
description: The title of the conversation issue
|
|
18859
|
+
summary:
|
|
18860
|
+
type: string
|
|
18861
|
+
description: The summary of the conversation issue
|
|
18862
|
+
createdAt:
|
|
18863
|
+
$ref: "#/components/schemas/Timestamp"
|
|
18864
|
+
ingestedAt:
|
|
18865
|
+
$ref: "#/components/schemas/Timestamp"
|
|
18866
|
+
conversation:
|
|
18867
|
+
type: string
|
|
18868
|
+
description: The ID of the conversation the issue belongs to
|
|
18869
|
+
cluster:
|
|
18870
|
+
type: string
|
|
18871
|
+
description: The ID of the cluster the issue has been linked to
|
|
18872
|
+
urls:
|
|
18873
|
+
type: object
|
|
18874
|
+
description: URLs associated with the conversation issue
|
|
18875
|
+
properties:
|
|
18876
|
+
location:
|
|
18877
|
+
type: string
|
|
18878
|
+
description: URL of the conversation issue in the API
|
|
18879
|
+
format: uri
|
|
18880
|
+
required:
|
|
18881
|
+
- location
|
|
18882
|
+
required:
|
|
18883
|
+
- object
|
|
18884
|
+
- id
|
|
18885
|
+
- title
|
|
18886
|
+
- summary
|
|
18887
|
+
- createdAt
|
|
18888
|
+
- ingestedAt
|
|
18889
|
+
- conversation
|
|
18890
|
+
- urls
|
|
18891
|
+
ConversationSource:
|
|
18892
|
+
oneOf:
|
|
18893
|
+
- type: string
|
|
18894
|
+
description: Integration source
|
|
18895
|
+
pattern: ^integration:[^:]+:[^:]+$
|
|
18896
|
+
x-typescript: "`integration:${string}:${string}`"
|
|
18897
|
+
- type: string
|
|
18898
|
+
description: Email source
|
|
18899
|
+
enum:
|
|
18900
|
+
- email
|
|
18901
|
+
Conversation:
|
|
18902
|
+
type: object
|
|
18903
|
+
properties:
|
|
18904
|
+
object:
|
|
18905
|
+
type: string
|
|
18906
|
+
enum:
|
|
18907
|
+
- conversation
|
|
18908
|
+
id:
|
|
18909
|
+
type: string
|
|
18910
|
+
description: The ID of the conversation
|
|
18911
|
+
subject:
|
|
18912
|
+
type: string
|
|
18913
|
+
description: The subject of the conversation
|
|
18914
|
+
createdAt:
|
|
18915
|
+
$ref: "#/components/schemas/Timestamp"
|
|
18916
|
+
processedAt:
|
|
18917
|
+
$ref: "#/components/schemas/Timestamp"
|
|
18918
|
+
source:
|
|
18919
|
+
$ref: "#/components/schemas/ConversationSource"
|
|
18920
|
+
urls:
|
|
18921
|
+
type: object
|
|
18922
|
+
description: URLs associated with the conversation
|
|
18923
|
+
properties:
|
|
18924
|
+
location:
|
|
18925
|
+
type: string
|
|
18926
|
+
description: URL of the conversation in the API
|
|
18927
|
+
format: uri
|
|
18928
|
+
source:
|
|
18929
|
+
type: string
|
|
18930
|
+
description: URL of the conversation in the source
|
|
18931
|
+
format: uri
|
|
18932
|
+
required:
|
|
18933
|
+
- location
|
|
18934
|
+
required:
|
|
18935
|
+
- object
|
|
18936
|
+
- id
|
|
18937
|
+
- createdAt
|
|
18938
|
+
- source
|
|
18939
|
+
- urls
|
|
18940
|
+
ConversationMetadata:
|
|
18941
|
+
type: object
|
|
18942
|
+
properties:
|
|
18943
|
+
url:
|
|
18944
|
+
type: string
|
|
18945
|
+
description: URL to the conversation
|
|
18946
|
+
attributes:
|
|
18947
|
+
type: object
|
|
18948
|
+
additionalProperties:
|
|
18949
|
+
type: string
|
|
18950
|
+
createdAt:
|
|
18951
|
+
description: Date of the conversation creation
|
|
18952
|
+
$ref: "#/components/schemas/Timestamp"
|
|
18953
|
+
ConversationPartMessage:
|
|
18954
|
+
type: object
|
|
18955
|
+
description: A message posted in the conversation by a user or a team member.
|
|
18956
|
+
properties:
|
|
18957
|
+
type:
|
|
18958
|
+
type: string
|
|
18959
|
+
enum:
|
|
18960
|
+
- message
|
|
18961
|
+
role:
|
|
18962
|
+
type: string
|
|
18963
|
+
enum:
|
|
18964
|
+
- user
|
|
18965
|
+
- assistant
|
|
18966
|
+
- team-member
|
|
18967
|
+
body:
|
|
18968
|
+
type: string
|
|
18969
|
+
description: Markdown or HTML body of the message.
|
|
18970
|
+
required:
|
|
18971
|
+
- type
|
|
18972
|
+
- role
|
|
18973
|
+
- body
|
|
18974
|
+
ConversationPart:
|
|
18975
|
+
oneOf:
|
|
18976
|
+
- $ref: "#/components/schemas/ConversationPartMessage"
|
|
18977
|
+
ConversationInput:
|
|
18978
|
+
type: object
|
|
18979
|
+
properties:
|
|
18980
|
+
id:
|
|
18981
|
+
type: string
|
|
18982
|
+
minLength: 1
|
|
18983
|
+
maxLength: 255
|
|
18984
|
+
description: The unique identifier for the conversation, relative to the source in which it was created.
|
|
18985
|
+
metadata:
|
|
18986
|
+
$ref: "#/components/schemas/ConversationMetadata"
|
|
18987
|
+
subject:
|
|
18988
|
+
type: string
|
|
18989
|
+
maxLength: 512
|
|
18990
|
+
description: The subject of the conversation.
|
|
18991
|
+
parts:
|
|
18992
|
+
type: array
|
|
18993
|
+
items:
|
|
18994
|
+
$ref: "#/components/schemas/ConversationPart"
|
|
18995
|
+
required:
|
|
18996
|
+
- id
|
|
18997
|
+
- parts
|
|
18998
|
+
AgentsSetupState:
|
|
18999
|
+
type: object
|
|
19000
|
+
description: State and settings of the agent
|
|
19001
|
+
properties:
|
|
19002
|
+
email:
|
|
19003
|
+
type: string
|
|
19004
|
+
description: The email address of the agent. Emails can be forwarded to it to ingest conversations.
|
|
19005
|
+
stats:
|
|
19006
|
+
type: object
|
|
19007
|
+
description: The stats of the agent.
|
|
19008
|
+
properties:
|
|
19009
|
+
backlogTasks:
|
|
19010
|
+
type: number
|
|
19011
|
+
description: The number of tasks in the backlog.
|
|
19012
|
+
startedTasks:
|
|
19013
|
+
type: number
|
|
19014
|
+
description: The number of tasks in progress.
|
|
19015
|
+
completedTasks:
|
|
19016
|
+
type: number
|
|
19017
|
+
description: The number of tasks that have been completed.
|
|
19018
|
+
canceledTasks:
|
|
19019
|
+
type: number
|
|
19020
|
+
description: The number of tasks that have been canceled.
|
|
19021
|
+
conversations:
|
|
19022
|
+
type: number
|
|
19023
|
+
description: The number of conversations the agent has indexed.
|
|
19024
|
+
issues:
|
|
19025
|
+
type: number
|
|
19026
|
+
description: The number of issues the agent has indexed.
|
|
19027
|
+
issuesClusters:
|
|
19028
|
+
type: number
|
|
19029
|
+
description: The number of issues clusters the agent has indexed.
|
|
19030
|
+
sources:
|
|
19031
|
+
type: object
|
|
19032
|
+
additionalProperties:
|
|
19033
|
+
type: number
|
|
19034
|
+
description: The number of conversations ingested for the source
|
|
19035
|
+
required:
|
|
19036
|
+
- backlogTasks
|
|
19037
|
+
- startedTasks
|
|
19038
|
+
- completedTasks
|
|
19039
|
+
- canceledTasks
|
|
19040
|
+
- conversations
|
|
19041
|
+
- issues
|
|
19042
|
+
- issuesClusters
|
|
19043
|
+
- sources
|
|
19044
|
+
settings:
|
|
19045
|
+
type: object
|
|
19046
|
+
description: The settings for the agent.
|
|
19047
|
+
properties: {}
|
|
19048
|
+
additionalProperties: false
|
|
19049
|
+
required:
|
|
19050
|
+
- email
|
|
19051
|
+
- settings
|
|
19052
|
+
- stats
|
|
19053
|
+
AgentTaskStatus:
|
|
19054
|
+
type: string
|
|
19055
|
+
description: |
|
|
19056
|
+
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.
|
|
19057
|
+
enum:
|
|
19058
|
+
- backlog
|
|
19059
|
+
- started
|
|
19060
|
+
- completed
|
|
19061
|
+
- canceled
|
|
19062
|
+
AgentTask:
|
|
19063
|
+
type: object
|
|
19064
|
+
properties:
|
|
19065
|
+
object:
|
|
19066
|
+
type: string
|
|
19067
|
+
enum:
|
|
19068
|
+
- agent-task
|
|
19069
|
+
id:
|
|
19070
|
+
type: string
|
|
19071
|
+
description: The ID of the agent task
|
|
19072
|
+
title:
|
|
19073
|
+
type: string
|
|
19074
|
+
description: The title of the agent task
|
|
19075
|
+
description:
|
|
19076
|
+
type: string
|
|
19077
|
+
description: The description of the agent task
|
|
19078
|
+
instructions:
|
|
19079
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
19080
|
+
status:
|
|
19081
|
+
$ref: "#/components/schemas/AgentTaskStatus"
|
|
19082
|
+
createdAt:
|
|
19083
|
+
$ref: "#/components/schemas/Timestamp"
|
|
19084
|
+
updatedAt:
|
|
19085
|
+
$ref: "#/components/schemas/Timestamp"
|
|
19086
|
+
cluster:
|
|
19087
|
+
type: string
|
|
19088
|
+
description: ID of the cluster the agent task is associated with.
|
|
19089
|
+
space:
|
|
19090
|
+
type: string
|
|
19091
|
+
description: ID of the space the agent task will act on.
|
|
19092
|
+
changeRequest:
|
|
19093
|
+
type: string
|
|
19094
|
+
description: ID of the change request the agent task is associated with.
|
|
19095
|
+
urls:
|
|
19096
|
+
type: object
|
|
19097
|
+
description: URLs associated with the agent task
|
|
19098
|
+
properties:
|
|
19099
|
+
location:
|
|
19100
|
+
type: string
|
|
19101
|
+
description: URL of the agent task in the API
|
|
19102
|
+
format: uri
|
|
19103
|
+
app:
|
|
19104
|
+
type: string
|
|
19105
|
+
description: URL of the agent task in the application
|
|
19106
|
+
format: uri
|
|
19107
|
+
required:
|
|
19108
|
+
- app
|
|
19109
|
+
- location
|
|
19110
|
+
required:
|
|
19111
|
+
- object
|
|
19112
|
+
- id
|
|
19113
|
+
- title
|
|
19114
|
+
- description
|
|
19115
|
+
- instructions
|
|
19116
|
+
- space
|
|
19117
|
+
- status
|
|
19118
|
+
- createdAt
|
|
19119
|
+
- updatedAt
|
|
19120
|
+
- urls
|
|
18514
19121
|
TranslationTitle:
|
|
18515
19122
|
type: string
|
|
18516
19123
|
description: Title of the translation settings
|
|
@@ -18750,15 +19357,6 @@ components:
|
|
|
18750
19357
|
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
18751
19358
|
required:
|
|
18752
19359
|
- type
|
|
18753
|
-
- type: object
|
|
18754
|
-
properties:
|
|
18755
|
-
type:
|
|
18756
|
-
description: User cannot proceed with the operation due to lack of permissions.
|
|
18757
|
-
type: string
|
|
18758
|
-
enum:
|
|
18759
|
-
- no-permissions
|
|
18760
|
-
required:
|
|
18761
|
-
- type
|
|
18762
19360
|
- type: object
|
|
18763
19361
|
properties:
|
|
18764
19362
|
type:
|
|
@@ -19459,7 +20057,8 @@ components:
|
|
|
19459
20057
|
fallbackURL:
|
|
19460
20058
|
type: string
|
|
19461
20059
|
format: uri
|
|
19462
|
-
description: A fallback URL that will be used if authentication fails.
|
|
20060
|
+
description: A fallback URL that will be used if authentication fails. If not provided, the fallback URL will not be changed. If set to null, the fallback URL will be unset.
|
|
20061
|
+
nullable: true
|
|
19463
20062
|
SiteSearchScope:
|
|
19464
20063
|
oneOf:
|
|
19465
20064
|
- type: object
|
|
@@ -19608,6 +20207,7 @@ components:
|
|
|
19608
20207
|
type: string
|
|
19609
20208
|
enum:
|
|
19610
20209
|
- user
|
|
20210
|
+
- assistant
|
|
19611
20211
|
- developer
|
|
19612
20212
|
AIMessageAttachmentSearch:
|
|
19613
20213
|
type: object
|
|
@@ -19671,8 +20271,25 @@ components:
|
|
|
19671
20271
|
- $ref: "#/components/schemas/AIMessageAttachmentVisitorProfile"
|
|
19672
20272
|
- $ref: "#/components/schemas/AIMessageAttachmentPage"
|
|
19673
20273
|
- $ref: "#/components/schemas/AIMessageAttachmentPages"
|
|
20274
|
+
AIMessageContext:
|
|
20275
|
+
type: object
|
|
20276
|
+
description: Context about the current user sending a message.
|
|
20277
|
+
properties:
|
|
20278
|
+
location:
|
|
20279
|
+
type: object
|
|
20280
|
+
properties:
|
|
20281
|
+
spaceId:
|
|
20282
|
+
type: string
|
|
20283
|
+
description: ID of the current space.
|
|
20284
|
+
pageId:
|
|
20285
|
+
type: string
|
|
20286
|
+
description: ID of the current page.
|
|
20287
|
+
required:
|
|
20288
|
+
- spaceId
|
|
20289
|
+
- pageId
|
|
19674
20290
|
AIMessageInput:
|
|
19675
20291
|
type: object
|
|
20292
|
+
description: Input version of an AI message.
|
|
19676
20293
|
properties:
|
|
19677
20294
|
role:
|
|
19678
20295
|
$ref: "#/components/schemas/AIMessageRole"
|
|
@@ -19685,6 +20302,8 @@ components:
|
|
|
19685
20302
|
type: array
|
|
19686
20303
|
items:
|
|
19687
20304
|
$ref: "#/components/schemas/AIMessageAttachment"
|
|
20305
|
+
context:
|
|
20306
|
+
$ref: "#/components/schemas/AIMessageContext"
|
|
19688
20307
|
required:
|
|
19689
20308
|
- role
|
|
19690
20309
|
- content
|
|
@@ -19747,11 +20366,16 @@ components:
|
|
|
19747
20366
|
type: string
|
|
19748
20367
|
enum:
|
|
19749
20368
|
- response_finish
|
|
20369
|
+
messageId:
|
|
20370
|
+
type: string
|
|
20371
|
+
description: |
|
|
20372
|
+
The ID of the message that this event is composing.
|
|
19750
20373
|
responseId:
|
|
19751
20374
|
type: string
|
|
19752
20375
|
description: The ID of the response
|
|
19753
20376
|
required:
|
|
19754
20377
|
- type
|
|
20378
|
+
- messageId
|
|
19755
20379
|
- responseId
|
|
19756
20380
|
AIStreamResponseDocument:
|
|
19757
20381
|
type: object
|
|
@@ -19762,6 +20386,14 @@ components:
|
|
|
19762
20386
|
type: string
|
|
19763
20387
|
enum:
|
|
19764
20388
|
- response_document
|
|
20389
|
+
messageId:
|
|
20390
|
+
type: string
|
|
20391
|
+
description: |
|
|
20392
|
+
The ID of the message that this event is composing.
|
|
20393
|
+
stepIndex:
|
|
20394
|
+
type: integer
|
|
20395
|
+
description: |
|
|
20396
|
+
The index of the step of the message that this event is composing.
|
|
19765
20397
|
operation:
|
|
19766
20398
|
type: string
|
|
19767
20399
|
enum:
|
|
@@ -19770,9 +20402,11 @@ components:
|
|
|
19770
20402
|
blocks:
|
|
19771
20403
|
type: array
|
|
19772
20404
|
items:
|
|
19773
|
-
$ref: "#/components/schemas/
|
|
20405
|
+
$ref: "#/components/schemas/DocumentBlocksTopLevels"
|
|
19774
20406
|
required:
|
|
19775
20407
|
- type
|
|
20408
|
+
- messageId
|
|
20409
|
+
- stepIndex
|
|
19776
20410
|
- operation
|
|
19777
20411
|
- blocks
|
|
19778
20412
|
AIStreamResponseObject:
|
|
@@ -19784,11 +20418,16 @@ components:
|
|
|
19784
20418
|
type: string
|
|
19785
20419
|
enum:
|
|
19786
20420
|
- response_object
|
|
20421
|
+
messageId:
|
|
20422
|
+
type: string
|
|
20423
|
+
description: |
|
|
20424
|
+
The ID of the message that this event is composing.
|
|
19787
20425
|
jsonChunk:
|
|
19788
20426
|
type: string
|
|
19789
20427
|
description: The chunk of the JSON object response
|
|
19790
20428
|
required:
|
|
19791
20429
|
- type
|
|
20430
|
+
- messageId
|
|
19792
20431
|
- jsonChunk
|
|
19793
20432
|
AIToolCallGetPageContent:
|
|
19794
20433
|
type: object
|
|
@@ -19861,11 +20500,178 @@ components:
|
|
|
19861
20500
|
- tool
|
|
19862
20501
|
- query
|
|
19863
20502
|
- results
|
|
20503
|
+
AIToolCallEditPage:
|
|
20504
|
+
type: object
|
|
20505
|
+
properties:
|
|
20506
|
+
tool:
|
|
20507
|
+
type: string
|
|
20508
|
+
enum:
|
|
20509
|
+
- editPage
|
|
20510
|
+
spaceId:
|
|
20511
|
+
type: string
|
|
20512
|
+
description: The ID of the space being edited.
|
|
20513
|
+
page:
|
|
20514
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
20515
|
+
required:
|
|
20516
|
+
- tool
|
|
20517
|
+
- spaceId
|
|
20518
|
+
- page
|
|
20519
|
+
AIToolCallCreatePage:
|
|
20520
|
+
type: object
|
|
20521
|
+
properties:
|
|
20522
|
+
tool:
|
|
20523
|
+
type: string
|
|
20524
|
+
enum:
|
|
20525
|
+
- createPage
|
|
20526
|
+
spaceId:
|
|
20527
|
+
type: string
|
|
20528
|
+
description: The ID of the space being edited.
|
|
20529
|
+
page:
|
|
20530
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
20531
|
+
required:
|
|
20532
|
+
- tool
|
|
20533
|
+
- spaceId
|
|
20534
|
+
- page
|
|
20535
|
+
AIToolCallDeletePage:
|
|
20536
|
+
type: object
|
|
20537
|
+
properties:
|
|
20538
|
+
tool:
|
|
20539
|
+
type: string
|
|
20540
|
+
enum:
|
|
20541
|
+
- deletePage
|
|
20542
|
+
spaceId:
|
|
20543
|
+
type: string
|
|
20544
|
+
description: The ID of the space being edited.
|
|
20545
|
+
page:
|
|
20546
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
20547
|
+
required:
|
|
20548
|
+
- tool
|
|
20549
|
+
- spaceId
|
|
20550
|
+
- page
|
|
20551
|
+
AIToolCallRenamePage:
|
|
20552
|
+
type: object
|
|
20553
|
+
properties:
|
|
20554
|
+
tool:
|
|
20555
|
+
type: string
|
|
20556
|
+
enum:
|
|
20557
|
+
- renamePage
|
|
20558
|
+
spaceId:
|
|
20559
|
+
type: string
|
|
20560
|
+
description: The ID of the space being edited.
|
|
20561
|
+
page:
|
|
20562
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
20563
|
+
title:
|
|
20564
|
+
type: string
|
|
20565
|
+
description: The new title of the page.
|
|
20566
|
+
required:
|
|
20567
|
+
- tool
|
|
20568
|
+
- spaceId
|
|
20569
|
+
- page
|
|
20570
|
+
- title
|
|
20571
|
+
AIToolCallMovePage:
|
|
20572
|
+
type: object
|
|
20573
|
+
properties:
|
|
20574
|
+
tool:
|
|
20575
|
+
type: string
|
|
20576
|
+
enum:
|
|
20577
|
+
- movePage
|
|
20578
|
+
spaceId:
|
|
20579
|
+
type: string
|
|
20580
|
+
description: The ID of the space being edited.
|
|
20581
|
+
page:
|
|
20582
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
20583
|
+
to:
|
|
20584
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
20585
|
+
moveType:
|
|
20586
|
+
type: string
|
|
20587
|
+
description: |
|
|
20588
|
+
Indicates how the page was moved relative to the "to" page.
|
|
20589
|
+
- `within`: moved as the last child of the target page (or to the root when `to` is omitted)
|
|
20590
|
+
- `before`: moved directly before the target page
|
|
20591
|
+
- `after`: moved directly after the target page
|
|
20592
|
+
enum:
|
|
20593
|
+
- within
|
|
20594
|
+
- before
|
|
20595
|
+
- after
|
|
20596
|
+
required:
|
|
20597
|
+
- tool
|
|
20598
|
+
- spaceId
|
|
20599
|
+
- page
|
|
20600
|
+
- moveType
|
|
20601
|
+
AIToolCallListModifiedPages:
|
|
20602
|
+
type: object
|
|
20603
|
+
properties:
|
|
20604
|
+
tool:
|
|
20605
|
+
type: string
|
|
20606
|
+
enum:
|
|
20607
|
+
- listModifiedPages
|
|
20608
|
+
spaceId:
|
|
20609
|
+
type: string
|
|
20610
|
+
description: The ID of the space being accessed.
|
|
20611
|
+
required:
|
|
20612
|
+
- tool
|
|
20613
|
+
- spaceId
|
|
20614
|
+
AIToolCallGetPageDiff:
|
|
20615
|
+
type: object
|
|
20616
|
+
properties:
|
|
20617
|
+
tool:
|
|
20618
|
+
type: string
|
|
20619
|
+
enum:
|
|
20620
|
+
- getPageDiff
|
|
20621
|
+
spaceId:
|
|
20622
|
+
type: string
|
|
20623
|
+
description: The ID of the space being accessed.
|
|
20624
|
+
page:
|
|
20625
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
20626
|
+
required:
|
|
20627
|
+
- tool
|
|
20628
|
+
- spaceId
|
|
20629
|
+
- page
|
|
20630
|
+
AIToolCallCreateAgentTask:
|
|
20631
|
+
type: object
|
|
20632
|
+
properties:
|
|
20633
|
+
tool:
|
|
20634
|
+
type: string
|
|
20635
|
+
enum:
|
|
20636
|
+
- createAgentTask
|
|
20637
|
+
spaceId:
|
|
20638
|
+
type: string
|
|
20639
|
+
description: The ID of the space the task belongs to.
|
|
20640
|
+
action:
|
|
20641
|
+
type: string
|
|
20642
|
+
enum:
|
|
20643
|
+
- create
|
|
20644
|
+
- update
|
|
20645
|
+
task:
|
|
20646
|
+
type: object
|
|
20647
|
+
properties:
|
|
20648
|
+
id:
|
|
20649
|
+
type: string
|
|
20650
|
+
description: The unique identifier of the task.
|
|
20651
|
+
title:
|
|
20652
|
+
type: string
|
|
20653
|
+
description: The title of the task.
|
|
20654
|
+
required:
|
|
20655
|
+
- id
|
|
20656
|
+
- title
|
|
20657
|
+
required:
|
|
20658
|
+
- tool
|
|
20659
|
+
- spaceId
|
|
20660
|
+
- action
|
|
20661
|
+
- task
|
|
19864
20662
|
AIToolCall:
|
|
19865
20663
|
oneOf:
|
|
19866
20664
|
- $ref: "#/components/schemas/AIToolCallGetPageContent"
|
|
19867
20665
|
- $ref: "#/components/schemas/AIToolCallGetPages"
|
|
19868
20666
|
- $ref: "#/components/schemas/AIToolCallSearch"
|
|
20667
|
+
- $ref: "#/components/schemas/AIToolCallEditPage"
|
|
20668
|
+
- $ref: "#/components/schemas/AIToolCallCreatePage"
|
|
20669
|
+
- $ref: "#/components/schemas/AIToolCallDeletePage"
|
|
20670
|
+
- $ref: "#/components/schemas/AIToolCallRenamePage"
|
|
20671
|
+
- $ref: "#/components/schemas/AIToolCallMovePage"
|
|
20672
|
+
- $ref: "#/components/schemas/AIToolCallListModifiedPages"
|
|
20673
|
+
- $ref: "#/components/schemas/AIToolCallGetPageDiff"
|
|
20674
|
+
- $ref: "#/components/schemas/AIToolCallCreateAgentTask"
|
|
19869
20675
|
AIStreamResponseToolCall:
|
|
19870
20676
|
type: object
|
|
19871
20677
|
description: |
|
|
@@ -19875,10 +20681,20 @@ components:
|
|
|
19875
20681
|
type: string
|
|
19876
20682
|
enum:
|
|
19877
20683
|
- response_tool_call
|
|
20684
|
+
messageId:
|
|
20685
|
+
type: string
|
|
20686
|
+
description: |
|
|
20687
|
+
The ID of the message that this event is composing.
|
|
20688
|
+
stepIndex:
|
|
20689
|
+
type: integer
|
|
20690
|
+
description: |
|
|
20691
|
+
The index of the step of the message that this event is composing.
|
|
19878
20692
|
toolCall:
|
|
19879
20693
|
$ref: "#/components/schemas/AIToolCall"
|
|
19880
20694
|
required:
|
|
19881
20695
|
- type
|
|
20696
|
+
- messageId
|
|
20697
|
+
- stepIndex
|
|
19882
20698
|
- toolCall
|
|
19883
20699
|
AIStreamResponse:
|
|
19884
20700
|
oneOf:
|
|
@@ -23337,6 +24153,38 @@ components:
|
|
|
23337
24153
|
required:
|
|
23338
24154
|
- channel
|
|
23339
24155
|
- translation
|
|
24156
|
+
AgentTaskChannel:
|
|
24157
|
+
type: object
|
|
24158
|
+
description: Subscription channel for an agent task.
|
|
24159
|
+
properties:
|
|
24160
|
+
channel:
|
|
24161
|
+
type: string
|
|
24162
|
+
enum:
|
|
24163
|
+
- agent-task
|
|
24164
|
+
organization:
|
|
24165
|
+
type: string
|
|
24166
|
+
description: The ID of the organization.
|
|
24167
|
+
agentTask:
|
|
24168
|
+
type: string
|
|
24169
|
+
description: The ID of the agent task.
|
|
24170
|
+
required:
|
|
24171
|
+
- channel
|
|
24172
|
+
- organization
|
|
24173
|
+
- agentTask
|
|
24174
|
+
AgentTasksChannel:
|
|
24175
|
+
type: object
|
|
24176
|
+
description: Subscription channel for agent tasks.
|
|
24177
|
+
properties:
|
|
24178
|
+
channel:
|
|
24179
|
+
type: string
|
|
24180
|
+
enum:
|
|
24181
|
+
- agent-tasks
|
|
24182
|
+
organization:
|
|
24183
|
+
type: string
|
|
24184
|
+
description: The ID of the organization.
|
|
24185
|
+
required:
|
|
24186
|
+
- channel
|
|
24187
|
+
- organization
|
|
23340
24188
|
SubscriptionChannel:
|
|
23341
24189
|
description: Channel to subscribe to for realtime updates.
|
|
23342
24190
|
oneOf:
|
|
@@ -23406,6 +24254,8 @@ components:
|
|
|
23406
24254
|
- $ref: "#/components/schemas/OpenAPISpecChannel"
|
|
23407
24255
|
- $ref: "#/components/schemas/SubdomainChannel"
|
|
23408
24256
|
- $ref: "#/components/schemas/TranslationSettingsChannel"
|
|
24257
|
+
- $ref: "#/components/schemas/AgentTaskChannel"
|
|
24258
|
+
- $ref: "#/components/schemas/AgentTasksChannel"
|
|
23409
24259
|
discriminator:
|
|
23410
24260
|
propertyName: channel
|
|
23411
24261
|
GitSyncOperationChannelData:
|
|
@@ -23699,6 +24549,138 @@ components:
|
|
|
23699
24549
|
- member
|
|
23700
24550
|
- createdAt
|
|
23701
24551
|
- updatedAt
|
|
24552
|
+
AIMessageStep:
|
|
24553
|
+
type: object
|
|
24554
|
+
description: A step in a message from the AI agent.
|
|
24555
|
+
properties:
|
|
24556
|
+
content:
|
|
24557
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
24558
|
+
toolCalls:
|
|
24559
|
+
type: array
|
|
24560
|
+
items:
|
|
24561
|
+
$ref: "#/components/schemas/AIToolCall"
|
|
24562
|
+
required:
|
|
24563
|
+
- content
|
|
24564
|
+
AIMessage:
|
|
24565
|
+
type: object
|
|
24566
|
+
properties:
|
|
24567
|
+
id:
|
|
24568
|
+
type: string
|
|
24569
|
+
role:
|
|
24570
|
+
$ref: "#/components/schemas/AIMessageRole"
|
|
24571
|
+
steps:
|
|
24572
|
+
type: array
|
|
24573
|
+
items:
|
|
24574
|
+
$ref: "#/components/schemas/AIMessageStep"
|
|
24575
|
+
required:
|
|
24576
|
+
- id
|
|
24577
|
+
- role
|
|
24578
|
+
- steps
|
|
24579
|
+
AgentRequestReset:
|
|
24580
|
+
type: object
|
|
24581
|
+
description: |
|
|
24582
|
+
Request to reset the chat.
|
|
24583
|
+
properties:
|
|
24584
|
+
type:
|
|
24585
|
+
type: string
|
|
24586
|
+
enum:
|
|
24587
|
+
- reset
|
|
24588
|
+
required:
|
|
24589
|
+
- type
|
|
24590
|
+
AgentRequestPostMessage:
|
|
24591
|
+
type: object
|
|
24592
|
+
description: |
|
|
24593
|
+
Request to post a message to the agent.
|
|
24594
|
+
properties:
|
|
24595
|
+
type:
|
|
24596
|
+
type: string
|
|
24597
|
+
enum:
|
|
24598
|
+
- post_message
|
|
24599
|
+
message:
|
|
24600
|
+
$ref: "#/components/schemas/AIMessageInput"
|
|
24601
|
+
required:
|
|
24602
|
+
- type
|
|
24603
|
+
- message
|
|
24604
|
+
AgentRequest:
|
|
24605
|
+
description: |
|
|
24606
|
+
Payload to send to the agent.
|
|
24607
|
+
oneOf:
|
|
24608
|
+
- $ref: "#/components/schemas/AgentRequestReset"
|
|
24609
|
+
- $ref: "#/components/schemas/AgentRequestPostMessage"
|
|
24610
|
+
AgentStreamMessages:
|
|
24611
|
+
type: object
|
|
24612
|
+
description: |
|
|
24613
|
+
Payload emitted by the agent to reset the messages.
|
|
24614
|
+
properties:
|
|
24615
|
+
type:
|
|
24616
|
+
type: string
|
|
24617
|
+
enum:
|
|
24618
|
+
- messages
|
|
24619
|
+
operation:
|
|
24620
|
+
type: string
|
|
24621
|
+
enum:
|
|
24622
|
+
- append
|
|
24623
|
+
- replace
|
|
24624
|
+
messages:
|
|
24625
|
+
type: array
|
|
24626
|
+
items:
|
|
24627
|
+
$ref: "#/components/schemas/AIMessage"
|
|
24628
|
+
required:
|
|
24629
|
+
- type
|
|
24630
|
+
- operation
|
|
24631
|
+
- messages
|
|
24632
|
+
AgentStreamMessageResponse:
|
|
24633
|
+
type: object
|
|
24634
|
+
description: |
|
|
24635
|
+
Payload emitted by the agent with a partial message.
|
|
24636
|
+
properties:
|
|
24637
|
+
type:
|
|
24638
|
+
type: string
|
|
24639
|
+
enum:
|
|
24640
|
+
- message_response
|
|
24641
|
+
response:
|
|
24642
|
+
$ref: "#/components/schemas/AIStreamResponse"
|
|
24643
|
+
required:
|
|
24644
|
+
- type
|
|
24645
|
+
- response
|
|
24646
|
+
AgentStatus:
|
|
24647
|
+
type: string
|
|
24648
|
+
enum:
|
|
24649
|
+
- idle
|
|
24650
|
+
- processing
|
|
24651
|
+
- errored
|
|
24652
|
+
AgentState:
|
|
24653
|
+
type: object
|
|
24654
|
+
properties:
|
|
24655
|
+
status:
|
|
24656
|
+
$ref: "#/components/schemas/AgentStatus"
|
|
24657
|
+
suggestions:
|
|
24658
|
+
type: array
|
|
24659
|
+
description: A list of response suggestions for the user to select from.
|
|
24660
|
+
items:
|
|
24661
|
+
type: string
|
|
24662
|
+
required:
|
|
24663
|
+
- status
|
|
24664
|
+
- suggestions
|
|
24665
|
+
AgentStreamState:
|
|
24666
|
+
type: object
|
|
24667
|
+
description: |
|
|
24668
|
+
Payload emitted by the agent with its current state.
|
|
24669
|
+
properties:
|
|
24670
|
+
type:
|
|
24671
|
+
type: string
|
|
24672
|
+
enum:
|
|
24673
|
+
- state
|
|
24674
|
+
state:
|
|
24675
|
+
$ref: "#/components/schemas/AgentState"
|
|
24676
|
+
required:
|
|
24677
|
+
- type
|
|
24678
|
+
- state
|
|
24679
|
+
AgentStream:
|
|
24680
|
+
oneOf:
|
|
24681
|
+
- $ref: "#/components/schemas/AgentStreamMessages"
|
|
24682
|
+
- $ref: "#/components/schemas/AgentStreamMessageResponse"
|
|
24683
|
+
- $ref: "#/components/schemas/AgentStreamState"
|
|
23702
24684
|
RequestSpaceTrackPageView:
|
|
23703
24685
|
$ref: "#/components/schemas/SpaceTrackPageView"
|
|
23704
24686
|
RequestSiteTrackPageView:
|
|
@@ -23723,8 +24705,6 @@ components:
|
|
|
23723
24705
|
$ref: "#/components/schemas/ImportContent"
|
|
23724
24706
|
RequestCreateSpace:
|
|
23725
24707
|
$ref: "#/components/schemas/CreateSpace"
|
|
23726
|
-
RequestCreateChangeRequest:
|
|
23727
|
-
$ref: "#/components/schemas/CreateChangeRequest"
|
|
23728
24708
|
RequestRenderIntegrationUI:
|
|
23729
24709
|
$ref: "#/components/schemas/RenderIntegrationUI"
|
|
23730
24710
|
RequestUpdateContentPublishingAuth:
|