Query the "SQL Execution" tool (async)post https://{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_namestringrequireddata_product_versionstringnullpre_exec_sqlstringnullauth_idstringnullauth_modestringnulldatasource_service_accountallow_fallback_authbooleanDefaults to falsedeprecatedtruefalseResponses 201Successful Response 401Authentication required. No valid session cookie or bearer token provided, or authentication failed. 402Tenant has no remaining tool calls. The request cannot be completed. 422Validation Error 500Internal server error during request processing.Updated 14 days ago Query the "SQL Execution" tool (streaming)Query the "Chart Generation" tool (streaming)Did this page help you?YesNo