# io.atcr.hold.listTiers

> Published by [atcr.io](https://lexicon.garden/identity/did:plc:wfj5kyialpmcv2fzk6uqwsln)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:wfj5kyialpmcv2fzk6uqwsln/io.atcr.hold.listTiers)
- [Documentation](https://lexicon.garden/lexicon/did:plc:wfj5kyialpmcv2fzk6uqwsln/io.atcr.hold.listTiers/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:wfj5kyialpmcv2fzk6uqwsln/io.atcr.hold.listTiers/examples)

## Definitions

### `io.atcr.hold.listTiers`

**Type**: `query`

List the hold's available tiers with storage quotas (no pricing info).

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `tiers` | `array` | Yes |  |

### `io.atcr.hold.listTiers#tierInfo`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | Tier name. |
| `quotaBytes` | `integer` | Yes | Storage quota in bytes. |
| `scanOnPush` | `boolean` | Yes | Whether pushing triggers an immediate vulnerability scan. |
| `quotaFormatted` | `string` | Yes | Human-readable quota (e.g. '5.0 GB'). |

## Raw Schema

```json
{
  "id": "io.atcr.hold.listTiers",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "tiers"
          ],
          "properties": {
            "tiers": {
              "type": "array",
              "items": {
                "ref": "#defs/tierInfo",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "List the hold's available tiers with storage quotas (no pricing info)."
    },
    "tierInfo": {
      "type": "object",
      "required": [
        "name",
        "quotaBytes",
        "quotaFormatted",
        "scanOnPush"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 64,
          "description": "Tier name."
        },
        "quotaBytes": {
          "type": "integer",
          "description": "Storage quota in bytes."
        },
        "scanOnPush": {
          "type": "boolean",
          "description": "Whether pushing triggers an immediate vulnerability scan."
        },
        "quotaFormatted": {
          "type": "string",
          "maxLength": 32,
          "description": "Human-readable quota (e.g. '5.0 GB')."
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
