Skip to main content
GET
/
health
JavaScript
import Morphik from 'morphik';

const client = new Morphik({
  apiKey: 'My API Key',
});

const response = await client.ping.status();

console.log(response.services);
{
  "status": "<string>",
  "services": [
    {
      "name": "<string>",
      "status": "<string>",
      "message": "<string>",
      "response_time_ms": 123
    }
  ],
  "timestamp": "<string>"
}

Response

200 - application/json

Successful Response

Response for detailed health check endpoint

status
string
required
services
ServiceStatus · object[]
required
timestamp
string
required