Server key
Starts with
val_sk_. Reaches your model’s tools and your budget. Backend only — never in an app bundle.What each key can do, where it may live, and what the model can and can't touch.
Server key
val_sk_. Reaches your model’s tools and your budget. Backend only — never in an app bundle.App key
val_pk_. Safe to ship inside an app. Refused by the route that reaches a model, so it can’t spend your budget.The console asks where a key will live and creates the right kind.
| It can | It can’t |
|---|---|
| Choose which published component to show | Write or change markup |
| Supply values, checked against the component’s shape | Inject HTML or script — anything outside the shape is refused |
Read the short note ui.call returns |
See the markup — it never enters the model’s context |
By default the server SDK binds data in your app: it downloads the component’s template, shape and theme, checks the model’s arguments locally, and sends the template and values through your response stream. Tool arguments and per-user context are not sent to the Val service in this mode.
Rendering needs no key. Your app stays responsible for signing in and authorising its users. Media loads only from absolute http or https URLs.