Skip to content
whisk
FeaturesExamplesGuidesDocsPricingStatus
Sign inStart free
whisk

Websites, shops, apps, portals and tools, built with AI. Run your own.

ProductFeaturesExamplesPricingUsage allowancesStatus
LearnDocsGuidesComparisonsLearnResearchSkill
CompanyAboutContactSecurity
LegalTermsAcceptable usePrivacyData processingTakedown
System statusPrices in US dollars.

Docs

  • Getting started
  • The rules
  • Manifest
  • Headers
  • Environment
  • Errors
  • Doctor rules
  • CLI reference

Files

  • SKILL.md
  • whisk.schema.json
  • graph.schema.json
  • webhook-presets.yaml
  1. Docs
  2. CLI reference

CLI reference

Every command takes --json. whisk mcp serves the same commands over stdio for agents that speak MCP.

whisk access

Who can open the app

whisk access grant --group <name> | --user <email> | --everyone [--audience team|customer]
    Let a group, a person or everyone open the app (a person approves it)
    --audience string  team or customer
    --everyone  everyone in the org
    --group string  a group by name
    --user string  a member by email
whisk access revoke --group <name> | --user <email> | --everyone [--audience team|customer]
    Stop a group, a person or everyone opening the app (a person approves it)
    --audience string  team or customer
    --everyone  everyone in the org
    --group string  a group by name
    --user string  a member by email
whisk access show
    List the grants

whisk account

Your own account: download your data, or delete it

whisk account delete --yes
    Delete your account: you leave every business and your sign-ins and tokens end
    --yes  you, the person, have decided
whisk account export [--out file]
    Save everything Whisk keeps about you as a JSON file
    --out string  file to write (default whisk-account-<date>.json here)

whisk agent-token

Agent tokens for CI or a second agent

whisk agent-token create --label "claude on laptop" [--scopes deploy,logs:read,secrets:declare]
    Mint an agent token acting for you; its value is shown once
    --label string  what the token is for
    --scopes stringSlice  grant scopes from deploy, logs:read, secrets:declare; all three when omitted

whisk analytics

The app's visits: views, visitors, top pages, sources, events and crawlers

whisk analytics
    The app's visits: views, visitors, top pages, sources, events and crawlers
    --by string  break the reading down by hour, day, month, page, entry, exit, source, event, event-property, country, browser, os or device
    --event string  only visits that sent this event, such as signup
    --from string  start at a date, 2026-11-01, or a time, 2026-11-01T09:00:00Z, in place of --period
    --limit int  how many rows a breakdown by name lists (default 10, at most 500)
    --page string  only visits that viewed this page, such as /pricing
    --period string  the period: 24h, 7d, 30d or 90d (default 7d)
    --source string  only visits from this site, such as google.com (a comma means any of)
    --to string  end with a date (its whole day) or a time; default now
    --tz string  the time zone dates and days are in, such as America/New_York (default UTC)
whisk analytics crawlers
    What crawlers asked the app for: each crawler, its pages, the answers and its journeys
    --crawler string  one crawler's pages, answers and journeys, by its name: Googlebot, GPTBot…
    --period string  the period: 24h, 7d, 30d or 90d
    --status string  only the requests answered with this status or class: 404, 4xx, 5xx
whisk analytics journey <id>
    One crawler's journey through the app, request by request
whisk analytics traffic
    Every request to the app: pages, answers, the CDN's copy, who asked and from where
    --address string  only requests from this client address
    --agent string  only requests from this agent, such as Googlebot, Chrome or curl
    --by string  group by any of day, hour, path, query, status, cached, edge_cache, source, method, host, agent, kind, user_agent, referer, user_id, address, country and network, as a comma list in order
    --cached string  true for only what the CDN answered from its copy, false for the rest
    --country string  only requests from this country, two letters, such as NZ
    --edge-cache string  hit for what the edge's own cache answered, miss for what it was asked and passed on
    --from string  start at a date, 2026-11-01, or a time, 2026-11-01T09:00:00Z, in place of --period
    --host string  only requests to this hostname
    --kind string  only requests from this kind of agent: search, ai_assistant, ai_crawler, preview, seo, other, browser, tool or unknown
    --limit int  how many rows or requests to list (default 100, at most 1000)
    --list  list the latest requests one by one instead of counting them
    --method string  only requests with this method, such as POST
    --network string  only requests from this network, such as GOOGLE
    --path string  only requests for this page, such as /pricing
    --period string  the period: 24h, 7d, 30d or 90d (default 7d)
    --query string  only requests with exactly this query, without its ?, such as page=2
    --referer string  only requests with this referer, such as https://www.google.com/
    --source string  edge for what Whisk's edge answered, cdn for what the CDN answered from its copy
    --status int  only requests answered with this status, such as 404
    --to string  end with a date (its whole day) or a time; default now
    --tz string  the time zone dates and days are in, such as America/New_York (default UTC)
    --user-agent string  only requests with exactly this user agent
    --user-id string  only requests from this signed-in person, by the user id the app knows them by
whisk analytics visitor <id>
    What one visitor did, page by page and event by event
    --from string  start at a date, 2026-11-01, or a time, 2026-11-01T09:00:00Z, in place of --period
    --period string  the period: 24h, 7d, 30d or 90d (default 7d)
    --to string  end with a date (its whole day) or a time; default now
    --tz string  the time zone dates and days are in, such as America/New_York (default UTC)
whisk analytics visitors
    The app's visitors one by one, latest first
    --cursor string  the next page, as the last one named it
    --event string  only visits that sent this event, such as signup
    --from string  start at a date, 2026-11-01, or a time, 2026-11-01T09:00:00Z, in place of --period
    --page string  only visits that viewed this page, such as /pricing
    --period string  the period: 24h, 7d, 30d or 90d (default 7d)
    --source string  only visits from this site, such as google.com (a comma means any of)
    --to string  end with a date (its whole day) or a time; default now
    --tz string  the time zone dates and days are in, such as America/New_York (default UTC)

whisk approvals

Decisions the app's workflows are waiting on

whisk approvals list
    List approvals, pending by default
    --status string  pending, approved, rejected or expired; empty for all

whisk apps

Apps in the org

whisk apps create <slug>
    Create an app: its repository and hostname come back
whisk apps delete <app> [<app>...]
    Ask a person to delete one or more apps, with one link to confirm them all
whisk apps deleted
    List deleted apps that can still be restored
whisk apps display-name <name>
    Set the name the app is shown by, on its sign-in pages and emails too; its address stays
whisk apps info [<slug>]
    Show one app
whisk apps list
    List the org's apps
whisk apps move <app> --to <business>
    Hand an app, with its data, files, keys and address, to another business you run
    --no-wait  print the move's page instead of following it
    --to string  the business the app moves to, by slug
    --undo  move the app back to the business its last move took it from
whisk apps rename <new-slug>
    Change the app's address by giving it a new slug; the old address sends visitors on
whisk apps restart [<app>]
    Start the live version again in a new container, without building
    --no-wait  print the deploy id and exit
whisk apps restore <id>
    Bring back a deleted app, stopped, until its 7 days are up

whisk audit

The org's audit log, newest first: who did what, to what, and when

whisk audit [--since 7d] [--actor <id>] [--action deploy.created] [--limit 50] [--cursor <next>]
    The org's audit log, newest first: who did what, to what, and when
    --action string  only this action, such as deploy.created
    --actor string  only what this actor did
    --cursor string  the next page, from the line a page ends with
    --limit int  entries in one page, 1 to 500
    --since string  a time (RFC 3339) or an age such as 24h or 7d

whisk billing

The org's plan, this month's usage against it, and the next invoice

whisk billing
    The org's plan, this month's usage against it, and the next invoice

whisk call

Send a request to the app's own API as the person you act for

whisk call <METHOD> <path> [--data '<json>' | --data @file.json | --data -] [--header 'Name: value'] [--env name] | call --batch <file.ndjson | -> [--parallel n]
    Send a request to the app's own API as the person you act for
    --batch string  a file of requests, one JSON object per line, or - for stdin
    --data string  the body: JSON text, @file to read a file, or - for stdin (or --body)
    --env string  the environment; production when omitted
    --header stringArray  a header to send, "Name: value"; repeatable
    --output string  save the answer's body to this file instead of printing it
    --parallel int  with --batch, how many requests to send at once, 1 to 8
    --timeout duration  how long to wait for each answer, a sleeping app's wake included

whisk cdn

Serve the app from near its visitors (Team and Business)

whisk cdn
    Serve the app from near its visitors (Team and Business)
whisk cdn off
    Serve the app from Whisk's servers again
whisk cdn on
    Serve the app through the CDN
whisk cdn purge <path>... | --all
    Drop pages from the CDN now, before their max-age runs out
    --all  drop everything the CDN holds for the app
whisk cdn status
    Whether the CDN is on, each hostname's route, and this month's traffic

whisk changes

List a fork's changes of its own, each with its record, and the files no record names

whisk changes
    List a fork's changes of its own, each with its record, and the files no record names
whisk changes draft <name> [--asked <text>] [--check <test>]...
    Write the record of a change, naming every file that differs from the release and no record names
    --asked string  what the business asked for, in its own plain words
    --check stringArray  a test that proves the change works, from the code's root (repeat for more)

whisk clone

Copy an app's code from Whisk into a new directory, ready for git pull and whisk deploy

whisk clone <org>/<app> [directory]
    Copy an app's code from Whisk into a new directory, ready for git pull and whisk deploy

whisk connections

Outside systems the app reaches through Whisk's broker

whisk connections grant NAME
    The link where a person grants it; exits 2, always
whisk connections limit NAME [--calls-per-minute N] [--calls-per-day N] [--per-month USD] [--per-day USD] [--per-week USD] [--total USD] [--env production|previews]
    Set how many calls a connection may make, or how much an AI connection may spend
    --calls-per-day int  calls a day (UTC), 1 to 1,000,000
    --calls-per-minute int  calls a minute, 1 to 1,000
    --env string  production or previews
    --per-day float64  AI spending: US dollars a day (UTC)
    --per-month float64  AI spending: US dollars a month (UTC)
    --per-week float64  AI spending: US dollars a week, from Monday (UTC)
    --total float64  AI spending: US dollars in all
whisk connections list
    Each connection: grants by environment, state, what waits, calls today
whisk connections pause NAME [--env production|previews] | pause --all
    Stop a connection's calls now, or every connection's in the business with --all
    --all  pause every connection of every app in the business
    --env string  production or previews (default: every environment)
whisk connections show NAME
    Whisk's summary of what a grant allows, and how each secret is used

whisk cron

Scheduled functions

whisk cron list
    List the app's cron functions as deployed, or from whisk.yaml before a deploy, with their next run times
whisk cron run <function>
    Start one run of a cron function now, as its schedule would; prints the run to follow

whisk customers

Customers of an app that declares customer_identity

whisk customers block <email>
    Block a customer; they are signed out on their next request
whisk customers invite <email> [--name n] [--email]
    Invite a customer; prints the invite_url, and with --email Whisk emails it to them
    --email  Whisk emails them the invitation (once a day at most)
    --name string  the person's name
whisk customers list
    List the app's customers and whether strangers may register
whisk customers remove <email>
    Remove a customer and their access to the app
whisk customers unblock <email>
    Let a blocked customer in again

whisk db

The app's database: SQL, the schema, a restore point

whisk db import <dump file> [--swap] [--wait]
    Load a pg_dump of another database into the app's database, beside it or swapped in
    --swap  make the loaded database the live one, keeping the previous one for 7 days
    --wait  follow the load until it is done or failed
whisk db query ["<sql>" | --file script.sql | --confirm <code>] [--env name] [--database name] [--limit 1000]
    Run SQL on the app's database and print the rows
    --confirm string  run the SQL a preview held back, by its code
    --database string  one of the environment's restored copies instead of its database
    --env string  the environment; production when omitted
    --file string  read the SQL from this file
    --limit int  the most rows to print
whisk db schema [--env name] [--database name]
    Print the database's tables, columns, keys and estimated row counts
    --database string  one of the environment's restored copies instead of its database
    --env string  the environment; production when omitted
whisk db shell [--env name] [--database name]
    Type SQL at a prompt; each statement runs through whisk db query
    --database string  one of the environment's restored copies instead of its database
    --env string  the environment; production when omitted
whisk db snapshot [--env name]
    Record a restore point now, to restore to with whisk restore --at
    --env string  the environment; production when omitted
whisk db url [--env production|preview:<branch>] [--private]
    Print the connection string where it works from here; audited
    --env string  the environment; production when omitted
    --private  print the address inside the platform even though it does not answer from outside

whisk deploy

Push the repository to Whisk and follow the deploy until it is live

whisk deploy
    Push the repository to Whisk and follow the deploy until it is live
    --branch string  the local branch to push (default: the current one)
    --commit  commit everything not ignored as "whisk deploy" before pushing (default true when the directory is not a repository yet)
    --env string  production or preview (default: production from main or master, preview from any other branch)
    --force  skip doctor
    --message string  one line saying what changed, shown with the deploy; commits uncommitted changes with it (implies --commit)
    --no-wait  print the deploy id and exit once the push is accepted

whisk deploy-keys

Deploy tokens for git push from CI

whisk deploy-keys create [--label text]
    Mint a deploy token; its value is shown once
    --label string  what the key is for, e.g. "github actions"

whisk deploys

Deploys of the app

whisk deploys cancel <id>
    Cancel a deploy that has not finished
whisk deploys info <id>
    Show one deploy with its phases
whisk deploys list
    List recent deploys, newest first
    --limit int  how many to show
whisk deploys log <id>
    Print a deploy's whole build log, or the app's last lines when it failed to start

whisk dev

Run the app locally the way the platform would

whisk dev [flags] [-- <app command>]
    Run the app locally the way the platform would
    --as string  sign in as this email; absent means every request is anonymous
    --audience string  team or customer
    --down  stop the local stack
    --flags string  comma-separated feature flags whisk.yaml declares, on for every request here
    --groups string  comma-separated groups for --as
    --name string  display name for --as
    --port int  edge port; the api is port+1 and the internal listener port+2
    --roles string  comma-separated org roles for --as
    --status  start the stack, print its addresses and exit
    --wipe  with --down: also delete the database and storage volumes
whisk dev tunnel <source>
    Forward a webhook source's deliveries to the app running here
    --minutes int  how long to forward for
    --port int  the whisk dev edge port; deliveries go to port+1, its webhook ingress

whisk doctor

Check the repository against the conventions before pushing

whisk doctor
    Check the repository against the conventions before pushing
    --fix  apply the safe fixes

whisk domains

Custom hostnames of the app

whisk domains add <hostname>
    Attach a custom hostname and print the DNS records it needs
whisk domains business add <domain>
    Use a domain for every app and print the DNS records it needs
whisk domains business remove
    Stop using the domain; the apps keep their Whisk addresses
whisk domains business show
    Show the business's domain and where each app answers on it
whisk domains business verify
    Check the DNS records; every app then answers on the domain
whisk domains list
    List the app's hostnames and their verification state
whisk domains main [<hostname>]
    Make one address the app's main address, which every other one sends visitors to
    --whisk  make the app's Whisk address the main one again
whisk domains redirect <hostname> [<to>]
    Send every request to a custom domain on to another hostname of the app
    --off  serve the app on the domain again
whisk domains remove <hostname>
    Detach a custom hostname
whisk domains verify <hostname>
    Check the DNS records and issue the certificate

whisk email

The mail the app sends

whisk email domains add <domain>
    Send the business's mail from a domain of its own and print the DNS records it needs
whisk email domains list
    List the business's sending domains and where each stands
whisk email domains remove <domain>
    Stop sending from a domain; apps naming a from address at it are refused
whisk email domains verify <domain>
    Check a sending domain's DNS records; it is verified once they are published
whisk email status <id>
    What became of a message the app sent: sent, delayed, delivered, failed, bounced or complained

whisk envs

Environments: production and the previews

whisk envs delete preview:<branch>
    Delete a preview environment and its database
whisk envs list
    List environments with their URLs and expiry
whisk envs start <branch>
    Start the preview of a branch already pushed to the app
    --no-wait  print the deploy id and exit once the preview is queued

whisk errors

Error groups the app reported, or the meaning of one platform error code

whisk errors [CODE]
    Error groups the app reported, or the meaning of one platform error code
    --ignore string  mark a group ignored by id
    --limit int  how many groups to show
    --query string  only groups whose error says these words
    --resolve string  mark a group resolved by id
    --since string  only groups seen since: 24h, 7d
whisk errors show <id>
    Open one error group: its stack, the request it was in, and its recent occurrences

whisk events

The app's queue

whisk events send <name>
    Send an event into the app's queue
    --data string  the event's data as JSON, or @file to read it from a file
    --data-file string  a file holding the event's data as JSON; - reads stdin
    --dedupe string  a key that suppresses a repeat for 24 hours

whisk export

Export the whole org as one archive: repositories, databases and audit log

whisk export
    Export the whole org as one archive: repositories, databases and audit log
    --wait  follow the export, or the one already running, and print its link when it is ready
whisk export show <id>
    Show one export and, once it is ready, a fresh download link that works for five minutes

whisk feedback

Tell the Whisk team what got in your way; every piece is read

whisk feedback "<what happened>" [--kind bug|difficulty|idea|praise] [--code CODE] [--command "whisk deploy"]
    Tell the Whisk team what got in your way; every piece is read
    --code string  the error code you met, such as HEALTH_CHECK_FAILED
    --command string  the command you ran, such as "whisk deploy"
    --kind string  bug, difficulty (default), idea or praise
whisk feedback list [--status open|resolved|all] [--kind bug] [--org slug] [--limit 50] [--cursor id]
    See the feedback you and your org sent, where each stands and what the Whisk team said
    --cursor string  the next_cursor of the previous page
    --kind string  bug, difficulty, idea or praise
    --limit int  how many, up to 200 (default 50)
    --status string  open, resolved or all (default all)
whisk feedback send "<what happened>" [--kind bug|difficulty|idea|praise] [--code CODE] [--command "whisk deploy"]
    Tell the Whisk team what got in your way; every piece is read
    --code string  the error code you met, such as HEALTH_CHECK_FAILED
    --command string  the command you ran, such as "whisk deploy"
    --kind string  bug, difficulty (default), idea or praise
whisk feedback show <id>
    See one piece of feedback you sent: where it stands and what the Whisk team said

whisk flags

The app's feature flags and who each is on for

whisk flags
    The app's feature flags and who each is on for
whisk flags list
    List the app's flags and who each is on for
whisk flags off <name>
    Turn a flag off for everyone, previews included
whisk flags on <name>
    Turn a flag on for everyone
whisk flags set <name>
    Choose who a flag is on for; options left out keep what was set
    --groups stringSlice  the business's group names, comma separated
    --people stringSlice  emails, comma separated
    --percent int  a share of everyone else signed in, 0 to 100
    --previews  on in every preview (--previews=false to stop)
    --team  everyone on the business's team (--team=false to stop)

whisk functions

Workflow functions the app declares

whisk functions graph <name>
    Show a function's declared steps beside the ones its runs took
whisk functions list
    List the app's functions with their triggers and drift

whisk github

The app's optional two-way copy on GitHub

whisk github
    The app's optional two-way copy on GitHub
whisk github install
    Print the page where a person installs Whisk on their GitHub account
    --no-browser  print the URL only
whisk github link <owner/name>
    Link the app to a GitHub repository (a person, signed in)
whisk github repos
    GitHub accounts Whisk is installed on and the repositories it reaches
whisk github status
    The link, whether it works, and each branch's state
whisk github sync
    Compare the app with its GitHub copy now
whisk github unlink
    Stop copying the app to GitHub

whisk inbox

The app's email address and the messages it received

whisk inbox
    The app's email address and the messages it received
whisk inbox domains add <domain>
    Receive mail at a domain of the business's own, such as results.yourbusiness.com
whisk inbox domains remove <id>
    Stop a receiving domain reaching this app (by id, from whisk inbox)
whisk inbox domains verify <id>
    Check a receiving domain's records; it stays pending until they are published
whisk inbox send [message.eml]
    Send a test message to the app running under whisk dev
    --attach string  a file to attach to a composed message
    --from string  From of a composed message
    --port int  the edge port whisk dev was started with; the stub's api is port+1
    --subject string  Subject of a composed message
    --text string  plain text body of a composed message
    --to string  To of a composed message; the app's local address by default

whisk init

Write whisk.yaml for this directory (or copy a template into an empty one) and create the app

whisk init
    Write whisk.yaml for this directory (or copy a template into an empty one) and create the app
    --name string  app slug (default: the directory name)
    --no-create  write files only; do not create the app on the platform
    --no-template  never copy a template
    --template string  copy a template into an empty directory: ts, py, go, next, astro, shop or site (the shop and site are downloaded)

whisk login

Sign in with a device code; the human approves in the browser

whisk login
    Sign in with a device code; the human approves in the browser
    --agent string  the coding agent's own name, such as "Claude Code" (else WHISK_AGENT)
    --no-wait  print the URL and code, exit 2, do not poll (the default off a terminal)
    --resume string  wait for an existing device code's approval and collect its token
    --wait  wait for the approval even when not at a terminal

whisk logout

Revoke this profile's token and forget it

whisk logout
    Revoke this profile's token and forget it

whisk logs

What the app printed

whisk logs
    What the app printed
    --env string  one environment: production or preview:<branch>
    --follow  keep the stream open and print lines as they arrive
    --grep string  free text, or field=value for a field of a JSON line
    --limit int  how many lines to read when not following
    --raw  print each JSON line as the object the app wrote (for a person piping into jq; --json gives every line with its time and stream)
    --since string  how far back to read: 30m, 6h, 7d, or an RFC 3339 time
whisk logs forwarding
    Where the org's logs are also sent, and how sending is going
whisk logs forwarding test <id>
    Send one destination a test line now

whisk managed

Apps Whisk runs for the business: add, set up, list

whisk managed
    Apps Whisk runs for the business: add, set up, list
whisk managed add <product> [--link <role>=<app>] [--variant v] [--set NAME=value]
    Add a copy of a product, linked to the business's own apps
    --channel string  for a product that is your own code: fast or standard (instant is chosen by a person, at the dashboard)
    --link stringArray  role=app: link one of the business's apps, by slug or id, under a role the product lists
    --set stringArray  NAME=value: a setting the product or the chosen variant lists
    --variant string  the form the product comes in, when it has several
whisk managed channel <app> <instant|fast|standard>
    Choose how a fork takes its product's releases
whisk managed link <copy> <role>=<app>
    Link a copy to one of the business's apps under a role; both restart to read it
whisk managed list
    The products the business may add, with their price, and the copies it has
whisk managed merge
    Bring a fork's newest release into this checkout, naming each of the business's changes it meets
whisk managed set <app> NAME=value...
    Change a copy's settings (NAME= removes one); it restarts on its release
whisk managed update [<app>]
    Move a fork's unchanged code to its product's newest release and deploy it
    --no-wait  print the deploy id and exit

whisk mcp

Serve the contract as MCP resources and every command as an MCP tool, over stdio

whisk mcp [--list]
    Serve the contract as MCP resources and every command as an MCP tool, over stdio
    --list  print the tools and resources instead of serving

whisk members

People in the org

whisk members invite <email> --role developer [--guest] [--app <app>]...
    Invite a person; prints the link they redeem (a person approves it)
    --app stringArray  an app they may open, by slug; repeat for more (a guest needs one)
    --guest  invite as a guest (outside the company): a developer or member who opens only the apps given with --app
    --name string  the person's name
    --role string  owner, admin, developer, billing or member
whisk members list
    List members and guests, invited ones included
whisk members remove <email>
    Remove a person from the org, every app and every group at once (a person approves it)

whisk open

Print the dashboard page or the app's URL and open it in a browser when one exists

whisk open [dashboard|app|deploys|logs|runs|secrets|domains|access|errors|analytics]
    Print the dashboard page or the app's URL and open it in a browser when one exists
    --no-browser  print the URL only

whisk orgs

List the orgs the token can see

whisk orgs
    List the orgs the token can see

whisk pause

Pause a managed app: it sleeps and does no work until resumed

whisk pause <app>
    Pause a managed app: it sleeps and does no work until resumed

whisk push

The push notifications the app sends

whisk push devices
    The devices people turned the app's notifications on for
    --user string  only this person's devices, by the app's key for them
whisk push send --to <user> --title <title>
    Send a notification to people's devices, to try it
    --body string  its text
    --fallback-email string  an address to email when no device takes it
    --title string  the notification's title
    --to stringSlice  the person, by the app's key for them; repeat for more
    --url string  the page a tap opens, a path such as /tickets/42
whisk push status <id>
    What became of a notification: each device's copy delivered, retrying, gone, refused or expired

whisk redirects

Old addresses the edge redirects (whisk.yaml redirects and redirects_file)

whisk redirects check
    Check the redirects as the push will, and list chains
whisk redirects list
    List the redirects live in production, and the domains that redirect
whisk redirects test <path or URL>
    Show what the edge answers a request for an old address
    --method string  the request's method: a 301 or 302 answers anything but GET and HEAD with 308 or 307

whisk requests

Changes waiting for a person to approve them

whisk requests show <id> [--wait]
    Where a change you asked a person to approve stands
    --wait  wait until a person approves or declines it

whisk restart

Start the live version again in a new container, without building

whisk restart [<app>]
    Start the live version again in a new container, without building
    --no-wait  print the deploy id and exit

whisk restore

Restore the database to a point in time, beside the live one or swapped in

whisk restore (--at <RFC 3339 time> | --before <deploy-id>) [--swap] [--env name] [--wait]
    Restore the database to a point in time, beside the live one or swapped in
    --at string  the moment to restore to: RFC 3339, or a duration ago (2h, 3d)
    --before string  a deploy: restore to just before its migration
    --env string  the environment; production when omitted
    --swap  make the restored database the live one
    --wait  follow the restore until it is done or failed
whisk restore list
    List the app's restores, newest first
whisk restore show <id> [--wait]
    Show one restore: its status, the database it restored into, and its error
    --wait  follow the restore until it is done or failed

whisk resume

Resume a paused managed app

whisk resume <app>
    Resume a paused managed app

whisk rollback

Make an earlier deploy live again (default: the previous live one)

whisk rollback [<deploy-id>]
    Make an earlier deploy live again (default: the previous live one)
    --data  put production's data back to just before the live version's migration too
    --env string  environment to roll back (default production)
    --no-wait  print the deploy id and exit

whisk runs

Runs of the app's functions

whisk runs cancel <id>
    Stop a running or parked run
whisk runs list [<function>] [--status failed|running|parked] [--since 1h] [--event id]
    List the app's runs, newest first: all, one function's, or the runs one event started
    --event string  only the runs this event started
    --function string  only runs of this function
    --since string  only runs started in the last duration (30m, 6h, 30d) or since an RFC 3339 time; the last 7 days when left out
    --status string  only runs in this status: running, failed, parked, completed, cancelled
whisk runs replay <id>
    Run a failed or parked run again; prints the new run
whisk runs show <id>
    Show one run: its steps, timing and output

whisk scan

Known vulnerabilities in the live app's packages and the versions that fix them (Business plan)

whisk scan
    Known vulnerabilities in the live app's packages and the versions that fix them (Business plan)
    --all  list the packages to upgrade in every app you can deploy, in every business
    --now  check the live build again now and wait for the result

whisk schema

Print the whisk.yaml JSON schema (or the graph schema with --graph)

whisk schema
    Print the whisk.yaml JSON schema (or the graph schema with --graph)
    --graph  print graph.schema.json instead

whisk secrets

Secret names, versions and reads; never values

whisk secrets apps NAME
    The apps a business secret reaches; an owner or admin adds or removes them in the dashboard
whisk secrets declare NAME
    Create the slot for a secret; a human sets its value in the dashboard
whisk secrets delete NAME
    Delete a secret and every version of it
whisk secrets link NAME
    Print the dashboard URL where a human sets the value
whisk secrets list
    List secrets: name, scope, whether set, version, shared with previews, consumers, last read
whisk secrets reads NAME [--since 7d]
    When and by which container the value was delivered
    --since string  how far back: a duration (6h, 7d) or an RFC 3339 time
whisk secrets rollback NAME --to N
    Make an earlier version current; consumers restart
    --to int  version to make current
whisk secrets set NAME [NAME...] [--previews | --previews=false]
    Where a human sets the values: prints one link for all of them and exits 2
    --previews  ask a person to share the secrets with previews (--previews=false to stop sharing)
whisk secrets share NAME --from <app>
    Make the value another app already has under NAME the business's
    --from string  the app that already has the value
whisk secrets versions NAME
    List the stored versions of a secret (lengths and authors, never values)

whisk skill

Print the skill document an agent reads first

whisk skill
    Print the skill document an agent reads first

whisk status

The app's state, current deploy, URL and anything waiting on a human

whisk status
    The app's state, current deploy, URL and anything waiting on a human

whisk tokens

The org's agent and deploy tokens

whisk tokens list
    List live tokens: kind, label, scopes, last use, expiry (never their values)
whisk tokens revoke <id>
    Revoke a token; every call with it fails from now on

whisk traces

Where the app's time went, request by request

whisk traces
    Where the app's time went, request by request
    --env string  one environment: production or preview:<branch>
    --limit int  how many traces to show, at most 200
    --min string  only traces at least this long: 500ms, 2s
    --q string  text the request's name or path contains
    --since string  how far back to read: 30m, 6h, 7d, or an RFC 3339 time
    --slowest  the slowest traces first, instead of the most recent
    --until string  the end of the window: a duration ago or an RFC 3339 time
whisk traces show <trace-id-or-request-id>
    One trace as a waterfall of its spans

whisk update

Self-update from the platform, with checksum and signature verification

whisk update [--check] [--force]
    Self-update from the platform, with checksum and signature verification
    --check  report whether an update exists without installing it
    --force  reinstall even when the versions match, or go back to an older release

whisk uploads

Add files to an app's storage, see them, and sign links to private ones

whisk uploads add <file|folder>... [--public] [--keep-paths | --path <path>] [--content-type <type>] [--wait]
    Upload files from this computer to the app's storage, up to 5 GB each
    --content-type string  the type of every file given, such as video/mp4 (default: from each file's name and contents)
    --keep-paths  give each file a path on the site: its place under the folder given
    --path string  the path on the site of the one file given, such as /posters/install.jpg
    --public  anyone may see or play it, and other websites may embed it
    --wait  follow each upload until its scan and conversion are done
whisk uploads delete <id>
    Remove an upload: the file, its converted copies and its record
whisk uploads link <path>... [--expires 1h]
    Sign /.whisk/img/<id>?w=…, /.whisk/media/<id> or /.whisk/file/<id> so it opens without a sign-in until it expires
    --expires duration  how long the links work, 1m to 12h (default 1h)
whisk uploads list
    The app's uploads, newest first: scan, conversion and where each shows or plays
whisk uploads rotate-key [--now]
    Give the app a new signing key; --now also stops every link already issued
    --now  stop every link already issued at once
whisk uploads set <id> [--public | --private] [--path <path>] [--canonical <url>]
    Make an upload public or private, give it a path on the site, or name its canonical address
    --canonical string  the address its file address names as canonical; "" for none
    --path string  the path on the site it answers at, such as /posters/install.jpg; "" for none
    --private  only people signed in to the app, or a signed link
    --public  anyone may open it, and other websites may link or embed it
whisk uploads show <id> [--wait]
    One upload: its scan, its conversion and where it shows or plays
    --wait  follow the upload until its scan and conversion are done

whisk use

Bind the current directory to an app (.whisk/app.json)

whisk use <org>/<app>
    Bind the current directory to an app (.whisk/app.json)

whisk version

Print the CLI, API and conventions versions

whisk version
    Print the CLI, API and conventions versions

whisk webhooks

Webhook sources the app receives

whisk webhooks add <name>
    Write a webhook source into whisk.yaml
    --handler string  route in this app that receives clean events; /hooks/<name> by default
    --preset string  how deliveries are verified: stripe, github, hmac, token…
    --secret string  name of the signing secret (not needed for the token preset)
whisk webhooks events <source>
    What a source received, newest first
    --limit int  how many deliveries to show
whisk webhooks list
    List the app's sources with the URL to paste into each provider
whisk webhooks presets
    List the signature presets the platform verifies
whisk webhooks replay <source> <event-id>
    Send a stored delivery to the app again

whisk whoami

Show the user, orgs, scopes and expiry of the token in use

whisk whoami
    Show the user, orgs, scopes and expiry of the token in use

3. Exit codes

CodeMeaningAgent action
0Successcontinue
1Error from the platform or CLIread code and fix
2Needs a humanshow the printed URL to the human, wait
3Validation failed (doctor, manifest)fix the listed problems, retry
4Not authenticated or not permittedrun whisk login or ask an admin
5Network or platform unavailable, or a deploy that could not finish for a reason outside the code (PLATFORM_DEPLOY_FAILED)retry with backoff; do not change the code
6Deploy failed (build or health)read the log excerpt, fix, redeploy

What the CLI sends

When a command line fails before any command runs, such as a command or flag this version does not have, the CLI tells Whisk what shape it had. That is how we learn which commands agents expect and add them. It sends the command, the unknown word or flag names, the names of the flags given, how many arguments there were, the CLI version, the operating system, and the agent's name when the agent gives one. It never sends argument or flag values, file paths, secrets or emails, and it sends nothing about the commands that do run. Set WHISK_NO_TELEMETRY=1 or DO_NOT_TRACK=1 to turn it off.

On this page

  • whisk access
  • whisk account
  • whisk agent-token
  • whisk analytics
  • whisk approvals
  • whisk apps
  • whisk audit
  • whisk billing
  • whisk call
  • whisk cdn
  • whisk changes
  • whisk clone
  • whisk connections
  • whisk cron
  • whisk customers
  • whisk db
  • whisk deploy
  • whisk deploy-keys
  • whisk deploys
  • whisk dev
  • whisk doctor
  • whisk domains
  • whisk email
  • whisk envs
  • whisk errors
  • whisk events
  • whisk export
  • whisk feedback
  • whisk flags
  • whisk functions
  • whisk github
  • whisk inbox
  • whisk init
  • whisk login
  • whisk logout
  • whisk logs
  • whisk managed
  • whisk mcp
  • whisk members
  • whisk open
  • whisk orgs
  • whisk pause
  • whisk push
  • whisk redirects
  • whisk requests
  • whisk restart
  • whisk restore
  • whisk resume
  • whisk rollback
  • whisk runs
  • whisk scan
  • whisk schema
  • whisk secrets
  • whisk skill
  • whisk status
  • whisk tokens
  • whisk traces
  • whisk update
  • whisk uploads
  • whisk use
  • whisk version
  • whisk webhooks
  • whisk whoami