|
LATCH Customer API Reference
Customer-facing HTTP API and telemetry surface for the self-hosted LATCH runtime.
|
The health endpoint exposes the customer-safe runtime lifecycle:
idleloadingreadyerrorThe normal success message is:
These are the safest fields to use when you need to verify what runtime is actually loaded:
service_revprofile_idconfig_classbase_model_classrouter_enabledThe customer health surface intentionally does not expose raw internal file paths for checkpoints, projectors, or other artifact locations.
Use these fields to understand the active room limits and defaults:
max_doc_tokensdefault_memory_tokensmemory_temperaturedefault_max_new_tokensfallback_modedeterministic_generationUse these fields to understand the current active room:
documents_totalservice_uptime_sThe document list endpoint adds per-document compile and extraction timings plus cache size metrics.
GET /health until ready=true before compile or query calls.GET /documents after every compile to confirm the active compiled set.service_rev plus profile_id as the primary runtime identity check when you compare two environments.