Skip to main content

Runtime Config

GET 

/api/v1/public/runtime-config

Get runtime configuration for frontend applications.

This endpoint provides dynamic configuration that was previously only available as build-time environment variables. Allows Admin UI to control feature toggles without requiring frontend rebuilds (Issue #119).

Response includes only safe-to-expose public configuration:

  • Feature toggles (Route Tester, admin approval)
  • Analytics configuration (enabled flag, host URL - NOT API keys)

Note: API keys and sensitive values are NEVER returned from this endpoint.

Rate limited: 120/minute per IP to prevent abuse while allowing frequent frontend polling (e.g., SPA init, tab reopens).

Caching: Response is cached for 30 seconds to reduce database lookups. ConfigurationService also has its own 5-minute cache layer.

Request

Responses

OK