wispfnDocs
Overview

Create workspace API keys with scopes for the REST API, the CLI and the Wisp MCP server.

#Workspace API keys

Create keys in Settings → API keys. Each key belongs to one workspace and has scopes:

ScopeAllows
projects:readList projects and read their settings and versions
projects:writeCreate, configure and delete projects (limits, domains, alerts, MCP, GitHub)
projects:deployPublish and roll back
functions:readRead functions, their code, the library and packages
functions:writeCreate, change and delete functions, library modules and packages; create and restore versions
functions:invokeRun functions (uses Run credits)
logs:readRead invocation logs, live traces and metrics
storage:readBrowse key-value data, tables and files
storage:writeChange and delete stored data
config:readList variables and the names of secrets
config:writeSet and delete variables and secrets
keys:writeManage a project's API keys for its callers
assistant:chatRun Wisp's assistant (uses AI credits)

The key is shown once. It looks like wisp_sk_<id>_<secret>.

#Send the key

curl https://wispfn.com/api/projects \
  -H "Authorization: Bearer wisp_sk_..."

A request with a missing or invalid key gets 401. A key without the needed scope gets 403.

#Revoke a key

Delete it in Settings → API keys. It stops working immediately. Each key shows when it was last used.

Warning

Workspace keys act on your whole workspace. Keep them out of code and frontends; give each integration only the scopes it needs. To protect your own API with keys, use project API keys instead.