Skip to main content
FacetFlux authenticates API and MCP requests with an API key sent in the Authorization header:
Every key belongs to a single tenant, and every response is scoped to that tenant’s data. There is no separate account ID to send — the key identifies the tenant.

Creating a key

  1. Sign in at app.facetflux.com as a tenant admin.
  2. Go to Settings → API keys.
  3. Click Create new key, give it a name, and choose a permission level (see below).
  4. Copy the key immediately — it’s shown once and cannot be retrieved later. Only the last four characters are visible afterward.
Treat API keys like passwords. A key grants access to your entire tenant’s catalog within its permission level. If a key leaks, delete it from Settings → API keys and mint a new one.

Permission levels

When you create a key you pick what it’s allowed to do. This is enforced on both the REST API and the MCP server. A read-only key can only make GET requests on the REST API; any mutating call returns 403 with read_only_api_key. On the MCP server, read-only keys can call read tools but mutating tools return a read_only_key error. Choose the narrowest permission that does the job.

Using the key

Keep keys out of source control. Read them from an environment variable or a secrets manager, as the examples above do.