## Requirements

| Package | Minimum version |
| --- | --- |
| [wgc](https://cosmo-docs.wundergraph.com/cli/intro) | [0.74.0](https://github.com/wundergraph/cosmo/releases/tag/wgc%400.74.0) |

## Usage

```
npx wgc federated-graph version get <name>
```

## Description

The `wgc federated-graph version get` command retrieves and displays the router compatibility version that has been set for a specific federated graph.

## Output

The router compatibility version that has been set for the federated graph.

## Example

```
> npx wgc federated-graph version get mygraph -n prod
┌────────────┬───────────┬─────────┐
│ GRAPH NAME │ NAMESPACE │ VERSION │
├────────────┼───────────┼─────────┤
│ mygraph    │ prod      │ 1       │
└────────────┴───────────┴─────────┘
```
