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

# Reservations

> Manage GPU reservations.

**Aliases:** `reservations`, `reservation`, `res`

<Note>
  Reservations are gated behind a feature flag. The `reservations` command is hidden and unavailable unless the feature is enabled for your organization.
</Note>

## Subcommands

* [list](#list) — List reservations
* [get](#get) — Get reservation details
* [capacity](#capacity) — List available reservation units
* [create](#create) — Create a new reservation
* [delete](#delete) — Delete a reservation

***

## list

List reservations, optionally filtered by organization, project, or region.

```bash theme={null}
nscale reservations list [flags]
```

### Flags

<table>
  <thead><tr><th>Flag</th><th>Description</th></tr></thead>

  <tbody>
    <tr><td><code>--org string</code></td><td>Organization ID</td></tr>
    <tr><td><code>--project string</code></td><td>Project ID</td></tr>
    <tr><td><code>--region string</code></td><td>Region ID</td></tr>

    <tr>
      <td><code>--json</code></td>
      <td>Emit the full JSON payload (mutually exclusive with <code>-q</code>)</td>
    </tr>

    <tr>
      <td><code>-q, --query stringArray</code></td>
      <td>jq filter for value extraction (see <a href="/docs/cli/query-output">Query output with <code>-q</code></a>)</td>
    </tr>
  </tbody>
</table>

### Example

```bash theme={null}
nscale reservations list --org <org-id> --region <region-id>
```

***

## get

Get details for a specific reservation.

```bash theme={null}
nscale reservations get --id <reservation-id> --org <org-id>
```

### Flags

<table>
  <thead><tr><th>Flag</th><th>Description</th></tr></thead>

  <tbody>
    <tr><td><code>--id string</code></td><td>Reservation ID</td></tr>
    <tr><td><code>--org string</code></td><td>Organization ID</td></tr>

    <tr>
      <td><code>--json</code></td>
      <td>Emit the full JSON payload (mutually exclusive with <code>-q</code>)</td>
    </tr>

    <tr>
      <td><code>-q, --query stringArray</code></td>
      <td>jq filter for value extraction (see <a href="/docs/cli/query-output">Query output with <code>-q</code></a>)</td>
    </tr>
  </tbody>
</table>

***

## capacity

List available reservation units, optionally filtered by region, accelerator model, or unit type. Useful for checking capacity before creating a reservation.

**Alias:** `units`

```bash theme={null}
nscale reservations capacity [flags]
```

### Flags

<table>
  <thead><tr><th>Flag</th><th>Description</th></tr></thead>

  <tbody>
    <tr><td><code>--region string</code></td><td>Region ID</td></tr>
    <tr><td><code>--accelerator string</code></td><td>Accelerator model, for example <code>GB300</code></td></tr>
    <tr><td><code>--unit string</code></td><td>Reservation unit, for example <code>NVL72</code></td></tr>

    <tr>
      <td><code>--json</code></td>
      <td>Emit the full JSON payload (mutually exclusive with <code>-q</code>)</td>
    </tr>

    <tr>
      <td><code>-q, --query stringArray</code></td>
      <td>jq filter for value extraction (see <a href="/docs/cli/query-output">Query output with <code>-q</code></a>)</td>
    </tr>
  </tbody>
</table>

### Example

```bash theme={null}
nscale reservations capacity --region <region-id> --accelerator GB300
```

***

## create

Create a new reservation. Accepts input from a JSON file or stdin.

```bash theme={null}
nscale reservations create [flags]
```

### Flags

<table>
  <thead><tr><th>Flag</th><th>Description</th></tr></thead>

  <tbody>
    <tr><td><code>-f, --file string</code></td><td>Path to a JSON file</td></tr>
    <tr><td><code>--stdin</code></td><td>Read JSON from standard input</td></tr>
    <tr><td><code>--dry-run</code></td><td>Preview the request payload without persisting</td></tr>
    <tr><td><code>-y, --yes</code></td><td>Automatically confirm creation</td></tr>

    <tr>
      <td><code>--json</code></td>
      <td>Emit the full JSON payload (mutually exclusive with <code>-q</code>)</td>
    </tr>

    <tr>
      <td><code>-q, --query stringArray</code></td>
      <td>jq filter for value extraction (see <a href="/docs/cli/query-output">Query output with <code>-q</code></a>)</td>
    </tr>
  </tbody>
</table>

### Examples

```bash theme={null}
nscale reservations create --file reservation.json
nscale reservations create --stdin < reservation.json
cat reservation.json | nscale reservations create --stdin
```

***

## delete

Delete an existing reservation.

```bash theme={null}
nscale reservations delete --id <reservation-id> --org <org-id> [flags]
```

### Flags

| Flag           | Description                                    |
| -------------- | ---------------------------------------------- |
| `--id string`  | Reservation ID                                 |
| `--org string` | Organization ID                                |
| `--dry-run`    | Preview the request payload without persisting |
| `-y, --yes`    | Automatically confirm deletion                 |

### Example

```bash theme={null}
nscale reservations delete --id <reservation-id> --org <org-id> --yes
```

***

## Related

<CardGroup cols={2}>
  <Card title="Placements" icon="server" href="/docs/cli/placements">
    Place workloads onto reserved capacity and manage their servers.
  </Card>
</CardGroup>
