Sorry, no results found for "".
Returns an array of resource objects of type daily_usage
1import { buildClient } from "@datocms/cma-client-node";2 3async function run() {4 const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });5 6 const dailyUsages = await client.dailyUsages.list();7 8 for (const dailyUsage of dailyUsages) {9 // Check the 'Returned output' tab for the result ☝️10 console.log(dailyUsage);11 }12}13 14run();
1{2 id: "412",3 date: "",4 cda_api_calls: 20,5 cma_api_calls: 20,6 cda_traffic_bytes: 20,7 cma_traffic_bytes: 20,8 assets_traffic_bytes: 20,9 mux_delivered_seconds: 20,10 mux_high_resolution_delivered_seconds: 20,11 mux_encoded_seconds: 20,12}