Documentation Index
Fetch the complete documentation index at: https://docs.drime.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Returns the current storage usage and available space for a user or workspace.
Query Parameters
Workspace ID. Use 0 for the user’s default personal workspace.
Response
Total space used in bytes
curl "https://app.drime.cloud/api/v1/user/space-usage?workspaceId=0" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"used": 120042057597,
"available": 6597069766656,
"status": "success"
}
The values are in bytes. To convert to GB, divide by 1024 * 1024 * 1024.