Skip to main content
GET
/
workspace_files
curl "https://app.drime.cloud/api/v1/workspace_files?workspaceId=0" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "files": 2,
  "size": 4846974,
  "status": "success"
}

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 statistics about files in a workspace, including total file count and combined size.

Query Parameters

workspaceId
integer
Workspace ID. Use 0 for the user’s default personal workspace.

Response

files
integer
Total number of files in the workspace
size
integer
Total size of all files in bytes
status
string
Request status (success)
curl "https://app.drime.cloud/api/v1/workspace_files?workspaceId=0" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "files": 2,
  "size": 4846974,
  "status": "success"
}