Cloud-app cost breakdown for the subscription page
GET
/api/v3/organizations/{organisation}/subscription/cloud-usage
const url = 'https://dashboard.quantcdn.io/api/v3/organizations/example/subscription/cloud-usage';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://dashboard.quantcdn.io/api/v3/organizations/example/subscription/cloud-usagePer-project compute/database/storage cost breakdown with spot discount, for the requested month and the month before it. Mirrors the subscription page’s Cloud Apps card.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
Query Parameters
Section titled “Query Parameters”month
string
YYYY-MM, defaults to current month
Responses
Section titled “Responses”Usage envelope
Missing update_subscription permission or subscription:read scope
Failed to fetch usage data
