All Nixflex API requests are authenticated with an API key pair: aDocumentation Index
Fetch the complete documentation index at: https://docs.nixflex.com/llms.txt
Use this file to discover all available pages before exploring further.
key_id and a key_secret.
API key format
| Part | Prefix | Example |
|---|---|---|
key_id | nxf_ | nxf_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6 |
key_secret | nxfs_ | nxfs_x1y2z3... (64 chars) |
key_id identifies your account. The key_secret is the password — it is shown once at creation and cannot be retrieved later.
Sending requests
Every API request must include anAuthorization header in this exact format:
Creating keys
In the dashboard:Go to API Keys
Open app.nixflex.com → API Keys.
POST /v1/keys. See Create API key.
Security
Best practices:- Store keys in environment variables or a secrets manager (1Password, AWS Secrets Manager, etc.)
- Use separate keys for development, staging, and production
- Rotate keys after team members leave
- Revoke compromised keys immediately from the dashboard
Failed authentication
If your key is wrong, missing, or revoked, the API returns401 Unauthorized:
- The
Authorizationheader is present - The format is
Bearer key_id:key_secret(note the colon, not a space) - The key has not been revoked in the dashboard
- You are sending it to
api.nixflex.com, not the engine’s internal hostname