GET
/
v1
/
account
/
stats
curl --request GET \
  --url https://blob.squarecloud.app/v1/account/stats \
  --header 'Authorization: <authorization>'
{
  "status": "success",
  "response": {
    "objects": 5,
    "size": 1628388,
    "storagePrice": 0,
    "objectsPrice": 0,
    "totalEstimate": 0
  }
}
Authorization
string
required

The API key for your account. You can find this in your account settings.

Status updates every 1 minute.

Response

status
string

Indicates whether the call was successful. “success” if successful, “error” if not.

response
object
{
  "status": "success",
  "response": {
    "objects": 5,
    "size": 1628388,
    "storagePrice": 0,
    "objectsPrice": 0,
    "totalEstimate": 0
  }
}

Troubleshooting

Unauthorized

// Just set the correct API key in the Authorization header.
{
    "status": "error",
    "code": "ACCESS_DENIED"
}