Skip to content

Get Config ​

Stable

Getting the config returns the Daemon's build-time UI configuration — the URLs the browser-side UI needs to communicate with the Daemon and the Webapp.

PropertyValue
Applies toDaemon
TriggerClient requests the application configuration
PreconditionsNone

Inputs ​

There are no inputs.

Assertions ​

AssertionStatus
None — the operation always succeeds

Outputs ​

UiAppConfig : An object with two fields:

webappUrl : String. The URL of the hosted Webapp.

daemonUrl : String. The URL this Daemon instance is listening on.

Effects ​

None. This is a read-only operation returning static build-time values.

Behavior ​

mermaid
flowchart TD
    Start([GET /api/config]) --> Return[Return UiAppConfig]
    Return --> Done(["{ webappUrl, daemonUrl }"])

    style Done fill:#4ade80,color:#000

See Also ​

  • Get health — Spec page for checking whether the Daemon is operational.