Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Query
  • Access management
  • Pricing policy
    • SDK
      • Overview
      • Authentication
        • All methods
        • create-query
        • get-query
        • get-query-status
        • stop-query
        • get-query-results
      • YQL and JSON type mapping
    • Apache Airflow™
  • Integration
  • Audit Trails events
  • FAQ

In this article:

  • Request
  • Response
  • Example
  1. Reference
  2. HTTP API
  3. Methods
  4. get-query-status

get-query-status

Written by
Yandex Cloud
Updated at October 28, 2024
  • Request
  • Response
  • Example

The method returns the query execution status. Use the method to track the query progress to wait until it's executed and get query results.

When using the HTTP API, authenticate and specify the required headers. You can also specify optional headers for setting up request execution. The HTTP API may return errors while running.

RequestRequest

GET request to /queries/{query_id}/status?project={folder_id}, where {folder_id} is the folder ID and {query_id} is the query ID.

ResponseResponse

If successful, an HTTP response with code 200 and the query execution status (RUNNING, COMPLETED, or FAILED) is returned.

{
  "status": "RUNNING"
}

ExampleExample

Request:

curl \
  --request 'GET' \
  --header 'accept: application/json' \
  'https://api.yandex-query.cloud.yandex.net/api/fq/v1/queries/cseugn35bc3r********/status?project=b1gaue5b382m********'

Response:

{
  "status": "RUNNING"
}

Was the article helpful?

Previous
get-query
Next
stop-query
© 2025 Direct Cursus Technology L.L.C.