Check usage
See your workspace's plan and storage usage.
Check your workspace's current plan and how much storage you're using. Credit usage is explained in Usage and Credits.
Get usage
const usage = await paperful.usage.get();
console.log(usage.tier.name);
console.log(`${usage.storage.used} of ${usage.storage.total} bytes used`); | 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. |