---
title: "ezgh obs queries results"
description: "Print a succeeded query's records, or its counts."
---

> 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 results

{/* 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 results <query-id> [flags]
```

Print what a succeeded async query found: its records, `--limit` at a time (1 to 1000, default 100; `--all` for every page), or for a `--group-by` query, a row per combination and its count. -o json and yaml give every field of each record. A query that hasn't finished is refused (query_not_finished): wait for it with `ezgh obs queries get --wait`. Results are kept until the query's "Results until" time (results_expired after it).

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

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--all` | boolean |  | follow nextCursor through every page |
| `--cursor` | string |  | start from this page (a previous page's nextCursor) |
| `--limit` | int | `100` | items per page, 1 to 1000 |

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

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