graphlife Docs graphlife.app

Accounts and access

5. Health and public pages

GET/health#

Reports that the server is running and which optional features are configured. Public.

curl https://graphlife.example.com/health
{
  "status": "ok",
  "db": "ok",
  "app": "graphlife-vault",
  "protocol": 1,
  "version": "1.0.0+1",
  "signup": "invite",
  "sso": [ { "id": "corp", "label": "Corporate SSO" } ],
  "extraction": false,
  "vectors": false
}
Field Type Meaning
status string Always ok when the server answers.
db string Always ok. It is a constant; the route does not run a database query.
app string Always graphlife-vault. Clients use it to confirm they are talking to a GraphLife server.
protocol integer The wire-protocol number the first-party apps check for compatibility. Currently 1.
version string The server's build version. Informational only.
signup string Who may create an account right now: open, invite, closed, or first. A server configured as first reports closed once its first account exists. See section 6.1.
sso array The configured identity providers, each {id, label}. Empty when SSO is off.
extraction boolean true when a model key is usable for server-side AI extraction: either the operator has set both ANTHROPIC_API_KEY and a positive LLM_MONTHLY_TOKENS budget, or at least one organisation has stored its own model-provider key (section 10.7). false otherwise.
vectors false or object false when semantic search is off. Otherwise an object describing the semantic search configuration (including its provider and vector dimension dim), with a rerank object when a reranking model is configured and an images object when image search is configured.

GET/legal/{page}#

Serves two static HTML pages: privacy-policy.html and delete-account.html. Public. Any other name answers 404 not_found. If the page file is missing from the deployment, the route answers 503 legal_page_unavailable.