Skip to main content

What are runtime tokens?

Runtime tokens (prefix jfn_rt_) are legacy credentials that authenticate requests to functions deployed before the migration to platform API keys. Functions deployed today don’t receive any runtime token — they use a platform API key from the first deploy.
Creating new runtime tokens (jelou functions tokens create) is deprecated and responds 410 Gone. Deploys don’t generate one automatically either. If your function is new or you lost your runtime token, use a platform API key.

How to use

If your function already had an active runtime token before the migration, it still works: send it in the X-Jelou-Token header:

CLI management

Revoking a token triggers an automatic redeploy. Clients using that token will start receiving 401 once the redeploy completes.

Creating additional tokens (deprecated)

Creating new runtime tokens is no longer possible. Use a platform API key instead — see below.

Multiple tokens

If your function already has multiple active tokens from before the deprecation (one per environment, service, or team), you can still list and revoke them individually. Revoking one doesn’t affect others.

Lost token?

You can no longer generate a replacement via the CLI. Instead:
  1. Create an API key at apps.jelou.ai
  2. Send it as Authorization: Bearer <key> — see recommended alternative
  3. If the old runtime token was compromised, revoke it: jelou functions tokens revoke my-function <id>
The supported mechanism for authenticating new functions (every new deploy uses this from the start) or replacing a lost runtime token is a platform API key, not a runtime token:
See the authentication guide for the full flow.

Brain Studio

Configure your function as an external MCP server using your API key: If your function is legacy and still uses a runtime token, use X-Jelou-Token / jfn_rt_abc123... instead. See the Brain Studio guide for the full flow.