Only show guides for your app
Create an API key, pick what it may do, call the Falix API with it, and rotate or revoke it when the time comes.
An API key lets your own scripts and tools use the Falix API as your account, with only the permissions you give it. You'll find the page as API keys under Tools in the panel's sidebar, and it's also the API keys tab of your account settings.
Static API keys lists your keys and counts them, for example "3 of 25 keys used".
| Card | What it's for |
|---|---|
| Connecting an AI app? | Points you to Connect your AI, because Claude, ChatGPT, Cursor and VS Code sign in with your Falix account and don't need a key |
| Keyless access | Lets GitHub Actions, GitLab CI/CD, your terminal or a machine with a key pair sign in with short-lived tokens |
| Static API keys | Your keys and the New static key button |
| Connected AI agents | The AI apps that are signed in to your account |
| API documentation | Open reference takes you to the API docs |
Click a key to see its permissions, rate limit, allowed IP addresses, expiry date and the address it was last used from, with the Usage, Edit and Revoke buttons.
Mia wants a status page on her own website that shows whether her servers are online. The page only reads, so she gives it a read-only key.
Status page, in up to 100 characters.| Permissions | What the key can do |
|---|---|
| Read-only | View servers, activity and account data, and change nothing |
| Manage servers | Start, stop and configure servers, without the destructive actions |
| Full access | Every permission except managing your teams, including deleting and reinstalling servers |
| Custom | Only the permissions you tick, with a search box to find them |
Under Advanced settings, Rate limit (requests per minute) starts at 60. Allowed IP addresses takes one IP address or CIDR range per line, and an empty box allows every address. Expiry date is optional, the key stops working after it, and you can only set it while you create the key.
Send the key as a bearer token in the Authorization header, against the base URL https://client.falixnodes.net/api/v2. The API docs open with this request, which checks that the key works and returns its scopes:
curl https://client.falixnodes.net/api/v2/me \
-H "Authorization: Bearer flx_live_..."
Put your own secret where flx_live_... is. A successful answer wraps everything in a data field. An error has error.code, error.message and a request_id that support can look up.
Keep the key out of your code and your Git repository. On a Falix server, put it in an environment variable, as Environment variables and secrets shows.
| Limit | Value |
|---|---|
| Active keys per account | 25 |
| Requests per key | 60 a minute unless you change it, up to 10,000 |
| IP addresses or ranges per key | 20 |
| Key name | 100 characters |
Responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset, the end of the current minute in Unix seconds. Over the limit, the API answers 429 with the code rate_limit_exceeded and a Retry-After header that says how many seconds to wait.
Keys work the same way on free and Premium accounts. The one difference comes when you start a free server, because the API can answer 403 verification_required. The error's action_url is a page someone has to open in a browser before the start goes through.
Edit changes a key's name, permissions, rate limit and allowed IP addresses, and any change except the name asks for your second factor again. No button replaces a key's secret, so rotating means swapping in a new key.
A revoked key stops working at once, and you can't undo it. Usage shows a key's requests and errors over the last 7 days, with the endpoint, method, status and request ID of its recent errors.
Choose API docs under Tools, or press Open reference on the API keys page. The API reference has every endpoint, the list of API scopes and a search box. Its Try it panel sends a live request: paste a key under API key and press Send request. The key stays in that browser tab and only goes to the Falix API.
| What you see | Usual cause | Fix |
|---|---|---|
401 "A valid API key is required." |
The header is missing or mistyped, or the key is revoked or expired | Check that the header reads Authorization: Bearer, and check the key's status |
403 "This API key is not allowed from the current IP address." |
The caller's address isn't in Allowed IP addresses | Add it under Edit |
403 "This API key requires the servers:power scope." |
The key doesn't have that permission | Add it under Edit, or create a key that has it |
429 rate_limit_exceeded |
More requests in one minute than the key allows | Wait for Retry-After, or raise the key's rate limit |
| New static key is greyed out | You have 25 active keys | Revoke a key you no longer use |