import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const document = await client.documents.updateMetadata('document_id');
console.log(document.app_id);
import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const document = await client.documents.updateMetadata('document_id');
console.log(document.app_id);