Manifest
whisk.yaml at the repository root declares the app: the name, which routes are public, the database, secrets by name, functions, webhooks, storage and the rest. Everything below is read from whisk.schema.json, which whisk doctor validates against and whisk schema prints. Required fields are marked.
| Field | Type | Default | Meaning |
|---|---|---|---|
whiskrequired | exactly 1 | Conventions version this repository follows. Changes within a version are additive. | |
namerequired | string matching ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$ | App slug. The hostname <name>.<org>.whisk.page derives from it. | |
title | string matching ^[^\x00-\x1f\x7f]*\S[^\x00-\x1f\x7f]*$ | What the people who use the app call it, in two to four plain words. The business's home and the app's pages show it. | |
description | string matching ^[^\x00-\x1f\x7f]*\S[^\x00-\x1f\x7f]*$ | One sentence, for the people who use the app, on what they do in it. The business's home shows it under the title. | |
category | string matching ^[^\x00-\x1f\x7f]*\S[^\x00-\x1f\x7f]*$ | The group the business's home lists the app under, such as Sales. Reuse one the business already has. | |
routes | object | none | |
routes.public | list of string matching ^/[^?#\s]*$ | none | Route globs reachable without identity. Everything else requires a signed-in team or customer identity. |
routes.challenge | list of string matching ^/[^?#\s]*$ | none | Public routes whose POSTs must carry a solved Altcha challenge. |
routes.csrf_off | list of string matching ^/[^?#\s]*$ | none | Routes exempt from the platform CSRF check. Rare; for embeds. |
routes.apps | list of string matching ^/[^?#\s]*$ | none | Routes only other apps may call, by their service identity. The edge answers everyone else 401, signed-in people included. |
routes.device_header | string matching ^[A-Za-z][A-Za-z0-9-]{0,62}$ | The header the app's own clients (a desktop or phone install) send to say which install a request comes from. Someone not signed in who sends it is rate limited per install rather than per network address; the app still checks it. | |
routes.headers | map of string | none | Response headers to add or override on every response from this app. |
admin | object | The app's own admin. The Whisk bar shows the business's team links to it on every page. | |
admin.pathrequired | string matching ^/[^?#\s]*$ | An absolute URL path without query or fragment. | |
admin.edit | string matching ^/[^#\s]*\{path\}[^#\s]*$ | Opens the admin's editor at the page being looked at: a path on the app's own address, with {path} where that page's path goes. | |
admin.setup | string matching ^/[^?#\s]*$ | The app's setup list: a path on the app's own address answering GET, for a member of the business, with what the app still needs from them ({ready, items: [{key, label, required, done, fix, steps}]}). whisk deploy prints what is not done and the Whisk bar links the admin while something required is missing. | |
mcp | object | The app's own MCP server, which a chat assistant (Claude, ChatGPT) adds as a connector. The platform signs the assistant in; the path is never public. | |
mcp.pathrequired | string matching ^/[^?#\s]*$ | An absolute URL path without query or fragment. | |
mcp.read_tools | list of string matching ^[A-Za-z0-9_.-]{1,128}$ | The MCP tools that only read. An agent allowed only to read may call these and no other; every other tool counts as a change. | |
health | object | none | |
health.path | string matching ^/[^?#\s]*$ | "/health" | An absolute URL path without query or fragment. |
health.timeout | integer | 90 | Seconds allowed from container start to the first 200 from the health path. |
database | string matching ^(app|none|shared:[a-z0-9]([a-z0-9-]*[a-z0-9])?)$ | "app" | app: one database per app. shared:<name>: a schema inside an org-shared database. none: no database. |
migrate | string | Command run before traffic switches to a new deploy. A snapshot is taken first. | |
database_role | "owner" | "restricted" | "owner" | owner: the app connects as the role that owns its tables. restricted: the app connects as a run login that only reads and writes rows, and only the migrate step connects as the owner, so the app's own queries cannot disable row-level security, drop a policy or change a table. restricted needs a database and a migrate command. |
build | object | none | |
build.dockerfile | string | Path to a Dockerfile. Absent: the platform detects the stack with Railpack. | |
build.secrets | list of string matching ^[A-Z][A-Z0-9_]{1,63}$ | none | Secret names available only at build time, as BuildKit secret mounts. |
secrets | list of string matching ^[A-Z][A-Z0-9_]{1,63}$ | none | Names of secrets the app reads from the environment. Humans set values in the dashboard. |
env | map of string | none | Non-secret configuration injected into the environment. |
queue | object | none | |
queue.endpoint | string matching ^/[^?#\s]*$ | "/.whisk/inngest" | Path where the platform delivers function runs using the Inngest protocol. |
functions | list of any or any | none | |
functions[].namerequired | string matching ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$ | ||
functions[].cron | string matching ^\S+\s+\S+\s+\S+\s+\S+\s+\S+$ | Five-field cron expression, evaluated in tz (default UTC). | |
functions[].tz | string matching ^[A-Za-z_]+(/[A-Za-z0-9_+-]+)*$ | IANA time zone name for cron, for example Pacific/Auckland. | |
functions[].event | string matching ^[a-z0-9]+([._/-][a-z0-9]+)*$ | Event name that triggers this function, for example po.created. | |
functions[].graphrequired | string matching ^(([^/.][^/]*|\.[^/.][^/]*|\.\.[^/]+|\.)/)*[^/]*\.graph\.ya?ml$ | Path, relative to the repository root, of the declared workflow graph. No segment may be "..". | |
functions[].concurrency | integer | ||
functions[].retries | integer | 3 | |
webhooks | list of object | none | |
webhooks[].namerequired | string matching ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$ | ||
webhooks[].presetrequired | string matching ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$ | A preset name from webhook-presets.yaml, hmac with inline settings, or token for unsigned providers. | |
webhooks[].secret | string matching ^[A-Z][A-Z0-9_]{1,63}$ | Name of the secret holding the signing secret. Must also appear in secrets. | |
webhooks[].handlerrequired | string matching ^/[^?#\s]*$ | Route in this app that receives verified deliveries. Reached only by the platform. | |
webhooks[].ip_allowlist | list of string matching ^([0-9]{1,3}\.){3}[0-9]{1,3}(/[0-9]{1,2})?$|^[0-9a-fA-F:]+(/[0-9]{1,3})?$ | none | |
webhooks[].hmac | object | Inline signature settings for preset hmac. Same fields as a preset in webhook-presets.yaml. | |
webhooks[].hmac.headerrequired | string matching ^[A-Za-z][A-Za-z0-9-]*$ | ||
webhooks[].hmac.algorithmrequired | "sha1" | "sha256" | "sha512" | ||
webhooks[].hmac.encodingrequired | "hex" | "base64" | ||
webhooks[].hmac.payloadrequired | string | ||
webhooks[].hmac.timestamp | object | ||
webhooks[].hmac.timestamp.fromrequired | "header" | "header_name" | ||
webhooks[].hmac.timestamp.name | string matching ^[A-Za-z][A-Za-z0-9-]*$ | ||
webhooks[].hmac.timestamp.pattern | string | ||
webhooks[].hmac.timestamp_format | "unix" | "unix_ms" | "rfc3339" | "unix" | |
webhooks[].hmac.id | object | ||
webhooks[].hmac.id.fromrequired | "header" | "header_name" | ||
webhooks[].hmac.id.name | string matching ^[A-Za-z][A-Za-z0-9-]*$ | ||
webhooks[].hmac.id.pattern | string | ||
webhooks[].hmac.signature_pattern | string | ||
webhooks[].hmac.signature_prefix | string | ||
webhooks[].hmac.tolerance_seconds | integer | ||
webhooks[].handshake | object | How the provider checks the address before it sends deliveries: it calls with a value in a query parameter and wants it back as text/plain (Business Central: query validationToken). | |
webhooks[].handshake.method | "GET" | "POST" | ||
webhooks[].handshake.queryrequired | string matching ^[A-Za-z][A-Za-z0-9_.-]{0,63}$ | ||
inbox | object | Receive email at the app's own address. Each message is stored in the app's storage and delivered to handler the way webhooks are: signed, retried and replayable. | |
inbox.handlerrequired | string matching ^/[^?#\s]*$ | Route in this app that receives each message as JSON. Reached only by the platform. | |
inbox.allow_from | list of string matching ^([^@\s]+)?@[^@\s]+\.[^@\s]+$ | none | Senders allowed to reach the inbox: whole addresses, or @domain for every address at that domain. Empty allows everyone. |
static | list of object | none | Folders published to object storage at deploy and served with immutable caching. |
static[].dirrequired | string matching ^(([^/.][^/]*|\.[^/.][^/]*|\.\.[^/]+|\.)/)*([^/.][^/]*|\.[^/.][^/]*|\.\.[^/]+|\.)/?$ | Folder, relative to the repository root, whose files are published. No segment may be "..". | |
static[].pathrequired | string matching ^/[^?#\s]*$ | An absolute URL path without query or fragment. | |
redirects | list of object | none | Old addresses the edge answers with a redirect before the app is reached or woken, on every hostname of the app. |
redirects[].fromrequired | string | The old path, such as /about-us; with a query (/product.php?id=12) it matches only requests carrying those values; a :name segment (/blog/:year/:slug) matches any one segment; ending in /* it matches the path and everything below it. | |
redirects[].to | string | The new path or http(s) address. After a from ending in /*, a to ending in * gets the rest of the path; each :name from has is replaced by the segment it matched. Left out for 410. | |
redirects[].status | 301 | 302 | 307 | 308 | 410 | 301 | 301 (permanent, the default), 308 (permanent, keeps the method), 302 or 307 (temporary), or 410 (gone). |
redirects[].query | "keep" | "drop" | keep adds the request's query to to; drop leaves it off. Default keep, or drop when from names a query. | |
redirects_file | string matching ^(([^/.][^/]*|\.[^/.][^/]*|\.\.[^/]+|\.)/)*([^/.][^/]*|\.[^/.][^/]*|\.\.[^/]+)$ | Path, relative to the repository root, of a file with more redirects, one a line: from, to, an optional status and an optional query=keep or query=drop. No segment may be "..". | |
storage | boolean | false | true requests a bucket prefix and injects WHISK_STORAGE_*. |
kv | boolean | false | true gives this app a Valkey of its own as WHISK_KV_URL. Plan-gated. |
kv_evict | boolean | true | How the cache makes room when it is full. true drops the least recently used key, for counters, short caches and locks. false keeps every key and refuses new writes until there is room, which a job queue such as BullMQ needs. Needs kv: true. Changing it restarts the cache, which empties it. |
email | boolean | false | true allows this app to POST to the email send API. |
always_on | boolean | false | true keeps the app awake. Plan-gated. |
promoted | boolean | false | true when the app runs only as a Promoted app (it needs a Promoted app's memory): its production deploy waits until the app is one. |
commerce | "medusa" | medusa when the app's API is the shop template's Medusa server. Whisk may then answer that API for the app with its own commerce server, with the same answers on the same database; the app keeps serving its pages. | |
content | "payload" | payload when the app's site editor (/cms) and its API (/cms/api) are the site template's Payload server. Whisk may then answer both for the app with its own content server, on the same database and with the same answers; the app keeps serving its pages. | |
b2b | boolean | false | true asks the build for trade ordering, the shop template's private plugin, given only to Promoted apps in force. Needs promoted: true. |
workers | list of object | none | Long-running processes a Promoted app runs beside its web process, in the same container and memory: one copy of each, restarted when it exits. Needs promoted: true. |
workers[].namerequired | string matching ^[a-z]([a-z0-9-]{0,28}[a-z0-9])?$ | The worker's name, unique in the app; WHISK_WORKER carries it and its log lines start [worker:<name>]. | |
workers[].commandrequired | string | The worker's command, run like migrate: through sh -c when the image has /bin/sh, otherwise split into words. | |
workers[].database | "pooled" | "direct" | "pooled" | pooled: DATABASE_URL is the app's pooled connection. direct: DATABASE_URL is a session connection, so LISTEN, advisory locks and SET work; the app's workers hold at most 3 such connections at once. |
calls | list of string matching ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$ | none | Slugs of apps in the same org this app may call with its service identity. A call needs the other app's consent: it must list this app under accepted_callers. |
accepted_callers | list of string matching ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$ | Slugs of apps in the same org whose calls this app accepts. Leave it out and no new caller is accepted; [] accepts none. | |
egress | "open" | "closed" | "open" | open (the default) lets the app reach the internet. closed limits it to its own database and cache, the apps it may call, the connections broker, DNS and the platform's mail relay. |
analytics | object | How the app's analytics counts visitors. Every app has analytics; this only changes who it counts. | |
analytics.do_not_track | "respect" | "ignore" | "respect" | respect (the default) leaves out a browser that asks not to be tracked. ignore counts it like any other. |
analytics.team | "leave_out" | "count" | "leave_out" | leave_out (the default) leaves out the business's own people signed in to the app, not its guests. count counts them like any visitor. |
managed | object | Declares a Whisk product this app is the source of. Honoured only for an app Whisk registered as a product's source; ignored elsewhere. | |
managed.productrequired | string matching ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$ | ||
managed.namerequired | string | ||
managed.settings | list of string matching ^[A-Z][A-Z0-9_]{1,63}$ | none | Environment names a business may set on its copy. |
managed.links | list of string matching ^[a-z][a-z0-9-]{0,30}[a-z0-9]$ | none | Roles a copy links to one of the business's own apps each. |
managed.link_key | string matching ^[A-Z][A-Z0-9_]{1,63}$ | One of settings that tells apart the copies linked to one app: an app may have one copy for each value of it, unset counting as a value of its own (MANAGED-APPS.md 4). Without it an app has at most one copy of the product. | |
managed.notify | list of object | none | Codes a copy may tell its business's owners about through the platform's notify route; each is emailed once per occurrence with this subject (MANAGED-APPS.md 6.1). |
managed.notify[].coderequired | string matching ^[A-Z][A-Z0-9_]{2,63}$ | ||
managed.notify[].subjectrequired | string | ||
managed.variants | map of object | none | The forms the product comes in; a copy picks one when it is added. |
connections | map of object | none | Outside systems this app reaches through Whisk's broker without holding their credentials (CONTRACT.md 3.1). A person grants each one. |
flags | map of object | none | Feature flags the app reads from the X-Whisk-Flags header (CONTRACT.md 3.3). Who each is on for is set in the dashboard, with whisk flags set, or through the API. Team plan and up. |
network | "public" | Where the app is served: public, the only value and the same as leaving it out. Every app is served publicly behind Whisk sign-in. | |
customer_identity | "none" | "app" | "org" | "none" | Second audience for public-facing apps: none, a pool per app, or a pool shared across the org. |
sign_in | object | How the customers' sign-in pages and emails look, for an app with customer_identity: app. The Secured by Whisk band is not the app's to style. | |
sign_in.logo | string | A PNG or JPEG in the repository, at most 100 KB. | |
sign_in.colour | string matching ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ | Buttons, links and the focus ring. | |
sign_in.background | string matching ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ | The page behind the form. | |
sign_in.text | string matching ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ | Headings and text. | |
sign_in.font | "whisk" | "system" | "serif" | "whisk" | |
sign_in.corners | "square" | "rounded" | "pill" | "rounded" | |
previews | object | none | |
previews.database | "empty" | "empty" | Previews start with an empty database; empty is the only value. Seed test data from the app's migrations or a script. |
previews.ttl_days | integer | 3 | Days a preview lives after its last push, start or visit. |