Skip to main content

Authentication

LLMTune uses workspace-scoped API keys for programmatic access. Keys are created and managed in the dashboard under API Keys.

Creating a Key

  1. Navigate to API Keys.
  2. Click Create Key.
  3. Choose a scope:
    • inference:read
    • inference:write
    • datasets:write
    • training:launch
    • usage:read
  4. Copy the generated key. For security reasons it will not be shown again.

Using a Key

Include the key as a Bearer token:
Authorization: Bearer LLMTUNE_API_KEY

Rotating Keys

  • Rotate keys periodically or when colleagues leave the workspace.
  • Update integration environments with the new key.
  • Delete unused keys from the dashboard to reduce exposure.

Security

  • Store keys in secret managers (not in source control).
  • Restrict scopes to least privilege.
  • Use separate keys per environment (staging versus production).