Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
320 changes: 314 additions & 6 deletions api-spec/openapiSpecv3-2_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
],
"description": "Roles for version 10.4.0.cl"
},
{
"name": "26.4.0.cl",
"id": "26.4.0.cl",
"tags": [
"26.4.0.cl"
],
"description": "Roles for version 26.4.0.cl"
},
{
"name": "10.15.0.cl",
"id": "10.15.0.cl",
Expand Down Expand Up @@ -345,6 +353,155 @@
}
}
},
"/api/rest/2.0/ai/agent/conversation/{conversation_id}/delete": {
"post": {
"operationId": "deleteConversation",
"description": "<span class=\"since-beta-tag\">Beta</span> <span class=\"since-beta-tag\">Version: 26.4.0.cl or later</span>",
"tags": [
"AI",
"26.4.0.cl"
],
"parameters": [
{
"in": "path",
"name": "conversation_id",
"required": true,
"schema": {
"type": "string"
},
"description": "Unique identifier of the conversation to delete."
}
],
"responses": {
"200": {
"description": "Common successful response",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"201": {
"description": "Common error response",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"400": {
"description": "Operation failed",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Operation failed",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/rest/2.0/ai/agent/conversations": {
"get": {
"operationId": "getConversationHistory",
"description": "<span class=\"since-beta-tag\">Beta</span> <span class=\"since-beta-tag\">Version: 26.4.0.cl or later</span>",
"tags": [
"AI",
"26.4.0.cl"
],
"parameters": [
{
"in": "query",
"name": "limit",
"required": false,
"schema": {
"type": "integer",
"format": "int32"
},
"description": "Maximum number of conversations to return (default: 20).",
"default": 20
},
{
"in": "query",
"name": "offset",
"required": false,
"schema": {
"type": "integer",
"format": "int32"
},
"description": "Number of conversations to skip for pagination (default: 0).",
"default": 0
},
{
"in": "query",
"name": "skip_empty",
"required": false,
"schema": {
"type": "boolean"
},
"description": "Skip empty conversations without messages (default: true).",
"default": true
}
],
"responses": {
"200": {
"description": "Common successful response",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"201": {
"description": "Common error response",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"400": {
"description": "Operation failed",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Operation failed",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/rest/2.0/ai/data-source-suggestions": {
"post": {
"operationId": "getDataSourceSuggestions",
Expand Down Expand Up @@ -588,6 +745,69 @@
}
}
},
"/api/rest/2.0/ai/agent/conversation/{conversation_id}": {
"get": {
"operationId": "loadConversation",
"description": "<span class=\"since-beta-tag\">Beta</span> <span class=\"since-beta-tag\">Version: 26.4.0.cl or later</span>",
"tags": [
"AI",
"26.4.0.cl"
],
"parameters": [
{
"in": "path",
"name": "conversation_id",
"required": true,
"schema": {
"type": "string"
},
"description": "Unique identifier of the conversation to load."
}
],
"responses": {
"200": {
"description": "Common successful response",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"201": {
"description": "Common error response",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"400": {
"description": "Operation failed",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Operation failed",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/rest/2.0/ai/analytical-questions": {
"post": {
"operationId": "queryGetDecomposedQuery",
Expand Down Expand Up @@ -699,6 +919,88 @@
}
}
},
"/api/rest/2.0/ai/agent/conversation/{conversation_id}/rename": {
"post": {
"operationId": "renameConversation",
"description": "<span class=\"since-beta-tag\">Beta</span> <span class=\"since-beta-tag\">Version: 26.4.0.cl or later</span>",
"tags": [
"AI",
"26.4.0.cl"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"new_title": {
"description": "New title for the conversation.",
"type": "string"
}
},
"required": [
"new_title"
]
}
}
},
"required": true
},
"parameters": [
{
"in": "path",
"name": "conversation_id",
"required": true,
"schema": {
"type": "string"
},
"description": "Unique identifier of the conversation."
}
],
"responses": {
"200": {
"description": "Common successful response",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"201": {
"description": "Common error response",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"400": {
"description": "Operation failed",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Operation failed",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/rest/2.0/ai/agent/{conversation_identifier}/converse": {
"post": {
"operationId": "sendAgentMessage",
Expand Down Expand Up @@ -14108,7 +14410,7 @@
]
},
"use_browser_language": {
"description": "Flag to indicate whether to use the browser locale for the user in the UI.\nWhen set to true, the preferred_locale value is unset and the browser's\nlanguage setting takes precedence.",
"description": "Flag to indicate whether to use the browser locale for the user in the UI.\nWhen set to true, the preferred_locale value is unset and the browser's\nlanguage setting takes precedence. <br/> <span class=\"since-beta-tag\">Version: 26.3.0.cl or later</span>",
"type": "boolean",
"nullable": true
},
Expand Down Expand Up @@ -15002,7 +15304,7 @@
]
},
"use_browser_language": {
"description": "Flag to indicate whether to use the browser locale for the user in the UI.\nWhen set to true, the preferred_locale value is unset and the browser's\nlanguage setting takes precedence.",
"description": "Flag to indicate whether to use the browser locale for the user in the UI.\nWhen set to true, the preferred_locale value is unset and the browser's\nlanguage setting takes precedence. <br/> <span class=\"since-beta-tag\">Version: 26.3.0.cl or later</span>",
"type": "boolean",
"nullable": true
},
Expand Down Expand Up @@ -17459,7 +17761,7 @@
},
"use_browser_language": {
"type": "boolean",
"description": "Flag to indicate whether to use the browser locale for the user in the UI.\nWhen set to true, the preferred_locale value is unset and the browser's\nlanguage setting takes precedence.",
"description": "Flag to indicate whether to use the browser locale for the user in the UI.\nWhen set to true, the preferred_locale value is unset and the browser's\nlanguage setting takes precedence. <br/> <span class=\"since-beta-tag\">Version: 26.3.0.cl or later</span>",
"nullable": true
},
"extended_properties": {
Expand Down Expand Up @@ -22190,7 +22492,7 @@
},
"preferred_locale": {
"type": "string",
"description": "Locale for the user.",
"description": "Locale for the user. When setting this value, do not set use_browser_language to true, otherwise the browser's language setting will take precedence and the preferred_locale value will be ignored.",
"nullable": true,
"enum": [
"en-CA",
Expand Down Expand Up @@ -22224,7 +22526,7 @@
},
"use_browser_language": {
"type": "boolean",
"description": "Flag to indicate whether to use the browser locale for the user in the UI.\nWhen set to true, the preferred_locale value is unset and the browser's\nlanguage setting takes precedence.",
"description": "Flag to indicate whether to use the browser locale for the user in the UI.\nWhen set to true, the preferred_locale value is unset and the browser's\nlanguage setting takes precedence. <br/> <span class=\"since-beta-tag\">Version: 26.3.0.cl or later</span>",
"nullable": true
}
}
Expand Down Expand Up @@ -24732,6 +25034,12 @@
"default": false,
"description": "Enable reasoning.",
"nullable": true
},
"save_chat_enabled": {
"type": "boolean",
"default": false,
"description": "Enable saving chat.",
"nullable": true
}
}
},
Expand Down Expand Up @@ -25376,4 +25684,4 @@
}
}
]
}
}