Authorization header.
API keys
Keys are workspace-scoped. Find existing keys or create new ones in FloKit → Settings → API Keys.Key types
Use read-only keys for reporting pipelines and dashboards. Use read-write keys only in trusted server-side contexts.
Error responses
401 Unauthorized — API key is missing or invalid.Security
- Store API keys in environment variables or a secrets manager (AWS Secrets Manager, GCP Secret Manager, Doppler, etc.).
- Never commit API keys to version control.
- Rotate keys in FloKit → Settings → API Keys. After rotation, the previous key is immediately invalidated.
- Use separate keys per environment (production vs. staging) to prevent test traffic from entering production data.