Skip to main content

Usage

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

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