Query the "SQL Execution" tool (async)post {protocol}://{base-url}/ai/api/v1/chats/tool/default/sql_execution_tool/callInvoke the "SQL Execution" directly as a background task.Query Paramschat_idstringnullThe ID of the Chat to use. If not provided, a new Chat will be created.tagsarray | nullIf creating a new chat, add these tags to it. This is ignored if the chat already exists.Tags array | nullBody Paramsdata_product_idstringrequiredsqlstringrequiredresult_table_namestringrequiredpre_exec_sqlstringnullauth_idstringnullallow_fallback_authbooleanDefaults to falsedeprecatedtruefalseResponses 201Successful Response 401Authentication required. No valid session cookie or bearer token provided, or authentication failed. 422Validation Error 500Internal server error during request processing.Updated 5 months ago Query the "SQL Execution" tool (streaming)Query the "Chart Generation" tool (streaming)Did this page help you?YesNo