Knowledge Drop

How does query killing work via the API?

  • 7 July 2021
  • 0 replies
  • 19 views

Userlevel 4

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 the query_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() or run_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.                

 

 


0 replies

Be the first to reply!

Reply