Skip to content

Get subscription usage

Request

Get a summary of your subscription usage for the last six months.

If you are on a tiered subscription (Starting, Growing or Dashing), the download counts will be bucketed by calendar month. For example, the last counts will include all downloads this calendar month up to today.

If you are on the new value-based pricing (Startup, Small Team, Growing Brand or Established Brand), then the download counts are bucketed based on your billing month.

Security
bearerToken
curl -i -X GET \
  https://api-v2.dash.app/subscription-usage \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Success

Bodyapplication/json
lastSixMonthsDownloadCountsChronologicallyArray of objects, = 6 itemsrequired

Download counts for the last 6 months in chronological order

lastMonthDownloadCountsByUserTypeobjectrequired

Download usage in the last month broken down into different categories

storageBytesStoredintegerrequired

Number of bytes of data currently stored

Example:7981506322
numberOfAssetsintegerrequired

Total number of assets currently in account

Example:2540
Response
{ "lastSixMonthsDownloadCountsChronologically": [ {}, {}, {}, {}, {}, {} ], "lastMonthDownloadCountsByUserType": { "downloadsBySignedInUsers": 67, "downloadsByPublicVisitors": 0, "activeEmbeddableLinks": 15 }, "storageBytesStored": 7981506322, "numberOfAssets": 2540 }