401 Unauthorized.
Quick start
1
Deploy your function
2
Call with your API key
Create an API key at apps.jelou.ai, in the app configuration section, and send it in the Successful response:Without an API key or with an invalid one:
Authorization header:How it works
- Create a platform API key at apps.jelou.ai, in the app configuration section
- Every request must include it in the
Authorization: Bearer sk_...header - The SDK validates the key against the Jelou gateway, confirms it belongs to the same organization that owns the function, and caches the result in memory
- If the key is valid, the request reaches your handler. Otherwise, it returns
401
API keys (recommended)
Runtime tokens (jfn_rt_...) created before this migration are still validated via X-Jelou-Token (backwards compatible) and can be listed or revoked with jelou functions tokens list / jelou functions tokens revoke, but new ones can no longer be created and none are generated on new deploys.
Routes without authentication
The/__health and /openapi.json routes never require a credential. Cron triggers don’t either — the platform authenticates them automatically.
Usage examples
- curl
- Node.js
- Python
- Brain Studio (MCP)