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.status();console.log(response.services);
Comprehensive health check endpoint that queries all underlying services.
Checks the following services:
PostgreSQL database
Redis
PGVector store
Storage service (Local/S3)
ColPali vector store (if enabled)
GET
/
health
JavaScript
Copy
Ask AI
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.status();console.log(response.services);