- Sync
- Async
Returns
Dict[str, Any]: A JSON object with two keys:status– always"ok"when the server is runningmessage– human-readable confirmation string
Example
- Sync
- Async
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Health-check endpoint – verify that your Morphik server is reachable
def ping() -> Dict[str, Any]
async def ping() -> Dict[str, Any]
Dict[str, Any]: A JSON object with two keys:
status – always "ok" when the server is runningmessage – human-readable confirmation stringfrom morphik import Morphik
db = Morphik()
resp = db.ping()
assert resp["status"] == "ok"
from morphik import AsyncMorphik
async with AsyncMorphik() as db:
resp = await db.ping()
print(resp)
Was this page helpful?
