Authentication

Fingerprint to sign in. Bearer key to call the API

Inference uses a Bearer API key. The account session (cookie) is only for the account UI at /account — it does not authorize /v1/chat/completions.

Create an account

  1. Open inference.dahl.globalCreate account, or go to /account.
  2. Username: 3–20 characters, letters, digits, underscore.
  3. Save the fingerprint shown once — it is the password. We store a hash; fingerprints cannot be recovered.
  4. A first API key is issued immediately. It starts at 0 tokens. Allocate from the pool before calling the API.

Sign in

Signing in requires only the fingerprint (not the username). Session cookies last 30 days.

curl -X POST https://inference.dahl.global/v1/auth/signin \
  -H "Content-Type: application/json" \
  -d '{"fingerprint":"your-32-char-fingerprint"}' \
  -c cookies.txt

Signup via API

curl -X POST https://inference.dahl.global/v1/auth/signup \
  -H "Content-Type: application/json" \
  -d '{"username":"swift_eagle_449"}'
{
  "user": { "user_id": "…", "username": "swift_eagle_449", "created_at": "…" },
  "fingerprint": "a1b2c3d4e5f6…",
  "api_key": {
    "id": 123,
    "token": "dahl_…",
    "available_tokens": 0
  }
}

Check a username first: GET /v1/auth/check-username?username=….