curl -X GET https://api.verbalisai.com/v1/storage/info \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"data": {
"totalStorageUsed": 2048576000,
"totalStorageUsedFormatted": "1.91 GB",
"fileCount": 156,
"storageLimit": 10737418240,
"storageLimitFormatted": "10 GB",
"availableStorage": 8688842240,
"availableStorageFormatted": "8.09 GB",
"usagePercentage": 19.1
}
}
Get storage usage information for the authenticated user
curl -X GET https://api.verbalisai.com/v1/storage/info \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"data": {
"totalStorageUsed": 2048576000,
"totalStorageUsedFormatted": "1.91 GB",
"fileCount": 156,
"storageLimit": 10737418240,
"storageLimitFormatted": "10 GB",
"availableStorage": 8688842240,
"availableStorageFormatted": "8.09 GB",
"usagePercentage": 19.1
}
}
Retrieve detailed information about storage usage, including total storage used, file counts, and storage limits.
This endpoint requires authentication via API key.
curl -X GET https://api.verbalisai.com/v1/storage/info \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"data": {
"totalStorageUsed": 2048576000,
"totalStorageUsedFormatted": "1.91 GB",
"fileCount": 156,
"storageLimit": 10737418240,
"storageLimitFormatted": "10 GB",
"availableStorage": 8688842240,
"availableStorageFormatted": "8.09 GB",
"usagePercentage": 19.1
}
}
Indicates if the request was successful
Show Storage Information Object
Total storage used in bytes
Human-readable total storage used
Total number of files stored
Storage limit in bytes
Human-readable storage limit
Available storage remaining in bytes
Human-readable available storage
Storage usage as a percentage