Get a query's status (poll it until it finishes)
GET
https://audit.ezghcloud.com/v1/organizations/{orgId}/queries/{queryId}Authorization
Path parameters
Returns
200
The query. While it's queued or running, Retry-After suggests when to poll again.
JSON
400
invalid_request, invalid_cursor, invalid_query (with line and column), or lookup_too_broad.
403
access_denied: the caller's policies don't allow the action; forbidden_origin: a cookie-authenticated write from an origin that isn't allowed.
404
not_found: unknown, malformed, or in an organization the caller isn't in.
429
too_many_requests or too_many_queries, with Retry-After; or quota_exceeded (with quota), never with Retry-After.
500
internal_error: a bug; the details are in the logs, under the request ID.