@gitbook/api 0.197.0 → 0.199.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 +328 -5
- package/dist/constants.d.ts +4 -0
- package/dist/index.cjs +92 -1
- package/dist/index.js +84 -1
- package/package.json +1 -1
- package/spec/openapi.json +800 -6
- package/spec/openapi.yaml +551 -5
package/spec/openapi.json
CHANGED
|
@@ -116,6 +116,13 @@
|
|
|
116
116
|
"x-parent": "sites",
|
|
117
117
|
"description": "Configure how site issue remediation should behave and provide site-specific instructions for the editing and topic analyst agents.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"SiteAgentSettings\" grouped=\"false\" %}\n The SiteAgentSettings object\n{% endopenapi-schemas %}\n"
|
|
118
118
|
},
|
|
119
|
+
{
|
|
120
|
+
"name": "site-agent-feedback",
|
|
121
|
+
"x-page-title": "Site agent feedback",
|
|
122
|
+
"x-page-description": "Collect feedback from AI agents about the surfaces your site exposes to them.",
|
|
123
|
+
"x-parent": "sites",
|
|
124
|
+
"description": "Collect structured feedback from AI agents about the tools, operations, commands and content they worked with, so you can see where agents struggle instead of only how often they call you. Feedback is usually about the surfaces you expose to agents, such as your own MCP server, API or CLI; the site is where it is collected and who owns it.\n"
|
|
125
|
+
},
|
|
119
126
|
{
|
|
120
127
|
"name": "site-spaces",
|
|
121
128
|
"x-page-title": "Site spaces",
|
|
@@ -12071,6 +12078,184 @@
|
|
|
12071
12078
|
}
|
|
12072
12079
|
}
|
|
12073
12080
|
},
|
|
12081
|
+
"/orgs/{organizationId}/agent/conversations": {
|
|
12082
|
+
"get": {
|
|
12083
|
+
"operationId": "listOrganizationAgentConversations",
|
|
12084
|
+
"summary": "List AI agent conversations in an organization",
|
|
12085
|
+
"description": "Returns a paginated list of the calling user's AI agent conversations with the organization agent. Unlike change request conversations, these are not tied to a single change request: the agent works across the organization and only attaches a change request when it needs to edit content. A conversation belongs to the user who started it and is never visible to anyone else.",
|
|
12086
|
+
"x-gitbook-mcp": true,
|
|
12087
|
+
"tags": [
|
|
12088
|
+
"organizations",
|
|
12089
|
+
"agents"
|
|
12090
|
+
],
|
|
12091
|
+
"security": [
|
|
12092
|
+
{
|
|
12093
|
+
"user": []
|
|
12094
|
+
},
|
|
12095
|
+
{
|
|
12096
|
+
"oauth": [
|
|
12097
|
+
"organization:read"
|
|
12098
|
+
]
|
|
12099
|
+
}
|
|
12100
|
+
],
|
|
12101
|
+
"parameters": [
|
|
12102
|
+
{
|
|
12103
|
+
"$ref": "#/components/parameters/organizationId"
|
|
12104
|
+
},
|
|
12105
|
+
{
|
|
12106
|
+
"$ref": "#/components/parameters/listPage"
|
|
12107
|
+
},
|
|
12108
|
+
{
|
|
12109
|
+
"$ref": "#/components/parameters/listLimit"
|
|
12110
|
+
}
|
|
12111
|
+
],
|
|
12112
|
+
"responses": {
|
|
12113
|
+
"200": {
|
|
12114
|
+
"description": "A list of agent conversations",
|
|
12115
|
+
"content": {
|
|
12116
|
+
"application/json": {
|
|
12117
|
+
"schema": {
|
|
12118
|
+
"allOf": [
|
|
12119
|
+
{
|
|
12120
|
+
"$ref": "#/components/schemas/List"
|
|
12121
|
+
},
|
|
12122
|
+
{
|
|
12123
|
+
"type": "object",
|
|
12124
|
+
"required": [
|
|
12125
|
+
"items"
|
|
12126
|
+
],
|
|
12127
|
+
"properties": {
|
|
12128
|
+
"items": {
|
|
12129
|
+
"type": "array",
|
|
12130
|
+
"items": {
|
|
12131
|
+
"$ref": "#/components/schemas/AgentConversation"
|
|
12132
|
+
}
|
|
12133
|
+
}
|
|
12134
|
+
}
|
|
12135
|
+
}
|
|
12136
|
+
]
|
|
12137
|
+
}
|
|
12138
|
+
}
|
|
12139
|
+
}
|
|
12140
|
+
}
|
|
12141
|
+
}
|
|
12142
|
+
}
|
|
12143
|
+
},
|
|
12144
|
+
"/orgs/{organizationId}/agent/conversations/{conversationId}": {
|
|
12145
|
+
"put": {
|
|
12146
|
+
"operationId": "provisionOrganizationAgentConversation",
|
|
12147
|
+
"summary": "Provision an AI agent conversation in an organization",
|
|
12148
|
+
"description": "Prepares a conversation so the client can connect to it, giving the agent the credentials it acts with. Call this before opening a conversation; connecting to one that was never provisioned yields an agent whose tools all fail. The conversation itself is only recorded once the user sends a first message, so opening the agent and closing it again leaves nothing behind. Safe to call again to refresh an expiring session.",
|
|
12149
|
+
"tags": [
|
|
12150
|
+
"organizations",
|
|
12151
|
+
"agents"
|
|
12152
|
+
],
|
|
12153
|
+
"security": [
|
|
12154
|
+
{
|
|
12155
|
+
"user": []
|
|
12156
|
+
}
|
|
12157
|
+
],
|
|
12158
|
+
"parameters": [
|
|
12159
|
+
{
|
|
12160
|
+
"$ref": "#/components/parameters/organizationId"
|
|
12161
|
+
},
|
|
12162
|
+
{
|
|
12163
|
+
"$ref": "#/components/parameters/conversationId"
|
|
12164
|
+
}
|
|
12165
|
+
],
|
|
12166
|
+
"responses": {
|
|
12167
|
+
"204": {
|
|
12168
|
+
"description": "The conversation is ready to be connected to."
|
|
12169
|
+
}
|
|
12170
|
+
}
|
|
12171
|
+
},
|
|
12172
|
+
"patch": {
|
|
12173
|
+
"operationId": "updateOrganizationAgentConversation",
|
|
12174
|
+
"summary": "Update an AI agent conversation in an organization",
|
|
12175
|
+
"description": "Updates one of the calling user's conversations with the organization agent. Use this to rename it.",
|
|
12176
|
+
"x-gitbook-mcp": true,
|
|
12177
|
+
"tags": [
|
|
12178
|
+
"organizations",
|
|
12179
|
+
"agents"
|
|
12180
|
+
],
|
|
12181
|
+
"security": [
|
|
12182
|
+
{
|
|
12183
|
+
"user": []
|
|
12184
|
+
},
|
|
12185
|
+
{
|
|
12186
|
+
"oauth": [
|
|
12187
|
+
"organization:write"
|
|
12188
|
+
]
|
|
12189
|
+
}
|
|
12190
|
+
],
|
|
12191
|
+
"parameters": [
|
|
12192
|
+
{
|
|
12193
|
+
"$ref": "#/components/parameters/organizationId"
|
|
12194
|
+
},
|
|
12195
|
+
{
|
|
12196
|
+
"$ref": "#/components/parameters/conversationId"
|
|
12197
|
+
}
|
|
12198
|
+
],
|
|
12199
|
+
"requestBody": {
|
|
12200
|
+
"required": true,
|
|
12201
|
+
"content": {
|
|
12202
|
+
"application/json": {
|
|
12203
|
+
"schema": {
|
|
12204
|
+
"type": "object",
|
|
12205
|
+
"required": [
|
|
12206
|
+
"title"
|
|
12207
|
+
],
|
|
12208
|
+
"properties": {
|
|
12209
|
+
"title": {
|
|
12210
|
+
"type": "string",
|
|
12211
|
+
"description": "The new title of the conversation."
|
|
12212
|
+
}
|
|
12213
|
+
}
|
|
12214
|
+
}
|
|
12215
|
+
}
|
|
12216
|
+
}
|
|
12217
|
+
},
|
|
12218
|
+
"responses": {
|
|
12219
|
+
"200": {
|
|
12220
|
+
"description": "The updated conversation.",
|
|
12221
|
+
"content": {
|
|
12222
|
+
"application/json": {
|
|
12223
|
+
"schema": {
|
|
12224
|
+
"$ref": "#/components/schemas/AgentConversation"
|
|
12225
|
+
}
|
|
12226
|
+
}
|
|
12227
|
+
}
|
|
12228
|
+
}
|
|
12229
|
+
}
|
|
12230
|
+
},
|
|
12231
|
+
"delete": {
|
|
12232
|
+
"operationId": "deleteOrganizationAgentConversation",
|
|
12233
|
+
"summary": "Delete an agent conversation in an organization",
|
|
12234
|
+
"description": "Deletes one of the calling user's conversations with the organization agent, destroying the messages it holds. This cannot be undone.",
|
|
12235
|
+
"tags": [
|
|
12236
|
+
"organizations",
|
|
12237
|
+
"agents"
|
|
12238
|
+
],
|
|
12239
|
+
"security": [
|
|
12240
|
+
{
|
|
12241
|
+
"user": []
|
|
12242
|
+
}
|
|
12243
|
+
],
|
|
12244
|
+
"parameters": [
|
|
12245
|
+
{
|
|
12246
|
+
"$ref": "#/components/parameters/organizationId"
|
|
12247
|
+
},
|
|
12248
|
+
{
|
|
12249
|
+
"$ref": "#/components/parameters/conversationId"
|
|
12250
|
+
}
|
|
12251
|
+
],
|
|
12252
|
+
"responses": {
|
|
12253
|
+
"205": {
|
|
12254
|
+
"description": "The conversation has been deleted."
|
|
12255
|
+
}
|
|
12256
|
+
}
|
|
12257
|
+
}
|
|
12258
|
+
},
|
|
12074
12259
|
"/orgs/{organizationId}/translations": {
|
|
12075
12260
|
"get": {
|
|
12076
12261
|
"operationId": "listTranslations",
|
|
@@ -14996,6 +15181,17 @@
|
|
|
14996
15181
|
"draft": {
|
|
14997
15182
|
"type": "boolean",
|
|
14998
15183
|
"description": "Whether the site section group should be kept in draft mode. Setting it to true makes the site section group draft. Setting it to false makes the site section group live."
|
|
15184
|
+
},
|
|
15185
|
+
"parentSectionGroupId": {
|
|
15186
|
+
"description": "ID of the parent section group to move this section group into. Set to null to move the section group to the root of the site.",
|
|
15187
|
+
"oneOf": [
|
|
15188
|
+
{
|
|
15189
|
+
"type": "string"
|
|
15190
|
+
},
|
|
15191
|
+
{
|
|
15192
|
+
"type": "null"
|
|
15193
|
+
}
|
|
15194
|
+
]
|
|
14999
15195
|
}
|
|
15000
15196
|
}
|
|
15001
15197
|
}
|
|
@@ -15905,11 +16101,45 @@
|
|
|
15905
16101
|
}
|
|
15906
16102
|
}
|
|
15907
16103
|
},
|
|
16104
|
+
"/orgs/{organizationId}/sites/{siteId}/search/prewarm": {
|
|
16105
|
+
"post": {
|
|
16106
|
+
"operationId": "prewarmSiteSearch",
|
|
16107
|
+
"summary": "Prewarm a site's search cache",
|
|
16108
|
+
"description": "Hints the search backend that latency-sensitive site search requests are likely to arrive soon. Call this when a visitor opens the site's search interface.",
|
|
16109
|
+
"tags": [
|
|
16110
|
+
"sites"
|
|
16111
|
+
],
|
|
16112
|
+
"security": [
|
|
16113
|
+
{
|
|
16114
|
+
"user": []
|
|
16115
|
+
},
|
|
16116
|
+
{
|
|
16117
|
+
"oauth": [
|
|
16118
|
+
"site:search"
|
|
16119
|
+
]
|
|
16120
|
+
}
|
|
16121
|
+
],
|
|
16122
|
+
"parameters": [
|
|
16123
|
+
{
|
|
16124
|
+
"$ref": "#/components/parameters/organizationId"
|
|
16125
|
+
},
|
|
16126
|
+
{
|
|
16127
|
+
"$ref": "#/components/parameters/siteId"
|
|
16128
|
+
}
|
|
16129
|
+
],
|
|
16130
|
+
"responses": {
|
|
16131
|
+
"204": {
|
|
16132
|
+
"description": "Search cache warmup accepted"
|
|
16133
|
+
}
|
|
16134
|
+
}
|
|
16135
|
+
}
|
|
16136
|
+
},
|
|
15908
16137
|
"/orgs/{organizationId}/sites/{siteId}/agent-feedback": {
|
|
15909
16138
|
"post": {
|
|
15910
16139
|
"operationId": "submitSiteAgentFeedback",
|
|
15911
|
-
"
|
|
15912
|
-
"
|
|
16140
|
+
"deprecated": true,
|
|
16141
|
+
"summary": "Submit agent feedback for a site. (Deprecated) use submitAgentFeedbackToSite instead.",
|
|
16142
|
+
"description": "Submit feedback from an AI agent about the content of the site, such as outdated, incorrect or missing content encountered while helping a user.\n\nDeprecated in favour of `submitAgentFeedbackToSite`, which collects feedback about every surface a site exposes to agents. Send the same payload there as a `site-content` subject.",
|
|
15913
16143
|
"x-internal": true,
|
|
15914
16144
|
"tags": [
|
|
15915
16145
|
"site-insights"
|
|
@@ -15978,6 +16208,78 @@
|
|
|
15978
16208
|
}
|
|
15979
16209
|
}
|
|
15980
16210
|
},
|
|
16211
|
+
"/orgs/{organizationId}/sites/{siteId}/agents/feedback": {
|
|
16212
|
+
"post": {
|
|
16213
|
+
"operationId": "submitAgentFeedbackToSite",
|
|
16214
|
+
"summary": "Submit agent feedback",
|
|
16215
|
+
"description": "Submit structured feedback from an AI agent about an MCP tool or operation, a CLI command, an API endpoint, a site page/mcp, or the product overall. The site collects and owns the feedback rather than being its subject.",
|
|
16216
|
+
"x-internal": true,
|
|
16217
|
+
"tags": [
|
|
16218
|
+
"site-agent-feedback"
|
|
16219
|
+
],
|
|
16220
|
+
"security": [
|
|
16221
|
+
{
|
|
16222
|
+
"user": []
|
|
16223
|
+
},
|
|
16224
|
+
{
|
|
16225
|
+
"oauth": [
|
|
16226
|
+
"site:write"
|
|
16227
|
+
]
|
|
16228
|
+
}
|
|
16229
|
+
],
|
|
16230
|
+
"parameters": [
|
|
16231
|
+
{
|
|
16232
|
+
"$ref": "#/components/parameters/organizationId"
|
|
16233
|
+
},
|
|
16234
|
+
{
|
|
16235
|
+
"$ref": "#/components/parameters/siteId"
|
|
16236
|
+
}
|
|
16237
|
+
],
|
|
16238
|
+
"requestBody": {
|
|
16239
|
+
"required": true,
|
|
16240
|
+
"content": {
|
|
16241
|
+
"application/json": {
|
|
16242
|
+
"schema": {
|
|
16243
|
+
"$ref": "#/components/schemas/AgentFeedbackInput"
|
|
16244
|
+
}
|
|
16245
|
+
}
|
|
16246
|
+
}
|
|
16247
|
+
},
|
|
16248
|
+
"responses": {
|
|
16249
|
+
"201": {
|
|
16250
|
+
"description": "The feedback was recorded successfully.",
|
|
16251
|
+
"content": {
|
|
16252
|
+
"application/json": {
|
|
16253
|
+
"schema": {
|
|
16254
|
+
"type": "object",
|
|
16255
|
+
"additionalProperties": false,
|
|
16256
|
+
"properties": {
|
|
16257
|
+
"id": {
|
|
16258
|
+
"type": "string",
|
|
16259
|
+
"description": "Unique identifier of the submission."
|
|
16260
|
+
},
|
|
16261
|
+
"result": {
|
|
16262
|
+
"type": "string",
|
|
16263
|
+
"description": "Message relayed back to the agent, acknowledging the feedback and telling it what happens next."
|
|
16264
|
+
}
|
|
16265
|
+
},
|
|
16266
|
+
"required": [
|
|
16267
|
+
"id",
|
|
16268
|
+
"result"
|
|
16269
|
+
]
|
|
16270
|
+
}
|
|
16271
|
+
}
|
|
16272
|
+
}
|
|
16273
|
+
},
|
|
16274
|
+
"400": {
|
|
16275
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
16276
|
+
},
|
|
16277
|
+
"403": {
|
|
16278
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
16279
|
+
}
|
|
16280
|
+
}
|
|
16281
|
+
}
|
|
16282
|
+
},
|
|
15981
16283
|
"/orgs/{organizationId}/sites/{siteId}/ask": {
|
|
15982
16284
|
"post": {
|
|
15983
16285
|
"operationId": "streamAskInSite",
|
|
@@ -27491,6 +27793,47 @@
|
|
|
27491
27793
|
}
|
|
27492
27794
|
]
|
|
27493
27795
|
},
|
|
27796
|
+
"DocumentTableCellSpan": {
|
|
27797
|
+
"description": "Number of rows or columns covered by a table cell merge",
|
|
27798
|
+
"type": "integer",
|
|
27799
|
+
"minimum": 1,
|
|
27800
|
+
"maximum": 50
|
|
27801
|
+
},
|
|
27802
|
+
"DocumentTableCellMerge": {
|
|
27803
|
+
"description": "Positional table cell merge range. The anchor and spans are resolved against the current sorted record order and visible column order. The current document model applies only non-overlapping horizontal or vertical merges of adjacent Text or Number body cells; unsupported ranges are removed during normalization.",
|
|
27804
|
+
"type": "object",
|
|
27805
|
+
"properties": {
|
|
27806
|
+
"anchor": {
|
|
27807
|
+
"type": "object",
|
|
27808
|
+
"description": "Cell at the top-left of the merged range",
|
|
27809
|
+
"properties": {
|
|
27810
|
+
"record": {
|
|
27811
|
+
"type": "string",
|
|
27812
|
+
"description": "ID of the anchor record"
|
|
27813
|
+
},
|
|
27814
|
+
"column": {
|
|
27815
|
+
"type": "string",
|
|
27816
|
+
"description": "ID of the anchor column"
|
|
27817
|
+
}
|
|
27818
|
+
},
|
|
27819
|
+
"required": [
|
|
27820
|
+
"record",
|
|
27821
|
+
"column"
|
|
27822
|
+
]
|
|
27823
|
+
},
|
|
27824
|
+
"rowSpan": {
|
|
27825
|
+
"$ref": "#/components/schemas/DocumentTableCellSpan"
|
|
27826
|
+
},
|
|
27827
|
+
"colSpan": {
|
|
27828
|
+
"$ref": "#/components/schemas/DocumentTableCellSpan"
|
|
27829
|
+
}
|
|
27830
|
+
},
|
|
27831
|
+
"required": [
|
|
27832
|
+
"anchor",
|
|
27833
|
+
"rowSpan",
|
|
27834
|
+
"colSpan"
|
|
27835
|
+
]
|
|
27836
|
+
},
|
|
27494
27837
|
"DocumentFragment": {
|
|
27495
27838
|
"type": "object",
|
|
27496
27839
|
"properties": {
|
|
@@ -27570,6 +27913,13 @@
|
|
|
27570
27913
|
"$ref": "#/components/schemas/DocumentTableDefinition"
|
|
27571
27914
|
}
|
|
27572
27915
|
},
|
|
27916
|
+
"cellMerges": {
|
|
27917
|
+
"type": "array",
|
|
27918
|
+
"description": "Positional table cell merge ranges. The current document model retains only non-overlapping horizontal or vertical merges between adjacent Text or Number body cells. Anchors and spans are resolved against the table's current sorted record order and visible column order.",
|
|
27919
|
+
"items": {
|
|
27920
|
+
"$ref": "#/components/schemas/DocumentTableCellMerge"
|
|
27921
|
+
}
|
|
27922
|
+
},
|
|
27573
27923
|
"fullWidth": {
|
|
27574
27924
|
"type": "boolean",
|
|
27575
27925
|
"description": "Whether to render the block as a full width one"
|
|
@@ -32199,7 +32549,11 @@
|
|
|
32199
32549
|
},
|
|
32200
32550
|
"shared": {
|
|
32201
32551
|
"type": "boolean",
|
|
32202
|
-
"description": "Whether the conversation is shared with everyone who has access to
|
|
32552
|
+
"description": "Whether the conversation is shared with everyone who has access to its context, rather than only its creator. Conversations are shared by default; a private conversation is only ever visible to its creator and stays private for good."
|
|
32553
|
+
},
|
|
32554
|
+
"changeRequest": {
|
|
32555
|
+
"type": "string",
|
|
32556
|
+
"description": "The change request the conversation is currently editing in. Only set for organization agent conversations, which start without one and attach a change request the first time the agent needs to change content. Absent for change request conversations, whose change request is the conversation's context."
|
|
32203
32557
|
},
|
|
32204
32558
|
"createdAt": {
|
|
32205
32559
|
"$ref": "#/components/schemas/Timestamp"
|
|
@@ -35775,6 +36129,13 @@
|
|
|
35775
36129
|
},
|
|
35776
36130
|
"description": "Whitelisted search parameters from the visitor authentication request."
|
|
35777
36131
|
},
|
|
36132
|
+
"cookies": {
|
|
36133
|
+
"type": "object",
|
|
36134
|
+
"additionalProperties": {
|
|
36135
|
+
"type": "string"
|
|
36136
|
+
},
|
|
36137
|
+
"description": "Whitelisted cookies from the visitor authentication request."
|
|
36138
|
+
},
|
|
35778
36139
|
"action": {
|
|
35779
36140
|
"type": "string",
|
|
35780
36141
|
"enum": [
|
|
@@ -43905,6 +44266,276 @@
|
|
|
43905
44266
|
"assistant"
|
|
43906
44267
|
]
|
|
43907
44268
|
},
|
|
44269
|
+
"AgentFeedbackReportedBy": {
|
|
44270
|
+
"type": "object",
|
|
44271
|
+
"additionalProperties": false,
|
|
44272
|
+
"description": "The agent that reported the feedback. It must never identify the end user the agent is acting on behalf of.",
|
|
44273
|
+
"properties": {
|
|
44274
|
+
"model": {
|
|
44275
|
+
"type": "string",
|
|
44276
|
+
"maxLength": 100,
|
|
44277
|
+
"description": "Self-reported model powering the agent."
|
|
44278
|
+
},
|
|
44279
|
+
"userAgent": {
|
|
44280
|
+
"type": "string",
|
|
44281
|
+
"maxLength": 512,
|
|
44282
|
+
"description": "User-Agent the agent itself presented, for example `claude-code/1.2.3`. It is what identifies the harness the agent ran in."
|
|
44283
|
+
},
|
|
44284
|
+
"onDemand": {
|
|
44285
|
+
"type": "boolean",
|
|
44286
|
+
"default": false,
|
|
44287
|
+
"description": "Whether the user explicitly asked the agent to submit this feedback."
|
|
44288
|
+
}
|
|
44289
|
+
}
|
|
44290
|
+
},
|
|
44291
|
+
"AgentFeedbackSubjectMCPTool": {
|
|
44292
|
+
"type": "object",
|
|
44293
|
+
"additionalProperties": false,
|
|
44294
|
+
"description": "Feedback about a tool exposed by an MCP server.",
|
|
44295
|
+
"properties": {
|
|
44296
|
+
"kind": {
|
|
44297
|
+
"type": "string",
|
|
44298
|
+
"enum": [
|
|
44299
|
+
"mcp-tool"
|
|
44300
|
+
]
|
|
44301
|
+
},
|
|
44302
|
+
"toolName": {
|
|
44303
|
+
"type": "string",
|
|
44304
|
+
"maxLength": 200,
|
|
44305
|
+
"description": "Name of the tool the agent called, as it was exposed to the agent."
|
|
44306
|
+
},
|
|
44307
|
+
"target": {
|
|
44308
|
+
"type": "string",
|
|
44309
|
+
"maxLength": 200,
|
|
44310
|
+
"description": "What the tool was pointed at, for a tool that dispatches to something else rather than doing one fixed thing. For a tool that invokes an API operation, the identifier of that operation."
|
|
44311
|
+
}
|
|
44312
|
+
},
|
|
44313
|
+
"required": [
|
|
44314
|
+
"kind",
|
|
44315
|
+
"toolName"
|
|
44316
|
+
]
|
|
44317
|
+
},
|
|
44318
|
+
"AgentFeedbackSubjectCliCommand": {
|
|
44319
|
+
"type": "object",
|
|
44320
|
+
"additionalProperties": false,
|
|
44321
|
+
"description": "Feedback about a command exposed by a command line interface.",
|
|
44322
|
+
"properties": {
|
|
44323
|
+
"kind": {
|
|
44324
|
+
"type": "string",
|
|
44325
|
+
"enum": [
|
|
44326
|
+
"cli-command"
|
|
44327
|
+
]
|
|
44328
|
+
},
|
|
44329
|
+
"command": {
|
|
44330
|
+
"type": "string",
|
|
44331
|
+
"maxLength": 200,
|
|
44332
|
+
"description": "The command the agent ran, without its arguments. Do not include any auth or other sensitive information."
|
|
44333
|
+
},
|
|
44334
|
+
"flags": {
|
|
44335
|
+
"type": "array",
|
|
44336
|
+
"maxItems": 50,
|
|
44337
|
+
"description": "Names of the flags passed to the command. It must never contain their values.",
|
|
44338
|
+
"items": {
|
|
44339
|
+
"type": "string",
|
|
44340
|
+
"maxLength": 100
|
|
44341
|
+
}
|
|
44342
|
+
}
|
|
44343
|
+
},
|
|
44344
|
+
"required": [
|
|
44345
|
+
"kind",
|
|
44346
|
+
"command"
|
|
44347
|
+
]
|
|
44348
|
+
},
|
|
44349
|
+
"AgentFeedbackSubjectApiEndpoint": {
|
|
44350
|
+
"type": "object",
|
|
44351
|
+
"additionalProperties": false,
|
|
44352
|
+
"description": "Feedback about an API endpoint the agent called directly, without an MCP server or a command line interface in between.",
|
|
44353
|
+
"properties": {
|
|
44354
|
+
"kind": {
|
|
44355
|
+
"type": "string",
|
|
44356
|
+
"enum": [
|
|
44357
|
+
"api-endpoint"
|
|
44358
|
+
]
|
|
44359
|
+
},
|
|
44360
|
+
"method": {
|
|
44361
|
+
"type": "string",
|
|
44362
|
+
"description": "HTTP method of the endpoint.",
|
|
44363
|
+
"enum": [
|
|
44364
|
+
"GET",
|
|
44365
|
+
"POST",
|
|
44366
|
+
"PUT",
|
|
44367
|
+
"PATCH",
|
|
44368
|
+
"DELETE",
|
|
44369
|
+
"HEAD",
|
|
44370
|
+
"OPTIONS"
|
|
44371
|
+
]
|
|
44372
|
+
},
|
|
44373
|
+
"path": {
|
|
44374
|
+
"type": "string",
|
|
44375
|
+
"maxLength": 500,
|
|
44376
|
+
"description": "Templated path of the endpoint, for example `/v1/orders/{orderId}/fulfill`. It must never contain resolved identifiers or query string values."
|
|
44377
|
+
}
|
|
44378
|
+
},
|
|
44379
|
+
"required": [
|
|
44380
|
+
"kind",
|
|
44381
|
+
"method",
|
|
44382
|
+
"path"
|
|
44383
|
+
]
|
|
44384
|
+
},
|
|
44385
|
+
"AgentFeedbackSubjectDocumentation": {
|
|
44386
|
+
"type": "object",
|
|
44387
|
+
"additionalProperties": false,
|
|
44388
|
+
"description": "Feedback about published documentation, such as a page that is outdated, incorrect, or missing information the agent needed to help its user.",
|
|
44389
|
+
"properties": {
|
|
44390
|
+
"kind": {
|
|
44391
|
+
"type": "string",
|
|
44392
|
+
"enum": [
|
|
44393
|
+
"documentation"
|
|
44394
|
+
]
|
|
44395
|
+
},
|
|
44396
|
+
"url": {
|
|
44397
|
+
"description": "URL of the content the feedback is about.",
|
|
44398
|
+
"$ref": "#/components/schemas/URL"
|
|
44399
|
+
}
|
|
44400
|
+
},
|
|
44401
|
+
"required": [
|
|
44402
|
+
"kind",
|
|
44403
|
+
"url"
|
|
44404
|
+
]
|
|
44405
|
+
},
|
|
44406
|
+
"AgentFeedbackSubjectGeneric": {
|
|
44407
|
+
"type": "object",
|
|
44408
|
+
"additionalProperties": false,
|
|
44409
|
+
"description": "Feedback with no single tool, command, endpoint, or page behind it, such as product friction or a capability the agent expected to find and could not.",
|
|
44410
|
+
"properties": {
|
|
44411
|
+
"kind": {
|
|
44412
|
+
"type": "string",
|
|
44413
|
+
"enum": [
|
|
44414
|
+
"generic"
|
|
44415
|
+
]
|
|
44416
|
+
}
|
|
44417
|
+
},
|
|
44418
|
+
"required": [
|
|
44419
|
+
"kind"
|
|
44420
|
+
]
|
|
44421
|
+
},
|
|
44422
|
+
"AgentFeedbackSubject": {
|
|
44423
|
+
"description": "What the feedback is about. `kind` determines both the shape of the subject and the surface the agent was working through.",
|
|
44424
|
+
"oneOf": [
|
|
44425
|
+
{
|
|
44426
|
+
"$ref": "#/components/schemas/AgentFeedbackSubjectMCPTool"
|
|
44427
|
+
},
|
|
44428
|
+
{
|
|
44429
|
+
"$ref": "#/components/schemas/AgentFeedbackSubjectCliCommand"
|
|
44430
|
+
},
|
|
44431
|
+
{
|
|
44432
|
+
"$ref": "#/components/schemas/AgentFeedbackSubjectApiEndpoint"
|
|
44433
|
+
},
|
|
44434
|
+
{
|
|
44435
|
+
"$ref": "#/components/schemas/AgentFeedbackSubjectDocumentation"
|
|
44436
|
+
},
|
|
44437
|
+
{
|
|
44438
|
+
"$ref": "#/components/schemas/AgentFeedbackSubjectGeneric"
|
|
44439
|
+
}
|
|
44440
|
+
],
|
|
44441
|
+
"discriminator": {
|
|
44442
|
+
"propertyName": "kind"
|
|
44443
|
+
}
|
|
44444
|
+
},
|
|
44445
|
+
"AgentFeedbackContent": {
|
|
44446
|
+
"type": "object",
|
|
44447
|
+
"additionalProperties": false,
|
|
44448
|
+
"description": "The content of the feedback. It must never contain parameter values, request or response bodies, credentials, or anything identifying the end user the agent acted for.",
|
|
44449
|
+
"properties": {
|
|
44450
|
+
"category": {
|
|
44451
|
+
"type": "string",
|
|
44452
|
+
"description": "Classification of the feedback:\n - Usability: The subject was hard to understand or use correctly, such as a confusing name or unclear parameters.\n - Reliability: The subject behaved inconsistently, failed unexpectedly, or returned unusable results.\n - Documentation: The description, schema, or guidance about the subject was missing, unclear, or misleading.\n - Efficiency: Reaching the outcome took more calls, steps, or tokens than it should have.\n - Interoperability: The subject did not compose well with other tools, operations, or formats.\n - Could not accomplish: Nothing exposed to the agent could accomplish what it needed to do.",
|
|
44453
|
+
"enum": [
|
|
44454
|
+
"usability",
|
|
44455
|
+
"reliability",
|
|
44456
|
+
"documentation",
|
|
44457
|
+
"efficiency",
|
|
44458
|
+
"interoperability",
|
|
44459
|
+
"could-not-accomplish"
|
|
44460
|
+
]
|
|
44461
|
+
},
|
|
44462
|
+
"severity": {
|
|
44463
|
+
"type": "string",
|
|
44464
|
+
"description": "How much the issue impeded the agent.",
|
|
44465
|
+
"enum": [
|
|
44466
|
+
"low",
|
|
44467
|
+
"medium",
|
|
44468
|
+
"high"
|
|
44469
|
+
]
|
|
44470
|
+
},
|
|
44471
|
+
"goal": {
|
|
44472
|
+
"description": "What the agent was working towards when it ran into the issue.",
|
|
44473
|
+
"$ref": "#/components/schemas/AgentGoal"
|
|
44474
|
+
},
|
|
44475
|
+
"summary": {
|
|
44476
|
+
"type": "string",
|
|
44477
|
+
"minLength": 1,
|
|
44478
|
+
"maxLength": 256,
|
|
44479
|
+
"description": "A short summary of what went wrong, in the agent's own words."
|
|
44480
|
+
},
|
|
44481
|
+
"detail": {
|
|
44482
|
+
"type": "string",
|
|
44483
|
+
"maxLength": 4096,
|
|
44484
|
+
"description": "Additional explanation of the issue and how the agent ran into it."
|
|
44485
|
+
},
|
|
44486
|
+
"workaround": {
|
|
44487
|
+
"type": "string",
|
|
44488
|
+
"maxLength": 2048,
|
|
44489
|
+
"description": "How the agent worked around the issue, when it managed to."
|
|
44490
|
+
},
|
|
44491
|
+
"metrics": {
|
|
44492
|
+
"type": "object",
|
|
44493
|
+
"additionalProperties": false,
|
|
44494
|
+
"description": "How the agent interacted with the subject before reporting.",
|
|
44495
|
+
"properties": {
|
|
44496
|
+
"callCount": {
|
|
44497
|
+
"type": "integer",
|
|
44498
|
+
"minimum": 0,
|
|
44499
|
+
"description": "Number of times the agent used the subject."
|
|
44500
|
+
},
|
|
44501
|
+
"successCount": {
|
|
44502
|
+
"type": "integer",
|
|
44503
|
+
"minimum": 0,
|
|
44504
|
+
"description": "Number of those uses that produced a usable result."
|
|
44505
|
+
},
|
|
44506
|
+
"retryCount": {
|
|
44507
|
+
"type": "integer",
|
|
44508
|
+
"minimum": 0,
|
|
44509
|
+
"description": "Number of those uses that were retries after a failure."
|
|
44510
|
+
}
|
|
44511
|
+
}
|
|
44512
|
+
}
|
|
44513
|
+
},
|
|
44514
|
+
"required": [
|
|
44515
|
+
"category",
|
|
44516
|
+
"summary"
|
|
44517
|
+
]
|
|
44518
|
+
},
|
|
44519
|
+
"AgentFeedbackInput": {
|
|
44520
|
+
"type": "object",
|
|
44521
|
+
"additionalProperties": false,
|
|
44522
|
+
"description": "Feedback submitted by an AI agent about a tool, command, endpoint or page it worked with. `reportedBy` and `feedback` have the same shape whatever the feedback is about; only `subject` varies.",
|
|
44523
|
+
"properties": {
|
|
44524
|
+
"reportedBy": {
|
|
44525
|
+
"$ref": "#/components/schemas/AgentFeedbackReportedBy"
|
|
44526
|
+
},
|
|
44527
|
+
"subject": {
|
|
44528
|
+
"$ref": "#/components/schemas/AgentFeedbackSubject"
|
|
44529
|
+
},
|
|
44530
|
+
"feedback": {
|
|
44531
|
+
"$ref": "#/components/schemas/AgentFeedbackContent"
|
|
44532
|
+
}
|
|
44533
|
+
},
|
|
44534
|
+
"required": [
|
|
44535
|
+
"subject",
|
|
44536
|
+
"feedback"
|
|
44537
|
+
]
|
|
44538
|
+
},
|
|
43908
44539
|
"SiteInsightsSession": {
|
|
43909
44540
|
"type": "object",
|
|
43910
44541
|
"description": "Identifiers for a GitBook site session, used for analytics and adaptive content.",
|
|
@@ -46209,6 +46840,10 @@
|
|
|
46209
46840
|
},
|
|
46210
46841
|
"page": {
|
|
46211
46842
|
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
46843
|
+
},
|
|
46844
|
+
"changeRequestId": {
|
|
46845
|
+
"type": "string",
|
|
46846
|
+
"description": "The ID of the change request the edit was made in. Absent when the space itself was edited, through its unlocked live edits.\n"
|
|
46212
46847
|
}
|
|
46213
46848
|
},
|
|
46214
46849
|
"required": [
|
|
@@ -46237,6 +46872,10 @@
|
|
|
46237
46872
|
},
|
|
46238
46873
|
"page": {
|
|
46239
46874
|
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
46875
|
+
},
|
|
46876
|
+
"changeRequestId": {
|
|
46877
|
+
"type": "string",
|
|
46878
|
+
"description": "The ID of the change request the edit was made in. Absent when the space itself was edited, through its unlocked live edits.\n"
|
|
46240
46879
|
}
|
|
46241
46880
|
},
|
|
46242
46881
|
"required": [
|
|
@@ -46265,6 +46904,10 @@
|
|
|
46265
46904
|
},
|
|
46266
46905
|
"page": {
|
|
46267
46906
|
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
46907
|
+
},
|
|
46908
|
+
"changeRequestId": {
|
|
46909
|
+
"type": "string",
|
|
46910
|
+
"description": "The ID of the change request the edit was made in. Absent when the space itself was edited, through its unlocked live edits.\n"
|
|
46268
46911
|
}
|
|
46269
46912
|
},
|
|
46270
46913
|
"required": [
|
|
@@ -46294,6 +46937,10 @@
|
|
|
46294
46937
|
"page": {
|
|
46295
46938
|
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
46296
46939
|
},
|
|
46940
|
+
"changeRequestId": {
|
|
46941
|
+
"type": "string",
|
|
46942
|
+
"description": "The ID of the change request the edit was made in. Absent when the space itself was edited, through its unlocked live edits.\n"
|
|
46943
|
+
},
|
|
46297
46944
|
"title": {
|
|
46298
46945
|
"type": "string",
|
|
46299
46946
|
"description": "The new title of the page."
|
|
@@ -46327,6 +46974,10 @@
|
|
|
46327
46974
|
"page": {
|
|
46328
46975
|
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
46329
46976
|
},
|
|
46977
|
+
"changeRequestId": {
|
|
46978
|
+
"type": "string",
|
|
46979
|
+
"description": "The ID of the change request the edit was made in. Absent when the space itself was edited, through its unlocked live edits.\n"
|
|
46980
|
+
},
|
|
46330
46981
|
"to": {
|
|
46331
46982
|
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
46332
46983
|
},
|
|
@@ -47437,6 +48088,11 @@
|
|
|
47437
48088
|
},
|
|
47438
48089
|
"response": {
|
|
47439
48090
|
"$ref": "#/components/schemas/AIMessageResponseMetadata"
|
|
48091
|
+
},
|
|
48092
|
+
"createdAt": {
|
|
48093
|
+
"type": "string",
|
|
48094
|
+
"format": "date-time",
|
|
48095
|
+
"description": "When the message was added to the conversation. Absent on messages recorded before this field existed.\n"
|
|
47440
48096
|
}
|
|
47441
48097
|
},
|
|
47442
48098
|
"required": [
|
|
@@ -48510,6 +49166,13 @@
|
|
|
48510
49166
|
}
|
|
48511
49167
|
]
|
|
48512
49168
|
},
|
|
49169
|
+
"SiteInsightsMarkdownSource": {
|
|
49170
|
+
"description": "How a page's markdown was requested. `page-action` means a reader used the site's page-actions menu — its copy or view-as-markdown action — rather than a client fetching the URL directly.",
|
|
49171
|
+
"type": "string",
|
|
49172
|
+
"enum": [
|
|
49173
|
+
"page-action"
|
|
49174
|
+
]
|
|
49175
|
+
},
|
|
48513
49176
|
"SiteInsightsEventPageMarkdownRequest": {
|
|
48514
49177
|
"allOf": [
|
|
48515
49178
|
{
|
|
@@ -48523,6 +49186,9 @@
|
|
|
48523
49186
|
"enum": [
|
|
48524
49187
|
"page_markdown_request"
|
|
48525
49188
|
]
|
|
49189
|
+
},
|
|
49190
|
+
"markdownSource": {
|
|
49191
|
+
"$ref": "#/components/schemas/SiteInsightsMarkdownSource"
|
|
48526
49192
|
}
|
|
48527
49193
|
},
|
|
48528
49194
|
"required": [
|
|
@@ -49595,6 +50261,20 @@
|
|
|
49595
50261
|
}
|
|
49596
50262
|
}
|
|
49597
50263
|
},
|
|
50264
|
+
{
|
|
50265
|
+
"type": "object",
|
|
50266
|
+
"required": [
|
|
50267
|
+
"column"
|
|
50268
|
+
],
|
|
50269
|
+
"properties": {
|
|
50270
|
+
"column": {
|
|
50271
|
+
"type": "string",
|
|
50272
|
+
"enum": [
|
|
50273
|
+
"eventMarkdownSource"
|
|
50274
|
+
]
|
|
50275
|
+
}
|
|
50276
|
+
}
|
|
50277
|
+
},
|
|
49598
50278
|
{
|
|
49599
50279
|
"type": "object",
|
|
49600
50280
|
"required": [
|
|
@@ -50502,6 +51182,34 @@
|
|
|
50502
51182
|
}
|
|
50503
51183
|
}
|
|
50504
51184
|
},
|
|
51185
|
+
{
|
|
51186
|
+
"type": "object",
|
|
51187
|
+
"required": [
|
|
51188
|
+
"column",
|
|
51189
|
+
"values"
|
|
51190
|
+
],
|
|
51191
|
+
"properties": {
|
|
51192
|
+
"column": {
|
|
51193
|
+
"type": "string",
|
|
51194
|
+
"enum": [
|
|
51195
|
+
"eventMarkdownSource"
|
|
51196
|
+
]
|
|
51197
|
+
},
|
|
51198
|
+
"values": {
|
|
51199
|
+
"type": "array",
|
|
51200
|
+
"items": {
|
|
51201
|
+
"oneOf": [
|
|
51202
|
+
{
|
|
51203
|
+
"type": "null"
|
|
51204
|
+
},
|
|
51205
|
+
{
|
|
51206
|
+
"$ref": "#/components/schemas/SiteInsightsMarkdownSource"
|
|
51207
|
+
}
|
|
51208
|
+
]
|
|
51209
|
+
}
|
|
51210
|
+
}
|
|
51211
|
+
}
|
|
51212
|
+
},
|
|
50505
51213
|
{
|
|
50506
51214
|
"type": "object",
|
|
50507
51215
|
"required": [
|
|
@@ -53713,8 +54421,39 @@
|
|
|
53713
54421
|
"direction",
|
|
53714
54422
|
"stage",
|
|
53715
54423
|
"startedAt",
|
|
53716
|
-
"updatedAt"
|
|
53717
|
-
|
|
54424
|
+
"updatedAt"
|
|
54425
|
+
]
|
|
54426
|
+
},
|
|
54427
|
+
"GitSyncRunOperation": {
|
|
54428
|
+
"type": "string",
|
|
54429
|
+
"description": "Operation performed by a durable Git Sync run.",
|
|
54430
|
+
"enum": [
|
|
54431
|
+
"import",
|
|
54432
|
+
"export",
|
|
54433
|
+
"check",
|
|
54434
|
+
"merge",
|
|
54435
|
+
"recovery"
|
|
54436
|
+
]
|
|
54437
|
+
},
|
|
54438
|
+
"GitSyncRunState": {
|
|
54439
|
+
"type": "string",
|
|
54440
|
+
"description": "Lifecycle state of a durable Git Sync run.",
|
|
54441
|
+
"enum": [
|
|
54442
|
+
"queued",
|
|
54443
|
+
"running",
|
|
54444
|
+
"success",
|
|
54445
|
+
"failure",
|
|
54446
|
+
"timeout",
|
|
54447
|
+
"cancelled"
|
|
54448
|
+
]
|
|
54449
|
+
},
|
|
54450
|
+
"GitProviderChangeState": {
|
|
54451
|
+
"type": "string",
|
|
54452
|
+
"description": "Lifecycle state of a pull or merge request on the Git provider.",
|
|
54453
|
+
"enum": [
|
|
54454
|
+
"open",
|
|
54455
|
+
"closed",
|
|
54456
|
+
"merged"
|
|
53718
54457
|
]
|
|
53719
54458
|
},
|
|
53720
54459
|
"GitSyncSiteStructureSectionGroup": {
|
|
@@ -56238,6 +56977,29 @@
|
|
|
56238
56977
|
"errored"
|
|
56239
56978
|
]
|
|
56240
56979
|
},
|
|
56980
|
+
"AgentQueuedMessage": {
|
|
56981
|
+
"type": "object",
|
|
56982
|
+
"description": "A message waiting for the agent's current response to finish, held in the order it will be processed. The identifier addresses the entry to remove it from the queue or run it immediately.\n",
|
|
56983
|
+
"properties": {
|
|
56984
|
+
"id": {
|
|
56985
|
+
"type": "string",
|
|
56986
|
+
"description": "Identifier of the queue entry, unique within the conversation."
|
|
56987
|
+
},
|
|
56988
|
+
"message": {
|
|
56989
|
+
"$ref": "#/components/schemas/AIMessageInput"
|
|
56990
|
+
},
|
|
56991
|
+
"queuedAt": {
|
|
56992
|
+
"type": "string",
|
|
56993
|
+
"format": "date-time",
|
|
56994
|
+
"description": "When the message entered the queue."
|
|
56995
|
+
}
|
|
56996
|
+
},
|
|
56997
|
+
"required": [
|
|
56998
|
+
"id",
|
|
56999
|
+
"message",
|
|
57000
|
+
"queuedAt"
|
|
57001
|
+
]
|
|
57002
|
+
},
|
|
56241
57003
|
"AgentActivity": {
|
|
56242
57004
|
"type": "object",
|
|
56243
57005
|
"description": "Describes what the agent is currently doing while processing, used to display a live activity indicator in the conversation.\n",
|
|
@@ -56254,6 +57016,10 @@
|
|
|
56254
57016
|
"tool": {
|
|
56255
57017
|
"type": "string",
|
|
56256
57018
|
"description": "When `type` is `tool`, the name of the tool being called (matches `AIToolCall.tool`).\n"
|
|
57019
|
+
},
|
|
57020
|
+
"label": {
|
|
57021
|
+
"type": "string",
|
|
57022
|
+
"description": "What to show the user instead of a label derived from `tool`, for a tool whose name means nothing to them — an MCP server's, say, where it reads \"Searching documentation\".\n"
|
|
56257
57023
|
}
|
|
56258
57024
|
},
|
|
56259
57025
|
"required": [
|
|
@@ -56303,6 +57069,23 @@
|
|
|
56303
57069
|
"options"
|
|
56304
57070
|
]
|
|
56305
57071
|
},
|
|
57072
|
+
"AgentEditTarget": {
|
|
57073
|
+
"type": "object",
|
|
57074
|
+
"description": "Where the agent's content edits land. Usually a change request, which is how published content is changed; a space whose live edits are unlocked is the exception, and is edited in place. Carries identifiers only: the client resolves the change request's number and subject, or the space's title, through the API.\n",
|
|
57075
|
+
"properties": {
|
|
57076
|
+
"spaceId": {
|
|
57077
|
+
"type": "string",
|
|
57078
|
+
"description": "The ID of the space the edits are made in."
|
|
57079
|
+
},
|
|
57080
|
+
"changeRequestId": {
|
|
57081
|
+
"type": "string",
|
|
57082
|
+
"description": "The ID of the change request the edits are made in. Absent when the space itself is the target, through its unlocked live edits.\n"
|
|
57083
|
+
}
|
|
57084
|
+
},
|
|
57085
|
+
"required": [
|
|
57086
|
+
"spaceId"
|
|
57087
|
+
]
|
|
57088
|
+
},
|
|
56306
57089
|
"AgentState": {
|
|
56307
57090
|
"type": "object",
|
|
56308
57091
|
"properties": {
|
|
@@ -56318,11 +57101,18 @@
|
|
|
56318
57101
|
},
|
|
56319
57102
|
"queuedMessages": {
|
|
56320
57103
|
"type": "array",
|
|
56321
|
-
"description": "List of messages sent by the users queued to processed.",
|
|
57104
|
+
"description": "List of messages sent by the users queued to processed. Superseded by `queue`, which carries the same messages with the identifiers needed to act on them; kept for compatibility with clients that predate it.\n",
|
|
56322
57105
|
"items": {
|
|
56323
57106
|
"$ref": "#/components/schemas/AIMessageInput"
|
|
56324
57107
|
}
|
|
56325
57108
|
},
|
|
57109
|
+
"queue": {
|
|
57110
|
+
"type": "array",
|
|
57111
|
+
"description": "Messages waiting for the current response to finish, in the order they will be processed.\n",
|
|
57112
|
+
"items": {
|
|
57113
|
+
"$ref": "#/components/schemas/AgentQueuedMessage"
|
|
57114
|
+
}
|
|
57115
|
+
},
|
|
56326
57116
|
"activity": {
|
|
56327
57117
|
"$ref": "#/components/schemas/AgentActivity",
|
|
56328
57118
|
"description": "What the agent is currently doing. Only set while the agent is processing.\n"
|
|
@@ -56330,6 +57120,10 @@
|
|
|
56330
57120
|
"pendingQuestion": {
|
|
56331
57121
|
"$ref": "#/components/schemas/AgentPendingQuestion",
|
|
56332
57122
|
"description": "A question the agent is waiting for the user to answer. While set, the client replaces the prompt with a choice control.\n"
|
|
57123
|
+
},
|
|
57124
|
+
"editTarget": {
|
|
57125
|
+
"$ref": "#/components/schemas/AgentEditTarget",
|
|
57126
|
+
"description": "Where the agent currently edits content. Absent until something is attached: the organization agent starts read-only, while a change request agent always edits the change request it belongs to.\n"
|
|
56333
57127
|
}
|
|
56334
57128
|
},
|
|
56335
57129
|
"required": [
|