---
layout: docs
page_title: 'nomad quota inspect command reference'
description: >
  The `nomad quota inspect` command displays raw information about a particular
  quota specification in Nomad Enterprise.
---

# `nomad quota inspect` command reference

The `quota inspect` command is used to view raw information about a particular
quota. The default output is in JSON format.

<EnterpriseAlert product="nomad"/>

## Usage

```plaintext
nomad quota inspect [options] <quota_name>
```

If ACLs are enabled, this command requires a token with the `quota:read`
capability and access to any namespaces that the quota is applied to.

## General options

@include 'general_options.mdx'

## Inspect options

- `-json`: Output the quota specifications in a JSON format.

- `-t`: Format and display the quota using a Go template.

## Examples

Inspect a quota specification:

```shell-session
$ nomad quota inspect default-quota
{
    "Spec": {
        "CreateIndex": 11,
        "Description": "Limit the shared default namespace",
        "Limits": [
            {
                "Hash": "p7s7A+4mFt+M41NS3nB3APheQS9YaePLguvnNn/c1t4=",
                "Region": "global",
                "RegionLimit": {
                    "CPU": 1000,
                    "Cores": 1,
                    "Devices": null,
                    "DiskMB": 0,
                    "IOPS": 0,
                    "MemoryMB": 1000,
                    "MemoryMaxMB": 0,
                    "NUMA": null,
                    "Networks": null
                },
                "VariablesLimit": 0
            }
        ],
        "ModifyIndex": 11,
        "Name": "default-quota"
    },
    "UsageLookupErrors": {},
    "Usages": {
        "global": {
            "CreateIndex": 11,
            "ModifyIndex": 12,
            "Name": "default",
            "Used": {
                "p7s7A+4mFt+M41NS3nB3APheQS9YaePLguvnNn/c1t4=": {
                    "Hash": "p7s7A+4mFt+M41NS3nB3APheQS9YaePLguvnNn/c1t4=",
                    "Region": "global",
                    "RegionLimit": {
                        "CPU": 0,
                        "Cores": 0,
                        "Devices": null,
                        "DiskMB": 0,
                        "IOPS": 0,
                        "MemoryMB": 0,
                        "MemoryMaxMB": 0,
                        "NUMA": null,
                        "Networks": null
                    },
                    "VariablesLimit": 0
                }
            }
        }
    }
}
```

The `-json` flag can be used to get the quota specs in json format:
```shell-session
$ nomad quota inspect -json default-quota
{
    "CreateIndex": 11,
    "Description": "Limit the shared default namespace",
    "Limits": [
        {
            "Hash": "p7s7A+4mFt+M41NS3nB3APheQS9YaePLguvnNn/c1t4=",
            "Region": "global",
            "RegionLimit": {
                "CPU": 1000,
                "Cores": 1,
                "Devices": null,
                "DiskMB": 0,
                "IOPS": 0,
                "MemoryMB": 1000,
                "MemoryMaxMB": 0,
                "NUMA": null,
                "Networks": null
            },
            "VariablesLimit": 0
        }
    ],
    "ModifyIndex": 11,
    "Name": "default-quota"
}
```

Or use the `-t` flag to format and display the quota specs using a Go template:
```shell-session
$ nomad quota inspect -t '{{ .Description }}' default-quota
Limit the shared default namespace
```
