LATCH Customer Docs
LATCH Customer API Reference
Customer-facing HTTP API and telemetry surface for the self-hosted LATCH runtime.
LATCH Customer API Reference

This documentation set describes the supported customer-facing HTTP surface for the self-hosted LATCH runtime.

It is intentionally limited to the parts of the product that operators and integrators are expected to use directly:

  • local startup and readiness
  • file and text compilation
  • document listing
  • querying and synchronous batch requests
  • runtime telemetry visible through the public health surface
  • document clearing

This documentation set does not publish:

  • source-browser pages
  • internal runtime modules
  • licensing implementation details
  • marketplace webhook flows
  • legacy demo runtime helpers
  • control-plane code paths

Base URL

Default local origin:

http://127.0.0.1:8091

Supported Public Surface

Use these endpoints as the supported customer API contract:

  • GET /health
  • GET /documents
  • POST /warmup
  • POST /compile_text
  • POST /compile_file
  • POST /query
  • POST /batch
  • POST /documents/clear

Related Docs

Startup Contract

For the customer-supported deployment path, start the runtime with:

Your Gumroad license key is not the runtime token. Use the CoDynamics-issued runtime token delivered through the fulfillment flow.

Readiness Model

The runtime lifecycle visible to customers is:

  • idle
  • loading
  • ready
  • error

The ordinary customer/operator success state is:

ready to accept files for processing

Use GET /health as the source of truth before attempting compile or query operations.