Skip to main content
Base URL: http://localhost:8080 Version: 0.21.2 License: Apache 2.0

Endpoints

The HTTP server holds an exclusive lock on the redb database. CLI commands (ingest, status, export) cannot run while the server is active.

Authentication

Authentication is optional, controlled by the KREMIS_API_KEY environment variable.
When enabled, include the key in requests:
The /health endpoint is always accessible without authentication.

Rate Limiting

  • Default: 100 requests per second (global, not per-client)
  • Configure: KREMIS_RATE_LIMIT=200
  • Exceeded: returns 429 Too Many Requests

Log Format

Control the server log output format with KREMIS_LOG_FORMAT:
Structured log fields (present in both modes, separately filterable in JSON):

Input Validation

Error Codes

Query Response: Grounding Field

Every query response includes a grounding field that classifies the result:

Query Response: Diagnostic Field

When found is false, an optional diagnostic field explains why: The diagnostic field is omitted when found is true.
Last modified on August 4, 2026