Skip to content

Admin API Reference

The complete API documentation for all Ontheia endpoints is located at:

API Reference

Terminal window
curl -s http://localhost:8080/health
# → {"status":"ok"}
Terminal window
curl -s -c cookies.txt -X POST http://localhost:8080/api/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"admin@example.com","password":"PASSWORD"}'

You can also copy the token from the Admin UI under Info › Session Token.

Terminal window
curl -s -H "Cookie: session=<TOKEN>" \
http://localhost:8080/api/admin/system/status | jq .
{
"memory": { "disabled": false, "embeddingMode": "cloud" },
"version": "0.1.5"
}

Full field description: API Reference › Admin & Maintenance