# Get module

> Get metadata about a Cloud Code module.

Get metadata about a Cloud Code module.

## Command

Authentication Required: `Yes`

```text
ugs cloud-code modules get <module-name> [options]
```

## Arguments

`<module-name>` Name of the target module

## Options

|             | Alias                  | Description                               |
| ----------- | ---------------------- | ----------------------------------------- |
| project-id  | -p, --project-id       | The Unity cloud project ID.               |
| environment | -e, --environment-name | The services environment name.            |
| versions    | --versions             | Also list the module's retained versions. |
| help        | -?, -h, --help         | Display help and usage information.       |
| quiet       | -q, --quiet            | Reduce logging to a minimum.              |
| json        | -j, --json             | Use JSON as the output format.            |

## Versions

With `--versions`, the response also lists the module's retained versions, newest first:

```yaml
versions:
  - version: 1788856057800102
    isLive: true
    dateCreated: 2026-09-08T11:47:37
    tags:
      tier: a
  - version: 1788855912340871
    isLive: false
    dateCreated: 2026-09-05T16:22:10
```

Exactly one version has `isLive: true`. The per-version signed download URL and endpoint list are
not shown: the module-level signed URL is already in the response, and
[get-spec](get-spec) returns a chosen version's endpoints in full.

If the `versions` key is absent even with the flag supplied, module versions are not enabled for the
project.
