# Check usage (/docs/sdks/usage)



Check your workspace's current plan and how much [storage](/docs/platform/limits#storage) you're using. Credit usage is explained in [Usage and Credits](/docs/platform/usage-and-credits).

## Get usage [#get-usage]

<Tabs groupId="language" items="[&#x22;JavaScript&#x22;]">
  <Tab value="JavaScript">
    ```ts
    const usage = await paperful.usage.get();

    console.log(usage.tier.name);
    console.log(`${usage.storage.used} of ${usage.storage.total} bytes used`);
    ```
  </Tab>
</Tabs>

| Field               | Description                         |
| ------------------- | ----------------------------------- |
| `tier.name`         | Your workspace's current plan.      |
| `storage.used`      | Storage used, in bytes.             |
| `storage.available` | Storage remaining, in bytes.        |
| `storage.total`     | Your total storage quota, in bytes. |
