Overview
This guide explains how to generate and manage API keys for authenticating requests to our API. Proper use of API keys is critical for securing your application and controlling access.Generating an API Key
To generate API Key, navigate to Settings -> API Keys, and click theGenerate New Key + button.


Revoking an API Key
If you no longer need a particular API key go to Settings -> API Keys, find your key on the list and click onRemove button on the right side.
What a key can access
A key acts as the user who created it. Each request must pass two checks:- Scope: the key has the permission the endpoint requires, read or write.
- Role: the user is allowed to do it. Team resources need team membership, and admin actions need the team admin role.
Permissions reference
These are the permissions shown when you create a key. The scope key is the name the API and CLI use.
The Tokens permission (
tokens) is not offered when you create a key in the dashboard.
Slurm cluster permissions
Model Factory Slurm clusters belong to a team. Access needs both the scope and the team role:
Resizing uses
factory:write, not slurm_clusters:write, so a key that manages cluster members cannot change how many nodes the team holds. factory:write can only be added to a key by a user who is an admin of at least one team.
Renaming, deleting, sudo access and accounting are not available to API keys. Use the dashboard for those.
Inference deployment permissions
Managing dedicated endpoints requires Model Factory permissions,factory:read for listing the catalog and reading deployments, and factory:write for creating, scaling, and deleting deployments. Sending model requests requires Inference permission. A key’s scopes do not grant team membership or an admin role. See the deployment API reference.