# Identity: storage

> Bytes this identity holds, and the ceiling it is held against

## Bytes this identity holds, and the ceiling it is held against

`GET /v1/identities/{slug}/storage` · operation `getStorage`

Requires the `batondeck:identities:read` permission (action `identity:read`).

**Parameters**

| Name | In | Type | Required | Notes |
|---|---|---|---|---|
| `slug` | path | string | yes |  |

**Responses**

| Status | Meaning |
|---|---|
| 200 | Bytes this identity holds, and the ceiling it is held against |
| 401 | No portal session, and no live API key. |
| 403 | The policy refused, or the request was cross-site. |
| 404 | No such resource, or none this session may see. |

<details>
<summary>200 response schema</summary>

```json
{
  "type": "object",
  "properties": {
    "used": {
      "type": "number"
    },
    "quota": {
      "type": "number"
    },
    "blobs": {
      "type": "number"
    }
  },
  "required": [
    "used",
    "quota",
    "blobs"
  ],
  "additionalProperties": false
}
```

</details>

```sh
curl -X GET 'https://api.batondeck.com/v1/identities/:slug/storage' \
  -H "Authorization: Bearer $BATONDECK_API_KEY"
```
