Google is committed to advancing racial equity for Black communities. See how.

Method: organizations.environments.queries.get

Get query status If the query is still in progress, the state is set to "running" After the query has completed successfully, state is set to "completed"

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. Name of the asynchronous query to get. Must be of the form organizations/{org}/environments/{env}/queries/{queryId}.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of AsyncQuery.

Authorization Scopes

Requires the following OAuth scope:


Try it!