GET
/
workspaces
/
libraries
/
stats
curl --request GET \
  --url https://api.mudstack.com/workspaces/libraries/stats \
  --header 'Authorization: Bearer <token>' \
  --header 'x-account-id: <x-account-id>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "total_files": 123,
  "total_size": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-account-id
string
required
x-workspace-id
string
required

Query Parameters

library_id
string

Response

200 - application/json
The library statistics

Statistics related to a library

total_files
integer

The total number of files in the library

total_size
integer

The total size of the library in bytes