---
title: "ezgh obs queries get"
description: "Show an async query's status."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh obs queries get

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh obs queries get <query-id> [--wait] [flags]
```

Show an async query: its status (and queue position while queued), datasets, window, how many rows it found and what it read, and until when its results are kept. `--wait` waits until it finishes (Ctrl-C stops waiting; the query keeps running).

Part of [`ezgh obs queries`](/cli/reference/obs-queries).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--wait` | boolean |  | wait for the query to finish |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/obs-queries-get/index.mdx
