It seems that the kill and query commands call the "v1/query/" endpoint, however I'm getting the following 404 path not found error:
{"timestamp: "...", "status":404, "error": "Not Found", "path":"v1/query/{query-id}"}
I noticed that in Presto + Trino documentation, they say that these get and delete requests should be made to the nextUri, which include the "v1/statement" path as opposed to above: https://prestodb.io/docs/current/develop/client-protocol.html