Skip to main content
Use the Config endpoint to inspect or replace the live router configuration. A GET request returns the current YAML v0.3 config serialized as JSON. A PUT request replaces the entire config with a validated object. Only admin callers may update configuration. The configuration is organized into top-level blocks: listeners, providers, entrypoints, recipes, and global.

Endpoint

Authentication

Authenticate with a session cookie or pass Authorization: Bearer <api-key>. The PUT method requires an admin role.

GET Response

object
The current router configuration.

PUT Request Body

array
Bind addresses and ports.
array
required
Provider definitions.
array
required
Virtual model mappings.
array
required
Routing recipes.
object
required
Global settings.

PUT Response

boolean
Whether the new configuration was accepted and applied.