import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const response = await client.ping.check();
console.log(response.message);{
"status": "<string>",
"message": "<string>"
}Simple health check endpoint that returns 200 OK.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const response = await client.ping.check();
console.log(response.message);{
"status": "<string>",
"message": "<string>"
}Was this page helpful?