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

# List

> List registered GraphQL clients of a federated graph or monograph

## Usage

```bash theme={"system"}
npx wgc clients list <graph-name>
```

## Description

The `npx wgc clients list` command lists the registered GraphQL clients of a federated graph or monograph.

The table output includes the persisted operation count and whether the client has persisted operation traffic in the traffic retention window.

Clients are registered when persisted operations are pushed for a given client name.

## Parameters

* `<graph-name>`: The name of the federated graph or monograph.

## Options

* `-n, --namespace` : The namespace of the federated graph or monograph. Defaults to `default`.

* `-j, --json` : Prints structured JSON instead of a table.

## Examples

```bash theme={"system"}
npx wgc clients list production
```

Lists all registered clients of the graph named `production`.

```bash theme={"system"}
npx wgc clients list production --namespace staging --json
```

Lists all registered clients of the graph named `production` in the `staging` namespace and prints JSON output.
