Skip to main content
SimpleFunctions issues two key shapes: The two key spaces are separate. A sf_live_ key does not authenticate against data.simplefunctions.dev/v1, and vice versa.

Create

Create a key from the dashboard at https://simplefunctions.dev/dashboard/keys, or programmatically:
Body Response 201
The raw key value is returned once. Store it now — there is no endpoint that returns it again. See the full schema in API keys + auth API.

List

The list returns key metadata only (id, name, keyPrefix, lastUsedAt, revokedAt, createdAt). Raw secrets are never re-listed.

Rotate

Key rotation is “create + revoke”: issue a new key, switch your callers, then delete the old one.
Revocation takes effect immediately.

Revoke

Or click Revoke in the dashboard. A revoked key fails authentication on the next call.

What about scopes / per-tool restriction?

The current production API key model is single-tier per user — every active key has the same access as the issuing user. Need scope-limited keys, MCP-tool allow-lists, or service accounts with isolated scopes for a production integration? Email patrick@simplefunctions.dev with the use case. We will work out the right approach rather than ship a half-finished scope model.

See also

Authentication

Where API keys fit in the auth model.

API keys + auth API

Full HTTP surface and CLI handshake.

Rate limits

Per-route throttles.

Security

Storage and rotation guarantees.