View the original community article here
Last tested: Oct 7, 2019
Here are some facts about queries are killed via the API:
- Only admin API users can kill queries via the API
- You can kill a query with the kill_query() endpoint, which requires us to know the
query_task_id
(not thequery_id
) - Only async query tasks can be killed. To be able to kill a query, it has to have been created using
create_query_task()
- Queries run via synchronous
run_query()
orrun_inline_query()
cannot be killed - Closing an API connection does not kill the query like it does in the front-end
This content is subject to limited support.