import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const appStorageUsageResponse = await client.usage.appStorageUsage();
console.log(appStorageUsageResponse.app_id);{
"app_id": "<string>",
"doc_raw_bytes_mb": 123,
"chunk_raw_bytes_mb": 123,
"multivector_mb": 123,
"total_mb": 123,
"document_count": 123
}import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const appStorageUsageResponse = await client.usage.appStorageUsage();
console.log(appStorageUsageResponse.app_id);{
"app_id": "<string>",
"doc_raw_bytes_mb": 123,
"chunk_raw_bytes_mb": 123,
"multivector_mb": 123,
"total_mb": 123,
"document_count": 123
}Was this page helpful?