diff --git a/api-spec/openapiSpecv3-2_0.json b/api-spec/openapiSpecv3-2_0.json index c4778b0d..92350c9d 100644 --- a/api-spec/openapiSpecv3-2_0.json +++ b/api-spec/openapiSpecv3-2_0.json @@ -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", @@ -345,6 +353,155 @@ } } }, + "/api/rest/2.0/ai/agent/conversation/{conversation_id}/delete": { + "post": { + "operationId": "deleteConversation", + "description": "Beta Version: 26.4.0.cl or later", + "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": "Beta Version: 26.4.0.cl or later", + "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", @@ -588,6 +745,69 @@ } } }, + "/api/rest/2.0/ai/agent/conversation/{conversation_id}": { + "get": { + "operationId": "loadConversation", + "description": "Beta Version: 26.4.0.cl or later", + "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", @@ -699,6 +919,88 @@ } } }, + "/api/rest/2.0/ai/agent/conversation/{conversation_id}/rename": { + "post": { + "operationId": "renameConversation", + "description": "Beta Version: 26.4.0.cl or later", + "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", @@ -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.
Version: 26.3.0.cl or later", "type": "boolean", "nullable": true }, @@ -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.
Version: 26.3.0.cl or later", "type": "boolean", "nullable": true }, @@ -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.
Version: 26.3.0.cl or later", "nullable": true }, "extended_properties": { @@ -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", @@ -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.
Version: 26.3.0.cl or later", "nullable": true } } @@ -24732,6 +25034,12 @@ "default": false, "description": "Enable reasoning.", "nullable": true + }, + "save_chat_enabled": { + "type": "boolean", + "default": false, + "description": "Enable saving chat.", + "nullable": true } } }, @@ -25376,4 +25684,4 @@ } } ] -} \ No newline at end of file +}