Skip to main content

What are runtime tokens?

Runtime tokens (prefix jfn_rt_) are credentials that authenticate requests to your functions in production.

Automatic generation

The first deploy generates a token automatically:
jelou deploy
# ✓ Deployed
# ⚠ A default runtime token was created for this function.
#   Save it now — it will not be shown again.
# ▸ Token    jfn_rt_abc123...
The token is shown only once. Subsequent deploys don’t show it. If you lose it, create a new one with jelou tokens create.

How to use

Send the token in the X-Jelou-Token header:
curl -X POST https://my-function.fn.jelou.ai \
  -H "Content-Type: application/json" \
  -H "X-Jelou-Token: jfn_rt_abc123..." \
  -d '{"phone": "593987654321"}'
RuleDetail
HeaderX-Jelou-Token (not Authorization: Bearer)
FormatHeader only — not query param, not body
Max size4 KB
Missing token401 { "error": "Unauthorized" }

CLI management

# List tokens
jelou tokens list my-function

# Create additional token
jelou tokens create my-function --name ci-deploy

# Revoke token
jelou tokens revoke my-function <token-id> -y

Multiple tokens

You can have multiple active tokens per function — one per environment, service, or team. Revoking one doesn’t affect others.

Lost token?

Create a new one: jelou tokens create my-function --name new-token. The old token stays active.

Brain Studio

FieldValue
URLhttps://my-function.fn.jelou.ai/mcp
Header nameX-Jelou-Token
Header valuejfn_rt_abc123...