stop-query
Written by
Updated at July 1, 2026
This method terminates a query.
When using the HTTP API, you must authenticate by providing the required headers. You can also specify optional headers to control how requests are executed. The HTTP API may return errors.
Request
POST request to /queries/{query_id}/stop?project={folder_id}, where {folder_id} is the folder ID and {query_id} is the query ID.
Response
If successful, the response returns an HTTP 204 status code and an empty body.
Example
Request:
curl \
--request 'POST' \
'https://api.yandex-query.cloud.yandex.net/api/fq/v1/queries/cseugn35bc3r********/stop?project=b1gaue5b382m********' \
--header 'accept: */*' \
--data ''
Response: HTTP 204.