Skip to main content
vars reads plain runtime configuration values from the current environment. Use it for non-sensitive values such as URLs, client IDs, feature flags, and log levels.

vars.get(name)

Declare the key in server/src/defs/runtime.ts, then read it in your route code:
server/src/index.ts
vars.get(...) returns string | null.

Manage vars

Use platform limits for current var naming and quota constraints.

See also

Manage variables

Set, delete, and organize runtime vars in the repo-based workflow.

secret reference

Use secrets instead when the value is sensitive.
Last modified on April 7, 2026