GET
/
v1
/
account
/
stats
Blob Account Stats
curl --request GET \
  --url https://blob.squarecloud.app/v1/account/stats
{
  "status": "success",
  "response": {
    "usage": {
      "objects": 0,
      "storage": 0
    },
    "plan": {
      "included": 0
    },
    "billing": {
      "extraStorage": 0,
      "storagePrice": 0,
      "objectsPrice": 0,
      "totalEstimate": 0
    }
  }
}
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": {
    "usage": {
      "objects": 0,
      "storage": 0
    },
    "plan": {
      "included": 0
    },
    "billing": {
      "extraStorage": 0,
      "storagePrice": 0,
      "objectsPrice": 0,
      "totalEstimate": 0
    }
  }
}

Troubleshooting

Unauthorized

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