Storage

Get bucket usage

GET/v1/workspaces/{workspaceId}/buckets/{bucketId}/usage

Returns object count and stored bytes for the bucket.

Authentication

Send your Spark API key with every request. The value is the full bearer token Spark returned when you created the key. See Authentication.

Authorization: Bearer <SPARK_API_KEY>

Path parameters

workspaceId

string

The workspace id.

bucketId

string

The bucket id.

Was this page helpful?