hi i was able to execute a query with parameters using the method:
- run the query using
/api/queries/${queryId}/refresh
- poll for status using
/api/jobs/${response.data.job.id}
- then getting the actual results using :
/api/queries/${queryId}/results/${query_result_id}.json
but if i try to visualize the results using (for example):
${baseUrl}/embed/query/${queryId}/visualization/${visualization.id}
I get only the results that were run in the web console (not via the API) .
how can i get an visualization image of the actual query that the API just ran?