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