Skip to main content
GET
/
storage
curl -X GET "https://api.nonefivem.com/cloud/storage" \
  -H "Authorization: Bearer your-api-key"
{
  "totalStorage": 5368709120,
  "usedStorage": 1073741824,
  "overageStorage": 0,
  "breakdown": [
    {
      "kind": "image",
      "count": 120,
      "size": 536870912
    },
    {
      "kind": "video",
      "count": 25,
      "size": 429496729
    },
    {
      "kind": "audio",
      "count": 5,
      "size": 107374183
    }
  ]
}
Returns comprehensive statistics about your organization’s storage usage including total size, file counts, and usage breakdowns.

Authorization

Authorization
string
required
Bearer token for authentication. Format: Bearer <your-api-key>

Required Permission

STORAGE_READ

Response

totalStorage
number
Total storage allocation in bytes
usedStorage
number
Currently used storage in bytes
overageStorage
number
Overage storage in bytes (usage beyond allocation)
breakdown
StorageBreakdown[]
Breakdown of storage by file kind
curl -X GET "https://api.nonefivem.com/cloud/storage" \
  -H "Authorization: Bearer your-api-key"
{
  "totalStorage": 5368709120,
  "usedStorage": 1073741824,
  "overageStorage": 0,
  "breakdown": [
    {
      "kind": "image",
      "count": 120,
      "size": 536870912
    },
    {
      "kind": "video",
      "count": 25,
      "size": 429496729
    },
    {
      "kind": "audio",
      "count": 5,
      "size": 107374183
    }
  ]
}