Method: organizations.hostQueries.getResult

After the query is completed, use this API to retrieve the results. If the request succeeds, and there is a non-zero result set, the result is downloaded to the client as a zipped JSON file. The name of the downloaded file will be:


HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



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

Authorization requires the following IAM permission on the specified resource name:

  • apigee.hostqueries.get

Request body

The request body must be empty.

Response body

If successful, the response is a generic HTTP response whose format is defined by the method.

Authorization Scopes

Requires the following OAuth scope: