health
Deep health: DB read+write probe, worker/queue, backup + integrity. Free. Uses the same DB, backup, offsite, and integrity probes as GET /health; status is "ok" only when the DB reads and writes. Returns status/time/LLM, outcome, queue, backups, integrity, commission/source/extract readers, profile readiness, and source writer state. Readable schema 3 proves codec support only; readiness separately proves this process has the exact authorization, private queue, deletion, and immutable-lineage substrate. llm_configured never calls an LLM; check job_worker_alive before start_generate_job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Server time, ISO-8601 UTC. | |
| status | No | 'ok' only when the DB both READS and WRITES (a write probe, not just a ping); 'unavailable' otherwise. | |
| offsite | No | Off-volume upload health: {enabled, last_upload_at, last_status, remote_retained}. In-memory, no live S3 call. Null when status is unavailable. | |
| version | No | Server version. | |
| build_sha | No | Exact deployed Git commit, or null when the platform cannot prove one. | |
| integrity | No | Weekly PRAGMA quick_check result: {last_check_at, ok}, both null before the first check has ever run. Null (the whole object) when status is unavailable. | |
| backup_count | No | How many daily backups are retained. Null when status is unavailable. | |
| last_backup_at | No | Newest nightly backup's timestamp, ISO-8601 UTC. Null before the first backup runs, or when status is unavailable. | |
| llm_configured | No | Whether an LLM key is configured. false means smart/research are unavailable and mode=auto resolves to instant. A pure config read, never a live call. | |
| job_queue_depth | No | Jobs queued and not yet claimed, across all accounts. Null when status is unavailable. | |
| job_worker_alive | No | Whether this deployment runs the job worker. FALSE means start_generate_job would queue a job nothing executes: use generate_hooks instead. | |
| outcomes_reported_total | No | Size of the shared outcome corpus (60s-cached COUNT). Null when status is unavailable. | |
| release_artifact_sha256 | No | SHA-256 of the exact installed Python package bytes and relative paths. | |
| extract_schema_read_versions | No | Permanent Extract schema versions this process can decode. A listed version does not enable extraction. | |
| hook_research_provider_ready | No | Whether every approved live hook-research capability is present. | |
| source_lineage_writes_enabled | No | Whether authoritative source/extract writers are active on this process. ARCH-103A2 intentionally reports false. | |
| research_intent_writes_enabled | No | Whether schema-v4 research-intent writers and workers are active. API-105A intentionally reports false while its permanent readers are deployed. | |
| commission_schema_read_versions | No | Permanent commission schema versions this process can decode. Schema 3 being listed does not by itself enable profile-bound generation. | |
| hook_research_provider_prepared | No | Whether the exact signed provider graph is validated while dispatch may remain closed. | |
| creator_profile_generation_ready | No | Whether this process can safely execute exact schema-3 profile commissions: authorization, private queue ownership, deletion races, payload scrubbing, and immutable lineage are enforced. Public profile-reference input fields remain a separate surface contract. | |
| hook_research_provider_policy_id | No | Frozen provider runtime policy identity. | |
| source_asset_schema_read_versions | No | Permanent SourceAsset schema versions this process can decode. A listed version does not enable ingestion. | |
| source_metric_schema_read_versions | No | Permanent source-metric observation schema versions this process can decode without enabling a metric writer. | |
| hook_research_capability_receipt_id | No | Exact complete capability receipt identity, null while closed. | |
| hook_research_provider_policy_sha256 | No | SHA-256 of the frozen provider runtime policy. | |
| research_result_schema_read_versions | No | Permanent standalone research result and occurrence schema versions this process can decode without enabling research delivery. | |
| extraction_result_schema_read_versions | No | Permanent standalone extraction result and occurrence schema versions this process can decode without enabling extraction delivery. | |
| hook_research_prepared_capability_receipt_id | No | Exact target capability identity, null until closed preparation succeeds. |