351 B
351 B
import { Client, Health } from "@appwrite.io/console";
const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID
const health = new Health(client);
const result = await health.getQueueUsageDump( null // threshold (optional) );
console.log(response);