get_app_config
Reads a deployed app's persisted configuration, including deploy settings, environment key names, and AI bindings, while returning only secret references rather than secret values.
Instructions
Read a deployed app's daemon-persisted config (deploy fields + ai bindings).
Secret values are never returned — only ``${secrets.X}`` refs and env
key names. Each ``[ai.<name>]`` binding shown here is injected into the
app at launch as ``NERDIT_AI_<NAME>_URL/_KEY/_MODEL``, and the
``default`` binding also sets ``OPENAI_BASE_URL/OPENAI_API_KEY/
OPENAI_MODEL`` (drop-in OpenAI SDK).
``deploy.release`` is the command run once inside the new image before
traffic moves (a failure aborts the deploy and reverts the image,
never the data — write idempotent migrations); ``deploy.cutover`` null =
zero-downtime swap when eligible, false = same-port swap. ``env_keys``
are literal runtime env names; secret refs are accepted only by
``ai.*.api_key``, ``db.*.password``, ``edge_auth.password`` and a git
``token_ref`` — a ``${secrets.shared.KEY}`` there resolves at launch for
any owner, so a human can place the secret and the agent only names it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of a deployed app (``kind=service``). A served model or a managed database is a 404 ``config.not_an_app``; an unknown name a 404 ``not_found``. |