server_info
Returns this server's database identity and runtime status so you can compare it with another server's health endpoint before writing and catch split data stores.
Instructions
This server's DB identity: db_path, data_dir, pid, started_at and version, plus status.
Compare it against the other server's `GET /api/health` before writing so two servers pointed
at different data dirs (a split store) are caught instead of silently diverging.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| status | No | ok | |
| db_path | Yes | ||
| version | Yes | ||
| data_dir | Yes | ||
| public_url | No | Base URL of the web UI (S2DOCS_PUBLIC_URL, else LAN fallback) | |
| started_at | Yes | ||
| auth_required | No | True when S2DOCS_AUTH_TOKEN is set (mutating /api and /mcp need a token) | |
| confirms_jsonl | No | Append-only confirm journal a waiting agent watches (data_dir/confirms.jsonl) | |
| latest_confirm | No | Atomically-rewritten newest human confirm (data_dir/latest_confirm.json) | |
| job_events_jsonl | No | Append-only job-event journal a waiting agent watches (data_dir/job_events.jsonl) |