Query the "Chart Generation" tool (streaming)post https://{protocol}://{base-url}/ai/api/v1/chats/tool/default/generate_chart_from_sql_and_code_tool/streamInvoke the "Chart Generation" directly.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_idstringrequiredsqlstringrequiredchart_code_snippetstringrequiredimage_titlestringrequiredauth_idstringnullauth_modestringnulldatasource_service_accountpre_exec_sqlstringnullallow_fallback_authbooleanDefaults to falsedeprecatedtruefalseResponses 200Successful 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 (async)Query the "Chart Generation" tool (async)Did this page help you?YesNo